Skip to main content

Pagination

All list endpoints support cursor-based pagination via query parameters.

Query Parameters

ParameterDefaultDescription
page1Page number (1-indexed)
per_page30Results per page (max: 100)

Example

curl "https://api.jjhub.tech/api/repos?page=2&per_page=30" \
  -H "Authorization: Bearer jjhub_token"

Response Headers

X-Total-Count: 100
Link: <https://api.jjhub.tech/api/repos?page=1&per_page=30>; rel="prev",
      <https://api.jjhub.tech/api/repos?page=3&per_page=30>; rel="next"