10 lines
329 B
Markdown
10 lines
329 B
Markdown
# Endpoints
|
|
|
|
```
|
|
GET /autocomplete?term=slow+burn&type=freeform
|
|
GET /search?query=enemies+to+lovers&fandom=...&tag=...&rating=...&min_words=...&max_words=...&page=1
|
|
GET /tags/Slow%20Burn/works?page=1
|
|
GET /works/12345
|
|
```
|
|
|
|
- ```PORT``` env var to change the port, defaults to ```8080```. The pattern syntax ```GET /works/{id}```
|