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:
ID of the organisation
Offset from which the search must be performed
Number of maximum items that shall be return by this search
ID of the feed destination to filter plugin presets
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.
ID of the plugin preset
Success !
Error response
Error response
Error response
Error response
Error response
Error response
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
ID of the plugin
ID of the plugin version
ID of the organisation
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
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
}ID of the plugin
ID of the plugin version
0falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
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
ID of the plugin preset
ID of the plugin
ID of the plugin version
Success !
Error response
Error response
Error response
Error response
Error response
Error response
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
ID of the plugin preset
ID of the plugin
ID of the plugin version
0falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
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?