Resource

Create a resource

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

See Resource for the attributes. None are required, but you will normally send at least a name:

{ "name": "Boardroom", "location": "2nd floor", "hex_colour": "#036903" }

New resources are active unless you send "is_active": false. A successful request returns 201 Created with the new resource's reference, e.g. {"location": "/v1/resources/1000"}.

Body Params
string

Name, e.g. Boardroom (max 256 characters).

string

Where the resource is (max 256 characters).

string

Details (max 512 characters).

string

Colour as #rrggbb, e.g. #036903. An alpha value is ignored; colours are always returned with ff.

boolean

Whether the resource can be booked. Defaults to true.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json