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": "RC936a7683d1a145748d7d065dff29d111",
    "type": "rule_components",
    "attributes": {
      "created_at": "2018-07-26T15:05:58.225Z",
      "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-07-26T15:05:58.225Z",
      "settings": "{\"elementSelector\":\".accordion\",\"bubbleFireIfChildFired\":true}"
    },
    "relationships": {
      "updated_with_extension_package": {
        "links": {
          "related": "https://mc-api-activation-reactor-qe.adobe.io/rule_components/RC936a7683d1a145748d7d065dff29d111/updated_with_extension_package"
        },
        "data": {
          "type": "extension_packages",
          "id": "EP400d51959fa44efd8596fc81a7de1be6"
        }
      },
      "extension": {
        "links": {
          "related": "https://mc-api-activation-reactor-qe.adobe.io/rule_components/RC936a7683d1a145748d7d065dff29d111/extension"
        },
        "data": {
          "type": "extensions",
          "id": "EX6f4626c901d848198a6761e0b0bbe237"
        }
      },
      "origin": {
        "links": {
          "related": "https://mc-api-activation-reactor-qe.adobe.io/rule_components/RC936a7683d1a145748d7d065dff29d111/origin"
        },
        "data": {
          "type": "rule_components",
          "id": "RC936a7683d1a145748d7d065dff29d111"
        }
      },
      "rule": {
        "links": {
          "related": "https://mc-api-activation-reactor-qe.adobe.io/rule_components/RC936a7683d1a145748d7d065dff29d111/rule"
        },
        "data": {
          "type": "rules",
          "id": "RL40903e66198f4005bd8ee24130c89296"
        }
      }
    },
    "links": {
      "extension": "https://mc-api-activation-reactor-qe.adobe.io/extensions/EX6f4626c901d848198a6761e0b0bbe237",
      "origin": "https://mc-api-activation-reactor-qe.adobe.io/rule_components/RC936a7683d1a145748d7d065dff29d111",
      "rule": "https://mc-api-activation-reactor-qe.adobe.io/rules/RL40903e66198f4005bd8ee24130c89296",
      "self": "https://mc-api-activation-reactor-qe.adobe.io/rule_components/RC936a7683d1a145748d7d065dff29d111"
    },
    "meta": {
      "latest_revision_number": 0
    }
  }
}