diff --git a/API.md b/API.md new file mode 100644 index 0000000..c8b1ab7 --- /dev/null +++ b/API.md @@ -0,0 +1,16 @@ +# General server API structure & basics +In this page, we introduce fundementals of _How server handle APIs_ & _How to send API to server_ + +## How server handles APIs +This section is for back-end developers of server. + +## How to send API to 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://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) +