POSIUM

Update a case

Updates an existing test case

PUT
/cases/{caseId}
/cases/{caseId}

The Authorization access token

Authorization

x-api-key<token>

In: header

Request Body

application/jsonRequired

idstring

Unique identifier for the test case

suite_id
Required
string

ID of the suite this case belongs to

name
Required
string

Name of the test case

descriptionstring

Description of the test case

stepsarray<string>

Test steps to execute

expected_resultstring

Expected outcome of the test

created_atstring

Format: "date-time"

updated_atstring

Format: "date-time"

Path Parameters

caseId
Required
string

curl -X PUT "https://api.posium.ai/cases/string" \
  -H "x-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "string",
    "suite_id": "string",
    "name": "string",
    "description": "string",
    "steps": [
      "string"
    ],
    "expected_result": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }'

Case updated

{
  "id": "string",
  "suite_id": "string",
  "name": "string",
  "description": "string",
  "steps": [
    "string"
  ],
  "expected_result": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}