GET /api/mgmnt/v2/:namespace/
Returns an array that contains information about the newer REST services in the given namespace (including any REST services that do not have an associated web application). This call ignores any manually-coded REST services.
URL Parameters
namespace | Required. Namespace name. This parameter is not case-sensitive. |
Permissions
To use this endpoint, you must have read access to the given namespace. If no namespace is specified, or if the specified namespace is %SYS, you must have read access to the default namespace (USER). Note that you can set the default namespace to a different namespace; to do so, set the global node ^%SYS("REST","UserNamespace") equal to the desired namespace.
Example Request
-
Request Method:
GET
-
Request URL:
http://localhost:52773/api/mgmnt/v2/%25sys/
Response
The response is a JSON array; each object in the array represents a REST service. For details, see GET /api/mgmnt/v2/.
The following shows an example response:
[
{
"name": "%Api.Mgmnt.v2",
"webApplications": "/api/mgmnt",
"dispatchClass": "%Api.Mgmnt.v2.disp",
"namespace": "%SYS",
"swaggerSpec": "/api/mgmnt/v2/%25SYS/%Api.Mgmnt.v2"
}
]