Skip to content

projects-api #8874

Open
Open
@winfried-van-loon-goudse

Description

Please use the form below, leaving the prefilled data to help us. Thank you.

Page link: projects-api

Document link: projects-api-v2.md

My Issue/Suggestion

Currently, in the Projects API, the user-id is used as a parameter for multiple API calls. However, it is not clear which API endpoint can be used to obtain the current user's user-id.

Although inefficient, a possible workaround would be:

  1. To call the Deploy API first, get the apps for the user,
  2. Then use /projects/{project-id}/members for a random app, which the user must be a part of,
  3. Then for each member of that project, try the /users/{user-id}/projects,
  4. And for the member that does not return a 401 but instead a 200, that must be the user's user-id.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions