Projects in workspace

  • GET
  • /workspaces
  • /:domain
  • /projects

Returns all projects of the authorized user. Users with admin rights get a list of all projects in the workspace.

Request

REQUIRED SCOPES
WORKSPACE
url PARAMETERS
domainrequired string
The workspace domain.
GET PARAMETERS
membershipoptional boolean
If set to true, administrators get only the projects to which they belong in the workspace.
pageoptional integer
The number of the successive pages (results are split into pages of per_page elements each).
per_pageoptional integer
Specifies the number of returned elements on the page. The default value is 20.
sort_byoptional string
Specifies ordering. Can be one of name, create_date or repository_size.
sort_directionoptional string
Specifies the direction of the ordering. Can be one of ASC or DESC.
statusoptional string
Filters projects by the specified status. Can be one of ACTIVE or CLOSED.

Last modified on Sep 23, 2024

{
  "url": "https://api.buddy.works/workspaces/buddy/projects",
  "html_url": "https://app.buddy.works/buddy",
  "projects": [
    {
      "url": "https://api.buddy.works/workspaces/buddy/projects/company-website",
      "html_url": "https://app.buddy.works/buddy/company-website",
      "name": "company-website",
      "display_name": "Company Website",
      "status": "ACTIVE"
    }
  ]
}