Skip to main content

Get my projects

Get all projects the current user belongs to

Query Parameters
    org_id string

    org_id is optional and filter projects by org

    with_permissions string[]

    list of permissions needs to be checked against each project query params are set as with_permissions=get&with_permissions=delete to be represented as array

    non_inherited boolean

    Note: this is a bad design and would recommend against using this filter It is used to list only projects which are explicitly given permission to user. A user could get permission to access a project either via getting access from organization level role or a group. But for some reason we want only users who could have inherited these permissions from top but we only want explictly added ones.

    with_member_count boolean
Responses

A successful response.


Schema
    projects object[]
  • Array [
  • id string
    name string
    title string
    org_id string
    metadata object
    created_at date-time

    The time the project was created.

    updated_at date-time

    The time the project was last updated.

    members_count int32

    The number of members explicitly added in the project.

  • ]
  • access_pairs object[]
  • Array [
  • project_id string
    permissions string[]
  • ]
GET /v1beta1/users/self/projects

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
org_id — query
with_permissions — query
non_inherited — query
with_member_count — query
curl / cURL
curl -L -X GET 'http://127.0.0.1:7400/v1beta1/users/self/projects' \
-H 'Accept: application/json'