Adobe Launch Logo Adobe Experience Platform Launch

    • Light
    • Dark

Fetch a DataElement

Retrieve the data for an existing DataElement, based on its ID.

Note

When DataElements are deleted, they are marked as deleted but are not actually removed from system. Therefore, it is possible to retrieve a deleted DataElement. Deleted DataElements can be identified by the presence of data.meta.deleted_at.

Definition

GET  /data_elements/:id

Example Request

curl https://reactor.adobe.io/data_elements/:id \
  -H "Accept: application/vnd.api+json;revision=1" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer [TOKEN]" \
  -H "X-Api-Key: [KEY]" \
  -X GET
  

Example Response

200 OK
{
  "data": {
    "id": "DE679567dab70945cd88e3600388ab7f3f",
    "type": "data_elements",
    "attributes": {
      "created_at": "2018-08-31T16:49:30.995Z",
      "dirty": true,
      "enabled": true,
      "name": "My Data Element",
      "published": false,
      "published_at": null,
      "revision_number": 0,
      "updated_at": "2018-08-31T16:49:30.995Z",
      "clean_text": false,
      "default_value": "",
      "delegate_descriptor_id": "kessel-test::dataElements::dom-attribute",
      "force_lower_case": false,
      "review_status": "unsubmitted",
      "storage_duration": null,
      "settings": "{\"elementProperty\":\"html\",\"elementSelector\":\".target-element\"}"
    },
    "relationships": {
      "libraries": {
        "links": {
          "related": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f/libraries"
        }
      },
      "revisions": {
        "links": {
          "related": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f/revisions"
        }
      },
      "property": {
        "links": {
          "related": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f/property"
        },
        "data": {
          "id": "PReb8f5d3ad0644bada9a8696c042bb28b",
          "type": "properties"
        }
      },
      "origin": {
        "links": {
          "related": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f/origin"
        },
        "data": {
          "id": "DE679567dab70945cd88e3600388ab7f3f",
          "type": "data_elements"
        }
      },
      "extension": {
        "links": {
          "related": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f/extension"
        },
        "data": {
          "id": "EX64a1da0f2bdc43c684e2a3b83bed48ba",
          "type": "extensions"
        }
      },
      "updated_with_extension_package": {
        "links": {
          "related": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f/updated_with_extension_package"
        },
        "data": {
          "id": "EP27e9323eb585411fae6086fc78a3b70b",
          "type": "extension_packages"
        }
      }
    },
    "links": {
      "property": "https://reactor.adobe.io/properties/PReb8f5d3ad0644bada9a8696c042bb28b",
      "origin": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f",
      "self": "https://reactor.adobe.io/data_elements/DE679567dab70945cd88e3600388ab7f3f",
      "extension": "https://reactor.adobe.io/extensions/EX64a1da0f2bdc43c684e2a3b83bed48ba"
    },
    "meta": {
      "latest_revision_number": 0
    }
  }
}