Workspaces
Endpoint shortcuts
#
The Workspace object#
PropertiesProperty | Type | Description |
---|---|---|
@context | object | Optional |
@id | string | Unique identifier for the object |
@type | string | Value is "Workspace" |
user_id | string | The ID of the User that created it. |
name | string | Name of the Workspace. Is shown on the Datablist App. |
createdAt | string | Timestamp of object creation, expressed according to ISO 8601. |
updatedAt | string | Timestamp of object last update, expressed according to ISO 8601. |
#
List all workspacesGET https://data.datablist.com
This will list the workspaces for your current account.
Response
#
Create a workspacePOST https://data.datablist.com
Any extra field will return a bad request error.
On success, returns a HTTP code 201 with {"@id": "WORKSPACE_ID"}
#
Retrieve a workspaceGET https://data.datablist.com/:workspace_id
Response
#
Update a workspaceUpdates can be performed with PATCH
, by sending only the fields to be updated, or with PUT
which requires the whole object.
#
PartialPATCH https://data.datablist.com/:workspace_id
On success, returns an empty HTTP 204 No Content.
#
Full updatePUT https://data.datablist.com/:workspace_id
On success, returns an empty HTTP 204 No Content.
#
Delete a workspaceDELETE https://data.datablist.com/:workspace_id
On success, returns an empty HTTP 204 No Content.
caution
Currently, workspace creation and delete through the API require special privilege. Please contact us if you need access.