object-storage-2

Get service metrics

Returns object storage metrics by given {service_uuid}.

get/1.3/object-storage-2/{service-uuid}/metrics

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/metrics
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier for the service.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

Response

OK

total_objectsinteger
total_size_bytesinteger

Example response

{
  "total_objects": 1000,
  "total_size_bytes": 1073741824
}

Changes

No recorded changes to this operation across all 1 revision of this API.