From 49b7dd6b8d4ce7cf2b152d5b2511a387119c58e4 Mon Sep 17 00:00:00 2001 From: Interitio Date: Sat, 7 Jun 2025 11:16:00 +1000 Subject: [PATCH] Add API tasklist. --- api-tasklist.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 api-tasklist.md diff --git a/api-tasklist.md b/api-tasklist.md new file mode 100644 index 0000000..ac7f2f5 --- /dev/null +++ b/api-tasklist.md @@ -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}`