Get Host Validation State

Get Host Validation State

Get Current state and details of the host being validated.

Request
URI
POST
https://{api_host}/hybridity/api/ztp/host/validator/state
COPY
Request Body

List of hosts FQDN OR HOSTNAME

InlineZtpHostValidatorStateRequestBody of type(s) application/json
Required
{
    "hosts": [
        "string"
    ]
}
array of string
hosts
Optional

FQDN or hostname of the host using which validation was triggered

Authentication
This operation uses the following authentication methods.
Responses
200

Response with Host validation state.

Returns InlineZtpHostValidatorState200Response of type(s) application/json
{
    "hosts": [
        {
            "hostname": "string",
            "host_validation_state": "string",
            "message": "string"
        }
    ]
}
array of object
hosts
Optional

list of hosts with their validation details


301

API endpoint has permanently moved.

Returns InlineZtpHostValidatorState301Response of type(s) application/json
{
    "redirectURL": "string"
}
string
redirectURL
Optional

redirectURL

Response Headers

string
Location

URI where the client will find the new endpoint.


400

Bad Request received.

Returns InlineZtpHostValidatorState400Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

500

An Internal Server Error has occurred.

Returns InlineZtpHostValidatorState500Response of type(s) application/json
{
    "warnings": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ],
    "errors": [
        {
            "code": "string",
            "message": "string",
            "stack": "string"
        }
    ]
}
array of object
warnings
Optional

The list of warnings.

array of object
errors
Optional

The list of errors.