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:
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Organisation owning the file delivery destination
Fields used to order the result
The keywords to match with file delivery destination names
If true the result will contain only archived delivery destinations
Success !
Error response
Error response
Error response
Error response
Error response
Error response
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"
}00false0falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
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
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
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"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
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
}
}00false0falsefalseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
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
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
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?