Git

List durable source workspaces

List open source workspaces by default. If the Space has no hosted source yet, this returns an empty page. You do not need to connect an external repository. Use the closed status to inspect workspace history. Results are newest first.

get/v1/spaces/{spaceId}/source/workspaces

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/spaces/{spaceId}/source/workspaces
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.spacefast.com/v1/auth/oauth2/authorize, token URL https://api.spacefast.com/v1/auth/oauth2/token; client credentials, token URL https://api.spacefast.com/v1/auth/oauth2/token, scopes: spaces:read)

Path parameters

spaceIdstring required

Query parameters

limitinteger

Page size.

cursorstring

Opaque cursor from the previous page's nextCursor.

status'open' | 'closed'

Open includes initializing, active, and conflicted workspaces. Use closed for history.

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.