For the complete documentation index, see llms.txt. This page is also available as Markdown.

PatchTestSuiteTestCaseFile

This method can be used for the following: Patch a test case file for a test suite user has access to.

Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

Headers

PATCH /api/ss/testsuites/:testsuiteId/testcase/:testcaseId/file/:file HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Path

testsuiteId (string)

Identifier for the test suite.

Example:

PATCH /api/ss/testsuites/5f5ebf3b31ff1d08c1e5fa91/testcase/:testcaseId/file/:file

testcaseId (string)

Identifier for the test case.

Example:

file (string)

Storage name for the evidence file.

Example:

Body

name (string)

File name.

Example:

caption (string)

File caption.

Example:

Example

The following example is a cURL request to patch a file for a test case on a test suite.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

Response

Response contains a status or error message.

Last updated