Skip to content

Instantly share code, notes, and snippets.

@ssmereka
Created March 5, 2015 16:01
Show Gist options
  • Save ssmereka/31d1a78d2285c3e2882f to your computer and use it in GitHub Desktop.
Save ssmereka/31d1a78d2285c3e2882f to your computer and use it in GitHub Desktop.
{
type: "array", // Describes what type of data is in the response,it can be any javascript type (string, array, number, etc)
response: [ ], // This is the data
errorType: "object" // Present when there is an error and describes the type of the error attribute.
error: {} // Present when there is an error, this is the actual error(s)
trace: "in here is a string log trace." // log trace present when there is an error and debug is on.
meta: { //Optionally present
// Includes optional meta data about the response.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment