User posts
This commit is contained in:
1 parent
a3ec9ae318
commit
a950f6770a
6 files changed
+155
-4
No files matched your search
@@ -53,6 +53,8 @@ SimpleRouter::group(["middleware" => Khofmann\Auth\Auth::class], function () {
|
||||
SimpleRouter::post("/logout", [Api\Logout\Logout::class, "post"]);
|
||||
// Get user
|
||||
SimpleRouter::get("/users/{id}", [Api\Users\Users::class, "get"]);
|
||||
// Get user posts
|
||||
SimpleRouter::get("/users/{id}/posts", [Api\Users\Posts\Posts::class, "get"]);
|
||||
// Update self
|
||||
SimpleRouter::patch("/users/self", [Api\Users\Users::class, "patchSelf"]);
|
||||
// Update image self
|
||||
|
||||
Reference in new issue
Block a user