Created
February 12, 2015 14:01
-
-
Save edvm/d52c72a2937cd9415d2f to your computer and use it in GitHub Desktop.
Get configuration from a CDN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GET http://vims-devel.planisys.net/api/services/cdn/config/<ID:CDN> | |
| { | |
| "data": { | |
| "created": "Fri, 23 Jan 2015 17:01:39 GMT", | |
| "hn": {}, | |
| "id": 5, | |
| "json_config": { | |
| "upstream": { | |
| "hosts": [ | |
| { | |
| "name": "google.com", | |
| "port": "", | |
| "status": "active" | |
| } | |
| ], | |
| "name": "edvmupstream" | |
| }, | |
| "virtualhost": { | |
| "add_geoip_header": "", | |
| "canonical_name": "edvm.ninja", | |
| "locations": [], | |
| "name": "edvm", | |
| "port": 80, | |
| "server_aliases": [], | |
| "server_auto": "", | |
| "set_mobile_redirect": "", | |
| "set_wordpress_auth": "" | |
| } | |
| }, | |
| "modified": "Thu, 12 Feb 2015 13:02:17 GMT", | |
| "name": null, | |
| "service": { | |
| "description": "cdn-devel", | |
| "id": 942, | |
| "name": null | |
| }, | |
| "user": {}, | |
| "version": null, | |
| "vm": {} | |
| }, | |
| "message": "inspect found", | |
| "status": "ok" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment