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

PatchProjectTestCaseWorkspaceNoteFile

This method can be used for the following: Patch a project test case workspace note file for a project user has Edit 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/project/:projectId/testcase-workspace-note/:testcaseWorkspaceNoteId/file/:file HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Path

projectId (string)

Identifier for the project.

Example:

PATCH /api/ss/project/5f5ebf3b31ff1d08c1e5fa91/testcase-workspace-note/:testcaseWorkspaceNoteId/file/:file

testcaseWorkspaceNoteId (string)

Identifier for the project test case workspace note.

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 project test case workspace note.

Request

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

Response

Response contains a status or error message.

Last updated