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

File Delivery Destinations

Operations related to File Delivery Destinations that store connection information (credentials, addresses, paths) for destinations like SFTP or S3 used to push files. Referenced by feeds with stream-to-file capability using destination tokens, enabling automated delivery of segment identifiers and custom connector integrations with support for dynamic file paths and names via Freemarker templates.

Relevant documentation:

Search File delivery destination

get
/file_delivery_destinations
Query parameters
tokenstringOptional
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

organisation_idinteger · int64Required

Organisation owning the file delivery destination

order_bystring[]Optional

Fields used to order the result

keywordsstringOptional

The keywords to match with file delivery destination names

archivedbooleanOptional

If true the result will contain only archived delivery destinations

Responses
200

Success !

application/json
totalintegerRequired
first_resultintegerRequired
max_resultsintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
get/file_delivery_destinations
GET /v1/file_delivery_destinations?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "total": 1,
  "first_result": 1,
  "max_results": 1,
  "data": [
    {
      "file_name_macro": "text",
      "organisation_id": "text",
      "compression": "NONE",
      "token": "text",
      "technical_name": "text",
      "max_upload_per_day": 0,
      "id": "text",
      "file_max_size_in_kb": 0,
      "check_previous_file_removed": false,
      "min_upload_per_day": 0,
      "encoding": "text",
      "type": "SFTP",
      "credentials_private_datafile": "text",
      "file_header_macro": "text",
      "name": "text",
      "file_path_macro": "text",
      "deduplicate": false,
      "archived": false
    }
  ],
  "count": 1,
  "status": "ok"
}

Create a File delivery destination

post
/file_delivery_destinations
Body
file_name_macrostringRequired
organisation_idstringRequired
compressionstring · enumRequiredPossible values:
tokenstringRead-onlyRequired
technical_namestringRequired
max_upload_per_dayinteger · int32OptionalDefault: 0
idstringRead-onlyRequired
file_max_size_in_kbinteger · int32OptionalDefault: 0
check_previous_file_removedbooleanRequiredDefault: false
min_upload_per_dayinteger · int32OptionalDefault: 0
encodingstringRequired
typestring · enumRequiredPossible values:
credentials_private_datafilestringRead-onlyOptional
file_header_macrostringOptional
namestringRequired
file_path_macrostringRequired
deduplicatebooleanRequiredDefault: false
archivedbooleanRequiredDefault: false
Responses
200

Success !

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

{
  "file_name_macro": "text",
  "organisation_id": "text",
  "compression": "NONE",
  "technical_name": "text",
  "max_upload_per_day": 0,
  "file_max_size_in_kb": 0,
  "check_previous_file_removed": false,
  "min_upload_per_day": 0,
  "encoding": "text",
  "type": "SFTP",
  "file_header_macro": "text",
  "name": "text",
  "file_path_macro": "text",
  "deduplicate": false,
  "archived": false
}
{
  "status": "ok",
  "data": {
    "file_name_macro": "text",
    "organisation_id": "text",
    "compression": "NONE",
    "token": "text",
    "technical_name": "text",
    "max_upload_per_day": 0,
    "id": "text",
    "file_max_size_in_kb": 0,
    "check_previous_file_removed": false,
    "min_upload_per_day": 0,
    "encoding": "text",
    "type": "SFTP",
    "credentials_private_datafile": "text",
    "file_header_macro": "text",
    "name": "text",
    "file_path_macro": "text",
    "deduplicate": false,
    "archived": false
  }
}

Update a File delivery source

put
/file_delivery_sources/{id}
Path parameters
idstringRequired
Body
namestringRequired
credentials_private_datafilestringRead-onlyOptional
organisation_idstringRequired
idstringRead-onlyRequired
technical_namestringRequired
typestring · enumRequiredPossible values:
file_pathstringRequired
tokenstringRead-onlyRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/file_delivery_sources/{id}
PUT /v1/file_delivery_sources/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 97

