Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,082
Community Members
 
Community Events
185
Community Groups

How do I query for all questions related to a topic through REST?

We respond to requests from many vendors who often ask the same questions, but we don't provide them access to our Confluence instance.  I would like to add a 'vendor' topic and then extract those questions, with our already generated answer to provide to the vendor.  

Is there a better solution to extract a subset of questions?

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 17, 2018

Hi Travis,

I think REST is a good way to extract just the questions from the designated vendor topic. Here is the REST doc for Questions: Confluence Questions REST Resources

It looks like you can do a GET using the topic ID mount point: 

/rest/questions/1.0/topic/{topicId}

Here are more details:

/rest/questions/1.0/topic/{topicId}

Thanks,

Ann

Hi @AnnWorley,

I had found that, but that only provides me the details of the topic, not the questions related to that topic.

 

{code}

{

"id": ,

"idAsString": "",

"name": "",

"description": "",

"avatarDownloadPath": "",

"url": "",

"featured": false,

"isWatching": true

}

{code}

I was wanting to get the questions for that topic.

Hi @Travis Bennett I'm facing the same issue.

Currently I'm experimenting with the following URL, but it does not show all details of the questions

https://community.test.uniface.com/rest/questions/1.0/questions?pageSize=100&topicId=27918392

My use case is to query on a topic (id) that's results in all questions and answers

Just curious: have you found a solution?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events