List Filedownloads

This API is used to list all file downloads service under this customer.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v1.0/customers/{customerId}/filedownloads
  • Request Method
GET
  • Request Header

Refer to HTTP Request Headers

  • Request Body
No request Body for this API.


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
id int Service ID number.
name string Domain name.
customerId int Customer Id
originUrl string IP or domain name of origin server.
deliveryDomain string CName domain that the domain name has to point to.
active boolean To indicate if service is enabled or disabled. true: Enabled, false: Disabled. Default is true.
originAccountId int FTP Account id.
webDavUrl string Webdav access URL.
deliveryEndpoint string Delivery endpoint uri.
diskUsage int Disk usage in byte unit.
redirectHttpToHttps boolean Whether redirect all plain HTTP requests to https. true: Enabled, false: Disabled. Default is false.
  • Response Body Example
[
    {
        "id": 201,
        "name": "lfdvod1",
        "customerId": 11,
        "originUrl": "1.2.3.4",
        "deliveryDomain": "edge.swiftserve.com",
        "active": true,
        "originAccountId": 123,
        "webDavUrl": "http://ftp.example.swiftserve.com/webdav/lfdvod1/",
        "deliveryEndpoint": "edge.swiftserve.com/customer1/lfdvod1",
        "diskUsage": 0,
        "redirectHttpToHttps":true
    },
    {
        "id": 202,
        "name": "download.website2.com",
        "customerId": 11,
        "originUrl": "1.2.3.5",
        "deliveryDomain": "edge.swiftserve.com",
        "active": false,
        "originAccountId": 124,
        "webDavUrl": "http://ftp.example.swiftserve.com/webdav/download.website2.com/",
        "deliveryEndpoint": "download.website2.com",
        "diskUsage": 0
        "redirectHttpToHttps",true
    }
]
© 2019 Conversant Solutions Pte Ltd. All rights reserved.            Updated 2019-05-23 03:46:25

results matching ""

    No results matching ""