Skip to content

Get time-entries per month of the year #106

@enriquezrene

Description

@enriquezrene

We need an endpoint able to return all the time entries in a specified month for my user. The endpoint should look like:

GET /time-entries

The user id read from the JWT. This endpoint should also allow filtering by dates as follows:

GET /time-entries?month={MONTH}&year={YEAR}

Where month can be:
1 = January
2 = February, etc

If YEAR is not specified, then the backend will return all the records with a start time matching the specified month in the current year. If MONTH and YEAR are not specified, then all the time-entries starting in the current month and year should be returned.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions