Praecise account/ Reference/ Feed

An account's items

get/api/feed/{account}

An account's items: every product's for a reader, the caller's own for a publisher

Before you call

Credential
Authorization: Basic $KEY
Callers
The server of a product in the account service's client list.

Parameters

  • accountstring (uuid)required
    In the path. The Praecise account id: sub in ID tokens.
  • statestring
    In the query
  • productstring
    In the query. Only this product's items.
  • not_productstring
    In the query. Every product's items but this one's.
  • limitinteger
    In the query
  • afterstring
    In the query. next of the answer before.

Responses

  • 200application/json
    Items that need action first, then the newest.
    • itemslist of object
      • kindstringrequired
        One of: message, call, event, reminder, invitation, share, approval, signature, payment, deploy, limit, security, notice.
      • textobjectrequired
        By language tag. en is the source and compulsory.
      • urlstring (uri)required
        The https address that opens the thing, on one of the publishing product's own hosts.
      • needs_actionboolean
      • atstring (date-time)
      • ends_atstring (date-time)
      • reopenboolean
        Bring back an item the person finished.
    • countsobject
      • openinteger
      • needs_actioninteger
      • unseeninteger
    • productsobject
    • nextstring
  • 304
    Nothing changed since the ETag given in If-None-Match.
  • 401application/json
    No valid client id and secret.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring
  • 403application/json
    Another product's item, or a feed the caller may not read.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring
  • 404application/json
    No such account, or no such item.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring
  • 429application/json
    Over the limit for a minute. Retry-After says when to try again.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring
  • 503application/json
    The feed is not switched on. Nothing to do; do not retry in a loop.
    • errorstringrequired
      What went wrong, in a sentence.
    • detailstring

This page as Markdown