GET
/
v1
/
projects
/
{id}
/
domains
curl --request GET \
  --url https://api.edgee.app/v1/projects/{id}/domains \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "url": "<string>",
  "has_more": true,
  "last_key": "<string>",
  "data": [
    {
      "object": "domain",
      "name": "<string>",
      "project_id": "<string>",
      "dns_status": true,
      "ssl_status": true,
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Path Parameters

id
string
required

Response

200
application/json
A list of Domains
object
string

String representing the object’s type. Objects of the same type share the same value.

Example:

"list"

url
string

The URL where this list can be accessed.

has_more
boolean

Whether there are more objects beyond the ones returned. You can use it to decide whether to show the user a “load more” button, for example.

last_key
string

The last key of the list. You can use its value on the start_key parameter to fetch the next page of the list.

data
object[]

A Domain is a hostname that you can use to access your project. Each domain belongs to a project.