Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/Endpoints/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ public function __construct(Notion $notion)
}

/**
* Retrieve a list of comments
* Retrieve a list of comments.
*
* @url https://api.notion.com/{version}/comments?block_id=* [get]
*
* @reference https://developers.notion.com/reference/retrieve-a-comment.
*
* @param string $blockId
Expand Down Expand Up @@ -87,8 +89,10 @@ public function onPage(string $pageId): self
}

/**
* Create a comment
* Create a comment.
*
* @url https://api.notion.com/{version}/comments [post]
*
* @reference https://developers.notion.com/reference/create-a-comment.
*
* @param CommentEntity $comment
Expand Down