api info file started

This commit is contained in:
richard 2013-05-23 23:51:57 +01:00
parent d20dcbdc2b
commit e6c38d97ed

View file

@ -6,55 +6,48 @@ This file contains definitions for some of the properties within the API. The ai
### Node attributes (json properties) ### Node attributes (json properties)
'a' Type * 'a' Type
* 'h' Id
'h' Id * 'p' Parent Id
* 'a' encrypted Attributes (within this: 'n' Name)
'p' Parent Id * 'k' Node Key
* 'u' User Id
'a' encrypted Attributes (within this: 'n' Name) * 's' Size
* 'ts' Time Stamp
'k' Node Key
'u' User Id
's' Size
'ts' Time Stamp
#### Node types #### Node types
0 File * 0 File
1 Folder * 1 Folder
2 Root Folder * 2 Root Folder
3 Inbox * 3 Inbox
4 Trash * 4 Trash
-1 Dummy * -1 Dummy
### Error responses ### Error responses
#### General errors: #### General errors:
EINTERNAL (-1): * EINTERNAL (-1):
EARGS (-2): * EARGS (-2):
EAGAIN (-3) * EAGAIN (-3)
ERATELIMIT (-4): * ERATELIMIT (-4):
#### Upload errors: #### Upload errors:
EFAILED (-5): * EFAILED (-5):
ETOOMANY (-6): * ETOOMANY (-6):
ERANGE (-7): * ERANGE (-7):
EEXPIRED (-8): * EEXPIRED (-8):
#### Filesystem/Account level errors: #### Filesystem/Account level errors:
ENOENT (-9): * ENOENT (-9):
ECIRCULAR (-10): * ECIRCULAR (-10):
EACCESS (-11): * EACCESS (-11):
EEXIST (-12): * EEXIST (-12):
EINCOMPLETE (-13): * EINCOMPLETE (-13):
EKEY (-14): * EKEY (-14):
ESID (-15): * ESID (-15):
EBLOCKED (-16): * EBLOCKED (-16):
EOVERQUOTA (-17): * EOVERQUOTA (-17):
ETEMPUNAVAIL (-18): * ETEMPUNAVAIL (-18):