Get a host

Request Information
URL GET {{basepath}}/domain/:name/host/:hostname
CategoryREPP-Host

Description

Allows you to get a host (aka Glue record)

Expects a HostInfoRequest object.

Returns a HostInfoResponse object.

Url variables
:namezerg-test-controlpanel-2023-06-09-01.frl
:hostnamens4.zerg-test-controlpanel-2023-06-09-01.frl

Example responses

Get a host
Request Method & URL
GET {{basepath}}/domain/:name/host/:hostname
Url variables
:namezerg-test-controlpanel-2023-06-09-01.frl
:hostnamens4.zerg-test-controlpanel-2023-06-09-01.frl
Response Code:
200 OK
Response Body:
{
    "responseId": "mapi1_e48b5c5da47825f0e67e9c0e9396857e4bef60d2",
    "status": "ok",
    "message": "Command completed successfully",
    "host": {
        "name": "ns4.zerg-test-controlpanel-2023-06-09-01.frl",
        "roid": "24-ralhost",
        "status": [
            "ok"
        ],
        "addr": [
            {
                "ipAddress": "213.249.80.251",
                "ip": "v4"
            }
        ],
        "clID": "metaregistrar",
        "crID": "metaregistrar",
        "crDate": "2023-06-12T00:00:00+00:00"
    }
}