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!


Get the Property for an Environment

Retrieve the data for the Property that owns the specified Environment.

Definition

GET  /environments/:environment_id/property

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/environments/:environment_id/property \
  -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": "PR816fdca182cd4e8d849f4ffcfa99dc38",
    "type": "properties",
    "attributes": {
      "created_at": "2018-08-31T16:52:00.356Z",
      "enabled": true,
      "name": "Kessel Example Property",
      "updated_at": "2018-08-31T16:52:00.356Z",
      "platform": "web",
      "domains": [
        "example.com"
      ],
      "undefined_vars_return_empty": false
    },
    "relationships": {
      "company": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/company"
        },
        "data": {
          "id": "CO7a5089ebb61c4853ac2a494b1512fe2e",
          "type": "companies"
        }
      },
      "callbacks": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/callbacks"
        }
      },
      "adapters": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/adapters"
        }
      },
      "environments": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/environments"
        }
      },
      "libraries": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/libraries"
        }
      },
      "data_elements": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/data_elements"
        }
      },
      "extensions": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/extensions"
        }
      },
      "rules": {
        "links": {
          "related": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/rules"
        }
      }
    },
    "links": {
      "company": "http://localhost:9010/companies/CO7a5089ebb61c4853ac2a494b1512fe2e",
      "data_elements": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/data_elements",
      "environments": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/environments",
      "extensions": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/extensions",
      "rules": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38/rules",
      "self": "http://localhost:9010/properties/PR816fdca182cd4e8d849f4ffcfa99dc38"
    },
    "meta": {
      "rights": [
        "develop",
        "approve",
        "publish",
        "manage_extensions",
        "manage_environments"
      ]
    }
  }
}