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

Feeds

Operations related to Feeds (Audience Segment Feeds), the activation mechanism that synchronizes audience segments with external destinations (DSPs, Social Networks, CRMs) via plugin connectors, performing initial loading and continuous real-time updates as users enter or leave segments.

Relevant documentation:

Searches external feeds from a given audience segment

get
/audience_segments/{segment_id}/external_feeds
Path parameters
segment_idinteger · int64Required
Responses
200

Success !

application/json
totalintegerRequired
countintegerRequired
max_resultsintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
get/audience_segments/{segment_id}/external_feeds
GET /v1/audience_segments/{segment_id}/external_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "data": [
    {
      "id": "text",
      "organisation_id": "text",
      "is_from_clean_room": false,
      "destination_audience_deletion_ts": 0,
      "created_ts": 0,
      "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"
        }
      ],
      "created_from": "SEGMENT",
      "scenario_id": "text",
      "audience_segment_id": "text",
      "artifact_id": "text",
      "created_by": "text",
      "status": "INITIAL",
      "reboot_period_in_days": 0,
      "version_id": "text",
      "group_id": "text",
      "name": "text",
      "plugin_preset_id": "text"
    }
  ],
  "count": 1,
  "max_results": 1,
  "first_result": 1,
  "status": "ok"
}

Creates an external feed

post
/audience_segments/{segment_id}/external_feeds
Path parameters
segment_idinteger · int64Required
Body
idstringRead-onlyRequired
organisation_idstringRead-onlyRequired
is_from_clean_roombooleanRead-onlyRequiredDefault: false
destination_audience_deletion_tsinteger · int64Read-onlyOptionalDefault: 0
created_tsinteger · int64Read-onlyOptionalDefault: 0
created_fromstring · enumRequiredPossible values:
scenario_idstringOptional
audience_segment_idstringRead-onlyRequired
artifact_idstringRequired
created_bystringRead-onlyOptional
statusstring · enumRequiredPossible values:
reboot_period_in_daysinteger · int32OptionalDefault: 0
version_idstringRequired
group_idstringRequired
namestringOptional
plugin_preset_idstringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feeds
POST /v1/audience_segments/{segment_id}/external_feeds HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 322

{
  "selected_identifying_resources": [
    {
      "compartment_type": "CUSTOM_COMPARTMENT_ID",
      "identity_graph_id": "text",
      "compartment_id": "text"
    }
  ],
  "created_from": "SEGMENT",
  "scenario_id": "text",
  "artifact_id": "text",
  "status": "INITIAL",
  "reboot_period_in_days": 0,
  "version_id": "text",
  "group_id": "text",
  "name": "text",
  "plugin_preset_id": "text"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "organisation_id": "text",
    "is_from_clean_room": false,
    "destination_audience_deletion_ts": 0,
    "created_ts": 0,
    "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"
      }
    ],
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "audience_segment_id": "text",
    "artifact_id": "text",
    "created_by": "text",
    "status": "INITIAL",
    "reboot_period_in_days": 0,
    "version_id": "text",
    "group_id": "text",
    "name": "text",
    "plugin_preset_id": "text"
  }
}

Aggregate data about Audience Segment External Feed

post
/audience_segments.external_feeds/aggregates
Body
organisation_idstringOptional
metricstring · enumRequiredPossible values:
first_resultinteger · int32OptionalDefault: 0
secondary_dimensionstring · enumRequiredPossible values:
primary_dimensionstring · enumRequiredPossible values:
max_resultsinteger · int32OptionalDefault: 0
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments.external_feeds/aggregates
POST /v1/audience_segments.external_feeds/aggregates HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 234

{
  "organisation_id": "text",
  "metric": "FEED_COUNT",
  "first_result": 0,
  "order_by": {
    "sort_value": "PRIMARY_DIMENSION",
    "sort_order": "ASCENDING"
  },
  "secondary_dimension": "PLUGIN_VERSION_ID",
  "primary_dimension": "PLUGIN_VERSION_ID",
  "max_results": 0
}
{
  "status": "ok",
  "data": {
    "first_result": 0,
    "secondary_dimension_metric_totals": [
      {
        "secondary_dimension_value": {
          "value": "text",
          "display_label": "text"
        },
        "metric_value_total": "text"
      }
    ],
    "total": 0,
    "rows": [
      {
        "primary_dimension_value": {
          "value": "text",
          "display_label": "text"
        },
        "cells": [
          {
            "secondary_dimension_value": {
              "value": "text",
              "display_label": "text"
            },
            "metric_value": "text"
          }
        ],
        "metric_value_total": "text"
      }
    ],
    "count": 0
  }
}

Call /authentication on feed

post
/external_feed_plugin_versions/{plugin_version_id}/authentication
Path parameters
plugin_version_idinteger · int64Required
Body
paramsobject · AnyOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/external_feed_plugin_versions/{plugin_version_id}/authentication
POST /v1/external_feed_plugin_versions/{plugin_version_id}/authentication HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 13

{
  "params": {}
}
{
  "status": "ok",
  "data": {
    "status": "ok"
  }
}

Deletes the audience this feed manages on the destination platform

delete
/external_feeds/{feed_id}/destination_audience

The mediarithmics feed itself is not deleted. Requires a plugin version declaring destination audience deletion support, otherwise fails with DESTINATION_AUDIENCE_DELETION_NOT_SUPPORTED.

Path parameters
feed_idinteger · int64Required

The feed id

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
delete/external_feeds/{feed_id}/destination_audience
DELETE /v1/external_feeds/{feed_id}/destination_audience HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "status": "ok",
    "message": "text",
    "destination_audience_deletion_ts": 0
  }
}

Finds all the tag feeds for the specified audience segment

get
/audience_segments/{segment_id}/tag_feeds
Path parameters
segment_idinteger · int64Required

The segment to search into

Responses
200

Success !

application/json
countintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
max_resultsintegerRequired
get/audience_segments/{segment_id}/tag_feeds
GET /v1/audience_segments/{segment_id}/tag_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "data": [
    {
      "organisation_id": "text",
      "status": "ACTIVE",
      "audience_segment_id": "text",
      "group_id": "text",
      "created_from": "SEGMENT",
      "scenario_id": "text",
      "artifact_id": "text",
      "plugin_preset_id": "text",
      "id": "text",
      "version_id": "text",
      "name": "text"
    }
  ],
  "first_result": 1,
  "status": "ok",
  "total": 1,
  "max_results": 1
}

Creates a new tag feed for the specified audience segment

post
/audience_segments/{segment_id}/tag_feeds
Path parameters
segment_idinteger · int64Required

The segment to create the new tag feed into

Body
organisation_idstringRead-onlyRequired
statusstring · enumRequiredPossible values:
audience_segment_idstringRead-onlyRequired
group_idstringRequired
created_fromstring · enumRequiredPossible values:
scenario_idstringOptional
artifact_idstringRequired
plugin_preset_idstringOptional
idstringRead-onlyRequired
version_idstringRequired
namestringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/tag_feeds
POST /v1/audience_segments/{segment_id}/tag_feeds HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 164

{
  "status": "ACTIVE",
  "group_id": "text",
  "created_from": "SEGMENT",
  "scenario_id": "text",
  "artifact_id": "text",
  "plugin_preset_id": "text",
  "version_id": "text",
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "organisation_id": "text",
    "status": "ACTIVE",
    "audience_segment_id": "text",
    "group_id": "text",
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "artifact_id": "text",
    "plugin_preset_id": "text",
    "id": "text",
    "version_id": "text",
    "name": "text"
  }
}

Search every external feed match the filters given as query string

get
/audience_segments.external_feeds
Query parameters
community_idinteger · int64Optional

Id of a given community

organisation_idinteger · int64[]Optional

List of organisation Ids we want to query

audience_segment_idinteger · int64[]Optional

List of audience segment Ids we want to query

group_idstring[]Optional

Group Ids of the plugins we want to query

artifact_idstring[]Optional

Artifact Ids of the plugin we want to query

version_idinteger · int64[]Optional

Ids of the pluginVersions we want to query

scenario_idstring[]Optional

scenario_id of the source scenarios of audience segment tag feeds

order_bystring · enumOptional

value used for result ordering

Possible values:
administratedbooleanOptional
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
max_resultsintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
totalintegerRequired
countintegerRequired
get/audience_segments.external_feeds
GET /v1/audience_segments.external_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "first_result": 1,
  "status": "ok",
  "data": [
    {
      "id": "text",
      "organisation_id": "text",
      "is_from_clean_room": false,
      "destination_audience_deletion_ts": 0,
      "created_ts": 0,
      "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"
        }
      ],
      "created_from": "SEGMENT",
      "scenario_id": "text",
      "audience_segment_id": "text",
      "artifact_id": "text",
      "created_by": "text",
      "status": "INITIAL",
      "reboot_period_in_days": 0,
      "version_id": "text",
      "group_id": "text",
      "name": "text",
      "plugin_preset_id": "text"
    }
  ],
  "total": 1,
  "count": 1
}

Aggregate data about Audience Segment Tag Feed

post
/audience_segments.tag_feeds/aggregates
Body
organisation_idstringOptional
metricstring · enumRequiredPossible values:
first_resultinteger · int32OptionalDefault: 0
secondary_dimensionstring · enumRequiredPossible values:
primary_dimensionstring · enumRequiredPossible values:
max_resultsinteger · int32OptionalDefault: 0
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments.tag_feeds/aggregates
POST /v1/audience_segments.tag_feeds/aggregates HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 234

{
  "organisation_id": "text",
  "metric": "FEED_COUNT",
  "first_result": 0,
  "order_by": {
    "sort_value": "PRIMARY_DIMENSION",
    "sort_order": "ASCENDING"
  },
  "secondary_dimension": "PLUGIN_VERSION_ID",
  "primary_dimension": "PLUGIN_VERSION_ID",
  "max_results": 0
}
{
  "status": "ok",
  "data": {
    "first_result": 0,
    "secondary_dimension_metric_totals": [
      {
        "secondary_dimension_value": {
          "value": "text",
          "display_label": "text"
        },
        "metric_value_total": "text"
      }
    ],
    "total": 0,
    "rows": [
      {
        "primary_dimension_value": {
          "value": "text",
          "display_label": "text"
        },
        "cells": [
          {
            "secondary_dimension_value": {
              "value": "text",
              "display_label": "text"
            },
            "metric_value": "text"
          }
        ],
        "metric_value_total": "text"
      }
    ],
    "count": 0
  }
}

Get feed sessions linked to a specific external feed

get
/audience_segments/{segment_id}/external_feeds/{feed_id}/feed_sessions
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Query parameters
openbooleanOptional

Searches for feed sessions that are in an open state

publishedbooleanOptional

Searches for feed sessions that are in a published state

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
max_resultsintegerRequired
first_resultintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
totalintegerRequired
get/audience_segments/{segment_id}/external_feeds/{feed_id}/feed_sessions
GET /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/feed_sessions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "first_result": 1,
  "status": "ok",
  "count": 1,
  "data": [
    {
      "status": "INITIAL",
      "job_execution_id": "text",
      "last_live_ts": 0,
      "type": "BROAD_TARGETING",
      "initial_loading_date": 0,
      "id": "text",
      "external_feed_id": "text",
      "last_batch_ts": 0,
      "open_date": 0,
      "live_date": 0,
      "open": false,
      "audience_segment_id": "text",
      "sent_date": 0,
      "datamart_id": "text"
    }
  ],
  "total": 1
}

Get external feed initial loadings

get
/audience_segments/{segment_id}/external_feeds/{feed_id}/initial_loadings
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Query parameters
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
totalintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
get/audience_segments/{segment_id}/external_feeds/{feed_id}/initial_loadings
GET /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/initial_loadings HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "first_result": 1,
  "max_results": 1,
  "status": "ok",
  "count": 1,
  "data": [
    {
      "organisation_id": "text",
      "start_date": 0,
      "job_type": "text",
      "num_tasks": 0,
      "community_id": "text",
      "completed_tasks": 0,
      "max_retry_count": 0,
      "parameters": "text",
      "result": "text",
      "duration": 1,
      "cancel_status": "REQUESTED",
      "is_retryable": false,
      "status": "PENDING",
      "creation_date": 0,
      "user_id": "text",
      "id": "text",
      "erroneous_tasks": 0,
      "retry_count": 0,
      "permalink_uri": "text",
      "debug": "text",
      "external_name": "text"
    }
  ]
}

