MetricDrains

show metric_drain

Changed on

Returns the details of a specific metric drain by ID.

get/metric_drains/{id}

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

idinteger required

id

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Response

successful

idinteger required
_typestring required
handlestring required
created_atstring dateTime required
updated_atstring dateTime required
statusstring required
drain_typestring required
unifiedboolean
aggregator_ca_certificatestring required
aggregator_ca_private_key_blobstring required
aggregator_hoststring required
aggregator_instance_idstring required
aggregator_docker_namestring required
aggregator_allocationstring[] required

Changes

    • info

      added the optional property to the response with the status

    • breaking

      the response property became optional for the status

    • info

      added the new optional header request parameter Prefer

    • info

      added the new optional query request parameter no_embed