Add forum_url to API, change to forum.luanti.org

This commit is contained in:
rubenwardy
2024-11-03 14:20:14 +00:00
parent dd2e73b40f
commit a54104aa82
20 changed files with 31 additions and 27 deletions

View File

@@ -78,6 +78,9 @@ curl -X DELETE https://content.luanti.org/api/delete-token/ \
* GET `/api/packages/` (List)
* See [Package Queries](#package-queries)
* GET `/api/packages/<username>/<name>/` (Read)
* Redirects a JSON object with the keys documented by the PUT endpoint, below.
* Plus:
* `forum_url`: String or null.
* PUT `/api/packages/<author>/<name>/` (Update)
* Requires authentication.
* JSON object with any of these keys (all are optional, null to delete Nullables):