Productivity & projects
Trello mock API
Trello REST API: boards with default lists, lists, cards, comments, checklists, labels and signed (HMAC-SHA1 over body plus callback URL) webhooks.
At a glance
- Operations
- 261
- Stateful operations
- 33
- Stateful resources
- 8
- Webhook events
- 6
- Vendor API version
- 1
- Verification
- Spec-verified
How it works
Use Trello without calling Atlassian
- Install the mock from the library into a workspace. It runs as a virtual service.
- Point your client's base URL at the virtual service instead of the vendor.
- Authenticate the way you already do. The mock accepts the same credential shape:
?token=ATTAExampleToken0123456789abcdef0123456789abcdef0123456789abcdef State
Resources that remember
Writes persist per caller, so a create followed by a read returns what you created.
| Resource | Operations |
|---|---|
| Boards | 7 |
| Lists | 6 |
| Cards | 4 |
| Actions (comments) | 2 |
| Checklists | 5 |
| Labels | 3 |
| Webhooks | 5 |
| Members | 1 |
Webhooks
Events your handlers can receive
- updateList
- createList
- createCard
- deleteCard
- updateCard
- commentCard
Deliveries are signed with the hmac scheme, so your verification code runs unchanged.
Coverage
261 operations
33 of them are stateful. The largest groups:
| Group | Operations |
|---|---|
| Other operations | 228 |
| Boards | 7 |
| Lists | 6 |
| Checklists | 5 |
| Webhooks | 5 |
| Cards | 4 |
Verification
Spec-verified
Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.
4 operations cannot be checked against the specification.
Source and limits
License, source and limits
- Generated from the Atlassian API description, licensed under Proprietary (Atlassian developer terms; no redistribution licence confirmed).
- Atlassian API documentation
- Source specification
Each collection (boards, lists, cards, check items, comments, labels, webhooks) holds up to 1 MiB of objects per token; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Stateful: boards (a new board gets the To Do, Doing and Done lists unless defaultLists=false), lists (create, rename, archive, filter open/closed/all, pos incl. top), cards (create, move across lists, archive, due, dueComplete, description), card comments, checklists with check items, labels (create, attach) and webhooks, plus a seeded read-only member (me); every other operation answers a schema-valid sample. Scalar parameters are read from the query string or a JSON body (the real service accepts both). Ids are 24-character lowercase hex: a malformed id answers 400 "invalid id", a well-formed unknown id 404 "The requested resource was not found.", and a create or card move that references an unknown idBoard, idList or idCard answers 400 "invalid value for <field>" (a malformed one answers 400 "invalid id"); error bodies are text/plain like the real API. Create and update answer 200 with the full object; DELETE answers 200 {"_value":null}; archived (closed) cards, lists and boards stay readable. Card and list reads honour limit (list cards: up to 1000, before=<card id> pages backwards) in list position order; positions are floats. Authentication enforces only the token (a request without token answers 401 "invalid key" when the key is also absent, else "invalid token"); the key value is never validated. Webhooks: callbackURL and idModel (a board, list or card id) are required; the real service sends a HEAD request to the callback at creation and refuses a non-200 answer, which is not reproduced; the optional secret parameter (a documented extension) becomes the HMAC key, otherwise one is generated, and it is never returned. Deliveries for createCard, updateCard (with data.listBefore/listAfter when a card moves and data.old), deleteCard, commentCard, createList and updateList go to the webhook whose idModel is the board, list or card concerned (one webhook per idModel; a later one replaces the earlier registration), signed as X-Trello-Webhook = base64(HMAC-SHA1(secret, body + callbackURL)) over the raw body. Not reproduced: members other than me, organizations, search, attachments, stickers, custom fields, Power-Ups, notifications, rate limits.
MaxoPerf is not affiliated with, endorsed by, or sponsored by Atlassian. Trello is a trademark of its owner.