Space

Create a space

Creates a new space. Allows to also specify space categories and custom domains.

API credit cost: 3

post/spaces

Request

  • Base URL
    https://telescope.ac/api
  • Auth
    none declared

Headers

Authorizationstring
Example:Bearer token

Request body

$schemastring uri

A URL to the JSON Schema for this object.

Example request

{
  "$schema": "/api/schemas/PostSpaceWithExtrasInputBody.json",
  "custom_domains": [
    {
      "host": "new-host.com"
    }
  ],
  "space": {
    "alt": "new-space",
    "title": "New Space"
  },
  "space_categories": [
    {
      "alt": "new-space-category",
      "title": "New Space Category"
    }
  ]
}

Response

Created

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "/api/schemas/PostSpaceOutputBody.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.