30 lines
1.2 KiB
Markdown
30 lines
1.2 KiB
Markdown
# `/project/info` - GET
|
|
Returns the list of public projects the user is part of.
|
|
|
|
## Urlencoded Parameters
|
|
You have to set one parameter.
|
|
Setting none or two parameters will result in a _400 Bad Request_ Response.
|
|
|
|
| Parameter | Description |
|
|
|-----------|--------------------|
|
|
| name | The projects name. |
|
|
| id | The projects id. |
|
|
|
|
## Responses
|
|
### 200 - Success
|
|
__Content - JSON:__
|
|
|
|
| Field | Description |
|
|
|-------------|---------------------------------------------------------------------------|
|
|
| id | The projects unique id. |
|
|
| name | The projects unique name. |
|
|
| description | The projects description. |
|
|
| created | The datetime when the project was created. Represented as UNIX timestamp. |
|
|
| members | A list of (username, userid, flags) pairs. |
|
|
### 400 - Error: Bad Request
|
|
The request was malformed.
|
|
### 403 - Error: Forbidden
|
|
Blocked for security reasons.
|
|
### 404 - Error: Not Found
|
|
The project wasn't found.
|