REST Helper URLs

The REST interface provides several REST meta-services that can be used to query the RS Gateway and find out information about other services and documents.

XML REST Helper URLs describes the REST helper URLs.
Table 1. XML REST Helper URLs
URL Description
GET http://host:port/rsgateway/data/v3 Returns the complete list of REST services.
GET http://host:port/rsgateway/data/v3/templates Returns a list of all MtxRequest and MtxResponse message templates.
GET http://host:port/rsgateway/data/v3/templates/{name} Returns a TEMPLATE for the message named name. This message can be any MDC defined in the system. The response is a template message of the appropriate type.
GET http://host:port/rsgateway/data/v3/messages Returns a list of ALL MDC messages names.
GET http://host:port/rsgateway/data/v3/update Gets new MDC definitions from a running engine.
GET http://host:port/rsgateway/data/v3/subclasses/{Name} Return a list of all MDCs derived from {Name}. For example, if B is derived from A and C is derived from B: A->B->C, then calling this method with A will produce a response containing B and C. Calling the method with B will return a list containing only C.
Table 2. JSON REST Helper URLs
URL Description
GET http://host:port/rsgateway/data/json Returns the complete list of REST services.
GET http://host:port/rsgateway/data/json/templates Returns a list of all MtxRequest and MtxResponse message templates.
GET http://host:port/rsgateway/data/json/templates/{Name} Returns a TEMPLATE for the message named name. This message can be any MDC defined in the system. The response is a template message of the appropriate type.
GET http://host:port/rsgateway/data/json/messages Returns a list of ALL MDC messages names.
GET http://host:port/rsgateway/data/json/update Gets new MDC definitions from a running engine.
GET http://host:port/rsgateway/data/json/subclasses/{Name} Return a list of all MDCs derived from {Name}. For example, if B is derived from A and C is derived from B: A->B->C, then calling this method with "A" will produce a response containing "B" and "C". Calling the method with "B" will return a list containing only "C".