-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST API V3: get report list, details & data #151
Conversation
Hello @ochorocho I have a question regarding detail: in fact this is mixing report header data and transactional data. |
@Rello ok, reworked the 'detail' endpoint. So there is one endpoint for getting reports details about header, dimensions and series of a report. On top of that I've added a addtitional enpoint So i can fire 2 requests. 'details' for building a form in my client app, 'data' can then be used to build the chart :-) |
I will double check. thank you! |
Working on a NativeScript/vue based android app supposed to manually track data. |
This is what i got so far https://github.com/ochorocho/nextcloud-analytics-mobile |
do you have any screenshots or teaser? |
Hi, POST /api/2.0/data/{datasetId}/add => ApiData#addDataV2 GET /api/2.0/datasets => ApiData#datasetIndex (from you) Future: |
Yep, makes sense to me. |
Hello, I did the cleanup and moved your part to the V3 to be consistent.
let me know if everything works for you |
@ochorocho |
Which endpoint are we talking about? https://github.com/Rello/analytics/wiki/API#datasetsdetail Gives me the required data including the series. I wanted to build up a form using the JSON data.
|
Works as expected. Thank you :-) |
Hello, `{ "header":["Object","Date","Value"], "dimensions":{"dimension1":"Object","dimension2":"Date"}, "series":["y"] |
Will add two additional endpoints: