v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Get workspace info

Returns information about the workspace of the client

get/workspace

Response

The workspace information

idinteger required

The id of the workspace

namestring required

The name of the workspace

linked_provider'github' | 'gitlab' | 'gitlab_server' | 'bitbucket' | 'azure_devops' | 'selfscan'

The provider linked to this workspace

linked_provider_org_namestring

The provider organization name linked to this workspace

git_base_urlstring

The base URL of the git provider

Example response

{
  "id": 1,
  "name": "Pied Piper",
  "linked_provider": "github",
  "linked_provider_org_name": "piedpiper",
  "git_base_url": "https://github.com"
}