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

File Delivery Source

Operations related to File Delivery Sources that store connection information (credentials, addresses, paths) for sources like SFTP or S3 used to pull files.

Search File delivery source

get
/file_delivery_sources
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 source

order_bystring[]Optional

Fields used to order the result

keywordsstringOptional

The keywords to match with file delivery source names

Responses
200

Success !

application/json
max_resultsintegerRequired
totalintegerRequired
first_resultintegerRequired
countintegerRequired
statusstring · enumRequiredPossible values:
get/file_delivery_sources
GET /v1/file_delivery_sources?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "max_results": 1,
  "total": 1,
  "first_result": 1,
  "data": [
    {
      "name": "text",
      "credentials_private_datafile": "text",
      "organisation_id": "text",
      "id": "text",
      "technical_name": "text",
      "type": "SFTP",
      "file_path": "text",
      "token": "text"
    }
  ],
  "count": 1,
  "status": "ok"
}

Create a File delivery source

post
/file_delivery_sources
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:
post/file_delivery_sources
POST /v1/file_delivery_sources 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 source

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

Success !

application/json
statusstring · enumRequiredPossible values:
get/file_delivery_sources/{id}
GET /v1/file_delivery_sources/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
  "status": "ok",
  "data": {
    "name": "text",
    "credentials_private_datafile": "text",
    "organisation_id": "text",
    "id": "text",
    "technical_name": "text",
    "type": "SFTP",
    "file_path": "text",
    "token": "text"
  }
}

Update a Source's credentials

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

Success !

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

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

Last updated

Was this helpful?