...
- success - Mandatory field. A boolean that represents that if the API call was successful or not. Should always be true for the successful call.
- meta - Optional field. An object containing meta information, if any. (e.g. pagination data, timestamps etc.)
- data - Optional field. An array containing 1 or more object requested/modified/deleted by user.
- message - Optional field. A string containing a message to the user, useful on POST/PUT/DELETE requests.
...
- success - Mandatory field. A boolean that represents that if the API call was unsuccessfulsuccessful or not. Should always be false for the unsuccessful call.
- errors - Optional field. An array containing errors' details, if available. (e.g. validation errors)
- message - Mandatory field. A string containing an error message.
...