Retrieve
GET/keys/:key/configs/:config
Retrieve config object by name
Request
Path Parameters
Responses
- 200
- 400
- 404
Success
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
result objectrequired
Timestamp for when the config was created
Timestamp for when the config was updated
Possible values: <= 32
A unique name to identify the configuration payload
Possible values: <= 4096
A serialised payload of up to 4096
characters
Possible values: [2000
]
Possible values: [Success
]
{
"result": {
"updatedAt": "2016-01-21T17:14:49.971Z",
"createdAt": "2016-01-21T17:14:49.971Z",
"name": "woocommerce",
"payload": "{\n \"removeOrganisation\": false\n}\n"
},
"code": 2000,
"message": "Success"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
Human readable error message supplied with every error response.
errors object[]
Indicates location of error in request query or URL parameter
Indicates location of error in request query or URL parameter
{
"code": 0,
"message": "string",
"errors": [
{
"message": "should have required property 'type'",
"path": ".query.type",
"errorCode": "required.openapi.validation"
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
Human readable error message supplied with every error response.
{
"code": 0,
"message": "string"
}