-
Notifications
You must be signed in to change notification settings - Fork 357
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
[API] Invoices data is in ASC order #11029
Comments
Hi @mmarif4u, thanks for reaching out! Could you try these curl requests (and add your authorization token):
We were able to see the data being ordered by differently - I'll look into getting the tech docs updated to reflect this! |
Hi @coliu-akamai, thanks. That worked by using the I think the API documentation needs more clarity on its content and possibilities. |
Glad that worked. I've submitted an internal ticket to update the documentation for that endpoint. Will let you know when it gets updated |
Not directly related to invoices, but still related to filters. I was checking the Events endpoint and found that there is a I tried using the Can you please help me understand how the filterable options can be used with the Thanks |
@mmarif4u Could you let me know the requests you're trying to send? |
@coliu-akamai the following is the request with the auth and x-filter headers.
Filter header I am trying to sort the events by the read status here. |
Thanks @mmarif4u! I'm not seeing a
If you want all the Events where
I am seeing errors when I try to use |
@mmarif4u I checked with the API team - currently Is there anything else I can help you with? |
@coliu-akamai Thank you so much for the heads-up on this. Everything else seems to be fine, but I believe there is some room for improvement. For example, it’s not mentioned anywhere how to use any filterable options (read option for events in this case) in the For now, this should resolve all my queries. Thanks again. 👍 Off-topic: I have a query regarding how Linode might be able to assist with my current project. I’m building an Android app for Linode users, and I plan to make it available via the Play Store (paid) and possibly open-source through F-Droid. It’s still under development, but I wanted to ask if Linode could offer any support, such as helping to share it with your user base once it's ready, or providing some credits for testing purposes, etc. Feel free to redirect me to the appropriate channel to get in contact. Thank you! |
I hope I am posting this issue in the correct repository.
Currently, the API at https://api.linode.com/v4/account/invoices returns a list of data sorted in ascending order (oldest first).
I can see two options from here:
1- Sort the returned data with the newest first.
OR
2- Add a sort query parameter with options like ASC and DESC, allowing the user to sort the data as they prefer. (https://techdocs.akamai.com/linode-api/reference/get-invoices)
Thanks
The text was updated successfully, but these errors were encountered: