Skip to content

Instantly share code, notes, and snippets.

@brylie
Created November 25, 2015 07:54
Show Gist options
  • Save brylie/491767529e6a6717719b to your computer and use it in GitHub Desktop.
Save brylie/491767529e6a6717719b to your computer and use it in GitHub Desktop.
Example of pending changes response object
{
"config": {
"apis": {
"new": [
{
"mode": "new",
"active": null,
"pending": {
"_id": "33726523-a027-4911-b8e6-2011e370ed73",
"version": 1,
"name": "google maps",
"backend_protocol": "https",
"backend_host": "api.google.ocm",
"frontend_host": "google.com",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 5,
"updated_at": "2015-09-21T07:10:52Z",
"created_at": "2015-09-21T07:10:52Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "5b7bd323-bfeb-4f47-914f-e125d445aca6"
},
"servers": [
{
"host": "maps.google.com",
"port": 80,
"_id": "1cc699d9-479e-4e22-92d5-10ca8e63bfa2"
}
],
"url_matches": [
{
"frontend_prefix": "/get",
"backend_prefix": "/receive",
"_id": "e1e18820-5248-482c-97af-48aa379fc6fc"
}
]
},
"id": "33726523-a027-4911-b8e6-2011e370ed73",
"name": "google maps",
"active_yaml": "",
"pending_yaml": "backend_host: api.google.ocm\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: google.com\nname: google maps\nservers:\n- host: maps.google.com\n port: 80\nsettings: {}\nsort_order: 5\nurl_matches:\n- backend_prefix: \"/receive\"\n frontend_prefix: \"/get\"\n"
},
{
"mode": "new",
"active": null,
"pending": {
"_id": "89c42e78-623c-4fac-bf16-26715ee19aaf",
"version": 1,
"name": "EasyPost",
"backend_protocol": "https",
"frontend_host": "umbrella.apinf.io",
"backend_host": "api.easypost.com",
"balance_algorithm": "least_conn",
"updated_by": "bfffc648-50b4-477a-bb64-8b8c490f285b",
"sort_order": 6,
"updated_at": "2015-10-28T09:58:44Z",
"created_at": "2015-10-28T09:58:44Z",
"created_by": "bfffc648-50b4-477a-bb64-8b8c490f285b",
"settings": {
"_id": "94e28237-2fb4-40c5-a8b4-264f92a06fb1"
},
"servers": [
{
"host": "api.easypost.com",
"port": 80,
"_id": "fbeec395-d930-4ffd-8645-9dc5e4c7254c"
}
],
"url_matches": [
{
"frontend_prefix": "/easypost_address",
"backend_prefix": "/v2/addresses",
"_id": "2f88074f-b2d8-477f-86f3-e10ef771308f"
}
]
},
"id": "89c42e78-623c-4fac-bf16-26715ee19aaf",
"name": "EasyPost",
"active_yaml": "",
"pending_yaml": "backend_host: api.easypost.com\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: EasyPost\nservers:\n- host: api.easypost.com\n port: 80\nsettings: {}\nsort_order: 6\nurl_matches:\n- backend_prefix: \"/v2/addresses\"\n frontend_prefix: \"/easypost_address\"\n"
},
{
"mode": "new",
"active": null,
"pending": {
"_id": "ccf6c007-728e-44b3-ab78-d7a2f99fe34a",
"version": 1,
"name": "API",
"backend_protocol": "https",
"backend_host": "aipnf.io",
"frontend_host": "apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "5052c12f-d542-4503-89a4-cf24c3c20aff",
"sort_order": 10,
"updated_at": "2015-11-24T13:01:02Z",
"created_at": "2015-11-24T13:01:02Z",
"created_by": "5052c12f-d542-4503-89a4-cf24c3c20aff",
"settings": {
"_id": "c58e165e-7bcc-49a1-967c-34e100cd61c9",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "0c44ccc7-a422-4172-a77f-7cb113b40a96"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "54dca237-4c1c-49cb-9d40-27a6b938ee72"
}
]
},
"servers": [
{
"host": "apinf.io",
"port": 443,
"_id": "f99a0b7d-0c2d-4d8f-a3f7-052dacd2e641"
}
],
"url_matches": [
{
"frontend_prefix": "/v2",
"backend_prefix": "/v2",
"_id": "333145af-0d49-4144-b864-8b6839303895"
}
]
},
"id": "ccf6c007-728e-44b3-ab78-d7a2f99fe34a",
"name": "API",
"active_yaml": "",
"pending_yaml": "backend_host: aipnf.io\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: apinf.io\nname: API\nservers:\n- host: apinf.io\n port: 443\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 10\nurl_matches:\n- backend_prefix: \"/v2\"\n frontend_prefix: \"/v2\"\n"
}
],
"modified": [
{
"mode": "modified",
"active": {
"_id": "9ee1c1e6-a6ea-47a8-a7db-546a8d9bbf59",
"version": 2,
"name": "Google Search",
"backend_protocol": "https",
"backend_host": "google.com",
"frontend_host": "apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"sort_order": 2,
"updated_at": "2015-09-08T12:10:55Z",
"created_at": "2015-08-11T11:43:12Z",
"created_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"settings": {
"_id": "773cf4f6-cf75-4acc-a275-df66be3aec54",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "google.com",
"port": 80,
"_id": "1086c674-c556-4aaa-bd37-fd3720d548e1"
}
],
"url_matches": [
{
"frontend_prefix": "/",
"backend_prefix": "/",
"_id": "ddecc7e5-d942-4c5d-bc54-93230d18e410"
},
{
"frontend_prefix": "/google-search/",
"backend_prefix": "/",
"_id": "6db17817-f536-46f7-892c-8d3642673a21"
}
]
},
"pending": {
"_id": "9ee1c1e6-a6ea-47a8-a7db-546a8d9bbf59",
"version": 4,
"name": "Google Search",
"backend_protocol": "https",
"backend_host": "google.com",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"sort_order": 1,
"updated_at": "2015-09-17T09:06:37Z",
"created_at": "2015-08-11T11:43:12Z",
"created_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"settings": {
"_id": "773cf4f6-cf75-4acc-a275-df66be3aec54",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "google.com",
"port": 80,
"_id": "1086c674-c556-4aaa-bd37-fd3720d548e1"
}
],
"url_matches": [
{
"frontend_prefix": "/google-search/",
"backend_prefix": "/",
"_id": "6db17817-f536-46f7-892c-8d3642673a21"
}
]
},
"id": "9ee1c1e6-a6ea-47a8-a7db-546a8d9bbf59",
"name": "Google Search",
"active_yaml": "backend_host: google.com\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: apinf.io\nname: Google Search\nservers:\n- host: google.com\n port: 80\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 2\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/\"\n- backend_prefix: \"/\"\n frontend_prefix: \"/google-search/\"\n",
"pending_yaml": "backend_host: google.com\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Google Search\nservers:\n- host: google.com\n port: 80\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 1\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/google-search/\"\n"
},
{
"mode": "modified",
"active": {
"_id": "3ff10e77-4864-4d72-91f3-c9a266413acd",
"version": 6,
"name": "Data.gov",
"sort_order": 3,
"backend_protocol": "http",
"frontend_host": "localhost",
"backend_host": "api.data.gov",
"balance_algorithm": "least_conn",
"updated_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"updated_at": "2015-09-08T12:13:31Z",
"created_at": "2015-08-12T09:28:57Z",
"created_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"settings": {
"require_https": null,
"disable_api_key": true,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "b125c137-1c71-4428-a278-3ca34331ad45",
"anonymous_rate_limit_behavior": "ip_fallback",
"authenticated_rate_limit_behavior": "all"
},
"servers": [
{
"host": "api.data.gov",
"port": 80,
"_id": "7d468b46-4f49-432e-a4a4-a916988dbdf1"
}
],
"url_matches": [
{
"frontend_prefix": "/datagov/",
"backend_prefix": "/",
"_id": "525f5424-2160-414b-908f-70bbadf797ce"
}
]
},
"pending": {
"_id": "3ff10e77-4864-4d72-91f3-c9a266413acd",
"version": 7,
"name": "Data.gov",
"sort_order": 1,
"backend_protocol": "http",
"frontend_host": "umbrella.apinf.io",
"backend_host": "api.data.gov",
"balance_algorithm": "least_conn",
"updated_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"updated_at": "2015-09-17T09:05:39Z",
"created_at": "2015-08-12T09:28:57Z",
"created_by": "c90e2b6c-bfaa-484b-bd19-a54f16df2060",
"settings": {
"require_https": null,
"disable_api_key": true,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "b125c137-1c71-4428-a278-3ca34331ad45",
"anonymous_rate_limit_behavior": "ip_fallback",
"authenticated_rate_limit_behavior": "all"
},
"servers": [
{
"host": "api.data.gov",
"port": 80,
"_id": "7d468b46-4f49-432e-a4a4-a916988dbdf1"
}
],
"url_matches": [
{
"frontend_prefix": "/datagov/",
"backend_prefix": "/",
"_id": "525f5424-2160-414b-908f-70bbadf797ce"
}
]
},
"id": "3ff10e77-4864-4d72-91f3-c9a266413acd",
"name": "Data.gov",
"active_yaml": "backend_host: api.data.gov\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: localhost\nname: Data.gov\nservers:\n- host: api.data.gov\n port: 80\nsettings:\n anonymous_rate_limit_behavior: ip_fallback\n authenticated_rate_limit_behavior: all\n disable_api_key: true\n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 3\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/datagov/\"\n",
"pending_yaml": "backend_host: api.data.gov\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Data.gov\nservers:\n- host: api.data.gov\n port: 80\nsettings:\n anonymous_rate_limit_behavior: ip_fallback\n authenticated_rate_limit_behavior: all\n disable_api_key: true\n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 1\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/datagov/\"\n"
},
{
"mode": "modified",
"active": {
"_id": "59429f2f-40bd-4d9c-8a84-c49ba7af8cf2",
"version": 4,
"name": "Google Geocoding APIs",
"sort_order": 6,
"backend_protocol": "http",
"frontend_host": "umbrella.apinf.io",
"backend_host": "maps.googleapis.com",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"updated_at": "2015-09-11T14:27:14Z",
"created_at": "2015-09-08T11:09:09Z",
"created_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"settings": {
"require_https": null,
"disable_api_key": null,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "3c51073e-341f-41ec-9b30-092cfee9f335"
},
"servers": [
{
"host": "maps.googleapis.com",
"port": 80,
"_id": "9fbbba61-6a79-4877-923f-3ab63b532fba"
}
],
"url_matches": [
{
"frontend_prefix": "/google/",
"backend_prefix": "/",
"_id": "4bc045ca-faf8-42d3-90a5-965087d1b6a2"
}
]
},
"pending": {
"_id": "59429f2f-40bd-4d9c-8a84-c49ba7af8cf2",
"version": 4,
"name": "Google Geocoding APIs",
"sort_order": 2,
"backend_protocol": "http",
"frontend_host": "umbrella.apinf.io",
"backend_host": "maps.googleapis.com",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"updated_at": "2015-09-11T14:27:14Z",
"created_at": "2015-09-08T11:09:09Z",
"created_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"settings": {
"require_https": null,
"disable_api_key": null,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "3c51073e-341f-41ec-9b30-092cfee9f335"
},
"servers": [
{
"host": "maps.googleapis.com",
"port": 80,
"_id": "9fbbba61-6a79-4877-923f-3ab63b532fba"
}
],
"url_matches": [
{
"frontend_prefix": "/google/",
"backend_prefix": "/",
"_id": "4bc045ca-faf8-42d3-90a5-965087d1b6a2"
}
]
},
"id": "59429f2f-40bd-4d9c-8a84-c49ba7af8cf2",
"name": "Google Geocoding APIs",
"active_yaml": "backend_host: maps.googleapis.com\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Google Geocoding APIs\nservers:\n- host: maps.googleapis.com\n port: 80\nsettings:\n disable_api_key: \n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 6\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/google/\"\n",
"pending_yaml": "backend_host: maps.googleapis.com\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Google Geocoding APIs\nservers:\n- host: maps.googleapis.com\n port: 80\nsettings:\n disable_api_key: \n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 2\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/google/\"\n"
},
{
"mode": "modified",
"active": {
"_id": "61cd9922-fb51-4b2d-adce-c73e2c87a6b2",
"version": 3,
"name": "Teosto API",
"sort_order": 8,
"backend_protocol": "http",
"frontend_host": "umbrella.apinf.io",
"backend_host": "api.teosto.fi",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"updated_at": "2015-09-12T08:04:09Z",
"created_at": "2015-09-12T08:00:44Z",
"created_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"settings": {
"require_https": null,
"disable_api_key": null,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "4dfa2d4e-6a8c-42a4-ae7b-bcbffb0409d8"
},
"servers": [
{
"host": "api.teosto.fi",
"port": 80,
"_id": "76a129d0-83a1-4c60-9442-15f891b93c17"
}
],
"url_matches": [
{
"frontend_prefix": "/teosto/",
"backend_prefix": "/2014/",
"_id": "365049a0-ba70-4466-a481-184a125db975"
},
{
"frontend_prefix": "/teosto-event/",
"backend_prefix": "/2014/event",
"_id": "6b300184-e498-4f90-9f06-15087d31c8cf"
}
]
},
"pending": {
"_id": "61cd9922-fb51-4b2d-adce-c73e2c87a6b2",
"version": 3,
"name": "Teosto API",
"sort_order": 3,
"backend_protocol": "http",
"frontend_host": "umbrella.apinf.io",
"backend_host": "api.teosto.fi",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"updated_at": "2015-09-12T08:04:09Z",
"created_at": "2015-09-12T08:00:44Z",
"created_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"settings": {
"require_https": null,
"disable_api_key": null,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "4dfa2d4e-6a8c-42a4-ae7b-bcbffb0409d8"
},
"servers": [
{
"host": "api.teosto.fi",
"port": 80,
"_id": "76a129d0-83a1-4c60-9442-15f891b93c17"
}
],
"url_matches": [
{
"frontend_prefix": "/teosto/",
"backend_prefix": "/2014/",
"_id": "365049a0-ba70-4466-a481-184a125db975"
},
{
"frontend_prefix": "/teosto-event/",
"backend_prefix": "/2014/event",
"_id": "6b300184-e498-4f90-9f06-15087d31c8cf"
}
]
},
"id": "61cd9922-fb51-4b2d-adce-c73e2c87a6b2",
"name": "Teosto API",
"active_yaml": "backend_host: api.teosto.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Teosto API\nservers:\n- host: api.teosto.fi\n port: 80\nsettings:\n disable_api_key: \n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 8\nurl_matches:\n- backend_prefix: \"/2014/\"\n frontend_prefix: \"/teosto/\"\n- backend_prefix: \"/2014/event\"\n frontend_prefix: \"/teosto-event/\"\n",
"pending_yaml": "backend_host: api.teosto.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Teosto API\nservers:\n- host: api.teosto.fi\n port: 80\nsettings:\n disable_api_key: \n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 3\nurl_matches:\n- backend_prefix: \"/2014/\"\n frontend_prefix: \"/teosto/\"\n- backend_prefix: \"/2014/event\"\n frontend_prefix: \"/teosto-event/\"\n"
},
{
"mode": "modified",
"active": {
"_id": "7076d7a1-d507-4bc9-9678-25d460d839e3",
"version": 3,
"name": "HSLAPI",
"backend_protocol": "http",
"backend_host": "dev.hsl.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"sort_order": 10,
"updated_at": "2015-09-12T09:18:57Z",
"created_at": "2015-09-12T09:14:59Z",
"created_by": "a23e4c6c-0cb8-4398-a88b-8c7a33dd699f",
"settings": {
"_id": "5c008ca6-fe04-4fe0-90c3-290888b1463c",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "dev.hsl.fi",
"port": 80,
"_id": "be58cd9b-7a28-44a0-8e90-4990d4901ea8"
}
],
"url_matches": [
{
"frontend_prefix": "/hslapi/",
"backend_prefix": "/",
"_id": "fce923d0-ce41-4c61-96cd-3baa62fef6f2"
},
{
"frontend_prefix": "/hsl/",
"backend_prefix": "/siriaccess/",
"_id": "8f2a4510-8a30-4a7e-9b6b-2514bc37ad6a"
}
]
},
"pending": {
"_id": "7076d7a1-d507-4bc9-9678-25d460d839e3",
"version": 3,
"name": "HSLAPI",
"backend_protocol": "http",
"backend_host": "dev.hsl.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"sort_order": 4,
"updated_at": "2015-09-12T09:18:57Z",
"created_at": "2015-09-12T09:14:59Z",
"created_by": "a23e4c6c-0cb8-4398-a88b-8c7a33dd699f",
"settings": {
"_id": "5c008ca6-fe04-4fe0-90c3-290888b1463c",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "dev.hsl.fi",
"port": 80,
"_id": "be58cd9b-7a28-44a0-8e90-4990d4901ea8"
}
],
"url_matches": [
{
"frontend_prefix": "/hslapi/",
"backend_prefix": "/",
"_id": "fce923d0-ce41-4c61-96cd-3baa62fef6f2"
},
{
"frontend_prefix": "/hsl/",
"backend_prefix": "/siriaccess/",
"_id": "8f2a4510-8a30-4a7e-9b6b-2514bc37ad6a"
}
]
},
"id": "7076d7a1-d507-4bc9-9678-25d460d839e3",
"name": "HSLAPI",
"active_yaml": "backend_host: dev.hsl.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: HSLAPI\nservers:\n- host: dev.hsl.fi\n port: 80\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 10\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/hslapi/\"\n- backend_prefix: \"/siriaccess/\"\n frontend_prefix: \"/hsl/\"\n",
"pending_yaml": "backend_host: dev.hsl.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: HSLAPI\nservers:\n- host: dev.hsl.fi\n port: 80\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 4\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/hslapi/\"\n- backend_prefix: \"/siriaccess/\"\n frontend_prefix: \"/hsl/\"\n"
},
{
"mode": "modified",
"active": {
"_id": "6ea9f6f4-f81d-4543-bef0-91e223194c1b",
"version": 1,
"name": "LentodiilitDemo",
"backend_protocol": "http",
"backend_host": "apisuomi.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 35,
"updated_at": "2015-11-24T11:47:52Z",
"created_at": "2015-11-24T11:47:52Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "0c378950-6d6b-4881-9486-86f896e6c80a",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "576171db-ff69-4a6a-bce4-9e8e9fc13824"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "badf5e98-1926-46ab-865d-c01ec515b2a8"
}
]
},
"servers": [
{
"host": "apisuomi.fi",
"port": 80,
"_id": "083e7704-a4dd-4977-8a6a-f08a453918c8"
}
],
"url_matches": [
{
"frontend_prefix": "/lentodiilitDemo",
"backend_prefix": "/apis/lentodiilit/api/deals",
"_id": "09c6adf4-62be-4b8a-b61d-c9eaa92f3175"
}
]
},
"pending": {
"_id": "6ea9f6f4-f81d-4543-bef0-91e223194c1b",
"version": 1,
"name": "LentodiilitDemo",
"backend_protocol": "http",
"backend_host": "apisuomi.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 7,
"updated_at": "2015-11-24T11:47:52Z",
"created_at": "2015-11-24T11:47:52Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "0c378950-6d6b-4881-9486-86f896e6c80a",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "576171db-ff69-4a6a-bce4-9e8e9fc13824"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "badf5e98-1926-46ab-865d-c01ec515b2a8"
}
]
},
"servers": [
{
"host": "apisuomi.fi",
"port": 80,
"_id": "083e7704-a4dd-4977-8a6a-f08a453918c8"
}
],
"url_matches": [
{
"frontend_prefix": "/lentodiilitDemo",
"backend_prefix": "/apis/lentodiilit/api/deals",
"_id": "09c6adf4-62be-4b8a-b61d-c9eaa92f3175"
}
]
},
"id": "6ea9f6f4-f81d-4543-bef0-91e223194c1b",
"name": "LentodiilitDemo",
"active_yaml": "backend_host: apisuomi.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: LentodiilitDemo\nservers:\n- host: apisuomi.fi\n port: 80\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 35\nurl_matches:\n- backend_prefix: \"/apis/lentodiilit/api/deals\"\n frontend_prefix: \"/lentodiilitDemo\"\n",
"pending_yaml": "backend_host: apisuomi.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: LentodiilitDemo\nservers:\n- host: apisuomi.fi\n port: 80\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 7\nurl_matches:\n- backend_prefix: \"/apis/lentodiilit/api/deals\"\n frontend_prefix: \"/lentodiilitDemo\"\n"
},
{
"mode": "modified",
"active": {
"_id": "82c17dcc-5d7e-4b07-b4f9-de78dcc99baf",
"version": 1,
"name": "Lentodiilit demo 2",
"backend_protocol": "http",
"backend_host": "apisuomi.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 36,
"updated_at": "2015-11-24T12:09:57Z",
"created_at": "2015-11-24T12:09:57Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "d02b5073-e82c-4327-a842-91eee21e507f",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "90a0e0d6-76c4-4d7a-b612-517d669e2157"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "cee35537-a978-4c59-abdb-f104e199f276"
}
]
},
"servers": [
{
"host": "apisuomi.fi",
"port": 80,
"_id": "8f7ae2f7-baa7-46c1-8611-8fe62495ff91"
}
],
"url_matches": [
{
"frontend_prefix": "/lentodiilitdemo2",
"backend_prefix": "/apis/lentodiilit/api/deals",
"_id": "d58ad8da-fc56-43c1-bea4-9b484f2470a3"
}
]
},
"pending": {
"_id": "82c17dcc-5d7e-4b07-b4f9-de78dcc99baf",
"version": 1,
"name": "Lentodiilit demo 2",
"backend_protocol": "http",
"backend_host": "apisuomi.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 8,
"updated_at": "2015-11-24T12:09:57Z",
"created_at": "2015-11-24T12:09:57Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "d02b5073-e82c-4327-a842-91eee21e507f",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "90a0e0d6-76c4-4d7a-b612-517d669e2157"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "cee35537-a978-4c59-abdb-f104e199f276"
}
]
},
"servers": [
{
"host": "apisuomi.fi",
"port": 80,
"_id": "8f7ae2f7-baa7-46c1-8611-8fe62495ff91"
}
],
"url_matches": [
{
"frontend_prefix": "/lentodiilitdemo2",
"backend_prefix": "/apis/lentodiilit/api/deals",
"_id": "d58ad8da-fc56-43c1-bea4-9b484f2470a3"
}
]
},
"id": "82c17dcc-5d7e-4b07-b4f9-de78dcc99baf",
"name": "Lentodiilit demo 2",
"active_yaml": "backend_host: apisuomi.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Lentodiilit demo 2\nservers:\n- host: apisuomi.fi\n port: 80\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 36\nurl_matches:\n- backend_prefix: \"/apis/lentodiilit/api/deals\"\n frontend_prefix: \"/lentodiilitdemo2\"\n",
"pending_yaml": "backend_host: apisuomi.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Lentodiilit demo 2\nservers:\n- host: apisuomi.fi\n port: 80\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 8\nurl_matches:\n- backend_prefix: \"/apis/lentodiilit/api/deals\"\n frontend_prefix: \"/lentodiilitdemo2\"\n"
}
],
"deleted": [
{
"mode": "deleted",
"active": {
"_id": "4a9b306e-2031-402c-bd5e-be029f4fe181",
"version": 1,
"name": "yandex",
"backend_protocol": "https",
"backend_host": "my.yandex.ru",
"frontend_host": "yandex.ru",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 4,
"updated_at": "2015-08-28T04:26:35Z",
"created_at": "2015-08-28T04:26:35Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "562e85ac-9378-45a3-9663-faa471a786a5"
},
"servers": [
{
"host": "yandex.ru",
"port": 80,
"_id": "7601d3e7-8ec6-471f-aa71-d0012f3cf3a6"
}
],
"url_matches": [
{
"frontend_prefix": "/me",
"backend_prefix": "/us",
"_id": "b9260c39-4411-4de4-9ed3-b7b4149c44aa"
}
]
},
"pending": null,
"id": "4a9b306e-2031-402c-bd5e-be029f4fe181",
"name": "yandex",
"active_yaml": "backend_host: my.yandex.ru\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: yandex.ru\nname: yandex\nservers:\n- host: yandex.ru\n port: 80\nsettings: {}\nsort_order: 4\nurl_matches:\n- backend_prefix: \"/us\"\n frontend_prefix: \"/me\"\n",
"pending_yaml": ""
},
{
"mode": "deleted",
"active": {
"_id": "29f73169-0c12-40b0-876f-401e822d5aa0",
"version": 3,
"name": "Google Geocoding APIs (Testing)",
"backend_protocol": "http",
"backend_host": "maps.googleapis.com",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"sort_order": 5,
"updated_at": "2015-09-08T11:02:23Z",
"created_at": "2015-09-08T05:19:57Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "05b75680-5c63-40ce-9bec-263f325ec48a",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "maps.googleapis.com",
"port": 80,
"_id": "9c782d68-bdcb-4a74-87da-9d8cb8f4a5be"
}
],
"url_matches": [
{
"frontend_prefix": "/g/",
"backend_prefix": "/",
"_id": "1e36f7f7-4f8d-4c19-8612-0d0e9c546416"
}
]
},
"pending": null,
"id": "29f73169-0c12-40b0-876f-401e822d5aa0",
"name": "Google Geocoding APIs (Testing)",
"active_yaml": "backend_host: maps.googleapis.com\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Google Geocoding APIs (Testing)\nservers:\n- host: maps.googleapis.com\n port: 80\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 5\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/g/\"\n",
"pending_yaml": ""
},
{
"mode": "deleted",
"active": {
"_id": "94a0c2b7-b410-4ca9-8eab-d5be997d6e04",
"version": 3,
"name": "googleapi",
"backend_protocol": "http",
"backend_host": "maps.googleapis.com",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"sort_order": 9,
"updated_at": "2015-09-12T09:09:32Z",
"created_at": "2015-09-12T09:03:22Z",
"created_by": "f2e204a4-fa97-4ce2-aa9e-cd5d83ddaecf",
"settings": {
"_id": "92fb3606-785a-4cbe-9b26-948e0597d3f6",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "maps.googleapis.com",
"port": 80,
"_id": "125f281d-fef2-4a66-95d8-ea3e591b7a93"
}
],
"url_matches": [
{
"frontend_prefix": "/googleapi/",
"backend_prefix": "/",
"_id": "0bda11a4-47ee-4922-b885-079ed0cfae9e"
}
]
},
"pending": null,
"id": "94a0c2b7-b410-4ca9-8eab-d5be997d6e04",
"name": "googleapi",
"active_yaml": "backend_host: maps.googleapis.com\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: googleapi\nservers:\n- host: maps.googleapis.com\n port: 80\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 9\nurl_matches:\n- backend_prefix: \"/\"\n frontend_prefix: \"/googleapi/\"\n",
"pending_yaml": ""
},
{
"mode": "deleted",
"active": {
"_id": "a190f1c9-3c66-4297-aa11-de2590bc0e5e",
"version": 1,
"name": "Vesa testing weather SOAP api",
"sort_order": 20,
"backend_protocol": "http",
"frontend_host": "umbrella.apinf.io",
"backend_host": "webservicex.net",
"balance_algorithm": "least_conn",
"updated_by": "7798392d-d59c-4c69-8f82-6954586aad57",
"updated_at": "2015-11-04T08:58:17Z",
"created_at": "2015-11-04T08:58:17Z",
"created_by": "7798392d-d59c-4c69-8f82-6954586aad57",
"settings": {
"require_https": null,
"disable_api_key": null,
"rate_limit_mode": null,
"error_templates": {},
"error_data": {},
"_id": "69e2c25d-ce4e-4406-adc7-ae660021fbea"
},
"servers": [
{
"host": "webservicex.net",
"port": 80,
"_id": "d26f7ea9-ef04-43da-a883-bad2a6b4daf0"
}
],
"url_matches": [
{
"frontend_prefix": "/Vesaglobalweathertest/",
"backend_prefix": "/globalweather.asmx/",
"_id": "842ed29b-b11e-432b-ace5-349f94233ad2"
}
]
},
"pending": null,
"id": "a190f1c9-3c66-4297-aa11-de2590bc0e5e",
"name": "Vesa testing weather SOAP api",
"active_yaml": "backend_host: webservicex.net\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Vesa testing weather SOAP api\nservers:\n- host: webservicex.net\n port: 80\nsettings:\n disable_api_key: \n error_data: {}\n error_templates: {}\n rate_limit_mode: \n require_https: \nsort_order: 20\nurl_matches:\n- backend_prefix: \"/globalweather.asmx/\"\n frontend_prefix: \"/Vesaglobalweathertest/\"\n",
"pending_yaml": ""
}
],
"identical": [
{
"mode": "identical",
"active": {
"_id": "2174c11a-0fe6-495f-a85a-ff1f36d3fee3",
"version": 2,
"name": "Qtipme Staging API (Example API)",
"backend_protocol": "https",
"frontend_host": "umbrella.apinf.io",
"backend_host": "api.wow-q.com",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"sort_order": 1,
"updated_at": "2015-09-08T11:03:16Z",
"created_at": "2015-08-05T14:07:02Z",
"created_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"settings": {
"_id": "373f2672-ba14-4b22-8585-8112c71d1f34",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "api.wow-q.com",
"port": 443,
"_id": "ad6217d5-6ce5-434b-8e7f-f1c95cc869c9"
}
],
"url_matches": [
{
"frontend_prefix": "/qtipme/",
"backend_prefix": "/api/",
"_id": "32edcd89-cbe5-41ed-90f3-0303291fcb8d"
}
]
},
"pending": {
"_id": "2174c11a-0fe6-495f-a85a-ff1f36d3fee3",
"version": 2,
"name": "Qtipme Staging API (Example API)",
"backend_protocol": "https",
"frontend_host": "umbrella.apinf.io",
"backend_host": "api.wow-q.com",
"balance_algorithm": "least_conn",
"updated_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"sort_order": 1,
"updated_at": "2015-09-08T11:03:16Z",
"created_at": "2015-08-05T14:07:02Z",
"created_by": "85244dad-67a3-4d1a-bb3d-147e11cf6144",
"settings": {
"_id": "373f2672-ba14-4b22-8585-8112c71d1f34",
"error_templates": {},
"error_data": {}
},
"servers": [
{
"host": "api.wow-q.com",
"port": 443,
"_id": "ad6217d5-6ce5-434b-8e7f-f1c95cc869c9"
}
],
"url_matches": [
{
"frontend_prefix": "/qtipme/",
"backend_prefix": "/api/",
"_id": "32edcd89-cbe5-41ed-90f3-0303291fcb8d"
}
]
},
"id": "2174c11a-0fe6-495f-a85a-ff1f36d3fee3",
"name": "Qtipme Staging API (Example API)",
"active_yaml": "backend_host: api.wow-q.com\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Qtipme Staging API (Example API)\nservers:\n- host: api.wow-q.com\n port: 443\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 1\nurl_matches:\n- backend_prefix: \"/api/\"\n frontend_prefix: \"/qtipme/\"\n",
"pending_yaml": "backend_host: api.wow-q.com\nbackend_protocol: https\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: Qtipme Staging API (Example API)\nservers:\n- host: api.wow-q.com\n port: 443\nsettings:\n error_data: {}\n error_templates: {}\nsort_order: 1\nurl_matches:\n- backend_prefix: \"/api/\"\n frontend_prefix: \"/qtipme/\"\n"
},
{
"mode": "identical",
"active": {
"_id": "87d66771-2d15-4f2f-86fd-16b1bc03ce15",
"version": 1,
"name": "lentodiilit demo6",
"backend_protocol": "http",
"backend_host": "apisuomi.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 9,
"updated_at": "2015-11-24T12:55:15Z",
"created_at": "2015-11-24T12:55:15Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "f82500a2-1060-422b-bddb-a5516a68062d",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "284707f8-fc6e-4146-a045-aa0911f3eeaa"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "18ad2227-c103-4fc7-9007-768ee4de8551"
}
]
},
"servers": [
{
"host": "apisuomi.fi",
"port": 80,
"_id": "6876a33a-b3cd-4603-9777-da97b7fd4dea"
}
],
"url_matches": [
{
"frontend_prefix": "/lentodiilitdemo6",
"backend_prefix": "/apis/lentodiilit/api/deals",
"_id": "1488d2ee-799d-447d-ac15-34e3c27fccf7"
}
]
},
"pending": {
"_id": "87d66771-2d15-4f2f-86fd-16b1bc03ce15",
"version": 1,
"name": "lentodiilit demo6",
"backend_protocol": "http",
"backend_host": "apisuomi.fi",
"frontend_host": "umbrella.apinf.io",
"balance_algorithm": "least_conn",
"updated_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"sort_order": 9,
"updated_at": "2015-11-24T12:55:15Z",
"created_at": "2015-11-24T12:55:15Z",
"created_by": "29be177c-865b-4dcb-ad2e-49670d7a19ec",
"settings": {
"_id": "f82500a2-1060-422b-bddb-a5516a68062d",
"default_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "284707f8-fc6e-4146-a045-aa0911f3eeaa"
}
],
"override_response_headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*",
"_id": "18ad2227-c103-4fc7-9007-768ee4de8551"
}
]
},
"servers": [
{
"host": "apisuomi.fi",
"port": 80,
"_id": "6876a33a-b3cd-4603-9777-da97b7fd4dea"
}
],
"url_matches": [
{
"frontend_prefix": "/lentodiilitdemo6",
"backend_prefix": "/apis/lentodiilit/api/deals",
"_id": "1488d2ee-799d-447d-ac15-34e3c27fccf7"
}
]
},
"id": "87d66771-2d15-4f2f-86fd-16b1bc03ce15",
"name": "lentodiilit demo6",
"active_yaml": "backend_host: apisuomi.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: lentodiilit demo6\nservers:\n- host: apisuomi.fi\n port: 80\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 9\nurl_matches:\n- backend_prefix: \"/apis/lentodiilit/api/deals\"\n frontend_prefix: \"/lentodiilitdemo6\"\n",
"pending_yaml": "backend_host: apisuomi.fi\nbackend_protocol: http\nbalance_algorithm: least_conn\nfrontend_host: umbrella.apinf.io\nname: lentodiilit demo6\nservers:\n- host: apisuomi.fi\n port: 80\nsettings:\n default_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\n override_response_headers:\n - key: Access-Control-Allow-Origin\n value: \"*\"\nsort_order: 9\nurl_matches:\n- backend_prefix: \"/apis/lentodiilit/api/deals\"\n frontend_prefix: \"/lentodiilitdemo6\"\n"
}
]
},
"website_backends": {
"new": [],
"modified": [],
"deleted": [],
"identical": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment