Skip to content

Releases: costs-to-expect/api

Added parameters to items route

22 Sep 22:28
00c8fd5
Compare
Choose a tag to compare
  • 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

21 Sep 14:35
8d44ae2
Compare
Choose a tag to compare
  • 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

18 Sep 23:58
b678f37
Compare
Choose a tag to compare
  • Corrected sub category queries, joins incorrect.

Summary endpoints

10 Sep 22:37
3e32b0b
Compare
Choose a tag to compare
  • 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

07 Sep 13:47
8e2cc24
Compare
Choose a tag to compare

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.