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.
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Organisation owning the file delivery source
Fields used to order the result
The keywords to match with file delivery source names
Success !
Error response
Error response
Error response
Error response
Error response
Error response
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"
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
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"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
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"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
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?