Skip to content
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

[FEAT]: Add billable metrics API endpoints #291

Closed
lovrocolic opened this issue Jun 27, 2022 · 1 comment
Closed

[FEAT]: Add billable metrics API endpoints #291

lovrocolic opened this issue Jun 27, 2022 · 1 comment
Assignees
Labels
API Related to the public API Billable Metric Related to the billable metrics Feature Add a new feature to the app

Comments

@lovrocolic
Copy link
Collaborator

Related to: https://github.com/getlago/lago-product/issues/33

@lovrocolic lovrocolic added the Feature Add a new feature to the app label Jun 27, 2022
@lovrocolic lovrocolic self-assigned this Jun 27, 2022
@lovrocolic lovrocolic added API Related to the public API Billable Metric Related to the billable metrics labels Jun 27, 2022
@lovrocolic
Copy link
Collaborator Author

POST /api/v1/billable-metrics
PUT /api/v1/billable-metrics/{{billable-metric-code}}
DELETE /api/v1/billable-metrics/{{billable-metric-code}}
GET /api/v1/billable-metrics
GET /api/v1/billable-metrics/{{billable-metric-code}}

lovrocolic added a commit that referenced this issue Jun 30, 2022
* split billable_metric_service.rb into smaller components

* add billable metric create endpoint

* add update billable metric endpoint

* add destroy endpoint for billable metrics collection

* add billable metric index and show endpoints

* setup pagination metadata

* add billable metrics controller specs

* add billable metrics service specs

* add billable metric serializer test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Related to the public API Billable Metric Related to the billable metrics Feature Add a new feature to the app
Projects
None yet
Development

No branches or pull requests

1 participant