Versions Compared

Key

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

...

  • success - Mandatory field. A boolean that represents 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 object containing a single object, or an array in the case of when multiple objects are expected, that was requested/modified/deleted by the user.
  • message - Optional field. A string containing a message to the user, useful on POST/PUT/DELETE requests.

...