Multi-user API gateway with self service portal: http://www.myapigateway.com
1.5K
Get a free account on the Free Tier at: http://www.myapigateway.com
Multi-user lightweight API Gateway with a self service portal: http://www.myapigateway.com
Copyright (C) 2016 Ulbora Labs LLC. (www.ulboralabs.com) All rights reserved.
Copyright (C) 2016 Ken Williamson All rights reserved.
Certain inventions and disclosures in this file may be claimed within patents owned or patent applications filed by Ulbora Labs LLC., or third parties.
User Admin Portal: https://github.com/Ulbora/ApiGatewayUserPortal.git
The User Admin Portal allows you to make any route URL the active production route with the click of a switch. Using Non-Prod routes allows you to test services before placing them in production.
POST:
URL: http://localhost:3011/rs/gwClient/add
Example Request
{
"clientId":4,
"apiKey":"112233",
"enabled":true,
"level":"small"
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwClient/update
Example Request
{
"clientId":4,
"apiKey":"55555",
"enabled":true,
"level":"small"
}
Example Response
{
"success": true,
"id": 11
}
GET:
URL: http://localhost:3011/rs/gwClient/get/4
Example Response
{
"clientId":4,
"apiKey":"55555",
"enabled":true,
"level":"small"
}
GET:
URL: http://localhost:3011/rs/gwClient/list
Example Response
[
{
"clientId":4,
"apiKey":"555525",
"enabled":true,
"level":"small"
},
{
"clientId":5,
"apiKey":"5553355",
"enabled":true,
"level":"small"
},
{
"clientId":6,
"apiKey":"5555445",
"enabled":true,
"level":"small"
}
]
DELETE:
URL: http://localhost:3011/rs/gwClient/delete/1
Example Response
{
"success": true,
"id": 1
}
POST:
URL: http://localhost:3011/rs/gwRestRouteSuper/add
Example Request
{
"clientId":4,
"route":"mail"
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwRestRouteSuper/update
Example Request
{
"id": 84,
"clientId":4,
"route":"mailChimp"
}
Example Response
{
"success": true,
"id": 84
}
GET:
URL: http://localhost:3011/rs/gwRestRouteSuper/get/84/4
Example Response
{
"id": 84,
"clientId":4,
"route":"mail"
}
GET:
URL: http://localhost:3011/rs/gwRestRouteSuper/list/4
Example Response
[
{
"id": 84,
"clientId":4,
"route":"mail"
},
{
"id": 85,
"clientId":4,
"route":"content"
},
{
"id": 86,
"clientId":4,
"route":"products"
}
]
DELETE:
URL: http://localhost:3011/rs/gwRestRouteSuper/delete/85/4
Example Response
{
"success": true,
"id": 85
}
POST:
URL: http://localhost:3011/rs/gwRouteUrlSuper/add
Example Request
{
"routeId":87,
"clientId": 403,
"name": "testMail",
"url": "google.com/test1"
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwRouteUrlSuper/update
Example Request
{
"id": 188,
"routeId":87,
"clientId": 403,
"name": "testMailGreen",
"url": "google.com/test1"
}
Example Response
{
"success": true,
"id": 188
}
PUT:
URL: http://localhost:3011/rs/gwRouteUrlSuper/activate
Example Request
{
"id": 188,
"routeId":87,
"clientId": 403
}
Example Response
{
"success": true,
"id": 188
}
GET:
URL: http://localhost:3011/rs/gwRouteUrlSuper/get/188/87/403
Example Response
{
"id": 188,
"routeId":87,
"clientId": 403,
"name": "testMailGreen",
"url": "google.com/test1"
}
GET:
URL: http://localhost:3011/rs/gwRouteUrlSuper/list/87/403
Example Response
[
{
"id": 188,
"name": "testMailGreen",
"url": "google.com/test1",
"active": true,
"routeId": 87,
"clientId": 403
},
{
"id": 189,
"name": "testMail",
"url": "google.com/test1",
"active": false,
"routeId": 87,
"clientId": 403
}
]
DELETE:
URL: http://localhost:3011/rs/gwRouteUrlSuper/delete/190/87/403
Example Response
{
"success": true,
"id": 190
}
POST:
URL: http://localhost:3011/rs/gwBreakerSuper/add
Example Request
{
"failureThreshold":3,
"healthCheckTimeSeconds":60,
"failoverRouteName":"red",
"openFailCode":501,
"routeId":22,
"routeUriId":33,
"clientId":403
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwBreakerSuper/update
Example Request
{
"id": 620,
"failureThreshold":3,
"healthCheckTimeSeconds":120,
"failoverRouteName":"red",
"openFailCode":501,
"routeId":22,
"routeUriId":33,
"clientId":403
}
Example Response
{
"success": true,
"id": 84
}
GET:
URL: http://localhost:3011/rs/gwBreakerSuper/get/33/22/403
Example Response
{
"id": 84,
"clientId":4,
"route":"mail"
}
DELETE:
URL: http://localhost:3011/rs/gwBreakerSuper/delete/33/22/403
Example Response
{
"success": true
}
GET:
URL: http://localhost:3011/rs/gwErrorsSuper
Example Response
{
"routeId":22,
"routeUriId":33,
"clientId":403
}
GET:
URL: http://localhost:3011/rs/gwPerformanceSuper
Example Response
{
"routeId":22,
"routeUriId":33,
"clientId":403
}
POST:
URL: http://localhost:3011/rs/gwRestRoute/add
Example Request
{
"route":"mail"
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwRestRoute/update
Example Request
{
"id": 84,
"route":"mailChimp"
}
Example Response
{
"success": true,
"id": 84
}
GET:
URL: http://localhost:3011/rs/gwRestRoute/get/84
Example Response
{
"id": 84,
"route":"mail"
}
GET:
URL: http://localhost:3011/rs/gwRestRoute/list
Example Response
[
{
"id": 84,
"clientId":4,
"route":"mail"
},
{
"id": 85,
"clientId":4,
"route":"content"
},
{
"id": 86,
"clientId":4,
"route":"products"
}
]
DELETE:
URL: http://localhost:3011/rs/gwRestRoute/delete/85
Example Response
{
"success": true,
"id": 85
}
POST:
URL: http://localhost:3011/rs/gwRouteUrl/add
Example Request
{
"routeId":87,
"name": "testMail",
"url": "google.com/test1"
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwRouteUrl/update
Example Request
{
"id": 188,
"routeId":87,
"name": "testMailGreen",
"url": "google.com/test1"
}
Example Response
{
"success": true,
"id": 188
}
PUT:
URL: http://localhost:3011/rs/gwRouteUrl/activate
Example Request
{
"id": 188,
"routeId":87
}
Example Response
{
"success": true,
"id": 188
}
GET:
URL: http://localhost:3011/rs/gwRouteUrl/get/188/87
Example Response
{
"id": 188,
"routeId":87,
"clientId": 403,
"name": "testMailGreen",
"url": "google.com/test1"
}
GET:
URL: http://localhost:3011/rs/gwRouteUrl/list/87
Example Response
[
{
"id": 188,
"name": "testMailGreen",
"url": "google.com/test1",
"active": true,
"routeId": 87,
"clientId": 403
},
{
"id": 189,
"name": "testMail",
"url": "google.com/test1",
"active": false,
"routeId": 87,
"clientId": 403
}
]
DELETE:
URL: http://localhost:3011/rs/gwRouteUrl/delete/190/87
Example Response
{
"success": true,
"id": 190
}
POST:
URL: http://localhost:3011/rs/gwBreaker/add
Example Request
{
"failureThreshold":3,
"healthCheckTimeSeconds":60,
"failoverRouteName":"red",
"openFailCode":501,
"routeId":22,
"routeUriId":33
}
Example Response
{
"success": true,
"id": 19
}
PUT:
URL: http://localhost:3011/rs/gwBreaker/update
Example Request
{
"id": 620,
"failureThreshold":3,
"healthCheckTimeSeconds":120,
"failoverRouteName":"red",
"openFailCode":501,
"routeId":22,
"routeUriId":33
}
Example Response
{
"success": true,
"id": 84
}
GET:
URL: http://localhost:3011/rs/gwBreaker/get/33/22
Example Response
{
"id": 84,
"clientId":4,
"route":"mail"
}
DELETE:
URL: http://localhost:3011/rs/gwBreaker/delete/33/22
Example Response
{
"success": true
}
GET:
URL: http://localhost:3011/rs/gwErrors
Example Request
{
"routeId":22,
"routeUriId":33
}
GET:
URL: http://localhost:3011/rs/gwPerformance
Example Request
{
"routeId":22,
"routeUriId":33
}
#Docker usage
Content type
Image
Digest
Size
74.7 MB
Last updated
over 8 years ago
docker pull ulboralabs/ulboraapigateway