Skip to content

Add administrative endpoint to list all pages domains

What does this MR do?

Adds an endpoint to list all pages domains.

GET /pages/domains
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/pages/domains
[
  {
    "domain": "ssl.domain.example",
    "url": "https://ssl.domain.example",
    "certificate": {
      "expired": false,
      "expiration": "2020-04-12T14:32:00.000Z"
    }
  }
]

Are there points in the code the reviewer needs to double check?

Review the entity information. What domain information is appropriate for a mass listing of all pages domains?

Why was this MR needed?

Use case for administrative function to list all pages domains across all projects.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #39436 (closed)

Merge request reports