Retrieve all the Head Data Elements that reference the specified Secret.
created_at
dirty
enabled
name
origin_id
published
published_at
revision_number
updated_at
GET /secrets/:secret_id/data_elements
curl https://reactor.adobe.io/secrets/:secret_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]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X GET
{
"data": [
{
"id": "DEc2b5a8830aca495bae7dc5d6cf12b556",
"type": "data_elements",
"attributes": {
"created_at": "2023-04-21T23:09:07.770Z",
"deleted_at": null,
"dirty": true,
"enabled": true,
"name": "secret data element",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-04-21T23:09:07.770Z",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"clean_text": false,
"default_value": null,
"delegate_descriptor_id": "core::dataElements::secret",
"force_lower_case": false,
"review_status": "unsubmitted",
"storage_duration": null,
"settings": "{\"secrets\":{\"development\":{\"id\":\"SE59c3b58008324e2b9306fb7ced597803\",\"name\":\"my secret token\"}}}"
},
"relationships": {
"libraries": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/property"
},
"data": {
"id": "PR2b146ae402a3408bb6b37cb7c4d5aed9",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/origin"
},
"data": {
"id": "DEc2b5a8830aca495bae7dc5d6cf12b556",
"type": "data_elements"
}
},
"extension": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/extension"
},
"data": {
"id": "EX01adc6a9246a4c7a9d2b33187ef71c8f",
"type": "extensions"
}
},
"updated_with_extension_package": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/updated_with_extension_package"
},
"data": {
"id": "EPfabd069938204ff4a4df13d1eba8f178",
"type": "extension_packages"
}
},
"updated_with_extension": {
"links": {
"related": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556/updated_with_extension"
},
"data": {
"id": "EXafe1698dd94349689d580b8e89857ecd",
"type": "extensions"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PR2b146ae402a3408bb6b37cb7c4d5aed9",
"origin": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556",
"self": "https://reactor.adobe.io/data_elements/DEc2b5a8830aca495bae7dc5d6cf12b556",
"extension": "https://reactor.adobe.io/extensions/EX01adc6a9246a4c7a9d2b33187ef71c8f"
},
"meta": {
"latest_revision_number": 0
}
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1
}
}
}