Skip to content

Commit

Permalink
Merge pull request github#28366 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Sep 20, 2023
2 parents bb6a189 + 546cd38 commit f34c4d3
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This API is available for authenticated users, {% data variables.product.prodnam
### Repository.discussions

List the discussions within a repository. If `categoryId` is specified, only results within that category will be returned.
If `answered` is not specified, both answered and unanswered discussions will be returned.

_Signature:_

Expand All @@ -25,6 +26,7 @@ discussions(
first: Int,
last: Int,
categoryId: ID = null,
answered: Boolean = null,
orderBy: DiscussionOrder = {field: UPDATED_AT, direction: DESC}
) : Discussion
```
Expand Down Expand Up @@ -157,6 +159,11 @@ type Discussion implements Comment & Deletable & Lockable & Node & Reactable & R
"""
activeLockReason: LockReason

"""
Check if this discussion has been answered
"""
isAnswered: Boolean!

"""
The comment chosen as this discussion's answer, if any.
"""
Expand Down

0 comments on commit f34c4d3

Please sign in to comment.