Cell

Last updated 3 months ago

Create or update the data of a cell.

get
Cell List

/tables/cell/list/{level}/{sid}/{serializer}/
Get the cell objects for a certain condition. Currently, the API is used to get the cost status of specific Column Widgets.
Request
Response
Path Parameters
level
required
string
level=organization
sid
required
string
sid=organization sid
serializer
required
string
choose of [name, list, detail]
Headers
token
required
string
the authentication token
200: OK
{
"page_size": 10,
"page_number": 1,
"page_count": 17,
"count": 162,
"next": "...",
"previous": null,
"add_permission": false,
"results": [
{
"sid": "yBEH0a40x76ffAFKPUZ50",
"widget": "Text",
"record": "FL154: widgets-backlink-view 1.png",
"change_permission": true
},
]
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.

post
Cell List

/tables/cell/list/{level}/{sid}/{serializer}/
Create a new cell for a row.
Request
Response
Path Parameters
level
required
string
level=organization
sid
required
string
sid=organization sid
serializer
required
string
choose of [name, list, detail]
Headers
token
required
string
the authentication token
Query Parameters
row__sid
required
string
the sid of the row
Body Parameters
{xxx: xxx}
optional
object
Have to be {column sid: value}
201: Created
{
"sid": "369b0a40x29f50ejotyD"
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct
Wrong level - the provided level is not acceptable
Missing row__sid in the post link.
Your organization does not have enough credits, contact sales@labii.com!
Wrong id: organization sid (xxx) does not match to row sid (xxx)

patch
Cell Detail

/tables/cell/detail/{sid}/
Update the content of a cell.
Request
Response
Path Parameters
sid
required
string
cell sid
Headers
token
required
string
the authentication token
200: OK
{
"sid": "yBEH0a40x76ffAFKPUZ50",
"date_updated": "2018-09-25T01:53:04.673228Z",
"date_created": "2018-09-25T01:53:04.664391Z",
"change_permission": true
}
401: Unauthorized
Authentication credentials were not provided.
403: Forbidden
You do not have permission to perform this action.
406: Not Acceptable
Wrong id - the provided sid is not correct
Your organization does not have enough credits, contact sales@labii.com!

‚Äč