Follow and Ban API for Acapair
Find a file
2024-05-30 23:37:46 +03:00
.github/workflows chore: 🩺 github workflow 2024-04-04 00:03:31 +00:00
configs fix: 🩹 a little further adaptation for restful 2024-05-30 23:27:43 +03:00
src fix: 🩹 a little further adaptation for restful 2024-05-30 23:27:43 +03:00
.gitignore fix: 🩹 a little further adaptation for restful 2024-05-30 23:27:43 +03:00
Cargo.toml test: search_id, search_id_non 2024-04-04 19:05:51 +03:00
LICENSE Initial commit 2024-03-20 20:56:54 +00:00
README.md docs: 📝 Exposed URLs updated 2024-05-30 23:37:46 +03:00

Rust

Acapair Follow Ban API

: means they are variable.

Exposed URLs

Alive Ping(get): "/"

Create User(post): "/:username"

Delete User(delete): "/:username"

Search User By Username(get): "/:username"

Search User By ID(get): "/id/:id"

Change Username(patch): "/username/:username/:updated_username

Follow User(patch): "/follow/:follower/:followed"

Unfollow User(patch): "/unfollow/:follower/:followed"

Ban User(patch): "/ban/:victim/:judge"

Unban User(patch): "/unban/:victim/:judge"

Is Follower(get): "/is-follower/:follower/:follower"

Is Banned(get): "/is-banned/:victim/:judge"