fix: ensure consitant naming of keys
This commit is contained in:
parent
25b75bee87
commit
0f993c39ec
4 changed files with 21 additions and 19 deletions
|
@ -11,34 +11,34 @@ No request parameters or request body.
|
|||
## Responses
|
||||
|
||||
| Status | Description |
|
||||
| ------ | ----------------------------------------------- |
|
||||
|--------|-------------------------------------------------|
|
||||
| 200 | Support information for the server. |
|
||||
| 404 | No contact information has been made available. |
|
||||
|
||||
### 200 response
|
||||
|
||||
| Name | Type | Description |
|
||||
| ------------ | ------------- | ----------------------------------------- |
|
||||
|--------------|---------------|-------------------------------------------|
|
||||
| contacts | list[Contact] | A list of server administators. |
|
||||
| support_page | string | The URL of a webpage that may help users. |
|
||||
|
||||
#### Contact
|
||||
| Name | Type | Description |
|
||||
| ------------- | ------ | ----------------------------------------------------------- |
|
||||
|---------------|--------|-------------------------------------------------------------|
|
||||
| email_address | string | Email address for the administrator. |
|
||||
| gorb_id | string | The gorb ID for the administrator. |
|
||||
| user_id | string | The local user ID for the administrator in question. |
|
||||
| role | string | **Required**: A simple description of this responsible for. |
|
||||
|
||||
```json
|
||||
{
|
||||
"contacts": [
|
||||
{
|
||||
"email_address": "admin@gorbatron.org",
|
||||
"email_address": "admin@gorb.app",
|
||||
"role": "Main Administrator"
|
||||
},
|
||||
{
|
||||
"email_address": "moderator@gorbatron.org",
|
||||
"gorb_id": "@moderator@gorbatron.org",
|
||||
"email_address": "moderator@gorb.app",
|
||||
"user_id": "moderator",
|
||||
"role": "Content Moderator"
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue