unable to get category IDs of discussion of an organization #129516
Unanswered
square-foot
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi
I tried giving this graphQL for the discussions of an org I own, hoping that I would get to see the IDs of the various categories; as I wanted to use the API to make a post into the correct category
query {
repository(owner: "OWNER_NAME", name: "REPOSITORY_NAME") {
discussionCategories(first: 10) {
edges {
node {
id
name
}
}
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions