User Tools

Site Tools


remarkable

Remarkable

Token Request

curl -H 'Authorization: Bearer' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: my.remarkable.com' --data '{
    "code": "gliuqtne",
    "deviceDesc": "desktop-windows",
    "deviceID": "701c3752-1025-4770-af43-5ddcfa4dabb2"
}
' --compressed 'https://my.remarkable.com/token/device/new'
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
X-Cloud-Trace-Context: 780b44bdfad364f96f4122902187ab38
Vary: Accept-Encoding
Date: Mon, 29 Jan 2018 18:30:12 GMT
Server: Google Frontend
Cache-Control: private
Transfer-Encoding: chunked
Connection: Keep-alive
<token>

Token Refresh

curl -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: my.remarkable.com' --data "" --compressed 'https://my.remarkable.com/token/user/new'
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Authorization
Access-Control-Allow-Methods: POST
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
X-Cloud-Trace-Context: b04b025cb021a92f3677094a1c60707f
Vary: Accept-Encoding
Date: Mon, 29 Jan 2018 16:55:23 GMT
Server: Google Frontend
Cache-Control: private
Transfer-Encoding: chunked
Connection: Keep-alive

<token>

Service Discovery

curl -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: service-manager-production-dot-remarkable-production.appspot.com:443' --compressed 'https://service-manager-production-dot-remarkable-production.appspot.com/service/json/1/document-storage?environment=production&group=auth0%7C5a68dc51cb30df3877a1d7c4&apiVer=2'

authgroup unklar!

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Content-Encoding: gzip
X-Cloud-Trace-Context: 98186c01eb8b89b36833539bce60a8fc
Vary: Accept-Encoding
Date: Mon, 29 Jan 2018 16:55:23 GMT
Server: Google Frontend
Cache-Control: private
Alt-Svc: hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303338; quic=51303337; quic=51303335,quic=":443"; ma=2592000; v="41,39,38,37,35"
Transfer-Encoding: chunked
Connection: Keep-alive

{"Status":"OK","Host":"document-storage-production-dot-remarkable-production.appspot.com"}

Request an /service/json/1/notifications gibt webservice URL zurück

Documents List

curl -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/docs'
[{
	"ID": "10280264-2546-4319-a150-0cd02ca69c2d",
	"Version": 2,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T21:02:59.624624Z",
	"Type": "CollectionType",
	"VissibleName": "Projects",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "6d6ad886-5d8d-4b3e-aa6f-b05d46d31e83"
}, {
	"ID": "2b12e4a0-c88e-44aa-a3e5-1ad503edd173",
	"Version": 5,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-29T15:41:37.563563Z",
	"Type": "DocumentType",
	"VissibleName": "Todo",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "c4066912-9506-4d34-acee-22f31d3b626e"
}, {
	"ID": "3e1cdffa-d102-43f4-a3df-928c8f29744a",
	"Version": 4,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-29T10:48:46.217217Z",
	"Type": "DocumentType",
	"VissibleName": "Resorce",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "c4066912-9506-4d34-acee-22f31d3b626e"
}, {
	"ID": "466f21c7-4c4e-4122-84f1-89d91349a07c",
	"Version": 14,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T20:42:02Z",
	"Type": "DocumentType",
	"VissibleName": "Watchface",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "10280264-2546-4319-a150-0cd02ca69c2d"
}, {
	"ID": "5b85c681-364f-4806-8cf6-8367b7b7d5c9",
	"Version": 34,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-26T23:40:55Z",
	"Type": "DocumentType",
	"VissibleName": "Sleeve",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "6d6ad886-5d8d-4b3e-aa6f-b05d46d31e83"
}, {
	"ID": "5e056372-12da-4555-a2eb-b62047d858f9",
	"Version": 24,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-25T14:20:00Z",
	"Type": "DocumentType",
	"VissibleName": "Topmeteo",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "c4066912-9506-4d34-acee-22f31d3b626e"
}, {
	"ID": "6d6ad886-5d8d-4b3e-aa6f-b05d46d31e83",
	"Version": 2,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T20:30:13.112112Z",
	"Type": "CollectionType",
	"VissibleName": "Privat",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": ""
}, {
	"ID": "8eb2dcda-d7e8-486b-9457-c4cbbf611e8e",
	"Version": 5,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T21:06:01.209209Z",
	"Type": "DocumentType",
	"VissibleName": "HomeAssistant",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "10280264-2546-4319-a150-0cd02ca69c2d"
}, {
	"ID": "9df1634d-d36d-4ac3-88f1-68aeff36f092",
	"Version": 54,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-27T08:59:19.977977Z",
	"Type": "DocumentType",
	"VissibleName": "Quick sheets",
	"CurrentPage": 2,
	"Bookmarked": false,
	"Parent": ""
}, {
	"ID": "a6bc6a2c-ff0d-43b7-8198-3a4002253463",
	"Version": 9,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-26T15:06:43.368368Z",
	"Type": "DocumentType",
	"VissibleName": "Todo",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "6d6ad886-5d8d-4b3e-aa6f-b05d46d31e83"
}, {
	"ID": "b96f404b-a495-4c0a-baa2-4cac9e57aed1",
	"Version": 11,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T22:42:29.332332Z",
	"Type": "DocumentType",
	"VissibleName": "Remarkable",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "10280264-2546-4319-a150-0cd02ca69c2d"
}, {
	"ID": "c4066912-9506-4d34-acee-22f31d3b626e",
	"Version": 2,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T20:29:47.591591Z",
	"Type": "CollectionType",
	"VissibleName": "CosmoCode",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": ""
}, {
	"ID": "c7993038-b1c5-4961-bbee-5916566ebc2f",
	"Version": 5,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-24T22:52:50.473473Z",
	"Type": "DocumentType",
	"VissibleName": "WikiMatrix",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "c4066912-9506-4d34-acee-22f31d3b626e"
}, {
	"ID": "e258c337-75df-43e8-9a47-52a677db2e2d",
	"Version": 1,
	"Message": "",
	"Success": true,
	"BlobURLGet": "",
	"BlobURLGetExpires": "0001-01-01T00:00:00Z",
	"ModifiedClient": "2018-01-25T09:59:26.376376Z",
	"Type": "DocumentType",
	"VissibleName": "SouthEastern",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "c4066912-9506-4d34-acee-22f31d3b626e"
}]

