GetProjectNotes

This method can be used for the following: Get project notes for a project you have 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

GET /api/ss/project/:id/notes HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Query

id (string)

Identifier for the project.

Example:

GET /api/ss/project/5f63de24fa1c9208d3e140b0/notes HTTP/1.1

Example

The following example is a cURL request to get project notes by the project id.

Request

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

curl -X GET 'https://demo.attackforge.com/api/ss/project/5f63de24fa1c9208d3e140b0/notes' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close'

Response

Response contains an array of notes.

[
   {
      "note": "...",
      "is_private": true,
      "is_exported_to_report": true,
      "created": "...",
      "created_by": "...",
      "last_updated": "...",
      "id": "..."
   }
]

Last updated

Check YouTube for more tutorials: https://youtube.com/@attackforge