calendar.listFeeds

Calendar feeds in a shop, newest first, with whether each is active and how often it was fetched. Field workers see only their own. The link is not shown again.

WhoAgents can call this
RESTGET /v1/calendar/feeds
MCP toolcalendar_listFeeds
Writesno
AreaShop

When to use it

Calendar feeds in a shop, newest first, with whether each is active and how often it was fetched. Field workers see only their own.

What to tell the owner

Tell them what you found in plain words. Don't read back raw fields.

Input

FieldTypeRequired
shop_idstring (uuid)yes
person_idstring (uuid)no

Example

GET https://doingwork.work/v1/calendar/feeds?shop_id=00000000-0000-4000-8000-000000000000

Output

FieldTypeAlways there
itemsarrayyes
items[].feed_idstring (uuid)yes
items[].shop_idstring (uuid)yes
items[].person_idstring (uuid)yes
items[].created_by['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']yes
items[].created_atstring (date-time)yes
items[].revoked_at['string', 'null', ' ', '(', 'd', 'a', 't', 'e', '-', 't', 'i', 'm', 'e', ')']yes
items[].activebooleanyes
items[].fetchesintegeryes
items[].last_fetched_at['string', 'null', ' ', '(', 'd', 'a', 't', 'e', '-', 't', 'i', 'm', 'e', ')']yes
{
  "items": [
    {
      "feed_id": "00000000-0000-4000-8000-000000000000",
      "shop_id": "00000000-0000-4000-8000-000000000000",
      "person_id": "00000000-0000-4000-8000-000000000000",
      "created_by": "00000000-0000-4000-8000-000000000000",
      "created_at": "...",
      "revoked_at": "...",
      "active": true,
      "fetches": 1,
      "last_fetched_at": "..."
    }
  ]
}

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.