Set Default Implementation

put

/mobile/tools/1.0/apis/{id}/implementations/default/{implId}

Binds the API to the specified implementation.

Request

Supported Media Types
  • application/json
Path Parameters
id
Type: string
Required: true
The identifier of the custom API.
implId
Type: string
Required: true
The identifier of the custom API implementation.
Header Parameters
If-Match
Type: string
The request completes successfully only if the ETag of the corresponding asset matches the value of this HTTP request header. To force overwrite, pass the value `*`.

Response

Supported Media Types
  • application/json
204 Response
API-to-API implementation binding was updated. No content was returned in this response.
412 Response
The operation failed based on the `If-Match` condition. Typically, this is the result of concurrent modification detection. It also can be the result of improper values specified in the request headers.
Body
Root Schema : error
Type: object
Nested Schema : errorDetails
Type: object