Workspaces

Get a workspace

Changed on

Returns the requested workspace.

get/workspaces/{workspace}

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/workspaces/{workspace}
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token
    • or HTTP basic
    • or API key in header Authorization

Response

The workspace.

typestring required
uuidstring

The workspace's immutable id.

namestring

The name of the workspace.

slugstring

The short label that identifies this workspace.

is_privateboolean

Indicates whether the workspace is publicly accessible, or whether it is private to the members and consequently only visible to members.

is_personalboolean

Indicates whether the workspace belongs to an individual user.

is_privacy_enforcedboolean

Indicates whether the workspace enforces private content, or whether it allows public content.

forking_mode'allow_forks' | 'internal_only'

Controls the rules for forking repositories within this workspace.

  • allow_forks: unrestricted forking
  • internal_only: prevents forking of private repositories outside the workspace or to public repositories
created_onstring date-time
updated_onstring date-time

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status