app.thesocialwire.appview.getReadAgeOptions

Get calendar-day read cutoffs represented by unread stories in the full indexed feed scope, capped at seven days. The seven-day option includes all older unread stories. The default output is application/json. Clients may request Accept: application/x-ndjson for progressive options snapshots; each line is an options event with type, referenceDay, and options, a done event with type, or an error event with type and message. Options snapshots replace earlier snapshots and remain partial until done.

Repository @samclemente.me did:plc:qy5pluw2bsuq2x6albsgkvx3 namespace authority
Details · query
Kindquery
Authorityappview.thesocialwire.app
Commit rev3n2ums66i442h
Indexed

Query

query · GET

Parameters

query string
  • maxLength: 512

kind

requiredstring
  • maxLength: 32
  • knownValues: publication | folder | subscribed | following
  • maxLength: 2048

timeZone

requiredstring

IANA time zone identifier used for local calendar days, such as America/Chicago.

  • minLength: 1
  • maxLength: 255

Output

application/json

options

requiredarray
  • maxLength: 7
itemsref
Reference

referenceDay

requiredstring · datetime

Start of the current local calendar day, expressed as a UTC instant.

Errors

InvalidRequest

No description in schema.

UpstreamUnavailable

No description in schema.

#option

object

Properties

before

requiredstring · datetime

Exclusive UTC publication-time cutoff. For one day this is the start of today in the requested time zone.

count

requiredinteger

Number of unread stories in scope before this cutoff.

  • minimum: 1

days

requiredinteger

Calendar-day age represented by unread stories, capped at seven days. One includes yesterday and earlier; seven includes all stories aged seven calendar days or more.

  • minimum: 1
  • maximum: 7

Similar lexicons

semantic match

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

  • Mark only unread indexed stories published before an exclusive cutoff in a viewer-owned feed scope. Returns the marked entryIds for client read-state reconciliation.