This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| web:access_rest_api [2016/02/01 20:31] mjallison [Responses] | web:access_rest_api [2016/02/09 00:25] (current) mjallison [Responses] | ||
|---|---|---|---|
| Line 38: | Line 38: | ||
| { | { | ||
| id: integer, | id: integer, | ||
| + | expire: long, (mSec) | ||
| text: "String of announcement" | text: "String of announcement" | ||
| }  | }  | ||
|  |  | ||
| Other return objects possible are: | Other return objects possible are: | ||
| - | **Folder** | + | **StoredItem** | 
| { | { | ||
| - | handle: int-value, | + | handle  : int-value, | 
| - | name : string, | + | name : string, | 
| - | folders: [ string* ] | + | description : string, | 
| - | files : [ string* ] | + | isFolder  : boolean, | 
| + | size : long, | ||
| + | children: [ StoredItem* ] | ||
| + | } | ||
| + | |||
| + | **ApplicationState** return from connection/open or connection/check | ||
| + | { | ||
| + | userid: string, | ||
| + | token: string, | ||
| + | lastPath: string, | ||
| + | hasAccess: boolean, | ||
| + | hasLicense: boolean, | ||
| + | hasTracks: boolean, | ||
| + | isAdmin: boolean, | ||
| + | isSupport: boolean | ||
| } | } | ||
| Line 167: | Line 182: | ||
| | CONNECTION (0) | |  | | | | | CONNECTION (0) | |  | | | | ||
| | | connect()  | StorageServer  | GET | userid,password,token | GR | | | | connect()  | StorageServer  | GET | userid,password,token | GR | | ||
| - | | | connectResetPassword()  | | GET | userid,password | GR | | + | | | connectResetPassword()  | | GET | userid,password | GR | **still needed** | | 
| | | disconnect()  | | PUT | | GR | | | | disconnect()  | | PUT | | GR | | ||
| - | | | getAllAnnouncements() | Announcement*  | GET | | GR [ Announcement ] | | + | | | getAnnouncements() | Announcement*  | GET | | GR [ Announcement ] | | 
| | ASSOCIATION (4) | | | | | | | ASSOCIATION (4) | | | | | | ||
| | | getAssociations()  | Association*  | GET | | | | | getAssociations()  | Association*  | GET | | | ||