Search every external feed with last feed session that matches the filters given as query string

get
/audience_segments.external_feeds_with_sessions
Query parameters
community_idinteger · int64Optional

Id of a given community

organisation_idinteger · int64[]Optional

List of organisation Ids we want to query

audience_segment_idsinteger · int64[]Optional

List of audience segment Ids we want to query

group_idstring[]Optional

Group Ids of the plugins we want to query

artifact_idstring[]Optional

Artifact Ids of the plugin we want to query

version_idinteger · int64[]Optional

Ids of the pluginVersions we want to query

preset_idinteger · int64[]Optional

Ids of the plugin presets we want to query

destination_idinteger · int64[]Optional

Ids of the destinations we want to query

scenario_idstring[]Optional

scenario_id of the source scenarios of audience segment tag feeds

order_bystring · enumOptional

value used for result ordering

Possible values:
administratedbooleanOptional
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

keywordsstringOptional

Filter feeds by feed name, or by the name of the audience segment they are attached to when they were created from a segment (partial match, case insensitive)

Responses
200

Success !

application/json
countintegerRequired
totalintegerRequired
statusstring · enumRequiredPossible values:
first_resultintegerRequired
max_resultsintegerRequired
get/audience_segments.external_feeds_with_sessions
GET /v1/audience_segments.external_feeds_with_sessions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "count": 1,
  "total": 1,
  "data": [
    {
      "external_feed": {
        "id": "text",
        "organisation_id": "text",
        "is_from_clean_room": false,
        "destination_audience_deletion_ts": 0,
        "created_ts": 0,
        "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"
          }
        ],
        "created_from": "SEGMENT",
        "scenario_id": "text",
        "audience_segment_id": "text",
        "artifact_id": "text",
        "created_by": "text",
        "status": "INITIAL",
        "reboot_period_in_days": 0,
        "version_id": "text",
        "group_id": "text",
        "name": "text",
        "plugin_preset_id": "text"
      },
      "feed_session": {
        "sent_date": 0,
        "id": "text",
        "external_feed_id": "text",
        "live_date": 0,
        "open": false,
        "last_live_ts": 0,
        "external_feed_version_value": "text",
        "external_feed_version_id": "text",
        "external_feed_group_id": "text",
        "initial_loading_date": 0,
        "audience_segment_id": "text",
        "datamart_id": "text",
        "job_execution_id": "text",
        "status": "INITIAL",
        "last_batch_ts": 0,
        "open_date": 0,
        "external_feed_artifact_id": "text"
      }
    }
  ],
  "status": "ok",
  "first_result": 1,
  "max_results": 1
}

performs an action on an external feed

post
/audience_segments/{segment_id}/external_feeds/{external_feed_id}/action
Path parameters
segment_idinteger · int64Required
external_feed_idinteger · int64Required
Body
audience_segment_external_feed_actionstring · enumOptionalPossible values:
actionstring · enumOptionalPossible values:
force_actionbooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feeds/{external_feed_id}/action
POST /v1/audience_segments/{segment_id}/external_feeds/{external_feed_id}/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 446

{
  "audience_segment_external_feed_action": "ACTIVATE_EXTERNAL_FEED",
  "action": "ACTIVATE_EXTERNAL_FEED",
  "args": {
    "plugin_version": "text",
    "plugin_preset": "text",
    "property_resource_overrides": [
      {
        "writable": false,
        "value": {},
        "origin": "PLUGIN_STATIC",
        "technical_name": "text",
        "deletable": false
      }
    ],
    "selected_identifying_resource_overrides": [
      {
        "compartment_type": "CUSTOM_COMPARTMENT_ID",
        "identity_graph_id": "text",
        "compartment_id": "text"
      }
    ]
  },
  "force_action": false
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "organisation_id": "text",
    "is_from_clean_room": false,
    "destination_audience_deletion_ts": 0,
    "created_ts": 0,
    "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"
      }
    ],
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "audience_segment_id": "text",
    "artifact_id": "text",
    "created_by": "text",
    "status": "INITIAL",
    "reboot_period_in_days": 0,
    "version_id": "text",
    "group_id": "text",
    "name": "text",
    "plugin_preset_id": "text"
  }
}

