List all resources

Returns a list of resources.

Definition

GET https://coworkify.com/api/v1/spaces/{SPACE_ID}/resources

Returns

A list of resource objects.

Example Request

$ curl https://coworkify.com/api/v1/spaces/077d8fab09b811e585b4705681ba8889/resources \
   -H "X-Auth-Token: {YOUR_TOKEN}"

Example Response

{
  "success": {
    "resources": [
      {
        "admin_only": false,
        "description": null,
        "cancellation_policy": 1,
        "price": 80.0,
        "id": "0781fcf309b811e5b6f2705681ba8889",
        "name": "Conference Room",
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "color_id": 3,
        "currency_symbol": "$",
        "currency_code": "USD",
        "quantity": 1
      },
      {
        "admin_only": false,
        "description": null,
        "cancellation_policy": 1,
        "price": 10.0,
        "id": "d23288a110d811e5b2e1705681ba8889",
        "name": "Meeting Room",
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "color_id": 4,
        "currency_symbol": "$",
        "currency_code": "USD",
        "quantity": 1
      }
    ]
  }
}

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.