eagletrt-api/api-gateway
The API Gateway is responsible for request routing, composition, and protocol translation. All requests from clients first go through the API Gateway. It then routes requests to the appropriate microservice. The API Gateway will often handle a request by invoking multiple microservices and aggregating the results.
GETstatus
http://localhost:3000/status
Return the status of the service
Example Request
status
200 OK
Example Response
X-Powered-By
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive
GETdocs api
http://localhost:3000/api-docs/
Example Request
docs api
200 OK
Example Response
X-Powered-By
Access-Control-Allow-Origin
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive
GETdocumentation/:microservice
http://localhost:3000/api/v1/documentation/:microservice
AUTHORIZATIONBearer Token
Token
PATH VARIABLES
microservice
Example Request
documentation/:microservice
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers
POSTlogin
http://localhost:3000/api/v1/login
Bodyraw (json)
Example Request
login
200 OK
Example Response
X-Powered-By
Access-Control-Allow-Origin
Authentication
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive
POSTsignup
http://localhost:3000/api/v1/signup
Bodyraw (json)
Example Request
signup
200 OK
Example Response
X-Powered-By
Access-Control-Allow-Origin
Authentication
Content-Type
Content-Length
ETag
Date
Connection
Keep-Alive