Get Authentication Package
DescriptionRetrieves authentication information about the package element corresponding to packageId.
Request
URLURL
https://{api_host}/rest/com/vmware/vapi/metadata/authentication/package/id:{package_id}
Parameters
Parameters
string
package_id
Required
Identifier of the package element.
The parameter must be an identifier for the resource type: com.vmware.vapi.package.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
MetadataAuthenticationPackageGetResponseBody
of type application/json
The PackageInfo instance that corresponds to packageId
{
"value": {
"schemes": [
{
"scheme": "string",
"scheme_type": "enum",
"session_manager": "string"
}
],
"services": [
{
"key": "key1",
"value": {
"operations": [
{
"key": "key1",
"value": {
"schemes": [
{
"scheme": "string",
"scheme_type": "enum",
"session_manager": "string"
}
]
}
}
],
"schemes": [
{
"scheme": "string",
"scheme_type": "enum",
"session_manager": "string"
}
]
}
}
]
}
}
value
Optional
The PackageInfo instance that corresponds to packageId
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/com/vmware/vapi/metadata/authentication/package/id:{package_id}
Errors
404
com.vmware.vapi.std.errors.not_found : if the package element associated with packageId does not have any authentication information.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.