Spaces

Check slug availability

Checks whether a space or team slug is available and suggests an alternative when it is taken.

get/v1/slugs/availability

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/slugs/availability
  • Auth: HTTP bearer

Query parameters

kind'team' | 'space' required

Which kind of slug to check: a space slug or a team slug.

slugstring

Slug to check. It is normalized first, and the verdict describes the normalized form.

currentSlugstring

The resource's current slug, when renaming. A slug that normalizes to this one stays available instead of colliding with itself.

teamIdstring

Team the space would belong to. Space slugs and their managed hostnames are checked inside that team; ignored for kind=team.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

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