workspace-registry
Create a new workspace
Changed onpost/workspaces
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces
- Auth: HTTP bearer
Request body
Example request
{
"accountLogin": "my-org",
"displayName": "My Workspace",
"kind": "GITLAB",
"personalAccessToken": "glpat-...",
"serverUrl": "https://gitlab.example.com",
"workspaceSlug": "my-workspace"
}Response
Workspace created
Example response
{
"workspaceSlug": "my-workspace"
}Changes
- breaking
removed the required property
from the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
the
request property's minLength was increased from1to3 - warning
the
request property's maxLength was set to51 - warning
changed the pattern of the request property
from^[a-z0-9][a-z0-9-]{2,50}$to^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$ - info
added the required property
to the response with the status
- breaking