Update a property of the specified tag feed

put
/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties/technical_name={technical_name}
Path parameters
segment_idinteger · int64Required

The segment of the tag feed you are interested in

feed_idinteger · int64Required

The tag feed holding the properties you want to interact with

technical_namestringRequired

The name of the property to modify

Query parameters
plugin_version_idinteger · int64Optional

The id of the plugin version you want to interact with

Body
writablebooleanRequiredDefault: false
valueobject · PropertyValueResourceRequired
originstring · enumRequiredPossible values:
technical_namestringRequired
deletablebooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties/technical_name={technical_name}
PUT /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties/technical_name={technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96

{
  "writable": false,
  "value": {},
  "origin": "PLUGIN_STATIC",
  "technical_name": "text",
  "deletable": false
}
{
  "status": "ok",
  "data": {
    "writable": false,
    "value": {},
    "origin": "PLUGIN_STATIC",
    "technical_name": "text",
    "deletable": false
  }
}

reboots a feed

post
/audience_segments/{segment_id}/external_feeds/{feed_id}/reboot
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feeds/{feed_id}/reboot
POST /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/reboot HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "status": "INITIAL",
    "job_execution_id": "text",
    "last_live_ts": 0,
    "type": "BROAD_TARGETING",
    "initial_loading_date": 0,
    "id": "text",
    "external_feed_id": "text",
    "last_batch_ts": 0,
    "open_date": 0,
    "live_date": 0,
    "open": false,
    "audience_segment_id": "text",
    "sent_date": 0,
    "datamart_id": "text"
  }
}

Check if the user can properly authenticate on a feed provider

post
/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/authentication_status_queries
Path parameters
segment_idinteger · int64Required
plugin_version_idinteger · int64Required
Body
segment_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/authentication_status_queries
POST /v1/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/authentication_status_queries HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 133

{
  "properties": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "segment_id": "text"
}
{
  "status": "ok",
  "data": {
    "status": "authenticated",
    "login_url": "text"
  }
}

Fetch to the plugin the available properties values. Input properties are the already known ones which give us context.

post
/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/dynamic_property_values_queries
Path parameters
segment_idinteger · int64Required
plugin_version_idinteger · int64Required
Body
segment_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/dynamic_property_values_queries
POST /v1/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/dynamic_property_values_queries HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 133

{
  "properties": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "segment_id": "text"
}
{
  "status": "ok",
  "data": {
    "status": "ok",
    "message": "text",
    "data": [
      {
        "property_technical_name": "text",
        "enum": [
          {
            "value": "text",
            "label": "text"
          }
        ]
      }
    ],
    "count": 0
  }
}

Reads the properties for the specified tag feed

get
/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties
Path parameters
feed_idinteger · int64Required

The tag feed holding the properties you want to interact with

segment_idinteger · int64Required

The segment of the tag feed you are interested in

Query parameters
plugin_version_idinteger · int64Optional

The id of the plugin version you want to interact with

Responses
200

Success !

application/json
max_resultsintegerRequired
totalintegerRequired
statusstring · enumRequiredPossible values:
countintegerRequired
first_resultintegerRequired
get/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties
GET /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "data": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "total": 1,
  "status": "ok",
  "count": 1,
  "first_result": 1
}

Adds a property to the specified tag feed

post
/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties
Path parameters
feed_idinteger · int64Required

The tag feed holding the properties you want to interact with

segment_idinteger · int64Required

The segment of the tag feed you are interested in

Body
writablebooleanRequiredDefault: false
valueobject · PropertyValueResourceRequired
originstring · enumRequiredPossible values:
technical_namestringRequired
deletablebooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties
POST /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96

{
  "writable": false,
  "value": {},
  "origin": "PLUGIN_STATIC",
  "technical_name": "text",
  "deletable": false
}
{
  "status": "ok",
  "data": {
    "writable": false,
    "value": {},
    "origin": "PLUGIN_STATIC",
    "technical_name": "text",
    "deletable": false
  }
}

