Response Body Schema

KeyTypeDiscussion
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

KeyTypeDiscussion
keystringid of your key that got rejected
codeintrejection code is used for diagnostic purposes
reasonstringrejection 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": ""
}