docs(api): added information about the users role in a project to the /user/projects endpoint
This commit is contained in:
parent
291b75b34d
commit
9f74df134c
|
@ -28,5 +28,4 @@ The token for this can be aquired using the `/account/authenticate` endpoint.
|
||||||
- Password checking on registration
|
- Password checking on registration
|
||||||
- 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
|
|
|
@ -14,9 +14,9 @@ Setting none or two parameters will result in a _400 Bad Request_ Response.
|
||||||
## Responses
|
## Responses
|
||||||
### 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
|
||||||
|
|
Loading…
Reference in New Issue