REST API  4.0.0
REST API for SafeNet Network HSMs
GET /errors/languageid

GET /errors/{languageid}

Gets all errors for the specific language.

Parameters

languageid

The language of interest

Use: Required

JSON Schema:

   Object
   type: string

Responses

200

A list of all errors for the specific language. Specifically, the list is unique error identifiers.

JSON Schema: Errors

400

Unexpected error

Example Request

   GET 
   https://1.2.3.4:8443/errors/en

Example Result

{
    "errors": 
    [
       {"url": "/errors/en/APICONFIG_CERT_GEN_ERROR", "id": "APICONFIG_CERT_GEN_ERROR"},
       {"url": "/errors/en/APICONFIG_CERT_NOT_FOUND", "id": "APICONFIG_CERT_NOT_FOUND"},
       {"url": "/errors/en/APICONFIG_INVALID_ECC_CURVE", "id": "APICONFIG_INVALID_ECC_CURVE"},
       {"url": "/errors/en/APICONFIG_INVALID_KEY_SIZE", "id": "APICONFIG_INVALID_KEY_SIZE"},
       {"url": "/errors/en/APICONFIG_INVALID_KEY_TYPE", "id": "APICONFIG_INVALID_KEY_TYPE"},
       {"url": "/errors/en/APICONFIG_INVALID_NETDEVICE", "id": "APICONFIG_INVALID_NETDEVICE"},
       {"url": "/errors/en/APICONFIG_INVALID_PORT", "id": "APICONFIG_INVALID_PORT"},
       {"url": "/errors/en/APICONFIG_NETDEVICE_NOT_CONFIGURED", "id": "APICONFIG_NETDEVICE_NOT_CONFIGURED"},
       {"url": "/errors/en/APICONFIG_PORT_CONFIG_FAILED", "id": "APICONFIG_PORT_CONFIG_FAILED"},
       {"url": "/errors/en/FRAMEWORK_BAD_REQUEST", "id": "FRAMEWORK_BAD_REQUEST"},
       ...
    ]
}