Skip to main content

GetMetadataResponse

data object

Metadata

createdDate date-time

Creation date of the metadata

Example: 2021-06-03T04:02:57.849000+00:00
items object[]required

Metadata items

Possible values: >= 1, <= 150

  • Array [
  • type string

    Type of the metadata item

    Possible values: [boolean, boolean-array, date, date-array, datetime, datetime-array, file, number, number-array, object, object-array, string, string-array]

    key stringrequired

    The key

    Possible values: non-empty and <= 100 characters

    Example: test_key
    type stringrequired

    The type of the value

    Possible values: [boolean]

    value booleanrequired

    The value

    Example: false
  • ]
  • uid stringrequired

    Unique identifier of a Metadata.

    Possible values: non-empty and <= 100 characters

    Example: 374b5abc9dcb
    updatedDate date-time

    Last updated date of the metadata

    Example: 2021-06-03T04:02:57.849000+00:00
    GetMetadataResponse
    {
    "data": {
    "createdDate": "2021-06-03T04:02:57.849000+00:00",
    "items": [
    {
    "key": "test_key",
    "type": "string",
    "value": "The value of test_key"
    },
    {
    "key": "test_key",
    "type": "number",
    "value": 2021
    },
    {
    "key": "test_key",
    "type": "boolean",
    "value": false
    },
    {
    "key": "test_key",
    "type": "date",
    "value": "2020-09-30"
    },
    {
    "key": "test_key",
    "type": "datetime",
    "value": "2020-09-30T09:09:09Z"
    },
    {
    "key": "test_key",
    "type": "string-array",
    "value": [
    "string"
    ]
    },
    {
    "key": "test_key",
    "type": "number-array",
    "value": [
    0
    ]
    },
    {
    "key": "test_key",
    "type": "date-array",
    "value": [
    "2024-07-29"
    ]
    },
    {
    "key": "test_key",
    "type": "datetime-array",
    "value": [
    "2024-07-29T15:51:28.071Z"
    ]
    },
    {
    "key": "test_key",
    "type": "boolean-array",
    "value": [
    true
    ]
    },
    {
    "key": "test_key",
    "type": "file",
    "value": "https://files.stg.inspectorio.com/sight/589/7712/9b02e83f-a28b-40a1-acd0-0863a5489074.jpg"
    },
    {
    "key": "test_key",
    "type": "object",
    "value": [
    {
    "key": "test_key",
    "type": "string",
    "value": "The value of test_key"
    },
    {
    "key": "test_key",
    "type": "number",
    "value": 2021
    },
    {
    "key": "test_key",
    "type": "boolean",
    "value": false
    },
    {
    "key": "test_key",
    "type": "date",
    "value": "2020-09-30"
    },
    {
    "key": "test_key",
    "type": "datetime",
    "value": "2020-09-30T09:09:09Z"
    },
    {
    "key": "test_key",
    "type": "string-array",
    "value": [
    "string"
    ]
    },
    {
    "key": "test_key",
    "type": "number-array",
    "value": [
    0
    ]
    },
    {
    "key": "test_key",
    "type": "date-array",
    "value": [
    "2024-07-29"
    ]
    },
    {
    "key": "test_key",
    "type": "datetime-array",
    "value": [
    "2024-07-29T15:51:28.071Z"
    ]
    },
    {
    "key": "test_key",
    "type": "boolean-array",
    "value": [
    true
    ]
    },
    {
    "key": "test_key",
    "type": "file",
    "value": "https://files.stg.inspectorio.com/sight/589/7712/9b02e83f-a28b-40a1-acd0-0863a5489074.jpg"
    }
    ]
    },
    {
    "key": "test_key",
    "type": "object-array",
    "value": [
    [
    {
    "key": "test_key",
    "type": "string",
    "value": "The value of test_key"
    },
    {
    "key": "test_key",
    "type": "number",
    "value": 2021
    },
    {
    "key": "test_key",
    "type": "boolean",
    "value": false
    },
    {
    "key": "test_key",
    "type": "date",
    "value": "2020-09-30"
    },
    {
    "key": "test_key",
    "type": "datetime",
    "value": "2020-09-30T09:09:09Z"
    },
    {
    "key": "test_key",
    "type": "string-array",
    "value": [
    "string"
    ]
    },
    {
    "key": "test_key",
    "type": "number-array",
    "value": [
    0
    ]
    },
    {
    "key": "test_key",
    "type": "date-array",
    "value": [
    "2024-07-29"
    ]
    },
    {
    "key": "test_key",
    "type": "datetime-array",
    "value": [
    "2024-07-29T15:51:28.071Z"
    ]
    },
    {
    "key": "test_key",
    "type": "boolean-array",
    "value": [
    true
    ]
    },
    {
    "key": "test_key",
    "type": "file",
    "value": "https://files.stg.inspectorio.com/sight/589/7712/9b02e83f-a28b-40a1-acd0-0863a5489074.jpg"
    }
    ]
    ]
    }
    ],
    "uid": "374b5abc9dcb",
    "updatedDate": "2021-06-03T04:02:57.849000+00:00"
    }
    }