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!


Retrieve an Environment

Definition

GET  /environments/:id

Example Request

curl https://mc-api-activation-reactor-integration.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]" \
  -X GET
  

Example Response

200 OK
{
  "data": {
    "id": "EN1298584dd73246aa8e9e568e3ea1654d",
    "type": "environments",
    "attributes": {
      "archive": false,
      "created_at": "2018-06-15T19:09:38.136Z",
      "library_path": "",
      "library_name": "launch-EN1298584dd73246aa8e9e568e3ea1654d-development.min.js",
      "library_entry_points": [
        {
          "library_name": "launch-EN1298584dd73246aa8e9e568e3ea1654d-development.min.js",
          "minified": true,
          "references": [
            "launch-EN1298584dd73246aa8e9e568e3ea1654d-development.min.js"
          ]
        },
        {
          "library_name": "launch-EN1298584dd73246aa8e9e568e3ea1654d-development.js",
          "minified": false,
          "references": [
            "launch-EN1298584dd73246aa8e9e568e3ea1654d-development.js"
          ]
        }
      ],
      "name": "Development Environment A",
      "path": "//assets.adobedtm.com/staging",
      "stage": "development",
      "updated_at": "2018-06-15T19:09:38.136Z",
      "status": "succeeded"
    },
    "relationships": {
      "library": {
        "links": {
          "related": "http://localhost:9010/environments/EN1298584dd73246aa8e9e568e3ea1654d/library"
        },
        "data": null
      },
      "builds": {
        "links": {
          "related": "http://localhost:9010/environments/EN1298584dd73246aa8e9e568e3ea1654d/builds"
        }
      },
      "adapter": {
        "links": {
          "related": "http://localhost:9010/environments/EN1298584dd73246aa8e9e568e3ea1654d/adapter",
          "self": "http://localhost:9010/environments/EN1298584dd73246aa8e9e568e3ea1654d/relationships/adapter"
        },
        "data": {
          "type": "adapters",
          "id": "ADe785acbf0c33421787c21b9d096e3b75"
        }
      },
      "property": {
        "links": {
          "related": "http://localhost:9010/environments/EN1298584dd73246aa8e9e568e3ea1654d/property"
        },
        "data": {
          "type": "properties",
          "id": "PRdba23bb80e1746edbdb5bcd2f9d0a73c"
        }
      }
    },
    "links": {
      "property": "http://localhost:9010/properties/PRdba23bb80e1746edbdb5bcd2f9d0a73c",
      "self": "http://localhost:9010/environments/EN1298584dd73246aa8e9e568e3ea1654d"
    },
    "meta": {
      "archive_encrypted": false
    }
  }
}