{
  "name": "text",
  "organisation_id": "text",
  "technical_name": "text",
  "type": "SFTP",
  "file_path": "text"
}
{
  "status": "ok",
  "data": {
    "name": "text",
    "credentials_private_datafile": "text",
    "organisation_id": "text",
    "id": "text",
    "technical_name": "text",
    "type": "SFTP",
    "file_path": "text",
    "token": "text"
  }
}

Get File delivery destination

get
/file_delivery_destinations/{id}
Path parameters
idstringRequired
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
get/file_delivery_destinations/{id}
GET /v1/file_delivery_destinations/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "file_name_macro": "text",
    "organisation_id": "text",
    "compression": "NONE",
    "token": "text",
    "technical_name": "text",
    "max_upload_per_day": 0,
    "id": "text",
    "file_max_size_in_kb": 0,
    "check_previous_file_removed": false,
    "min_upload_per_day": 0,
    "encoding": "text",
    "type": "SFTP",
    "credentials_private_datafile": "text",
    "file_header_macro": "text",
    "name": "text",
    "file_path_macro": "text",
    "deduplicate": false,
    "archived": false
  }
}

Update a File delivery destination

put
/file_delivery_destinations/{id}
Path parameters
idstringRequired
Body
file_name_macrostringRequired
organisation_idstringRequired
compressionstring · enumRequiredPossible values:
tokenstringRead-onlyRequired
technical_namestringRequired
max_upload_per_dayinteger · int32OptionalDefault: 0
idstringRead-onlyRequired
file_max_size_in_kbinteger · int32OptionalDefault: 0
check_previous_file_removedbooleanRequiredDefault: false
min_upload_per_dayinteger · int32OptionalDefault: 0
encodingstringRequired
typestring · enumRequiredPossible values:
credentials_private_datafilestringRead-onlyOptional
file_header_macrostringOptional
namestringRequired
file_path_macrostringRequired
deduplicatebooleanRequiredDefault: false
archivedbooleanRequiredDefault: false
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/file_delivery_destinations/{id}
PUT /v1/file_delivery_destinations/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 337

{
  "file_name_macro": "text",
  "organisation_id": "text",
  "compression": "NONE",
  "technical_name": "text",
  "max_upload_per_day": 0,
  "file_max_size_in_kb": 0,
  "check_previous_file_removed": false,
  "min_upload_per_day": 0,
  "encoding": "text",
  "type": "SFTP",
  "file_header_macro": "text",
  "name": "text",
  "file_path_macro": "text",
  "deduplicate": false,
  "archived": false
}
{
  "status": "ok",
  "data": {
    "file_name_macro": "text",
    "organisation_id": "text",
    "compression": "NONE",
    "token": "text",
    "technical_name": "text",
    "max_upload_per_day": 0,
    "id": "text",
    "file_max_size_in_kb": 0,
    "check_previous_file_removed": false,
    "min_upload_per_day": 0,
    "encoding": "text",
    "type": "SFTP",
    "credentials_private_datafile": "text",
    "file_header_macro": "text",
    "name": "text",
    "file_path_macro": "text",
    "deduplicate": false,
    "archived": false
  }
}

Update a destination's credentials

put
/file_delivery_destinations/{id}/credentials
Path parameters
idstringRequired
Body
string · binaryOptional
Responses
200

Success !

application/json
statusstring · enumRequiredPossible values:
put/file_delivery_destinations/{id}/credentials
PUT /v1/file_delivery_destinations/{id}/credentials HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/octet-stream
Accept: */*
Content-Length: 8

"binary"
{
  "status": "ok",
  "data": {
    "file_name_macro": "text",
    "organisation_id": "text",
    "compression": "NONE",
    "token": "text",
    "technical_name": "text",
    "max_upload_per_day": 0,
    "id": "text",
    "file_max_size_in_kb": 0,
    "check_previous_file_removed": false,
    "min_upload_per_day": 0,
    "encoding": "text",
    "type": "SFTP",
    "credentials_private_datafile": "text",
    "file_header_macro": "text",
    "name": "text",
    "file_path_macro": "text",
    "deduplicate": false,
    "archived": false
  }
}

Last updated

Was this helpful?