From 8489629701ab89e49db49fe0aa64f6c4e059308d Mon Sep 17 00:00:00 2001 From: AmirGhost11 Date: Mon, 18 May 2026 13:05:35 +0000 Subject: [PATCH] Update API --- API.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/API.md b/API.md index c8b1ab7..2a81144 100644 --- a/API.md +++ b/API.md @@ -8,9 +8,10 @@ This section is for back-end developers of server. This section is for every developer who needs to send API to server. ### Endpoints: -Formula of endpoints: `https://` or `http://` + server address + `/tag` + `/route/to/target` +Formula of endpoints: `https:// or http://` + `server address` + `/tag` + `/route/to/target` -Formula of endpoints: `https://medad.fun/v1/ads/get` +example: `https://medad.fun/v1/ads/get` -Every endpoint starts with the version or tag. Tags divides the version of controller, useful for tests and migration (`v1`, `beta`, `test`, etc) +- `Tags`: Every endpoint starts with the version or tag. Tags divides the version of controller, useful for tests and migration (`v1`, `beta`, `test`, etc) +- `Group`: Relevant endpoints have grouped. (`/auth`, `/widget`, `/user`, etc)