place.hud.listAppRecords

Public records of one of the collections a frame app names in its reads, anyone's, as HUD's index has them, filtered and sorted by fields of their value, each with its author, a page at a time; or, with group, how many hold each value of a field. A collection the index is still taking in answers what it has, and says it is not complete. In a private instance of the app, the same: these are the public network's records, never the instance's. No auth required; each address asks at most 120 times a minute, with listAppEntries, getAppRecords, getShared and callSharedTool.

Details · query
Kindquery
Authorityhud.place
Commit rev3n3kx77rtx5ju
Indexed

Query

query · GET

Parameters

query string

app

requiredstring · at-uri

The app's place.hud.app record.

by

array

Whose records alone: at most 50 accounts, by DID.

  • maxLength: 50
itemsstring · did

collection

requiredstring · nsid

Which of the collections it reads.

cursor

string

Where the last page ended, as its answer's cursor said.

  • maxLength: 512

group

string

As JSON, {by, top?}: in place of records, how many records hold each value of the field by (subject.uri), the top most held, 1 to 100, 20 by default.

  • maxLength: 512

limit

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

order

string

Which way sort sorts.

  • maxLength: 8
  • default: "desc"
  • knownValues: asc | desc

sort

string

A field of the records' value to sort by (createdAt): those without it are left out. Newest first where none.

  • maxLength: 256

where

string

Filters, as JSON: an array of at most 6 of {path, op: value}, each path a field of the record's value (subject.uri), each op one of eq, ne, in, contains, gt, gte, lt, lte or exists.

  • maxLength: 2048

Output

application/json

complete

requiredboolean

Whether the index has every repository holding the collection in, and every field asked of indexed: else ask again in a while for more.

cursor

string

Where the next page starts, as the index says it; absent on the last.

  • maxLength: 512

groups

array

With group: each value of its field, and how many records hold it, the most held first.

  • maxLength: 100
itemsref
Reference

records

requiredarray

The records; none with group.

itemsref
Reference

Errors

NotFound

HUD has no frame app of this id.

InvalidRequest

The input is not what the method takes: a collection the app does not name in its reads, or a filter, sort or group not of the records' value, among others.

RateLimitExceeded

This address asked too often in the last minute: ask again in a minute.

IndexUnavailable

This server names no index (HUD_INDEX) to read records from.

UpstreamFailure

The index refused, or could not be reached.

#group

object

A value of a field, and how many records hold it.

Properties

count

requiredinteger
  • minimum: 0

key

requiredstring

The value, a number written as text.

  • maxLength: 8192

#record

object

A public record, as its author's repository holds it.

Properties

author

requiredref

cid

requiredstring · cid

uri

requiredstring · at-uri

value

requiredunknown

The record; each blob in it given its addresses as a public record's are (url, thumb and proxy beside its ref).

Similar lexicons

semantic match

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