chunks

Create a chunk object

post/chunks

Request

Request body

ilaIdstring
tokenstring
cidstring

Example request

{
  "ilaId": "123asd",
  "token": "WXYUFOmgDdoniZatfaMTa4Ov-An98v2-4668x5fXOoLZS",
  "cid": "email",
  "def": {
    "domainId": "5d3031a20cbe7c00115c7d8f",
    "schemaUri": "address"
  },
  "payload": {
    "firstName": "John",
    "lastName": "Doe",
    "email": "doe@mail.com"
  }
}

Response

metaobject

Example response

{
  "data": {
    "_id": "5d400671657ee84fd82470e9",
    "ilaId": "123asd",
    "cid": "email",
    "payload": {
      "firstName": "John",
      "lastName": "Doe",
      "email": "doe@mail.com"
    },
    "def": {
      "domainId": "5d3031a20cbe7c00115c7d8f",
      "schemaUri": "address"
    },
    "expireAt": "2019-07-30T09:59:41.056Z",
    "valid": true
  }
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • warning

      removed the request property /

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property