-
-
Notifications
You must be signed in to change notification settings - Fork 1
WebApi
Artyom Slepushko edited this page Mar 6, 2019
·
23 revisions
A Web API is an application programming interface for either a web server or a web browser. It is a web development concept, usually limited to a web application's client-side (including any web frameworks being used), and thus usually does not include web server or browser implementation details such as SAPIs or APIs unless publicly accessible by a remote web application. Wiki
User Api interface | URL | description |
---|---|---|
User registration | @POST api/auth/Registration | Use register new users |
Authorization token | @POST api/auth/Token | Use to get token |
Update user info | @PUT api/User | ... |
Get user info | @GET /api/Users/{id} | ... |
Test admin rules | @GET api/values/GetRole | ... |
Check request version | @GET api/values/version | ... |
Words api interface | URL | description |
---|---|---|
Add Word translations | @POST api/words/addpair | add words and translations to the user's personal dictionary |
Delete WordTranslations | @POST api/words/deletepair | Remove a word and its translation from the user's dictionary |
PullWordPairs | @POST api/sync/pullwordpairs | Download missing words from the server to the dictionary |
Game api interface | URL | description |
---|---|---|
Add game pack | @POST api/Game/AddGamePack | ... |
Get games info | @GET api/Game/GameInfo | ... |
Get game by id | @GET api/Game/id | ... |
Get level by id | @GET api/Game/level/{id} | ... |
© InWords team.