Description
I noticed a quirk with the newly documented /api/projects/:id (Projects - Get project) REST API endpoint.
- It returns a 401 if you use any kind of authentication, even on public projects.
- It works on public projects if you omit the
Authorization header.
Which means—you can never use this endpoint on private projects since it 401s if you try to use authentication.
The 401 response when you include authentication is: { "error": "Token does not have required scope" }. That response shows regardless of whether you have access to the private project or not.