Former-commit-id: 3a198e8d90c58ef393dea3fee0c5bfffe42eda1c
This commit is contained in:
Ben
2022-02-25 16:19:45 +00:00
parent d7a884c010
commit a4b38a6d61
10 changed files with 9031 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ automatically every request
| Type | Route | Queries | Auth? | Notes |
| --- | --- | --- | -- | --- |
| GET | /api/search/ | query, page | no | |
| GET | /api/bricks/ | query, page | no | |
| GET | /api/sets/ | query, page | no | |
| GET | /api/brick/:id/ | | no | |
@@ -23,6 +24,19 @@ automatically every request
| POST | /api/auth/basket/:id | | yes | manipulate basket content |
| DEL | /api/auth/basket/:id | quantity | yes | if no id, delete whole |
## Query structure
### /api/search/
### /api/bricks/
### /api/sets/
### /api/brick/:id/
### /api/set/:id/
### /api/cdn/:id/
### /api/auth/login/
### /api/auth/signup/
### /api/auth/orders/
### /api/auth/basket/
## Response Structure
```js