Update the properties of the specified tag feed

put
/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties
Path parameters
feed_idinteger · int64Required

The tag feed holding the properties you want to interact with

segment_idinteger · int64Required

The segment of the tag feed you are interested in

Query parameters
plugin_version_idinteger · int64Optional

The id of the plugin version you want to interact with

Body
writablebooleanRequiredDefault: false
valueobject · PropertyValueResourceRequired
originstring · enumRequiredPossible values:
technical_namestringRequired
deletablebooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
put/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties
PUT /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96

{
  "writable": false,
  "value": {},
  "origin": "PLUGIN_STATIC",
  "technical_name": "text",
  "deletable": false
}
{
  "status": "ok",
  "data": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "count": 1
}

Update an external feed property

put
/audience_segments/{segment_id}/external_feeds/{feed_id}/properties/technical_name={technical_name}
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
technical_namestringRequired
Query parameters
plugin_version_idstringOptional
Body
writablebooleanRequiredDefault: false
valueobject · PropertyValueResourceRequired
originstring · enumRequiredPossible values:
technical_namestringRequired
deletablebooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/audience_segments/{segment_id}/external_feeds/{feed_id}/properties/technical_name={technical_name}
PUT /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties/technical_name={technical_name} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96

{
  "writable": false,
  "value": {},
  "origin": "PLUGIN_STATIC",
  "technical_name": "text",
  "deletable": false
}
{
  "status": "ok",
  "data": {
    "writable": false,
    "value": {},
    "origin": "PLUGIN_STATIC",
    "technical_name": "text",
    "deletable": false
  }
}

Finds an external feed's properties

get
/audience_segments/{segment_id}/external_feeds/{feed_id}/properties
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Query parameters
plugin_version_idstringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
get/audience_segments/{segment_id}/external_feeds/{feed_id}/properties
GET /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "count": 1
}

Adds an external feed property

post
/audience_segments/{segment_id}/external_feeds/{feed_id}/properties
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Body
writablebooleanRequiredDefault: false
valueobject · PropertyValueResourceRequired
originstring · enumRequiredPossible values:
technical_namestringRequired
deletablebooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feeds/{feed_id}/properties
POST /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96

{
  "writable": false,
  "value": {},
  "origin": "PLUGIN_STATIC",
  "technical_name": "text",
  "deletable": false
}
{
  "status": "ok",
  "data": {
    "writable": false,
    "value": {},
    "origin": "PLUGIN_STATIC",
    "technical_name": "text",
    "deletable": false
  }
}

Update external feed properties

put
/audience_segments/{segment_id}/external_feeds/{feed_id}/properties
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Query parameters
plugin_version_idstringOptional
Body
writablebooleanRequiredDefault: false
valueobject · PropertyValueResourceRequired
originstring · enumRequiredPossible values:
technical_namestringRequired
deletablebooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
countintegerRequired
put/audience_segments/{segment_id}/external_feeds/{feed_id}/properties
PUT /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/properties HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 96

{
  "writable": false,
  "value": {},
  "origin": "PLUGIN_STATIC",
  "technical_name": "text",
  "deletable": false
}
{
  "status": "ok",
  "data": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "count": 1
}

Performs an action on a tag feed

post
/audience_segments/{segment_id}/tag_feeds/{feed_id}/action
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Body
actionstring · enumOptionalPossible values:
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/tag_feeds/{feed_id}/action
POST /v1/audience_segments/{segment_id}/tag_feeds/{feed_id}/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 361

{
  "action": "UPGRADE_PLUGIN_INSTANCE",
  "args": {
    "plugin_version": "text",
    "plugin_preset": "text",
    "property_resource_overrides": [
      {
        "writable": false,
        "value": {},
        "origin": "PLUGIN_STATIC",
        "technical_name": "text",
        "deletable": false
      }
    ],
    "selected_identifying_resource_overrides": [
      {
        "compartment_type": "CUSTOM_COMPARTMENT_ID",
        "identity_graph_id": "text",
        "compartment_id": "text"
      }
    ]
  }
}
{
  "status": "ok",
  "data": {
    "organisation_id": "text",
    "status": "ACTIVE",
    "audience_segment_id": "text",
    "group_id": "text",
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "artifact_id": "text",
    "plugin_preset_id": "text",
    "id": "text",
    "version_id": "text",
    "name": "text"
  }
}

Call /logout on feed

post
/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/logout
Path parameters
segment_idinteger · int64Required
plugin_version_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/logout
POST /v1/audience_segments/{segment_id}/external_feed_plugin_versions/{plugin_version_id}/logout HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "status": "ok"
  }
}

Check if the feed is authenticated on the feed provider

post
/audience_segments/{segment_id}/external_feeds/{feed_id}/authentication_status_queries
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Body
segment_idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
post/audience_segments/{segment_id}/external_feeds/{feed_id}/authentication_status_queries
POST /v1/audience_segments/{segment_id}/external_feeds/{feed_id}/authentication_status_queries HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 133

{
  "properties": [
    {
      "writable": false,
      "value": {},
      "origin": "PLUGIN_STATIC",
      "technical_name": "text",
      "deletable": false
    }
  ],
  "segment_id": "text"
}
{
  "status": "ok",
  "data": {
    "status": "authenticated",
    "login_url": "text"
  }
}

Reads the tag feed with the given id and in the specified segment

get
/audience_segments/{segment_id}/tag_feeds/{feed_id}
Path parameters
segment_idinteger · int64Required

The segment to get the tag feed from

feed_idinteger · int64Required

The tag feed you want to get

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/audience_segments/{segment_id}/tag_feeds/{feed_id}
GET /v1/audience_segments/{segment_id}/tag_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "organisation_id": "text",
    "status": "ACTIVE",
    "audience_segment_id": "text",
    "group_id": "text",
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "artifact_id": "text",
    "plugin_preset_id": "text",
    "id": "text",
    "version_id": "text",
    "name": "text"
  }
}

Updates the tag feed with the given id and in the specified segment

put
/audience_segments/{segment_id}/tag_feeds/{feed_id}
Path parameters
segment_idinteger · int64Required

The segment of the tag feed you are interested in

feed_idinteger · int64Required

The tag feed you want to update

Body
organisation_idstringRead-onlyRequired
statusstring · enumRequiredPossible values:
audience_segment_idstringRead-onlyRequired
group_idstringRequired
created_fromstring · enumRequiredPossible values:
scenario_idstringOptional
artifact_idstringRequired
plugin_preset_idstringOptional
idstringRead-onlyRequired
version_idstringRequired
namestringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/audience_segments/{segment_id}/tag_feeds/{feed_id}
PUT /v1/audience_segments/{segment_id}/tag_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 164

{
  "status": "ACTIVE",
  "group_id": "text",
  "created_from": "SEGMENT",
  "scenario_id": "text",
  "artifact_id": "text",
  "plugin_preset_id": "text",
  "version_id": "text",
  "name": "text"
}
{
  "status": "ok",
  "data": {
    "organisation_id": "text",
    "status": "ACTIVE",
    "audience_segment_id": "text",
    "group_id": "text",
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "artifact_id": "text",
    "plugin_preset_id": "text",
    "id": "text",
    "version_id": "text",
    "name": "text"
  }
}

Deletes the tag feed with the given id and in the specified segment

delete
/audience_segments/{segment_id}/tag_feeds/{feed_id}
Path parameters
segment_idinteger · int64Required

The segment of the tag feed you are interested in

feed_idinteger · int64Required

The tag feed you want to delete

Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/audience_segments/{segment_id}/tag_feeds/{feed_id}
DELETE /v1/audience_segments/{segment_id}/tag_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Finds an external feed

get
/audience_segments/{segment_id}/external_feeds/{feed_id}
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/audience_segments/{segment_id}/external_feeds/{feed_id}
GET /v1/audience_segments/{segment_id}/external_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "id": "text",
    "organisation_id": "text",
    "is_from_clean_room": false,
    "destination_audience_deletion_ts": 0,
    "created_ts": 0,
    "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"
      }
    ],
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "audience_segment_id": "text",
    "artifact_id": "text",
    "created_by": "text",
    "status": "INITIAL",
    "reboot_period_in_days": 0,
    "version_id": "text",
    "group_id": "text",
    "name": "text",
    "plugin_preset_id": "text"
  }
}

Updates an external feed

put
/audience_segments/{segment_id}/external_feeds/{feed_id}
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Body
idstringRead-onlyRequired
organisation_idstringRead-onlyRequired
is_from_clean_roombooleanRead-onlyRequiredDefault: false
destination_audience_deletion_tsinteger · int64Read-onlyOptionalDefault: 0
created_tsinteger · int64Read-onlyOptionalDefault: 0
created_fromstring · enumRequiredPossible values:
scenario_idstringOptional
audience_segment_idstringRead-onlyRequired
artifact_idstringRequired
created_bystringRead-onlyOptional
statusstring · enumRequiredPossible values:
reboot_period_in_daysinteger · int32OptionalDefault: 0
version_idstringRequired
group_idstringRequired
namestringOptional
plugin_preset_idstringOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/audience_segments/{segment_id}/external_feeds/{feed_id}
PUT /v1/audience_segments/{segment_id}/external_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 322

{
  "selected_identifying_resources": [
    {
      "compartment_type": "CUSTOM_COMPARTMENT_ID",
      "identity_graph_id": "text",
      "compartment_id": "text"
    }
  ],
  "created_from": "SEGMENT",
  "scenario_id": "text",
  "artifact_id": "text",
  "status": "INITIAL",
  "reboot_period_in_days": 0,
  "version_id": "text",
  "group_id": "text",
  "name": "text",
  "plugin_preset_id": "text"
}
{
  "status": "ok",
  "data": {
    "id": "text",
    "organisation_id": "text",
    "is_from_clean_room": false,
    "destination_audience_deletion_ts": 0,
    "created_ts": 0,
    "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"
      }
    ],
    "created_from": "SEGMENT",
    "scenario_id": "text",
    "audience_segment_id": "text",
    "artifact_id": "text",
    "created_by": "text",
    "status": "INITIAL",
    "reboot_period_in_days": 0,
    "version_id": "text",
    "group_id": "text",
    "name": "text",
    "plugin_preset_id": "text"
  }
}

Deletes an external feed

delete
/audience_segments/{segment_id}/external_feeds/{feed_id}
Path parameters
segment_idinteger · int64Required
feed_idinteger · int64Required
Responses
200

Success response

application/json
statusstring · enumRequiredPossible values:
delete/audience_segments/{segment_id}/external_feeds/{feed_id}
DELETE /v1/audience_segments/{segment_id}/external_feeds/{feed_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok"
}

Search every tag feed match the filters given as query string

get
/audience_segments.tag_feeds
Query parameters
community_idinteger · int64Optional

Id of a given community

organisation_idinteger · int64[]Optional

List of organisation Ids we want to query

audience_segment_idinteger · int64[]Optional

List of audience segment Ids we want to query

group_idstring[]Optional

Group Ids of the plugins we want to query

artifact_idstring[]Optional

Artifact Ids of the plugin we want to query

version_idinteger · int64[]Optional

Ids of the pluginVersions we want to query

preset_idinteger · int64[]Optional

Ids of the plugin presets we want to query

destination_idinteger · int64[]Optional

Ids of the destinations we want to query

scenario_idstring[]Optional

scenario_id of the source scenarios of audience segment tag feeds

order_bystring · enumOptional

value used for result ordering

Possible values:
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

keywordsstringOptional

Filter feeds by feed name, or by the name of the audience segment they are attached to when they were created from a segment (partial match, case insensitive)

Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
first_resultintegerRequired
countintegerRequired
max_resultsintegerRequired
totalintegerRequired
get/audience_segments.tag_feeds
GET /v1/audience_segments.tag_feeds HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "data": [
    {
      "organisation_id": "text",
      "status": "ACTIVE",
      "audience_segment_id": "text",
      "group_id": "text",
      "created_from": "SEGMENT",
      "scenario_id": "text",
      "artifact_id": "text",
      "plugin_preset_id": "text",
      "id": "text",
      "version_id": "text",
      "name": "text"
    }
  ],
  "status": "ok",
  "first_result": 1,
  "count": 1,
  "max_results": 1,
  "total": 1
}

Last updated

Was this helpful?