We accelerate websites

15 days free trial Sign up

Media Acceleration Stream to the world

15 days free trial Sign up

Extensive Network Excellent world coverage

Edit CDN Static Push service

URI

https://cdnsun.com/api/cdns/ID

Method

PUT

Curl example

curl -i -X PUT -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns/ID' -d '{"cdn":{"service_domain":"static.mycompany.com","origin_storage_id":2}}'

Options

OptionData TypeDescriptionExampleKnown ValuesNote
IDintegerIndicates the CDN service id.5  
service_domainstringSpecify the domain name for customized CDN URLs.static.mycompany.com  
origin_storage_idintegerSpecify the integer id of the Origin Storage. It is the source of origin content for the CDN service.2  
ssl_onbooleanEnable or disable Shared SSL.falsefalse, trueIf the Service Domain is of the format "ONEWORD.r.worldssl.net" then Shared SSL will be enabled automatically. To enable Shared SSL add ".r.worldssl.net" to the end of the service_domain parameter and set ssl_on parameter to true. To disable Shared SSL remove ".r.worldssl.net" from the end of the service_domain parameter and set ssl_on parameter to false.
cache_expiryintegerFor how long (minutes) should CDN edge servers cache your content.21601, 2, 3, 5, 10, 30, 60, 240, 720, 1440, 2160, 2880, 4320, 5760, 7200, 8640, 10800, 11520, 12960, 14400, 21600, 28800, 36000, 43200 
url_signing_onbooleanProtect your CDN content from unwanted downloads.falsefalse, true 
proxy_cache_keystringSpecify the cache key.$host$urinull, $host$uri 
location_idsarraySpecify the integer id(s) of subscribed CDN Locations.[1, 2]  
 
  ______   _    _    _    _     _____   
 /_   _// | || | || | |  | ||  |  ___|| 
 `-| |,-  | || | || | |/\| ||  | ||__   
   | ||   | \\_/ || |  /\  ||  | ||__   
   |_||    \____//  |_// \_||  |_____|| 
   `-`'     `---`   `-`   `-`  `-----`  
                                        
Europe
  • Amsterdam
  • Athens
  • Baku
  • Bucharest
  • Budapest
  • Copenhagen
  • Dublin
  • Frankfurt
  • Helsingborg
  • Helsinki
  • Istanbul
  • Karlskrona
  • Kharkov
  • Kiev
  • Kungalv
  • Lisbon
  • London
  • Madrid
  • Milan
  • Odessa
  • Oslo
  • Rostov-on-Don
  • Saint Petersburg
  • Samara
  • Stockholm
  • Tel Aviv-Yafo
  • Trondheim
  • Zagreb
America
  • Arlington
  • Atlanta
  • Chicago
  • Dallas
  • Denver
  • Green Bay
  • Los Angeles
  • Miami
  • Montreal
  • New York
  • Phoenix
  • Portland
  • Provo
  • Queretaro
  • Reston
  • Sacramento
  • San Jose
  • Sao Paulo
  • Seattle
  • Toronto
  • Washington
Contact
  • e-mail: info@cdnsun.com
  • skype: cdnsun.com
  • phone: +1 844 300 9206
  • phone: +420 776 256 872
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest