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

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!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events