Get setting
GET
/settings/{key}Contract
Parameter | Value |
|---|---|
| Section | settings |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| key | path | yes | string | Setting key |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | object |
400 | Key is required | object |
401 | Unauthorized | object |
404 | Record not found | object |
{ "key": "<string>", "updatedAt": "<string>", "value": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }