Response Body Schema
| Key | Type | Discussion |
|---|---|---|
| importedKeys | [string] | Array of keys that were successfully imported into eclypse |
| rejectedKeys | [RejectedKey] | Array of rejected keys that were not processed due to an error. see schema. |
RejectedKey Schema
| Key | Type | Discussion |
|---|---|---|
| key | string | id of your key that got rejected |
| code | int | rejection code is used for diagnostic purposes |
| reason | string | rejection reason - used for diagnostic purposes |
Example:
The following response body demonstrates an example where 2 keys were successfully imported and 1 key was rejected.
{
"success": true,
"result": {
"importedKeys": [
"macro_economics",
"taxation_policy"
],
"rejectedKeys": [
{
"key": "gdp/of/a/country",
"reason": "KeyContainsForwardSlash",
"code": 349
}
]
},
"errorCode": 0,
"errorMessage": ""
}