Vapi Metadata Authentication Package get
Retrieves authentication information about the package element corresponding to packageId.
Identifier of the package element.
The parameter must be an identifier for the resource type: com.vmware.vapi.package
.
The Vapi Metadata Authentication PackageInfo instance that corresponds to packageId
{
"schemes": [
{
"scheme_type": "string",
"session_manager": "string",
"scheme": "string"
}
],
"services": {
"services": {
"schemes": [
{
"scheme_type": "string",
"session_manager": "string",
"scheme": "string"
}
],
"operations": {
"operations": {
"schemes": [
{
"scheme_type": "string",
"session_manager": "string",
"scheme": "string"
}
]
}
}
}
}
}
List of authentication schemes to be used for all the operation elements contained in this package element. If a particular service or operation element has no explicit authentications defined in the authentication defintion file, these authentication schemes are used for authenticating the user.
Information about all service elements contained in this package element that contain authentication information. The key in the map is the identifier of the service element and the value in the map is the authentication information for the service element.
For an explanation of authentication information containment within service elements, see Vapi Metadata Authentication Service.
When clients pass a value of this schema as a parameter, the key in the property map must be an identifier for the resource type: com.vmware.vapi.service
. When operations return a value of this schema as a response, the key in the property map will be an identifier for the resource type: com.vmware.vapi.service
.
if the package element associated with packageId does not have any authentication information.
"Vapi Std Errors NotFound Object"
curl -H 'Authorization: <value>' https://{api_host}/api/vapi/metadata/authentication/package/{packageId}