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:
  • 200 OK – List of Metadata objects Returns: array of Metadata objects
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 list of MetaData objects.

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

    ???

Status Codes:
PUT /servers/{server_id}/zones/{zone_id}/metadata/{metadata_kind}

Modify the content of a single kind of domain metadata.

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) –

    ???

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.