WARNING

WARNING: These APIs are currently in an 'alpha' state and are likely to change over time. We recommend you not use them in a production setting at this time!


List DataElements of a Build

Retrieve the DataElements used in the specified Build.

Definition

GET  /builds/:build_id/data_elements

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/builds/:build_id/data_elements \
  -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": "DE1ab352fd910146dd85367dca77f18afe",
      "type": "data_elements",
      "attributes": {
        "created_at": "2018-08-31T16:49:09.248Z",
        "dirty": false,
        "enabled": true,
        "name": "My Data Element",
        "published": false,
        "published_at": null,
        "revision_number": 1,
        "updated_at": "2018-08-31T16:49:09.248Z",
        "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": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe/libraries"
          }
        },
        "revisions": {
          "links": {
            "related": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe/revisions"
          }
        },
        "property": {
          "links": {
            "related": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe/property"
          },
          "data": {
            "id": "PRdee5593b9a934444a53243ffa2dde24f",
            "type": "properties"
          }
        },
        "origin": {
          "links": {
            "related": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe/origin"
          },
          "data": {
            "id": "DE509ddc7378ff475da996d099b169caf6",
            "type": "data_elements"
          }
        },
        "extension": {
          "links": {
            "related": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe/extension"
          },
          "data": {
            "id": "EX921de417bc604e28b06aea0436d857c9",
            "type": "extensions"
          }
        },
        "updated_with_extension_package": {
          "links": {
            "related": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe/updated_with_extension_package"
          },
          "data": {
            "id": "EP27e9323eb585411fae6086fc78a3b70b",
            "type": "extension_packages"
          }
        }
      },
      "links": {
        "property": "http://localhost:9010/properties/PRdee5593b9a934444a53243ffa2dde24f",
        "origin": "http://localhost:9010/data_elements/DE509ddc7378ff475da996d099b169caf6",
        "self": "http://localhost:9010/data_elements/DE1ab352fd910146dd85367dca77f18afe",
        "extension": "http://localhost:9010/extensions/EX921de417bc604e28b06aea0436d857c9"
      },
      "meta": {
        "latest_revision_number": 1
      }
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "next_page": null,
      "prev_page": null,
      "total_pages": 1,
      "total_count": 1
    }
  }
}