class Pdns::API::Endpoints::Metadata
- Pdns::API::Endpoints::Metadata
- Pdns::API::Endpoint
- Reference
- Object
Defined in:
pdns/api/endpoints/metadata.crInstance Method Summary
-
#create(metadata : Pdns::Metadata) : Void
Creates a set of metadata entries
-
#delete(kind : String) : Void
Delete all items of a single kind of domain metadata.
-
#edit(kind : String, &block : Pdns::Metadata -> ) : Pdns::Metadata
Replace the content of a single kind of domain metadata.
-
#get(kind : String) : Pdns::Metadata
Get the content of a single kind of domain metadata as a Metadata object.
-
#list : Array(Pdns::Metadata)
Get all the Metadata associated with the zone.
Constructor methods inherited from class Pdns::API::Endpoint
new(api : API, base_path : String)
new
Instance Method Detail
Replace the content of a single kind of domain metadata.
def get(kind : String) : Pdns::Metadata
#
Get the content of a single kind of domain metadata as a Metadata object.