class Pdns::API::Endpoints::Metadata

Defined in:

pdns/api/endpoints/metadata.cr

Instance Method Summary

Constructor methods inherited from class Pdns::API::Endpoint

new(api : API, base_path : String) new

Instance Method Detail

def create(metadata : Pdns::Metadata) : Void #

Creates a set of metadata entries


[View source]
def delete(kind : String) : Void #

Delete all items of a single kind of domain metadata.


[View source]
def edit(kind : String, &block : Pdns::Metadata -> ) : Pdns::Metadata #

Replace the content of a single kind of domain metadata.


[View source]
def get(kind : String) : Pdns::Metadata #

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


[View source]
def list : Array(Pdns::Metadata) #

Get all the Metadata associated with the zone.


[View source]