Follow a card’s statements
A card’s latest 50 statements as an Atom feed, for a feed reader, a Discord channel or a page.
/{kind}/{card}/statements.atom- Access
- Public; API key optional
- Client
- Browser fetch supported
Parameters#
| Name | Location | Meaning |
|---|---|---|
kindRequired | Path | u for a person, o for an organisation. |
cardRequired | Path | The card’s permanent number or its current alias. |
lang | Query | en or it: the feed’s own words. English is the default. |
Request examples#
curl -fsS 'https://veil.rip/u/1/statements.atom'Response#
The Atom feed.
Response headers#
| Header | Value | Meaning |
|---|---|---|
Content-Type | application/atom+xml; charset=utf-8 | Atom, RFC 4287. |
Cache-Control | public, max-age=300 | Read it again after five minutes at the most. |
Usage notes#
- The feed is the server’s word, cached five minutes. The card’s page names it in its head (rel=alternate).
Errors#
API errors return an error object. Use error.code for program logic; error.message is English text for people and can change. Response and error guide
| HTTP | Code | Meaning and next step |
|---|---|---|
| 400 | invalid_parameter | A path, query or body field is missing, malformed or outside its accepted range. Correct the field named in |
| 400 | wrong_format | The request or the read belongs to the other log format than this server’s: a v1 record on a format 2 log, or a format 2 read on a format 1 log. Read |
| 404 | not_found | The requested card, key, alias, code or resource was not found. Check the identifier. Temporary codes and previews may already have expired or been used. |
| 410 | erased | The card existed and was erased or removed. The response also carries its public erasure receipt. Stop using this card as current authority. Retain only the public receipt if needed. |
Shared request errors
| HTTP | Code | Meaning and next step |
|---|---|---|
| 429 | rate_limited | An anonymous, signed-request or API-key allowance was exceeded. Wait at least |
| 500 | internal_error | An unexpected server error occurred. Internal details are not returned. Retry reads with bounded backoff. Check write results before sending a new signed operation. |
| 503 | busy | The application has reached a temporary concurrency or database limit. Wait |