getZone
GET
/zones/{zoneId}
const url = 'https://example.com/api/v1/zones/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {cookie: 'dnse_session=<dnse_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/zones/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --cookie dnse_session=<dnse_session>Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“zoneId
required
string format: uuid
Responses
Abschnitt betitelt „Responses“Zone incl. desired record sets.
Media typeapplication/json
object
id
string format: uuid
name
string
accountId
string format: uuid
projectId
string format: uuid
recordSets
Array<object>
object
name
string
type
string
ttl
integer format: int64
records
Array<string>
source
string
ignored
Array<string>
lastSyncAt
Last successful drift synchronisation (job or manual).
string format: date-time
nsEditable
Apex NS records are editable at this provider.
boolean
Example
{ "recordSets": [ { "source": "adopted" } ]}Resource not found.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}