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.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/calendar/feeds |
| MCP tool | calendar_listFeeds |
| Writes | no |
| Area | Shop |
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.
| Field | Type | Required |
|---|
shop_id | string (uuid) | yes |
person_id | string (uuid) | no |
Example
GET https://doingwork.work/v1/calendar/feeds?shop_id=00000000-0000-4000-8000-000000000000
Output
| Field | Type | Always there |
|---|
items | array | yes |
items[].feed_id | string (uuid) | yes |
items[].shop_id | string (uuid) | yes |
items[].person_id | string (uuid) | yes |
items[].created_by | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | yes |
items[].created_at | string (date-time) | yes |
items[].revoked_at | ['string', 'null', ' ', '(', 'd', 'a', 't', 'e', '-', 't', 'i', 'm', 'e', ')'] | yes |
items[].active | boolean | yes |
items[].fetches | integer | yes |
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
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |