-
Notifications
You must be signed in to change notification settings - Fork 34
API
Florian edited this page Feb 2, 2023
·
11 revisions
!!!The API is still in development.!!!
The REST API provides access for mostly authenticated users to their data inside the Nextcloud tables app.
The URL to access the API interface can be found at tld/index.php/apps/tables/api/<api-version>/<whatever>.
GET /tables Get a list of tables and some basic information about them.
Example: http://nextcloud.local/index.php/apps/tables/api/1/tables.
none
Returns an json array of table-objects.
[
{
"id": 32,
"title": "Staffing",
"emoji": "🤡",
"ownership": "admin",
"ownerDisplayName": "admin",
"createdBy": "admin",
"createdAt": "2023-01-27 11:51:46",
"lastEditBy": "admin",
"lastEditAt": "2023-02-02 12:23:35",
"isShared": false,
"onSharePermissions": null
},
{
"id": 2,
"title": "Share test",
"emoji": "😭",
"ownership": "jane",
"ownerDisplayName": "jane",
"createdBy": "jane",
"createdAt": "2023-01-17 13:11:28",
"lastEditBy": "jane",
"lastEditAt": "2023-01-17 13:11:28",
"isShared": true,
"onSharePermissions": {
"read": true,
"create": true,
"update": true,
"delete": false,
"manage": false
}
}
]GET /table/ Get a list of rows. The first row contains the column titles.
Example: http://nextcloud.local/index.php/apps/tables/api/1/table/5.
none
Returns an json array of table-rows. The first row contains the emoji + column title.
[
TODO
]