ioet / ioet/time-tracker-backend

Return last entries created with different projects

Open
#215 1 comment 0 reactions 2 assignees Claimed by @PaulRC-ioet View on GitHub
enhancement mvp nice-to-have
Dominant language
Python
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We need an endpoint to return the latest time-entries created belonging to different projects

For example, if I have created
5 entries for project A:
11/01/2020
15/12/2019
...
01/10/2020

10 for project B,
01/10/2020
15/09/2020
...
01/01/2018

7 for Project C,
12/07/2020
07/07/2020
...
01/01/2018

The endpoint will return the last created entry for each project as follows:

http://ip:port/time-entries/latest
01/10/2020 - Project A
01/10/2020 - Project B
12/07/2020 - Project C

Each entry needs to include the following fields:
- Project ID
- Project name
- Activity ID
- Activity Name
- Ticket URI
- Technologies
- Notes

**Note**
Include maximum 10 different projects, all the data should belong to the owner of the JWT in the request

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.