Hi all,
I would get full details about API from management, however can’t find data about API URL, although basePath (expected ‘/no-target’)
What I got till now:
https://:8443/v1/o//apis/No-Target
{ “metaData”: { “createdAt”: 1473239992206, “createdBy”: “”, “lastModifiedAt”: 1473924895716, “lastModifiedBy”: “” }, “name”: “No-Target”, “revision”: [ “1”, “2” ] }
Not too much data, see that it has two revisions. By calling https://:8443/v1/o//apis/No-Target/deployments found which is deployed where.
{ “environment”: [ { “name”: “test”, “revision”: [ { “configuration”: { “basePath”: “/”, “steps”: }, “name”: “2”, “server”: [ { “status”: “deployed”, “type”: [ “message-processor” ], “uUID”: “” }, { “status”: “deployed”, “type”: [ “router” ], “uUID”: “” } ], “state”: “deployed” } ] }, { “name”: “prod”, “revision”: [ { “configuration”: { “basePath”: “/”, “steps”: }, “name”: “1”, “server”: [ { “status”: “deployed”, “type”: [ “message-processor” ], “uUID”: “” }, { “status”: “deployed”, “type”: [ “router” ], “uUID”: “” } ], “state”: “deployed” } ] } ], “name”: “No-Target”, “organization”: “” }
I excepted that basePath here will be ‘/no-target’, but it is ‘/’. Next, checking revision
https://:8443/v1/o//apis/No-Target/revisions/1, see proxyEndpoints:default which probably contain necessary informations:
{ “configurationVersion”: { “majorVersion”: 4, “minorVersion”: 0 }, “contextInfo”: “Revision 1 of application No-Target, in organization ”, “createdAt”: 1473239992206, “createdBy”: “”, “displayName”: “No-Target”, “lastModifiedAt”: 1473239992206, “lastModifiedBy”: “”, “name”: “No-Target”, “policies”: , “proxyEndpoints”: [ “default” ], “resourceFiles”: { “resourceFile”: }, “resources”: , “revision”: “1”, “targetEndpoints”: , “targetServers”: , “type”: “Application” }
How to get details of it ?
Many Thanks