latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Public Secret Incident Notes

List notes on a public secret incident

List notes left on a public secret incident in chronological order.

get/v1/public-incidents/secrets/{incident_id}/notes

Path parameters

incident_idinteger required

The id of the incident to retrieve

Query parameters

cursorstring

Pagination cursor.

per_pageinteger

Number of items to list per page.

ordering'created_at' | '-created_at' | 'updated_at' | '-updated_at'

Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.

member_idinteger
Example:1

Filter by member id.

searchstring

Search notes based on the comment field content.

Example:I revoked this

Response

Public Incident Note List

idinteger
incident_idinteger

Id of the related Public Incident

member_idinteger nullable

Id of the member who created this note. Can be null if the note was not created by a member or if the member was deleted.

api_token_idstring uuid nullable

ID of the API key which created this note. Can be null if the note was not created via the API.

created_atstring date-time

Creation date of the note

updated_atstring date-time nullable

Last time the content of the note was updated. Null if the comment was never modified.

commentstring nullable

Example response

[
  {
    "id": 17,
    "incident_id": 42,
    "member_id": 38,
    "api_token_id": "3220d951-00ce-446c-ac90-9822f0f9b71e",
    "created_at": "2019-08-22T14:15:22Z",
    "comment": "I revoked this secret"
  }
]