docs(api): added information about the users role in a project to the /user/projects endpoint

This commit is contained in:
antifallobst 2023-08-19 00:05:53 +02:00
parent 291b75b34d
commit 9f74df134c
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
2 changed files with 4 additions and 5 deletions

View File

@ -29,4 +29,3 @@ The token for this can be aquired using the `/account/authenticate` endpoint.
- usage examples - usage examples
- anonymized account deletion reason - anonymized account deletion reason
- account bound rate limit - account bound rate limit
- return role in /user/projects

View File

@ -15,8 +15,8 @@ Setting none or two parameters will result in a _400 Bad Request_ Response.
### 200 - Success ### 200 - Success
__Content - JSON:__ __Content - JSON:__
| Field | Description | | Field | Description |
|----------|-------------------------------------------| |----------|-------------------------------------------------|
| projects | A list of (projectname, projectid) pairs. | | projects | A list of (projectname, projectid, role) pairs. |
### 400 - Error: Bad Request ### 400 - Error: Bad Request
The request was malformed. The request was malformed.
### 403 - Error: Forbidden ### 403 - Error: Forbidden