Skip to content

Conversation

@thanhnp95
Copy link

@thanhnp95 thanhnp95 commented Feb 26, 2025

Resoved issue: #1697

Created API to support getting actual payment data for proposal
ApiRoute: /v1/proposals/billedstate
Type: Public API
Input: proposal token
Output: Payment times and amounts paid for proposal
{ "totalbilled": int64, "paidinvoices": [{ "timestamp": int64, "total": int64, }] }

@thanhnp95 thanhnp95 marked this pull request as ready for review February 28, 2025 09:57
Copy link

@ukane-philemon ukane-philemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done @thanhnp95.

@thanhnp95
Copy link
Author

@ukane-philemon I've fixed it. Please check it again for me. Thank you very much!

Copy link

@ukane-philemon ukane-philemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested Ack

@thanhnp95
Copy link
Author

@ukane-philemon I don't know when this PR will be merged and what the deployment process is. I think we need to deploy quickly to be able to provide information to the community

@ukane-philemon
Copy link

@thanhnp95, please ask on the politeia channel on element.

Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good however I am unable to test without setting up a server.

@JoeGruffins
Copy link
Member

One more nit, the commit title should be something like:

multi: Expand the API to support retrieving paid amounts.

https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

@thanhnp95 thanhnp95 changed the title Expanding the API to support retrieving paid amounts for approved proposal multi: Expand the API to support retrieving paid amounts. Apr 1, 2025
thanhnp95 and others added 7 commits April 1, 2025 16:14
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
Co-authored-by: JoeGruffins <34998433+JoeGruffins@users.noreply.github.com>
@thanhnp95 thanhnp95 force-pushed the proposal-billed-state-api branch from 7f32102 to 4f437a9 Compare April 1, 2025 09:22
@thanhnp95
Copy link
Author

thanhnp95 commented Apr 1, 2025

@JoeGruffins Thank you very much for reviewing my PR. I have incorporated your suggested changes and hope you can provide further support so that the PR can be merged and deployed quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants