| Previous Article | matchIT Hub Index | Next Article |
Resources relative to http://host:8080/matchITHub/engines/<engine>
| REST resource | Summary |
|---|---|
| GET version | Return the version number |
| GET expiry | Return expiry date |
| GET name | Return the instance name |
| GET id | Return the instance id |
GET /matchITHub/engines/<engine>/version
Request
| Type | Name | Description |
|---|---|---|
| PathParam | engine | The id of the engine to query |
Response
| Name | Value | Description |
|---|---|---|
| version | <version number> | Hub version number |
Description
Returns a string representing the version number of the matchIT Hub engine.
The version consists of four delimited numbers (product.major.minor.patch) plus an optional pre-release indicator, for example "1.0.3.2" or "1.1.0.0 (beta 2)".
Usage example
Using a browser:

GET /matchITHub/engines/<engine>/expiry
Request
| Type | Name | Description |
|---|---|---|
| PathParam | engine | The id of the engine to query |
Response
| Name | Value | Description |
|---|---|---|
| expiry | <expiry date> | Hub activation code expiry date |
Description
Returns an 8-character string of format YYYYMMDD that indicates the expiry date of the applied activation code, for example "20170531".
Usage example
Using a browser:

GET /matchITHub/engines/<engine>/name
Request
engine| Type | Name | Description |
|---|---|---|
| PathParam | engine | The id number of the engine instance to query |
Response
| Name | Value | Description |
|---|---|---|
| Name | <engine name> | The name (if any) associated with the engine instance |
Description
Returns the name (if any) associated with the engine instance.
GET /matchITHub/engines/<engine>/id
Request
engine| Type | Name | Description |
|---|---|---|
| PathParam | engine | The name of the engine instance to query |
Response
| Name | Value | Description |
|---|---|---|
| Name | <engine name> | The id number of the engine instance |
Description
Returns the id number of the engine instance.
| Previous Article | matchIT Hub Index | Next Article |