github

List pull requests for a repository: number, title, state...

List pull requests for a repository: number, title, state, author, draft flag, merged status + time, head/base branch, and created time. Filter by state (open/closed/all); paginate. Read-only; no caller key needed.

get/api/github/pulls

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/github/pulls
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

ownerstring required

Owner.

repostring required

Repo.

state'open' | 'closed' | 'all'

US state — two-letter postal abbreviation (e.g. CA) or full name.

perPageinteger

Number of results to return per page.

pageinteger

Page number (1-based) for paginated results.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

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