dev.knotless.listItems

A repository's pulls or its issues, open or closed, newest first, a page at a time: follow `cursor` until it is absent. `q` filters them as GitHub's search does. No authentication needed; asked as an account, with a service token or the pages' session cookie, a private repository it is a member of is read too, and the answer is that account's alone.

Details · query
Kindquery
Authorityknotless.dev
Indexed

Query

query · GET

Parameters

query string

cursor

string

How many the pages before held.

  • maxLength: 32

kind

requiredstring
  • maxLength: 16
  • knownValues: pull | issue

limit

integer
  • minimum: 1
  • maximum: 100
  • default: 50

q

string

A filter, in words: `label:<name>` (each must be on it), `-label:<name>`, `no:label`, `author:<handle or did>` (any of them), `state:open|closed|merged` (over `state`), `is:pull|issue`, and words its title or body holds, ignoring case. Double quotes keep a value or words together; a qualifier it does not know is a word. The counts are of those it matches.

  • maxLength: 1024

repo

requiredstring · at-uri

The repository's dev.knotless.repo record. Its authority may be a handle; a name the repository had before, or an owner it moved from with its agreement, finds it under the name it has now.

state

string

Open ones, or those closed and merged; open if absent.

  • maxLength: 16
  • knownValues: open | closed

Output

application/json

authors

array

Who opened pulls or issues of its kind, in any state, the most recent first, for a filter to name. Absent when there are none.

itemsref

closedCount

requiredinteger

How many of its kind are closed or merged, of those `q` matches.

  • minimum: 0

cursor

string

Absent on the last page.

items

requiredarray
itemsref

labels

array

The labels the repository defines, in its order, for a filter to name. Absent when it defines none.

itemsref

openCount

requiredinteger

How many of its kind are open, of those `q` matches.

  • minimum: 0

Errors

NotFound

No such repository; or this appview keeps no index, so it knows no pulls or issues.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.