Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.04 KB

v3.1.6.md

File metadata and controls

41 lines (31 loc) · 1.04 KB

POST /CMS/create-site

  • return configurations that will be figured in the php file and mobile app.
  • json structure
  	{
  	  "agentId": "string",
  	  "prefix": "string",
  	  "siteId": 0,
  	  "status": true,
  	  "message": "",
  	  "errorCode": "200"
  	}

CMS

  1. GET /CMS/admin/get-list
    • get list of admin

Sites

  1. POST /Sites/register

    • add 2 params: 'prefix' and 'agentId'. Both of them were figured in the php file.
  2. POST /Sites/login

    • add 2 params: 'prefix' and 'agentId'. Both of them were figured in app.
  3. GET /Sites/get-otp/

    • add 2 params: 'prefix' and 'agentId'. Both of them were figured in app.
  4. GET /Sites/reset-password/

    • add 1 params: 'otp' was gotten from /Sites/get-otp/

KV

  1. POST /KV/login

    • add 2 params: 'prefix' and 'agentId'. Both of them were figured in app.
  2. POST /KV/register

    • add 2 params: 'prefix' and 'agentId'. Both of them were figured in app.
    • change name of parameter 'refCode' => 'referalCode'