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

REST timeline API endpoint returns inconsistent data?

Bernard Horan Sep 03, 2018

Hi

Could you provide a description of the data contained in the JSON response from the 

/report/contents/{contentId}/timeline

endpoint?

For example, this data seems inconsistent:

{"success":true,"error":"","size":2,"totalSize":0,"maxViews":2,"results":[{"formattedViewDate":"Jun 05, 2018","viewDate":1528182000000,"uniqueUsers":0,"views":0},{"formattedViewDate":"Sep 03, 2018","viewDate":1536044399999,"uniqueUsers":0,"views":0}],"total":2,"_links":{"base":"https://confluence.example.com/confluence","context":"/confluence"}}


The values for maxViews and total are both 2, whereas the results array shows that there were no views.

thanks

 Bernard

1 answer

0 votes
Oliver Strässer Sep 17, 2018

Hi Bernhard 

 

I'm from bitvoodoo and first sorry that we didn't seen this question here, don't wait in the future and contact us directly at https://support.bitvoodoo.ch :-) 

It seems to be correct that you are confused about this {{maxView}} parameter. I created a ticket to clearify this and to change this if it's not needed. 

I suspect, that the maxView parameter is just a counter of maxEntries within the timeline  and because we fill the timeline with 0 values at some points so that the graph is more specific this miscount happens.

I opened a ticket to follow up this issue, just watch it 

https://bitvoodoo.atlassian.net/browse/VIEWTRACKER-334 

 

Btw: Because we have birthday we offer some of our apps for free (including Viewtracker too )https://www.bitvoodoo.ch/free-app

 

Cheers

Oli

Oliver Strässer Sep 18, 2018

Hi Bernhard 

We already checked it and we will remove the maxView property in that response.

Thank you

Oli

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

scaling agile at the enterprise level with Valiantys

Hey there Community! My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they can help ...

438 views 1 12
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