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

알러트 댓글

알러트 댓글에 대한 REST API 작업

개요

상호 작용하려면 다음 API 작업을 사용하세요 알러트 댓글 를 Panther에서.

API를 호출하려면 다음을 참조하세요 Panther REST API 사용 방법 지침—다음을 포함하여 이 문서 페이지에서 직접 호출하는 방법에 대한 안내.

필수 권한

  • 자체 호스팅 GET 작업을 수행하려면, API 토큰에 다음이 있어야 합니다 알러트 읽기 권한.

  • 자체 호스팅 POST 작업을 수행하려면, API 토큰에 다음이 있어야 합니다 알러트 관리 권한.

작업

Create a comment for an alert

post
Authorizations
X-API-KeystringRequired
Body
alertIdstringRequired

The alert ID the comment is associated with

bodystringRequired

The body of the comment

formatstring · enumRequired

The format of the comment

Possible values:
Responses
200

OK response.

application/json
alertIdstringOptional

The alert ID the comment is associated with

bodyanyOptional

The body of the comment

createdAtstringOptional

The date the comment was created

formatstring · enumOptional

The format of the comment

Possible values:
idstringOptional

The comment ID

updatedAtstringOptional

The date the comment was updated

post/alert-comments

Get a comment for an alert

get
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the comment

Responses
200

OK response.

application/json
alertIdstringOptional

The alert ID the comment is associated with

bodyanyOptional

The body of the comment

createdAtstringOptional

The date the comment was created

formatstring · enumOptional

The format of the comment

Possible values:
idstringOptional

The comment ID

updatedAtstringOptional

The date the comment was updated

get/alert-comments/{id}

Update a comment for an alert

post
Authorizations
X-API-KeystringRequired
Path parameters
idstringRequired

ID of the comment

Body
alertIdstringRequired

The alert ID the comment is associated with

bodystringRequired

The body of the comment

formatstring · enumRequired

The format of the comment

Possible values:
Responses
200

OK response.

application/json
alertIdstringOptional

The alert ID the comment is associated with

bodyanyOptional

The body of the comment

createdAtstringOptional

The date the comment was created

formatstring · enumOptional

The format of the comment

Possible values:
idstringOptional

The comment ID

updatedAtstringOptional

The date the comment was updated

post/alert-comments/{id}

List alert comments

get
Authorizations
X-API-KeystringRequired
Query parameters
alert-idstringRequired

The alert ID the comments are associated with

cursorstringOptional

the pagination token

limitinteger · int64 · max: 50Optional

the maximum results to return

Default: 25
Responses
200

OK response.

application/json
nextstringOptional

Pagination token for the next page of results

get/alert-comments

마지막 업데이트

도움이 되었나요?