Tick off Phase 4 ApiClient TODO
This commit is contained in:
@@ -619,11 +619,13 @@ Phase 3: SRP + auth
|
||||
|
||||
Phase 4: HTTP client + endpoints
|
||||
|
||||
- [ ] `ApiClient` that attaches `X-Auth-Token` and `X-Client-Package`
|
||||
- [x] `ApiClient` that attaches `X-Auth-Token` and `X-Client-Package`
|
||||
- [x] `ApiError` that surfaces the server's error code and request id
|
||||
- [x] `getJSON` / `postJSON` with query-param and JSON-body handling
|
||||
- [x] `getFileStream` / `getThumbnailStream` with self-hosted routing
|
||||
- [ ] Typed wrappers for the endpoints listed above
|
||||
- [ ] Retry policy: no retry on 4xx, exponential backoff on 5xx and network
|
||||
errors
|
||||
- [ ] `ApiError` that surfaces the server's error code and request id
|
||||
|
||||
Phase 5: collections and files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user