User Projects

  • GET
  • /workspaces
  • /:domain
  • /members
  • /:member_id
  • /projects

Returns a list of projects of the specified user. Administrators get a list of all projects of the user, non-admin users get a list of the projects they share with the specified user.

Request

REQUIRED SCOPES
WORKSPACE
URL PARAMETERS
domainrequired string
The workspace domain.
member_idrequired integer
The numerical ID of the desired user.
GET PARAMETERS
allboolean
Shows all user projects. Restricted to admins only.
pageinteger
The number of the successive page (results are splitted by pages of per_page elements each).
per_pageinteger
The number of returned elements on the page.
sort_bystring
Specifies ordering. Sorting by name.
sort_directionstring
Specifies direction of ordering. Can be one of ASC or DESC.
statusstring
Filters projects down to the specified status. Can be one of ACTIVE or CLOSED.

Last modified on Sep 25, 2024

Example:

CURL
curl -X GET "https://api.buddy.works/workspaces/:domain/members/:member_id/projects" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json" \
EXAMPLE RESPONSE
{ "url": "https://api.buddy.works/workspaces/buddy/members/1/projects", "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" } ] }
STATUS
200 OK
LIMITS
X-Rate-Limit-Limit: 1 X-Rate-Limit-Remaining: 999