GET /api/apis/versions/{APIVersionID}/implementations/{ImplCode}

Returns information about the specified implementation for the specified API version.

New in API Platform Version: 8.1

Authorization Roles/Permissions: Must have Read permission for this API.

This topic includes the following sections:

HTTP Method

GET

Back to top

URL

https://{hostname}/api/apis/versions/{APIVersionID}/implementations/{ImplName}

Back to top

Sample Request

The example below shows a request for information about a specific API implementation.

Request URL

https://{hostname}/api/apis/versions/192f514b-9c10-42f4-8bf2-7482293f9713.acmepaymentscorp/implementations/Sandbox

Sample request headers

Accept:  application/vnd.soa.v81+json
X-Csrf-Token_{tenant}: {TokenID}

Sample request body

Not applicable.

Back to top

Request Headers

For general information on request header values, refer to HTTP Request Headers.

Header Description
Accept application/json, application/vnd.soa.v81+json

Back to top

Request Parameters

Parameter Parm Type Data Type Required Description
APIVersionID Path string Required The unique ID for a specific API version.
ImplCode Path string Required A code for a specific implementation. Valid values: Live or Sandbox.

Back to top

Response

If successful, this operation returns HTTP status code 200, with information about the specified API version implementation.

Back to top

Sample Response

The sample response below shows successful completion of this operation.

Sample response headers: application/json

Status Code: 200 OK
Content-Type:  application/vnd.soa.v81+json
Date: Fri, 12 Feb 2016 16:43:44 GMT

Sample response body: application/json

{
  "Name" : "Swagger_Petstore13_v1_Sandbox_Virtual",
  "ImplementationName" : "Sandbox",
  "Description" : "This is a subset of the Swagger Petstore API.",
  "Pattern" : "com.akana.pattern.proxy",
  "ServiceKey" : "uddi:99036c97-d1a7-11e5-b0b4-a0cdfc7cb163",
  "APIBindings" : {
    "APIBinding" : [ {
      "BindingQName" : "{uri:acmepaymentscorp}Swagger_Petstore_Binding",
      "BindingKey" : "uddi:f654f4a5-2610-fec8-622b-242db59d790a",
      "InterfaceQName" : "{uri:acmepaymentscorp}Swagger_Petstore_PortType",
      "InterfaceKey" : "uddi:6caca896-2398-bb81-cd11-a2a9f44acc91",
      "BindingType" : "binding.http",
      "BindingOperations" : {
        "BindingOperation" : [ {
          "OperationName" : "addPet",
          "WsdlOperationName" : "addPet",
          "HttpOperation" : {
            "Method" : "POST",
            "Path" : "/pet",
            "InputContentType" : "application/json,application/xml",
            "OutputContentType" : "application/xml,application/json",
            "FaultContentType" : "",
            "Input" : [ {
              "Name" : "body",
              "Type" : "entity"
            } ]
          }
        }, {
          "OperationName" : "updatePet",
          "WsdlOperationName" : "updatePet",
          "HttpOperation" : {
            "Method" : "PUT",
            "Path" : "/pet",
            "InputContentType" : "application/json,application/xml",
            "OutputContentType" : "application/xml,application/json",
            "FaultContentType" : "",
            "Input" : [ {
              "Name" : "body",
              "Type" : "entity"
            } ]
          }
        }, {
          "OperationName" : "findPetsByStatus",
          "WsdlOperationName" : "findPetsByStatus",
          "HttpOperation" : {
            "Method" : "GET",
            "Path" : "/pet/findByStatus",
            "InputContentType" : "",
            "OutputContentType" : "application/xml,application/json",
            "FaultContentType" : "",
            "Input" : [ {
              "Name" : "status",
              "Type" : "query"
            } ]
          }
        }, {
          "OperationName" : "findPetsByTags",
          "WsdlOperationName" : "findPetsByTags",
          "HttpOperation" : {
            "Method" : "GET",
            "Path" : "/pet/findByTags",
            "InputContentType" : "",
            "OutputContentType" : "application/xml,application/json",
            "FaultContentType" : "",
            "Input" : [ {
              "Name" : "tags",
              "Type" : "query"
            } ]
          }
        }, {
          "OperationName" : "getPetById",
          "WsdlOperationName" : "getPetById",
          "HttpOperation" : {
            "Method" : "GET",
            "Path" : "/pet/{petId}",
            "InputContentType" : "",
            "OutputContentType" : "application/xml,application/json",
            "FaultContentType" : "",
            "Input" : [ {
              "Name" : "petId",
              "Type" : "path"
            } ]
          }
        }, {
          "OperationName" : "deletePet",
          "WsdlOperationName" : "deletePet",
          "HttpOperation" : {
            "Method" : "DELETE",
            "Path" : "/pet/{petId}",
            "InputContentType" : "",
            "OutputContentType" : "application/xml,application/json",
            "FaultContentType" : "",
            "Input" : [ {
              "Name" : "api_key",
              "Type" : "header"
            }, {
              "Name" : "petId",
              "Type" : "path"
            } ]
          }
        } ]
      }
    } ]
  },
  "APIInterfaces" : {
    "APIInterface" : [ {
      "InterfaceQName" : "{uri:acmepaymentscorp}Swagger_Petstore_PortType",
      "InterfaceKey" : "uddi:6caca896-2398-bb81-cd11-a2a9f44acc91",
      "InterfaceOperations" : {
        "InterfaceOperation" : [ {
          "OperationName" : "addPet",
          "WsdlOperationName" : "addPet"
        }, {
          "OperationName" : "updatePet",
          "WsdlOperationName" : "updatePet"
        }, {
          "OperationName" : "findPetsByStatus",
          "WsdlOperationName" : "findPetsByStatus"
        }, {
          "OperationName" : "findPetsByTags",
          "WsdlOperationName" : "findPetsByTags"
        }, {
          "OperationName" : "deletePet",
          "WsdlOperationName" : "deletePet"
        } ]
      }
    } ]
  }
}

Back to top

Response Headers

For general information on response header values, refer to HTTP Response Headers.

Header Description
Content-Type application/json, application/vnd.soa.v81+json

Back to top

Response Body

Name Type Description
APIImplementation APIImplementation Contains information about an implementation for a specific API version.

Back to top

Error Codes/Messages

If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.

Item Value
401 Unauthorized. For example, you would get this response if you didn't include the custom X-Csrf-Token_{fedmemberID} header in the request, when it was required by the platform settings; or if you included an invalid or expired value for this header.
500 An error occurred processing the call.

More information about Akana API Platform API error messages.

Back to top

Related Topics