Tests

Update test title, script, description, type, or priority. Requires test:update, checked before the ID; for an authorized caller, a malformed ID returns 404.

patch/api/tests/{id}

Request

  • Base URL
    https://demo.supercheck.dev
  • Auth
    HTTP bearer

Request body

titlestring
scriptstring
descriptionstring
type'browser' | 'api' | 'performance' | 'database' | 'custom'
priority'low' | 'medium' | 'high'

Test priority. Any other value returns 400.

Response

Test updated

idstring uuid
namestring nullable
titlestring
descriptionstring nullable
priority'low' | 'medium' | 'high'

Test priority

type'browser' | 'api' | 'performance' | 'database' | 'custom'

Test type. browser = Playwright, performance = k6

scriptstring nullable

Test script content

projectIdstring uuid nullable
organizationIdstring uuid nullable
createdByNamestring nullable
createdByImagestring nullable
createdAtstring date-time nullable
updatedAtstring date-time nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the new optional request property

    • info

      added the non-success response with the status