Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 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
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

94 views 0 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you