Claims
Get the record as a zone-file line
The record in BIND zone-file format, for providers that take an import.
GET
/api/v1/claims/{id}/zone-fileOne line, with the full name ending in a dot and the value in double quotes. Paste it into a zone file or a provider's import box as it is.
Authentication
Send the session cookie. Without it the answer is unauthorized. How sessions work.
Path parameters
idstringrequiredThe claim's id, from Create a claim or List claims. It starts with clm_.
Response
200 OK, with every field below present. Times are ISO 8601 strings in UTC.
linestringThe record as one line of a BIND zone file.
Errors
| Status | Kind | When |
|---|---|---|
| 401 | unauthorized | The request has no session cookie, or one we don't recognise. |
| 404 | not_found | No claim has this id in your account. Another account's claim looks the same as one that doesn't exist. |
Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.