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 Extension for a RuleComponent

Retrieve the data for the Extension that provides the specified RuleComponent.

Definition

GET  /rule_components/:rule_component_id/extension

Example Request

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