Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request GET /api/v2/publishing_channels 200 { "publishing_channels": [ { "id": 1, "name": "test_publishing_channel", "user_id": 66, "config_id": 1, "config_type": "FtpConfig", "created_at": "2023-11-27T09:42:51.185Z", "updated_at": "2023-11-27T09:42:51.185Z", "private": false, "config": { "id": 1, "host": "test_ftp_server.com/ftp", "username": "test_user", "path": "/ftp/folder", "created_at": "2023-11-27T09:42:51.159Z", "updated_at": "2023-11-27T09:42:51.159Z" }, "users": [], "authorized_with": "password" } ] }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
publishing_channel_id required |
Publishing channel ID Validations:
|
// Successful request GET /api/v2/publishing_channels/2 200 { "publishing_channel": { "id": 2, "name": "test_publishing_channel", "user_id": 67, "config_id": 2, "config_type": "FtpConfig", "created_at": "2023-11-27T09:42:51.341Z", "updated_at": "2023-11-27T09:42:51.341Z", "private": false, "config": { "id": 2, "host": "test_ftp_server.com/ftp", "username": "test_user", "path": "/ftp/folder", "created_at": "2023-11-27T09:42:51.328Z", "updated_at": "2023-11-27T09:42:51.328Z" }, "users": [], "authorized_with": "password" } }
// Publishing channel not found GET /api/v2/publishing_channels/not-found-id 404 { "error": "Publishing channel not found" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Publishing channel name Validations:
|
private optional |
Is channel private Validations:
|
users optional |
User ID Validations:
|
config required |
Configuration for the channel Validations:
|
config[host] required |
Host address Validations:
|
config[port] required |
Port for the ASCP connection Validations:
|
config[username] required |
Username for the ASCP connection Validations:
|
config[password] optional |
Password for the ASCP connection Validations:
|
config[pkey] optional |
Private key for the ASCP connection Validations:
|
config[path] required |
Path at ASCP host Validations:
|
config[create_folder] optional |
Option, create folder if does not exist Validations:
|
config[overwrite_behaviour] optional |
Option, file overwrite behaviour Validations:
|
config[required_segments] optional |
Option, required string segments Validations:
|
config[excluded_segments] optional |
Option, forbidden string segments Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Publishing channel name Validations:
|
private optional |
Is channel private Validations:
|
users optional |
User ID Validations:
|
config required |
Configuration for the channel Validations:
|
config[host] required |
Host address Validations:
|
config[username] required |
Username for FTP connection Validations:
|
config[password] required |
Password for FTP connection Validations:
|
config[path] required |
Path at FTP host Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Publishing channel name Validations:
|
private optional |
Is channel private Validations:
|
users optional |
User ID Validations:
|
config required |
Configuration for the channel Validations:
|
config[host] required |
Host address Validations:
|
config[username] required |
Username for SCP connection Validations:
|
config[password] optional |
Password for SCP connection Validations:
|
config[pkey] optional |
Private key for the SCP Validations:
|
config[path] required |
Path at SCP host Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Publishing channel name Validations:
|
private optional |
Is channel private Validations:
|
users optional |
User ID Validations:
|
config required |
Configuration for the channel Validations:
|
config[aws_access_key_id] required |
AWS S3 Access key ID Validations:
|
config[aws_secret_access_key] required |
AWS S3 secret access key Validations:
|
config[bucket_name] required |
AWS S3 Bucket Validations:
|
config[region_name] required |
AWS Region name Validations:
|
config[endpoint_url] required |
URL for the AWS S3 bucket Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Publishing channel name Validations:
|
private optional |
Is channel private Validations:
|
users optional |
User ID Validations:
|
config required |
Configuration for the channel Validations:
|
config[azure_account_name] required |
Azure Blob account name Validations:
|
config[azure_container_name] required |
Azure Blob container name Validations:
|
config[azure_access_key] required |
Azure Blob access key Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Param name | Description |
---|---|
name required |
Publishing channel name Validations:
|
private optional |
Is channel private Validations:
|
users optional |
User ID Validations:
|
config_type required |
Type of the publishing channel Validations:
|
config required |
Configuration for publishing channel Validations:
|
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |
Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |