Retrieve the data for an existing Environment, based on its ID.
GET /environments/:id
curl https://reactor.adobe.io/environments/: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]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X GET
{
"data": {
"id": "ENcd0d5928201c40a4ac6fdec21327a0b1",
"type": "environments",
"attributes": {
"archive": false,
"created_at": "2023-01-30T20:51:03.220Z",
"library_path": "042253ab27b4/40636fa7ab84",
"library_name": "launch-a6dbda81db04-development.min.js",
"library_entry_points": [
{
"library_name": "launch-a6dbda81db04-development.min.js",
"minified": true,
"references": [
"042253ab27b4/40636fa7ab84/launch-a6dbda81db04-development.min.js"
],
"license_path": "042253ab27b4/40636fa7ab84/launch-a6dbda81db04-development.js"
},
{
"library_name": "launch-a6dbda81db04-development.js",
"minified": false,
"references": [
"042253ab27b4/40636fa7ab84/launch-a6dbda81db04-development.js"
]
}
],
"name": "Development Environment A",
"path": "https://assets.adobedtm.com/staging",
"stage": "development",
"updated_at": "2023-01-30T20:51:03.220Z",
"status": "succeeded",
"token": "a6dbda81db04",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru"
},
"relationships": {
"library": {
"links": {
"related": "https://reactor.adobe.io/environments/ENcd0d5928201c40a4ac6fdec21327a0b1/library"
},
"data": null
},
"builds": {
"links": {
"related": "https://reactor.adobe.io/environments/ENcd0d5928201c40a4ac6fdec21327a0b1/builds"
}
},
"host": {
"links": {
"related": "https://reactor.adobe.io/environments/ENcd0d5928201c40a4ac6fdec21327a0b1/host",
"self": "https://reactor.adobe.io/environments/ENcd0d5928201c40a4ac6fdec21327a0b1/relationships/host"
},
"data": {
"id": "HT2e3089eee00344f3bd50a020b9e97f2a",
"type": "hosts"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/environments/ENcd0d5928201c40a4ac6fdec21327a0b1/property"
},
"data": {
"id": "PRbb9e7d26d613416386cfc357e6954784",
"type": "properties"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRbb9e7d26d613416386cfc357e6954784",
"self": "https://reactor.adobe.io/environments/ENcd0d5928201c40a4ac6fdec21327a0b1"
},
"meta": {
"archive_encrypted": false,
"script_sources": [
{
"hosting_region": "Standard",
"minified": "https://assets.adobedtm.com/staging/042253ab27b4/40636fa7ab84/launch-a6dbda81db04-development.min.js",
"license_path": "https://assets.adobedtm.com/staging/042253ab27b4/40636fa7ab84/launch-a6dbda81db04-development.js",
"debug": "https://assets.adobedtm.com/staging/042253ab27b4/40636fa7ab84/launch-a6dbda81db04-development.js"
}
]
}
}
}