Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • All APIs by default start with a prefix of /api/v1/, e.g., to get the information of a specific network, you can use  GET network/<network-uuid>
  • The POST request is a JSON structure, like the following: key: value, }
  • The response is a JSON structure, like the following:

    Code Block
    {
    	status: ‘successful’ or ‘fail’
    	data: {} // useful data for the requestor
    	msg: ‘’ // additional messages when there’s error
    }


  • Models
  • Routes


2.

3. Routes

3.1 Register organization and user  

...