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

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
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

551 views 15 18
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