Managed API - Create Publishing Destination

Last Updated: Dec 16, 2014 03:18PM PST
Adds a new publishing destination to your Squeeze Server account. A publishing destination is a remote service to which transcoded files can be automatically distributed. The following services are currently supported: Amazon S3, Limelight, Akamai, FTP servers, and SFTP servers.

Method: POST

Path: /publishing_destinations

Host: http://360services.sorensonmedia.com

Date: date

Authorization: <account_id>:<token>

Header Values: n/a

Required Parameters:
The following parameters are required:
  • service: A text field that describes the publishing destination. Possible values include s3, limelight, akamai, ftp, sftp
  • service_uri: The URI to the service (e.g. ftp.limelight.com); not needed if service is set to "s3"
  • username: The username needed for logging into the service
  • password: The password needed for logging into the service
  • name: A user-defined name for the publishing destination
Optional Parameters:
  • service_port: The port to which to connect for the service
Response:
The following values will be returned by the server:
  • id: The unique identifier for the new publishing destination
  • service: A text field that describes the publishing destination; possible values include s3, limelight, akamai, ftp, sftp
  • service_uri: The URI to the service (e.g. ftp.limelight.com); not needed if service is set to "s3"
  • service_port: The port to which to connect for the service
  • username: The username needed for logging into the service
  • name: A user-defined name for the publishing destination
  • account_id: The ID of the account with which the publishing destination is associated
CURL Request Format:
curl -s -i http://360services.sorensonmedia.com...g_destinations -X post -u <account_id>:<token> -d 'service=<service>' -d 'service_uri=<service_uri>' -d 'name=<name>' -d 'username=<username>' -d 'password=<password>'
Sample JSON Response: {
"id": "1a123456-c0f7-12df-3fbd-12334567e123",
"service": "ftp",
"service_uri": "ftp.limelight.com",
"service_port": "21",
"username": "david",
"name": "CDN",
"account_id": "6cf5da01-c433-417d"
}
squeezesupport@sorensonmedia.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete