Commit Graph

17 Commits

Author SHA1 Message Date
Jake Howard 4c600651b6
Actually allow customizing the page size 2024-02-05 19:40:39 +00:00
Jake Howard 7d3605f5e1
Add API for latest posts 2024-01-28 18:06:17 +00:00
Jake Howard 158ba9cbfc
Increase page sizes 2023-10-06 21:23:32 +01:00
Jake Howard 1e2e488516
Add slashes to API URLs 2022-10-31 20:59:24 +00:00
Jake Howard 66156f2be7
Correctly order LMOTFY endpoint
Ordering by "relevance" actually yields the least relevant results first. Remove ordering and assume the most relevant is what's needed.
2022-10-31 20:59:24 +00:00
Jake Howard cb6aed2567
Replace `drf-yasg` with DRF native schema generator
I don't need anything advance. Just redirect to the swagger editor for the UI. Makes the app much simpler
2022-10-23 21:30:00 +01:00
Jake Howard 8844aad247
Disallow API from being indexed 2022-10-02 19:20:40 +01:00
Jake Howard a2d1aff112
Reduce API page size 2022-10-02 17:28:20 +01:00
Jake Howard eaa5b063f4
Use smaller, PNG image for meta image
This ensures it's not too large, but also crawlers are more likely to
support PNG than webp
2022-09-03 16:21:24 +01:00
Jake Howard 557a28833b
Only show public pages 2022-08-28 16:51:27 +01:00
Jake Howard a7aefb5ffc
Add basic tests for LMOTFY endpoints 2022-08-25 00:51:29 +01:00
Jake Howard fb44600ca2
Add more fields to LMOTFY serializer 2022-08-25 00:27:31 +01:00
Jake Howard d46fab9bdc
Add basic LMOTFY endpoint 2022-08-23 14:56:05 +01:00
Jake Howard f140e8107d
Add endpoint to list page URLs
I use this for my quick link grabber script
2022-08-23 09:23:22 +01:00
Jake Howard 67095752d2
Add caching to schema views 2022-08-23 08:39:38 +01:00
Jake Howard 8dea738893
Redirect API root to swagger docs 2022-08-23 08:37:00 +01:00
Jake Howard fc141c9778
Add the skeleton for an API app
URL handling is a hack, but it works
2022-08-22 23:26:39 +01:00