Add API tasklist.

2025-06-07 11:16:00 +10:00
parent 27f54efabe
commit 49b7dd6b8d

61
api-tasklist.md Normal file

@@ -0,0 +1,61 @@
## API Routes to implement
- [x] `/stamps`
- [x] `POST`
- [x] `PUT`
- [x] `GET`
- [x] `/stamps/{stamp_id}`
- [x] `GET`
- [x] `PATCH`
- [x] `DELETE`
- [x] `/documents`
- [x] `POST`
- [x] `GET`
- [ ] `/documents/{document_id}`
- [ ] `GET`
- [ ] `PATCH`
- [ ] `DELETE`
- [ ] `/documents/{document_id}/stamps` which is passed to `/stamps` with `document_id` set.
- [ ] `/events`
- [ ] `POST`
- [ ] `GET`
- [ ] `/events/{event_id}`
- [ ] `GET`
- [ ] `PATCH`
- [ ] `DELETE`
- [ ] `/events/{event_id}/document` which is passed to `/documents/{document_id}`
- [ ] `/events/{event_id}/user` which is passed to `/users/{user_id}`
- [ ] `/users`
- [ ] `POST`
- [ ] `GET`
- [ ] `PATCH`
- [ ] `DELETE`
- [ ] `/users/{user_id}`
- [ ] `GET`
- [ ] `PATCH`
- [ ] `DELETE`
- [ ] `/users/{user_id}/events` which is passed to `/events`
- [ ] `/users/{user_id}/specimen` which is passed to `/specimens/{specimen_id}`
- [ ] `/users/{user_id}/specimens` which is passed to `/specimens`
- [ ] `/users/{user_id}/wallet` with `GET`
- [ ] `/users/{user_id}/transactions` which is passed to `/transactions`
- [ ] `/specimens`
- [ ] `GET`
- [ ] `POST`
- [ ] `/specimens/{specimen_id}`
- [ ] `PATCH`
- [ ] `DELETE`
- [ ] `/specimens/{specimen_id}/owner` which is passed to `/users/{user_id}`
- [ ] `/transactions`
- [ ] `POST`
- [ ] `GET`
- [ ] `/transactions/{transaction_id}`
- [ ] `GET`
- [ ] `PATCH`
- [ ] `DELETE`
- [ ] `/transactions/{transaction_id}/user` which is passed to `/users/{user_id}`