Metadata

Endpoints

GET /servers/{server_id}/zones/{zone_id}/metadata

Get all the Metadata associated with the zone.

Parameters:
  • server_id (string) – The id of the server to retrieve
  • zone_id (string) – The id of the zone to retrieve
Status Codes:
POST /servers/{server_id}/zones/{zone_id}/metadata

Creates a set of metadata entries

Creates a set of metadata entries of given kind for the zone. Existing metadata entries for the zone with the same kind are not overwritten.

Parameters:
  • server_id (string) – The id of the server to retrieve
  • zone_id (string) –
Status Codes:
GET /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}

Get the content of a single kind of domain metadata as a Metadata object.

Parameters:
  • server_id (string) – The id of the server to retrieve
  • zone_id (string) – The id of the zone to retrieve
  • metadata_kind (string) – The kind of metadata
Status Codes:
PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}

Replace the content of a single kind of domain metadata.

Creates a set of metadata entries of given kind for the zone. Existing metadata entries for the zone with the same kind are removed.

Parameters:
  • server_id (string) – The id of the server to retrieve
  • zone_id (string) –
  • metadata_kind (string) – The kind of metadata
Status Codes:
DELETE /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}

Delete all items of a single kind of domain metadata.

Parameters:
  • server_id (string) – The id of the server to retrieve
  • zone_id (string) – The id of the zone to retrieve
  • metadata_kind (string) – The kind of metadata
Status Codes:

Objects

Metadata

Represents zone metadata

Object Properties:
 
  • kind (string) – Name of the metadata
  • metadata ([string]) – Array with all values for this metadata kind.