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

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

Definition

GET  /rule_components/:id

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/rule_components/: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": "RCde069edbfe194f4a8e74cf126e7ed476",
    "type": "rule_components",
    "attributes": {
      "created_at": "2018-08-31T16:52:08.579Z",
      "delegate_descriptor_id": "kessel-test::events::click",
      "dirty": true,
      "name": "My Example Click Event",
      "negate": false,
      "order": null,
      "rule_order": 50.0,
      "published": false,
      "published_at": null,
      "revision_number": 0,
      "updated_at": "2018-08-31T16:52:08.579Z",
      "settings": "{\"elementSelector\":\".accordion\",\"bubbleFireIfChildFired\":true}"
    },
    "relationships": {
      "updated_with_extension_package": {
        "links": {
          "related": "http://localhost:9010/rule_components/RCde069edbfe194f4a8e74cf126e7ed476/updated_with_extension_package"
        },
        "data": {
          "id": "EP27e9323eb585411fae6086fc78a3b70b",
          "type": "extension_packages"
        }
      },
      "extension": {
        "links": {
          "related": "http://localhost:9010/rule_components/RCde069edbfe194f4a8e74cf126e7ed476/extension"
        },
        "data": {
          "id": "EXeb665d48fda047ff87624f91361d6d8f",
          "type": "extensions"
        }
      },
      "origin": {
        "links": {
          "related": "http://localhost:9010/rule_components/RCde069edbfe194f4a8e74cf126e7ed476/origin"
        },
        "data": {
          "id": "RCde069edbfe194f4a8e74cf126e7ed476",
          "type": "rule_components"
        }
      },
      "rule": {
        "links": {
          "related": "http://localhost:9010/rule_components/RCde069edbfe194f4a8e74cf126e7ed476/rule"
        },
        "data": {
          "id": "RL2469b0ceae5349bcbe485ff6706abff2",
          "type": "rules"
        }
      }
    },
    "links": {
      "extension": "http://localhost:9010/extensions/EXeb665d48fda047ff87624f91361d6d8f",
      "origin": "http://localhost:9010/rule_components/RCde069edbfe194f4a8e74cf126e7ed476",
      "rule": "http://localhost:9010/rules/RL2469b0ceae5349bcbe485ff6706abff2",
      "self": "http://localhost:9010/rule_components/RCde069edbfe194f4a8e74cf126e7ed476"
    },
    "meta": {
      "latest_revision_number": 0
    }
  }
}