Releases: costs-to-expect/api
Releases · costs-to-expect/api
Added parameters to items route
- Added ability to set GET parameters in OPTIONS requests.
- Added year parameter to /resource_types/{resource_type_id}/resources/{resource_id}/items.
- Added month parameter to /resource_types/{resource_type_id}/resources/{resource_id}/items.
- Added category parameter to /resource_types/{resource_type_id}/resources/{resource_id}/items.
- ConvertHashIds middleware now automatically converts query params.
- /resource_types/{resource_type_id}/resources/{resource_id}/items route total count not using resource type and resources ids.
- Parameters not being passed through to pagination links.
- Pagination links incorrect URIs.
Year and month resource summaries
- Added a summary/years route for a resource.
- Added a summary/years/{year} route for a resource.
- Added a summary/years/{year}/month route for a resource.
- Added a summary/years/{year}/month/{month} route for a resource.
- Override exceptions, always return json.
Bug fixes
- Corrected sub category queries, joins incorrect.
Summary endpoints
- Minor updates to config files.
- Categories and sub categories end points now returns results in alphabetical order.
- Added four summary routes for a resource, categories collection, category,
sub categories collection and sub category. - Code style updates.
Initial release
Today is the initial release of the costs to expect API @ https://api.costs-to-expect.com/v1.
The API contains ever cost directly related to raising my son, the intention is to record every cost until the day he turns 18.
In addition to the feature updates listed in the README I am going to work on the website for the API https://github.com/costs-to-expect/website and two apps for submitting data, initially a Laravel web app, later on, an iOS app.