[go: up one dir, main page]

Skip to content

Inconcistency between methods in docs for `/token/whoami` API

Problem to solve

The method for requesting /api/token/whoami should be GET

Further details

File where the documentation is invalid : https://gitlab.com/prod-manager/prod-manager/-/blob/master/docs/api/token.md?plain=1#L44

OpenAPI reference of this API endpoint : https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/static/meta/openapi.yaml?plain=1#L550

Proposal

Change the value in the documentation to GET

Edited by Guillaume MARTINEZ
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information