Update a test case

patch

https://{your_site_interface}/opa-hub/api/12.2.35/tests/{test-suite-name}/testcases/{test-case-name}

This operation will update a test case.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : testCaseExpectedOutputPatch
Type: object
Additional Properties Allowed: true
Nested Schema : testCaseInputPatch
Type: object
Additional Properties Allowed: true
Nested Schema : tags
Type: array
A set of all the tags declared by this test case.
Show Source
Security
  • 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}.
  • 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.
Back to Top

Response

Supported Media Types

200 Response

The request was successfully completed.
Body ()
Root Schema : testCase
Type: object
Show Source
Nested Schema : testCaseExpectedOutput
Type: object
Additional Properties Allowed: true
Nested Schema : testCaseInput
Type: object
Additional Properties Allowed: true
Nested Schema : tags
Type: array
A set of all the tags declared by this test case.
Show Source
Back to Top