Appearance
HTTP API
Base URL: https://api.sitestar.io/api/v1/app
Send Authorization: Bearer YOUR_API_KEY. Requests with a body use Content-Type: application/json. Route paths in this documentation are relative to the base URL.
Parameters
Replace {siteId}, {id}, and other path placeholders with URL-encoded identifiers. For GET and DELETE, supply remaining operation input as query parameters. For POST, PUT, and PATCH, supply the remaining fields in a JSON body. Path parameters do not need to be repeated in the body.
sh
curl --fail-with-body "$SITESTAR_API_URL/sites?limit=20" -H "Authorization: Bearer $SITESTAR_API_KEY"Responses
Successful calls return the operation result directly, without a data wrapper:
json
{"items":[],"next":"opaque-cursor"}Creation routes return 201 where listed. Idea promotion and dismissal return 202 acknowledgments; other successful routes default to 200. A null/absent operation result returns 204 with no body; clients must not JSON-parse an empty response. An accepted request can start asynchronous work. Read the returned product status to establish completion.
Pagination
List operations supporting pagination accept limit and an opaque next cursor. Pass next unchanged on the subsequent request, with the same filters. Continue when an empty page still has a cursor. Do not parse cursors or share them across accounts, sites, or queries.
Versioning
The URL identifies the API version. Clients should tolerate additional response fields and avoid treating newly returned status values as successful terminal states. Validate outgoing input against each operation's schema; many operations reject unknown input fields.
Browse all HTTP endpoints and operation schemas. For transport and product failures, see errors and retries.

