For the complete documentation index, see llms.txt. This page is also available as Markdown.

Presets

Operations related to Plugin Presets, the configuration templates that simplify Feed creation by saving technical details (API keys, external account information) once, allowing business users to activate segments without knowing underlying technical details.

Relevant documentation:

Get a list of Plugin Presets

get
/plugins.versions.presets
Query parameters
organisation_idstringOptional

ID of the organisation

plugin_typestring · enumOptionalPossible values:
archivedbooleanOptional
first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

destination_idstringOptional

ID of the feed destination to filter plugin presets

segment_idinteger · int64Optional

ID of the audience segment to filter available plugin presets. For clean room segments, only whitelisted plugin presets are returned. For regular segments, presets from unavailable plugins are excluded.

idstringOptional

ID of the plugin preset

Responses
200

Success !

application/json
totalintegerRequired
countintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
get/plugins.versions.presets
GET /v1/plugins.versions.presets HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "count": 1,
  "first_result": 1,
  "data": [
    {
      "description": "text",
      "organisation_id": "text",
      "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
      "destination_id": "text",
      "selected_identifying_resources": [
        {
          "created_by": "text",
          "last_modified_by": "text",
          "plugin_id": "text",
          "plugin_version_id": "text",
          "id": "text",
          "last_modified_ts": 0,
          "compartment_type": "CUSTOM_COMPARTMENT_ID",
          "created_ts": 0,
          "identity_graph_id": "text",
          "compartment_id": "text"
        }
      ],
      "plugin_version_id": "text",
      "creation_ts": 0,
      "id": "text",
      "plugin_id": "text",
      "properties": [
        {
          "technical_name": "text",
          "value": {}
        }
      ],
      "archived": false,
      "name": "text"
    }
  ],
  "max_results": 1,
  "status": "ok"
}

Get a list of Plugin Presets filtered by plugin version id

get
/plugins/{plugin_id}/versions/{plugin_version_id}/presets
Path parameters
plugin_idstringRequired

ID of the plugin

plugin_version_idstringRequired

ID of the plugin version

Query parameters
organisation_idstringOptional

ID of the organisation

archivedbooleanOptional
first_resultinteger · int32Optional

Offset from which the search must be performed

max_resultsinteger · int32Optional

Number of maximum items that shall be return by this search

Responses
200

Success !

application/json
first_resultintegerRequired
countintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
get/plugins/{plugin_id}/versions/{plugin_version_id}/presets
GET /v1/plugins/{plugin_id}/versions/{plugin_version_id}/presets HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "first_result": 1,
  "data": [
    {
      "description": "text",
      "organisation_id": "text",
      "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
      "destination_id": "text",
      "selected_identifying_resources": [
        {
          "created_by": "text",
          "last_modified_by": "text",
          "plugin_id": "text",
          "plugin_version_id": "text",
          "id": "text",
          "last_modified_ts": 0,
          "compartment_type": "CUSTOM_COMPARTMENT_ID",
          "created_ts": 0,
          "identity_graph_id": "text",
          "compartment_id": "text"
        }
      ],
      "plugin_version_id": "text",
      "creation_ts": 0,
      "id": "text",
      "plugin_id": "text",
      "properties": [
        {
          "technical_name": "text",
          "value": {}
        }
      ],
      "archived": false,
      "name": "text"
    }
  ],
  "count": 1,
  "max_results": 1,
  "status": "ok",
  "total": 1
}

Create a new Plugin Preset

post
/plugins/{plugin_id}/versions/{plugin_version_id}/presets
Path parameters
plugin_idstringRequired

ID of the plugin

plugin_version_idstringRequired

ID of the plugin version

Body
descriptionstringRequired
organisation_idstringRequired
plugin_typestring · enumRequiredPossible values:
destination_idstringOptional
plugin_version_idstringRequired
creation_tsinteger · int64RequiredDefault: 0
idstringRead-onlyRequired
plugin_idstringRequired
archivedbooleanRequiredDefault: false
namestringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/plugins/{plugin_id}/versions/{plugin_version_id}/presets
POST /v1/plugins/{plugin_id}/versions/{plugin_version_id}/presets HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 387

{
  "description": "text",
  "organisation_id": "text",
  "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
  "destination_id": "text",
  "selected_identifying_resources": [
    {
      "compartment_type": "CUSTOM_COMPARTMENT_ID",
      "identity_graph_id": "text",
      "compartment_id": "text"
    }
  ],
  "plugin_version_id": "text",
  "creation_ts": 0,
  "plugin_id": "text",
  "properties": [
    {
      "technical_name": "text",
      "value": {}
    }
  ],
  "archived": false,
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "description": "text",
    "organisation_id": "text",
    "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
    "destination_id": "text",
    "selected_identifying_resources": [
      {
        "created_by": "text",
        "last_modified_by": "text",
        "plugin_id": "text",
        "plugin_version_id": "text",
        "id": "text",
        "last_modified_ts": 0,
        "compartment_type": "CUSTOM_COMPARTMENT_ID",
        "created_ts": 0,
        "identity_graph_id": "text",
        "compartment_id": "text"
      }
    ],
    "plugin_version_id": "text",
    "creation_ts": 0,
    "id": "text",
    "plugin_id": "text",
    "properties": [
      {
        "technical_name": "text",
        "value": {}
      }
    ],
    "archived": false,
    "name": "text"
  }
}

Get a Plugin Preset by id

get
/plugins/{plugin_id}/versions/{plugin_version_id}/presets/{plugin_preset_id}
Path parameters
plugin_preset_idstringRequired

ID of the plugin preset

plugin_idstringRequired

ID of the plugin

plugin_version_idstringRequired

ID of the plugin version

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/plugins/{plugin_id}/versions/{plugin_version_id}/presets/{plugin_preset_id}
GET /v1/plugins/{plugin_id}/versions/{plugin_version_id}/presets/{plugin_preset_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "description": "text",
    "organisation_id": "text",
    "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
    "destination_id": "text",
    "selected_identifying_resources": [
      {
        "created_by": "text",
        "last_modified_by": "text",
        "plugin_id": "text",
        "plugin_version_id": "text",
        "id": "text",
        "last_modified_ts": 0,
        "compartment_type": "CUSTOM_COMPARTMENT_ID",
        "created_ts": 0,
        "identity_graph_id": "text",
        "compartment_id": "text"
      }
    ],
    "plugin_version_id": "text",
    "creation_ts": 0,
    "id": "text",
    "plugin_id": "text",
    "properties": [
      {
        "technical_name": "text",
        "value": {}
      }
    ],
    "archived": false,
    "name": "text"
  }
}

Update a Plugin Preset

put
/plugins/{plugin_id}/versions/{plugin_version_id}/presets/{plugin_preset_id}
Path parameters
plugin_preset_idstringRequired

ID of the plugin preset

plugin_idstringRequired

ID of the plugin

plugin_version_idstringRequired

ID of the plugin version

Body
descriptionstringRequired
organisation_idstringRequired
plugin_typestring · enumRequiredPossible values:
destination_idstringOptional
plugin_version_idstringRequired
creation_tsinteger · int64RequiredDefault: 0
idstringRead-onlyRequired
plugin_idstringRequired
archivedbooleanRequiredDefault: false
namestringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/plugins/{plugin_id}/versions/{plugin_version_id}/presets/{plugin_preset_id}
PUT /v1/plugins/{plugin_id}/versions/{plugin_version_id}/presets/{plugin_preset_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 387

{
  "description": "text",
  "organisation_id": "text",
  "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
  "destination_id": "text",
  "selected_identifying_resources": [
    {
      "compartment_type": "CUSTOM_COMPARTMENT_ID",
      "identity_graph_id": "text",
      "compartment_id": "text"
    }
  ],
  "plugin_version_id": "text",
  "creation_ts": 0,
  "plugin_id": "text",
  "properties": [
    {
      "technical_name": "text",
      "value": {}
    }
  ],
  "archived": false,
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "description": "text",
    "organisation_id": "text",
    "plugin_type": "DISPLAY_CAMPAIGN_EDITOR",
    "destination_id": "text",
    "selected_identifying_resources": [
      {
        "created_by": "text",
        "last_modified_by": "text",
        "plugin_id": "text",
        "plugin_version_id": "text",
        "id": "text",
        "last_modified_ts": 0,
        "compartment_type": "CUSTOM_COMPARTMENT_ID",
        "created_ts": 0,
        "identity_graph_id": "text",
        "compartment_id": "text"
      }
    ],
    "plugin_version_id": "text",
    "creation_ts": 0,
    "id": "text",
    "plugin_id": "text",
    "properties": [
      {
        "technical_name": "text",
        "value": {}
      }
    ],
    "archived": false,
    "name": "text"
  }
}

Last updated

Was this helpful?