Part of API related to posts development started

This commit is contained in:
2023-08-25 04:42:50 +03:00
parent 32b5aa4238
commit d30282bd54
3 changed files with 86 additions and 22 deletions

View File

@ -19,26 +19,26 @@ Files starting from "_" ("_example.php") are intended for internal use only.
- _errors.php: error strings
- _json.php: wrappers for JSON functions
- stats.php (GET/POST): all general statistics about this instance
- [ ] stats.php (GET/POST): all general statistics about this instance
- admin/ (POST): private statistics about this instance
- admin/dbview.php (POST): manage databases
- admin/nukelock.php (POST): emergency "red button" to lock all operations to read-only mode
- [ ] admin/ (POST): private statistics about this instance
- [ ] admin/dbview.php (POST): manage databases
- [ ] admin/nukelock.php (POST): emergency "red button" to lock all operations to read-only mode
- user/ (GET/POST): get user information by id
- user/list.php (GET/POST): get list of all users
- user/create.php (POST): create new user account
- user/edit.php (POST): edit user profile
- user/delete.php (POST): delete user account
- [x] user/ (GET/POST): get user information by id
- [ ] user/list.php (GET/POST): get list of all users
- [ ] user/create.php (POST): create new user account
- [ ] user/edit.php (POST): edit user profile
- [ ] user/delete.php (POST): delete user account
- post/ (GET/POST): get single post by id
- post/list.php (GET/POST): get list of posts from range
- post/create.php (POST): create new post with image
- post/edit.php (POST): edit tags of post
- post/delete.php (POST): delete post
- post/vote.php (POST): rate the existing post
- [ ] post/ (GET/POST): get single post by id
- [ ] post/search.php (GET/POST): get list of posts matching the criteria
- [ ] post/create.php (POST): create new post with image
- [ ] post/edit.php (POST): edit tags of post
- [ ] post/delete.php (POST): delete post
- [ ] post/vote.php (POST): rate the existing post
- comments/ (GET/POST): show all comments from section by id
- comments/create.php (POST): create new comment at selected section
- comments/edit.php (POST): edit existing comment
- comments/delete.php (POST): remove existing comment
- [ ] comments/ (GET/POST): show all comments from section by id
- [ ] comments/create.php (POST): create new comment at selected section
- [ ] comments/edit.php (POST): edit existing comment
- [ ] comments/delete.php (POST): remove existing comment