GET - /api/domains/{domain_id}
CURL
curl -X GET "https://servr.app/api/domains/{domain_id}" \
-H "Authorization: Bearer ymmi922wQwFW1hpm3NImOotRVWG8yrTQ2IoScQFl"
Header Parameters
- Authorization should respect the following schema:
{
"type": "string",
"enum": [
"Bearer ymmi922wQwFW1hpm3NImOotRVWG8yrTQ2IoScQFl"
],
"default": "Bearer ymmi922wQwFW1hpm3NImOotRVWG8yrTQ2IoScQFl"
}
- Content-Type should respect the following schema:
{
"type": "string",
"enum": [
"application/x-www-form-urlencoded; charset=utf-8"
],
"default": "application/x-www-form-urlencoded; charset=utf-8"
}
Response
- body should respect the following schema:
{
"data": {
"id": 24,
"uuid": "010e9f1d-3664-4876-964d-8dff343fd3d1",
"domain": "test4.wartner.io",
"target": "wartner.io",
"is_authorized": true,
"status_message": "STATUS_ACTIVE",
"type": "NORMAL"
}
}