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}`