api:config:set
Table of Contents
API : Config Set
Introduction
This request will set the specified site wide configuration setting.
Request
| URL | https://api.telecomx.dk/config/KEY/VALUE | |
|---|---|---|
| Method | POST or GET | |
| Access level | ADMIN. | |
| Param | KEY | Configuration key |
| VALUE | Value for key. Numeric values are stored as numbers and 24 hex-char values as ids; anything else is stored as a string. | |
Query example
https://api.telecomx.dk/config/TerminationProduct/1234567890ABCDEF12345678
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/config/set.txt · Last modified: by Mikkel Meerwaldt Jørgensen