Skip to content
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.

Prerequisites

The URL to access the API interface can be found at tld/index.php/apps/tables/api/<api-version>/<whatever>.

Endpoints

Tables

GET /tables Get a list of tables and some basic information about them.

Example: http://nextcloud.local/index.php/apps/tables/api/1/tables.

Available since: v1

Request parameters

none

Response

Sucess

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
        }
    }
]

Data

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.

Available since: v1

Request parameters

none

Response

Sucess

Returns an json array of table-rows. The first row contains the emoji + column title.

[
TODO
]

Clone this wiki locally