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 an Extension

Retrieve the data for an existing Extension, based on its ID.

note

NOTE: When Extensions are deleted, they are marked as deleted but are not actually removed from system. Therefore, it is possible to retrieve a deleted Extension. Deleted Extensions can be identified by the presence of a data.meta.deleted_at element.

Definition

GET  /extensions/:id

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/extensions/: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": "EX4d9e799aefcb4b5aa1007dbad883555a",
    "type": "extensions",
    "attributes": {
      "created_at": "2018-08-31T16:50:07.573Z",
      "dirty": true,
      "enabled": true,
      "name": "kessel-test",
      "published": false,
      "published_at": null,
      "revision_number": 0,
      "updated_at": "2018-08-31T16:50:07.573Z",
      "delegate_descriptor_id": null,
      "display_name": "Kessel Test",
      "review_status": "unsubmitted",
      "version": "1.2.0",
      "settings": "{}"
    },
    "relationships": {
      "libraries": {
        "links": {
          "related": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a/libraries"
        }
      },
      "revisions": {
        "links": {
          "related": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a/revisions"
        }
      },
      "property": {
        "links": {
          "related": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a/property"
        },
        "data": {
          "id": "PRa8dd6f57279f4af6889e1d9c211cbeb6",
          "type": "properties"
        }
      },
      "origin": {
        "links": {
          "related": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a/origin"
        },
        "data": {
          "id": "EX4d9e799aefcb4b5aa1007dbad883555a",
          "type": "extensions"
        }
      },
      "updated_with_extension_package": {
        "links": {
          "related": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a/updated_with_extension_package"
        },
        "data": {
          "id": "EP27e9323eb585411fae6086fc78a3b70b",
          "type": "extension_packages"
        }
      },
      "extension_package": {
        "links": {
          "related": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a/extension_package"
        },
        "data": {
          "id": "EP27e9323eb585411fae6086fc78a3b70b",
          "type": "extension_packages"
        }
      }
    },
    "links": {
      "property": "http://localhost:9010/properties/PRa8dd6f57279f4af6889e1d9c211cbeb6",
      "origin": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a",
      "self": "http://localhost:9010/extensions/EX4d9e799aefcb4b5aa1007dbad883555a",
      "extension_package": "http://localhost:9010/extension_packages/EP27e9323eb585411fae6086fc78a3b70b",
      "latest_extension_package": "http://localhost:9010/extension_packages/EP27e9323eb585411fae6086fc78a3b70b"
    },
    "meta": {
      "latest_revision_number": 0
    }
  }
}