Sites

Paginated list of sites owned by the authenticated user

Returns the dashboard list with per-site stats and a summary block. Sites in the transient pending upload state are excluded.

get/sites

Request

  • Base URL: https://api.nippy.host
  • URL: https://api.nippy.host/sites
  • Auth: bearer (a scheme the document does not define)

Query parameters

status'live' | 'inactive'

Filter the list to a single lifecycle status. Omit to return all dashboard-visible sites. The summary block is always computed across the full set, regardless of this filter.

pagenumber

1-based page number

pageSizenumber

Items per page

Response

List of sites with stats

Example response

{
  "data": [
    {
      "subdomain": "my-site",
      "publicUrl": "https://my-site.nippy.site",
      "recentViewsSeries": [
        0,
        0,
        3,
        5,
        2,
        0,
        8
      ]
    }
  ],
  "summary": {
    "byStatus": {
      "live": 2,
      "awaiting_verification": 0,
      "inactive": 1,
      "suspended": 0
    }
  }
}

Changes

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