I've submitted the second to last #kbin #API PR for review! This PR adds thread and thread comment retrieval, creation, deletion, editing, voting, and reporting functionality to the API! The last PR will be very similar to this one, except for microblogs!
Didn't you have the API 'complete' like 2 months ago?
Yes, but it did not have any tests written to verify that it worked. These PRs have been resolving that issue so that there can be at least some guarantees that the API works when it gets onto kbin.social and others
(Also, please remember to buy @ernest a coffee if you are able, he's been burning the candle at both ends to support kbin.social and deal with personal business)
Add REST API pt. 9 - Add Entry and EntryComment APIs
### This PR is one of a series of PRs adding the API in chunks to help aid the review process! The previous PR is [here](https://codeberg.org/Kbin/kbin-core/pulls/1091) Changes in this PR: * Add Entry user level APIs to: * Retrieve entries from: * Magazine * Domain * Instance (Front page) * Subscribed magazines * Moderated magazines * User's upvoted entries * By ID * Create article, link, and image type entries in a magazine * Boost, up/down vote, or report entries by ID * Update or delete a user's created entries * Add EntryComment user level APIs to: * Create top level comments on an entry, with or without an uploaded image * Create replies to comments on an entry, with or without an uploaded image * Retrieve comments by ID or from an entry, domain, or user, with a variable depth of child comments * Report, up/down vote, or boost comments by ID * Update or delete a user's own comments * Add Entry moderation APIs for: * Pinning entries to the top of the magazine * Marking entries as 18+ * Changing the declared language of an entry * Trashing entries * Add EntryComment moderation APIs for: * Marking comments as 18+ * Changing the declared language of a comment * Trashing comments * Add Entry administration APIs for: * Moving entries to another magazine * Purging an entry completely from the instance * Add EntryComment administration APIs for: * Purging a comment completely from the instance * Added tests exercising all of the above APIs