GET
/
resources
/
v1
/
{id}
Get a resource
curl --request GET \
  --url https://api.spacebring.com/resources/v1/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "resource": {
    "autoRelease": {
      "enabled": true,
      "interval": "<string>"
    },
    "bookingPermission": "<string>",
    "bookingStepMinutes": 123,
    "capacity": 123,
    "capacityUnassigned": 123,
    "checkIn": {
      "interval": "<string>"
    },
    "createDate": "2023-11-07T05:31:56Z",
    "credits": {
      "enabled": true,
      "tiers": [
        {
          "flatAmount": 123,
          "from": 123,
          "unitAmount": 123,
          "upTo": 123
        }
      ]
    },
    "dayPassesEnabled": true,
    "description": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "imageUrl": "<string>",
    "locale": "<string>",
    "locationRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "money": {
      "enabled": true,
      "tiers": [
        {
          "flatAmount": 123,
          "from": 123,
          "unitAmount": 123,
          "upTo": 123
        }
      ]
    },
    "networkRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "plans": {
      "enabled": true,
      "tiers": [
        {
          "entire": true,
          "plan": {
            "commitmentCycles": 123,
            "credits": 123,
            "dayPasses": 123,
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "period": "day",
            "price": 123,
            "title": "<string>"
          }
        }
      ]
    },
    "refundThreshold": "<string>",
    "title": "<string>",
    "type": "<string>",
    "visibilityType": "<string>"
  }
}

Authorizations

Authorization
string
header
required

See our authentication documentation for how to authorize your requests

Path Parameters

id
string<uuid>
required

The id of the resource.

Response

OK

resource
object