This article contains the REST API command that pertains to the workgroup server.
For a walk-through of the Navigator REST API using the demo site, see Using the REST API using the Navigator demo system. No installation is required. The article Performing REST API operations using the Swagger UI includes three detailed examples, as well as instructions for issuing plain text or JSON-formatted MQSC Commands through the REST API.
Show WGS Info
GET /
Purpose: Retrieves Workgroup Server information.
Curl example
curl -X GET "http://jenkins.nastel.com:8019/rest/v1/" -H "accept: application/json" -H "Authorization: Basic QWRtaW46YWRtaW4="
Example Response
{ "version": "10.4.0.0", "serviceName": "WGS", "appName": "WGS", "wgsName": "MQM", "apwmqDbInfo": "DBMS: Oracle APWMQ_DB_VERSION: 32 (Expected: 32)", "permitsDbInfo": "DBMS: Oracle PERMV3_DB_VERSION: 77 (Expected: 77)", "servicesURL": "http://jenkins.nastel.com:8019/rest/v1/services", "swaggerUiURL": "http://jenkins.nastel.com:8019/rest/v1/api-docs" }