The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use filters in Confluence Cloud rest API

webmethods-integration
July 2, 2020

Hi 

The below-mentioned URL gives all the watchers for a particular page/content

https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-id-notification-child-created-get

But I want to filter those records based on AccountId or filter record that matches specific accountId.

So is there any way to achieve this. If yes please let me know.

 

Regards

Kuldeep Kushwaha

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 6, 2020

Hello @webmethods-integration !

As I understand, you need to sort the WatchArray array that is a result of the request to get the list of page watches.

As we can see here, the request returned value is a json array:

As far as I understand, REST does not allow us to do this. What you can try to do is to order the returned json array.

There are some articles about it on online forums:

I also believe that you will find very qualified resources in our sister community, the Developer Community:

 

Let us hear from you!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events