com.vmware.vapi.metadata.authentication.service

The service service provides operations to retrieve authentication information of a service element.

A service element is said to contain authentication information if there is a default authentication assigned to all operation elements contained in a service element or if one of the operation elements contained in this service element has authentication information.

get

GET /com/vmware/vapi/metadata/authentication/service/id:{service_id}
POST /com/vmware/vapi/metadata/authentication/service/id:{service_id}?~action=get
POST /com/vmware/vapi/metadata/authentication/service?~action=get

Retrieves authentication information about the service element corresponding to service_id.
Request:
Representations:
{
    "service_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:Get-Input xmlns:ns0="http://vmware.com/vapi/metadata/authentication/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <service_id>obj-103</service_id>
</ns0:Get-Input>
POST /com/vmware/vapi/metadata/authentication/service?~action=get
&service_id=obj-103

Parameters:
Name Type Required Description
service_id
 *
ID Yes Identifier of the service element. Id of type com.vmware.vapi.service.

Response:
Representations:
{
    "value"{
        "operations"[
            {
                "key""obj-103",
                "value"{
                    "schemes"[
                        {
                            "scheme""string",
                            "scheme_type""SESSIONLESS",
                            "session_manager""string"
                        },
                        {
                            "scheme""string",
                            "scheme_type""SESSIONLESS",
                            "session_manager""string"
                        }
                    ]
                }
            }
        ],
        "schemes"[
            {
                "scheme""string",
                "scheme_type""SESSIONLESS",
                "session_manager""string"
            },
            {
                "scheme""string",
                "scheme_type""SESSIONLESS",
                "session_manager""string"
            }
        ]
    }
}
<?xml version="1.0" ?>
<ns0:Get-Result xmlns:ns0="http://vmware.com/vapi/metadata/authentication/service" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <value>
    <schemes-array>
      <array-item>
        <scheme_type>SESSIONLESS</scheme_type>
        <scheme>string</scheme>
        <session_manager>string</session_manager>
      </array-item>
      <array-item>
        <scheme_type>SESSIONLESS</scheme_type>
        <scheme>string</scheme>
        <session_manager>string</session_manager>
      </array-item>
    </schemes-array>
    <operations-array>
      <array-item>
        <value>
          <schemes-array>
            <array-item>
              <scheme_type>SESSIONLESS</scheme_type>
              <scheme>string</scheme>
              <session_manager>string</session_manager>
            </array-item>
            <array-item>
              <scheme_type>SESSIONLESS</scheme_type>
              <scheme>string</scheme>
              <session_manager>string</session_manager>
            </array-item>
          </schemes-array>
        </value>
        <key>obj-103</key>
      </array-item>
    </operations-array>
  </value>
</ns0:Get-Result>

Parameters:
Name Type Required Description
result service_info Yes The com.vmware.vapi.metadata.authentication.service_info instance that corresponds to service_id

Errors:
Type Description HTTP Status Code
not_found if the service element associated with service_id does not have any authentication information. 404

Copyright © 2014. All Rights Reserved.