What are the typical response formats and status codes for the APIs?

Updated 

JSON is widely used in our APIs, it is a lightweight data-interchange format that is easy to read and write for both humans and machines. Typical status codes include:

  1. 2xx Successful: indicates that the API request was successfully received, understood, and accepted;

  2. 4xx Client Error: indicates that the client provided incorrect or incomplete information, and the server cannot process the request;

  3. 5xx Server Error: indicates that the server failed to fulfil a valid request.