Naar inhoud springen
Tibata
Docs
Spaces

Get Space

GET
/v1/spaces/{space_id}

Returns a single space by ID. A restricted Space is returned with restricted set to true when the token has a role on it: a client-credentials token through a role given to its client, a token issued for a user through that user's role. Without one, the request answers 403 with the code FORBIDDEN and the reason ROLE_REQUIRED.

Autorisatie

bearerAuth
headerAutorisatieBearer <token>

Padparameters

space_id*string

ID of the Space

Responsbody

Space found

application/json
  1. response
data*
Voorbeeldverzoek
curl -X GET 'https://api.tibata.ai/v1/spaces/string'
Voorbeeldrespons
{  "data": {    "id": "string",    "name": "string",    "slug": "string",    "description": "string",    "url": "http://example.com",    "restricted": true  }}