Application Settings - Dump Data

Dump Data

Dumps all the data stored in the Application's settings
Parameter NameDefault ValueRequiredDescription
application_idNULLTrueThe ID of the Application
secret_keyNULLTrueThe Application's Secret Key
access_tokenNULLTrueThe Access Token for the authenticated user
include_metaNULLFalseIf set to True or 1 the results will include the metadata of the variables

Example Success Response

{
  "success": true,
  "response_code": 200,
  "results": {
    "int_test": 50,
    "array_example": {
      "foo": "bar",
      "bar": false
    },
    "list_example": [
      "foo",
      "bar",
      "bar",
      "bar",
      "bar",
      "bar",
      "bar",
      "bar",
      "bar"
    ]
  }
}

Example Success Response with metadata

When you provide the include_meta parameter with the value set to True or 1 then the results will contain the metadata of the variables
{
  "success": true,
  "response_code": 200,
  "results": {
    "int_test": {
      "type": "integer",
      "value": 50,
      "created_timestamp": 1608239452,
      "last_updated_timestamp": 1608239452,
      "size": 19
    },
    "array_example": {
      "type": "array",
      "value": {
        "foo": "bar",
        "bar": false
      },
      "created_timestamp": 1608242880,
      "last_updated_timestamp": 1608242901,
      "size": 32
    },
    "list_example": {
      "type": "list",
      "value": [
        "foo",
        "bar",
        "bar",
        "bar",
        "bar",
        "bar",
        "bar",
        "bar",
        "bar"
      ],
      "created_timestamp": 1608243116,
      "last_updated_timestamp": 1608243116,
      "size": 55
    }
  }
}

Metadata Results Structure

NameTypeDescription
typestringThe type of the variable
valuemixedThe value of the variable, the type for this can differ depending on the variable type
created_timestampintegerThe Unix Timestamp for when this variable was created
last_updated_timestampintegerThe Unix Timestamp for when this variable was last updated
sizeintegerThe size that this variable takes up (including it's metadata) in bytes