Replace an operation
put
https://{your_site_interface}/opa-hub/api/12.2.35/operations/{operation-name}
This operation will replace an operation.
Request
Path Parameters
-
operation-name(required): string
The name of the operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
invokeUrl(required): string
The URL to be called when the operation is invoked.
-
name(required): string
The name of the operation.
-
queryParams(required): array
queryParams
The query parameter names expected by the operation endpoint
-
statusUrl(required): string
The URL to be called to check the status of the operation.
Nested Schema : queryParams
Type:
array
The query parameter names expected by the operation endpoint
Show Source
Security
-
Authorization: apiKey
Type:
apiKey
Description:Obtain a bearer token from https://{your_site_interface}/opa-hub/api/12.2.17/auth and use it in the Authorization header as: Bearer {token}.
-
oauth2_opa: oauth2
Type:
oauth2
Description:POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/12.2.17/auth and use the access token from the response in the Authorization header.
Response
Supported Media Types
- application/json
200 Response
The request was successfully completed.
Root Schema : operation
Type:
Show Source
object
-
interfaces: object
interfaces
-
invokeUrl(required): string
The URL to be called when the operation is invoked.
-
name(required): string
The name of the operation.
-
queryParams(required): array
queryParams
The query parameter names expected by the operation endpoint
-
state: string
Read Only:
true
The state of the operation. -
statusUrl(required): string
The URL to be called to check the status of the operation.
-
type: string
Read Only:
true
The type of the operation. -
version: number
(double)
Read Only:
true
The version of the operation.
Nested Schema : queryParams
Type:
array
The query parameter names expected by the operation endpoint
Show Source
Nested Schema : interface
Type:
Show Source
object
-
name: string
Read Only:
true
The name of the interface -
properties: object
interfaceProperties
Additional Properties Allowed:
true
Nested Schema : interfaceProperties
Type:
object
Additional Properties Allowed:
true
400 Response
The request could not be processed because it contains missing or invalid information.
403 Response
The user does not have authorization for this resource.
404 Response
The requested resource does not exist.
409 Response
The request could not be completed due to a conflict with the current state of the resource.