Praecise account/ Reference/ Feed

How many items are open, need action and are unseen

get/api/feed/{account}/count

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.
  • productstring
    In the query. Only this product's items.
  • not_productstring
    In the query. Every product's items but this one's.

Responses

  • 200application/json
    The counts.
    • countsobject
      • openinteger
      • needs_actioninteger
      • unseeninteger
  • 304
    Nothing changed.
  • 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