workspace

Choose whether a GitLab workspace follows every project of its group or only the projects it monitors

Changed on
patch/workspaces/{workspaceSlug}/repositories/selection

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /workspaces/{workspaceSlug}/repositories/selection
  • Auth: HTTP bearer

Path parameters

workspaceSlugstring required

Workspace slug

Request body

repositorySelection'ALL' | 'SELECTED' required

ALL admits projects that discovery later finds in the group, except stopped ones. SELECTED admits only the projects the workspace monitors.

Response

OK

repositorySelection'ALL' | 'SELECTED' required

ALL admits projects that discovery later finds in the group, except stopped ones. SELECTED admits only the projects the workspace monitors.

Changes