Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
remarkable [2018/01/29 19:29] andi |
remarkable [2018/02/01 20:03] andi |
====== Remarkable ====== | ====== Remarkable ====== |
| |
| ====== Token Request ====== |
| |
| <code> |
| 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' |
| </code> |
| |
| <code> |
| 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> |
| </code> |
| |
===== Token Refresh ===== | ===== Token Refresh ===== |
</code> | </code> |
| |
| ===== Doc Download ===== |
| |
| <code> |
| 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' |
| </code> |
| |
| <code> |
| [{ |
| "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" |
| }] |
| </code> |
| |
| file download has PK encoded data. Zip file with all files? |