Configuration API

Read KB

Retrieve the details of the specified kb

GET/rest/kb/kbId
 Query parameters None
 Header auth-token:token from authentication
 Header/Parameter  tenant
 Body None
Returns KbEntryRest
Required role ADMIN
Managed errors 401: insufficient privileges

Example request

curl 'http://localhost:8080/mwp/rest/kb/625a50fe-29eb-48ad-9be5-12e1f701c9d5' -H 'auth-token: 183d762a-0a10-41a0-8323-ef9a761ade60' -H 'tenant:default'

Example response

{  
   "id":"625a50fe-29eb-48ad-9be5-12e1f701c9d5",
   "name":"MWP All functionality.mplx",
   "modifiedBy":"admin",
   "lastModified":1445968352177,
   "lastModifiedH":"2015-10-27 18:52:32",
   "usedBy":[ ],
   "file":"/mwp/rest/download/resource/kb/625a50fe-29eb-48ad-9be5-12e1f701c9d5?auth-token=183d762a-0a10-41a0-8323-ef9a761ade60",
   "used":false
}

Feedback