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 for a Property

Retrieve the DataElements used by the specified Property.

Definition

GET  /properties/:property_id/data_elements

Example Request

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