object-storage-2

List custom domains

Returns a list of custom domains attached to a service by given {service_uuid}.

get/1.3/object-storage-2/{service-uuid}/custom-domains

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/custom-domains
  • 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

domain_namestring

Custom domain name. Supports both apex domains and subdomains.

typestring

Endpoint type for the custom domain.

mode'api' | 'static-website'

Purpose of the domain. 'api' for S3 API access, 'static-website' for static website hosting.

Example response

[
  {
    "domain_name": "example.com",
    "type": "public",
    "mode": "api"
  },
  {
    "domain_name": "objects.example.com",
    "type": "public",
    "mode": "api"
  },
  {
    "domain_name": "static.example.com",
    "type": "public",
    "mode": "static-website"
  }
]

Changes

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