Create Folder

curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --data-binary '[
    {
        "ID": "1dd71dfc-a463-4317-9428-ece0bff128b9",
        "Parent": "",
        "Type": "CollectionType",
        "Version": 1
    }
]
' -X PUT --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/upload/request'
[{
	"ID": "1dd71dfc-a463-4317-9428-ece0bff128b9",
	"Version": 1,
	"Message": "",
	"Success": true,
	"BlobURLPut": "https://storage.googleapis.com/remarkable-production-document-storage/user-auth0%7C5a68dc51cb30df3877a1d7c4/1dd71dfc-a463-4317-9428-ece0bff128b9?Expires=1517253532\u0026GoogleAccessId=remarkable-production%40appspot.gserviceaccount.com\u0026Signature=RklnAKXYxl6%2FEDXxAj%2B0d8W8IrqymHYeNZoPXEcHTGdjc1F0%2B8jsxsYFC7AVYVYG2yHt3R3ujTaWfaV1fa%2BX1MMjdLEjzsbhDv5F5HW3dJ4OHtllwBMi7HY8pEj%2FIO2c0PkY1vhfNuRriAhhPKVMm3Y17g7vdm%2Bcli90QtIvdh%2FlHfPh8OWhlZ%2BShH5fwEzNH%2Bs5EgUoq2YVqEOzWdPUclSPQGp9PbKQwJuKw7tTynjbfQCV%2FRFrh2zDn%2BK7Pci4CVCMjZCKfFqUThTxVmPEBLHtC%2F2oKWTOL4CQ8FQPtAWIPmL65zm7iGIlmfkTzu9BRpUov86QXds6tpSFSLcAmQ%3D%3D",
	"BlobURLPutExpires": "2018-01-29T19:18:52.854382809Z"
}]

set name:

curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --data-binary '[
    {
        "Bookmarked": false,
        "ID": "1dd71dfc-a463-4317-9428-ece0bff128b9",
        "ModifiedClient": "2018-01-29T19:18:55.017017Z",
        "Parent": "",
        "Type": "CollectionType",
        "Version": 1,
        "VissibleName": "Folder"
    }
]
' -X PUT --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/upload/update-status'

Delete Folder

curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --data-binary '[
    {
        "ID": "1dd71dfc-a463-4317-9428-ece0bff128b9",
        "Version": 1
    }
]
' -X PUT --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/delete'

Upload File

curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --data-binary '[
    {
        "ID": "3a3d6e24-d5f1-4016-9d77-f32b594fe3b0",
        "Parent": "",
        "Type": "DocumentType",
        "Version": 1
    }
]
' -X PUT --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/upload/request'
[{
	"ID": "3a3d6e24-d5f1-4016-9d77-f32b594fe3b0",
	"Version": 1,
	"Message": "",
	"Success": true,
	"BlobURLPut": "https://storage.googleapis.com/remarkable-production-document-storage/user-auth0%7C5a68dc51cb30df3877a1d7c4/3a3d6e24-d5f1-4016-9d77-f32b594fe3b0?Expires=1517253910\u0026GoogleAccessId=remarkable-production%40appspot.gserviceaccount.com\u0026Signature=GbTaxXZ5sGqMGMOl0NAxwatdKJbPaKanScsjszVlkTtmmlkjthu94x7L0tcKkM2uOOHR32QToVW%2FxnQzH8Kh5w46NMKl5frBsPxnxDMsRB97ZFWU7LswvsIfzgZwpv6cZiZRcHPhdG07EYW2axU5eS7adZFOo8t7DN5mX%2BDNIWeMz2wi%2Bwa%2F3NpOfry6WHAQYJvEusl16cw4ZEnBZ1ignBmLbwFs8qYSBRuIrePVssYN9vDD8s%2F%2B%2FX2XmSRFzC0Lpsa0%2BMoazgSn2BUknh3muCSY27eXBts7ZV8452fZoeIeiflpaz05B3VE4NzGW9ynCpwUyhaZxlPWMGUHuMlI0g%3D%3D",
	"BlobURLPutExpires": "2018-01-29T19:25:10.314206921Z"
}]
curl -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --data-binary '[
    {
        "Bookmarked": false,
        "CurrentPage": 0,
        "ID": "3a3d6e24-d5f1-4016-9d77-f32b594fe3b0",
        "ModifiedClient": "2018-01-29T19:25:12.519519Z",
        "Parent": "",
        "Type": "DocumentType",
        "Version": 1,
        "VissibleName": "2017-11-09 21"
    }
]
' -X PUT --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/upload/update-status'
curl -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: storage.googleapis.com' --data-binary "<data>"  -X PUT --compressed 'https://storage.googleapis.com/remarkable-production-document-storage/user-auth0%7C5a68dc51cb30df3877a1d7c4/3a3d6e24-d5f1-4016-9d77-f32b594fe3b0?Expires=1517253910&GoogleAccessId=remarkable-production%40appspot.gserviceaccount.com&Signature=GbTaxXZ5sGqMGMOl0NAxwatdKJbPaKanScsjszVlkTtmmlkjthu94x7L0tcKkM2uOOHR32QToVW%2FxnQzH8Kh5w46NMKl5frBsPxnxDMsRB97ZFWU7LswvsIfzgZwpv6cZiZRcHPhdG07EYW2axU5eS7adZFOo8t7DN5mX%2BDNIWeMz2wi%2Bwa%2F3NpOfry6WHAQYJvEusl16cw4ZEnBZ1ignBmLbwFs8qYSBRuIrePVssYN9vDD8s%2F%2B%2FX2XmSRFzC0Lpsa0%2BMoazgSn2BUknh3muCSY27eXBts7ZV8452fZoeIeiflpaz05B3VE4NzGW9ynCpwUyhaZxlPWMGUHuMlI0g%3D%3D'

Doc Download

curl -H 'Authorization: Bearer <token>' -H 'Accept-Language: en-DE,*' -H 'User-Agent: Mozilla/5.0' -H 'Host: document-storage-production-dot-remarkable-production.appspot.com:443' --compressed 'https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/docs?withBlob=true&doc=0fe25ee9-82a0-4a20-bad3-50eee6dc8d27'
[{
	"ID": "0fe25ee9-82a0-4a20-bad3-50eee6dc8d27",
	"Version": 1,
	"Message": "",
	"Success": true,
	"BlobURLGet": "https://storage.googleapis.com/remarkable-production-document-storage/user-auth0%7C5a68dc51cb30df3877a1d7c4/0fe25ee9-82a0-4a20-bad3-50eee6dc8d27?Expires=1517515071\u0026GoogleAccessId=remarkable-production%40appspot.gserviceaccount.com\u0026Signature=neNCBGghL3jkg3BZIUDDJeWIKbNHT8Exl2HsNa7hYxtuR8j2j%2BUA5qeH1DaTYe%2FzcX7N%2FEXWfDHsR7QsZxVqJorpV3vvB6WWyT6pvlDPcuTvMURXpaXgmJ4JJluNbAmS6dzA04g8cZwvMRWz8fW90gyk8KHHsBZ5aoekOravQ3EkAyUYxMoP5lfm2PU7K6NfvWY%2BA3a4wrkPQr3AOzHvsa2ZlYaSlecmMRELMalT8307YbLULTa%2FKb3mqkYXtnxqGe2iNzBjR18ycoGGZFBMUzEWpp089T%2BePBJbWEB6tsnljDEuuXqd1GOM4du8B7cCDSsY28LSyWswbuq3WRYzxw%3D%3D",
	"BlobURLGetExpires": "2018-02-01T19:57:51.259624578Z",
	"ModifiedClient": "2018-01-30T15:47:17.6464Z",
	"Type": "DocumentType",
	"VissibleName": "Notebook",
	"CurrentPage": 0,
	"Bookmarked": false,
	"Parent": "6d6ad886-5d8d-4b3e-aa6f-b05d46d31e83"
}]

file download has PK encoded data. Zip file with all files?

remarkable.txt · Last modified: 2018/02/01 20:03 by andi