-
Notifications
You must be signed in to change notification settings - Fork 25
Storage
Andreas Gohr edited this page Jan 29, 2018
·
20 revisions
This is the interesting API. The current endpoint is document-storage-production-dot-remarkable-production.appspot.com, but the Service Discovery should be used to make sure that the right one is used.
All requests should be made with a Bearer authentication header.
GET https://document-storage-production-dot-remarkable-production.appspot.com/document-storage/json/2/docs
The response is a JSON encoded array of file objects:
[{
"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"
},...]-
IDthe unique ID of this object -
Versionthe version, increased on every open/edit/close cycle on the tablet -
MessageFIXME maybe filled when Success is false? -
SuccessFIXME when is this false? -
BlobURLGetFIXME probably the download URL, empty for thedocsrequest -
BlobURLGetExpireswhen above URL expires, always in the past for thedocsrequest -
ModifiedClientthe last modified datetime -
Typethe type of the object-
DocumentTypefor Notebooks -
CollectionTypefor Folders - FIXME what else?
-
-
VissibleNamethe actual name. Yes, there is a typo in this key. -
CurrentPagethe currently open page, starting at 0 -
Bookmarkedis this bookmarked? -
Parentthe ID of the parent object or empty if this is a top level object