Each folder has the following properties and is accessed via /api/folder
.
Complete details in FolderProperties.
The unique id for this folder. It will never change.
folder
.
A date when the folder was created.
A date when the folder was last updated.
The name the folder is known by.
The unique id of a folder that this folder is a child of.
The unique id of a User that controls this folder.
The Folders contained in this folder.
The Files contained in this folder.
The Folders before this one in the hierarchy.
The User that this folder is controlled by.
The Folder that this folder is contained by, if any.
The methods used to fetch and manipulate folders.
POST /api/folder
Required. The unique session id provided by a Session method.
Required.
Required.
Required.
Returns:
{ "id" : "xxx", "name" : "My Game", ... }
PUT /api/folder/xxx
See Create Folder for details.
DELETE /api/folder/xxx
Required. The unique session id provided by a Session method.
Returns:
{ "success" : 1 }
GET /api/folder/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and Folder Relationships above for details.
Returns:
{ "id" : "xxx", "name" : "My Game", ... }