Skip to content

Create swagger definition for time entries #5

@EliuX

Description

@EliuX

Every time the user is working on something he must start a clock. This clock is called a time clock and a user must only have an active one. When a time clock is finished this is converted into a TimeEntry, which has a start and an end date. If a time Entry have no end date then it meant that such time entry is the active one.
image

Being that said the data structure for TimeEntry would be:

  • id: Unique id for the time entry.
  • description: Field for the notes part.
  • project_id (required): Id of the selected project.
  • activity_id: Id of the selected activity.
  • technologies (required): List/Array of the list of names specified by the user.
  • start_time: Time when the user started. In UTC format.
  • end_time: Time when the user ended. In UTC format.
  • user_id: Id of the user that owns this time entry
  • tenant_id: Id of the tenant this entry was created for.

The correspondent actions will be:

  • Start/Create a new time entry
  • End: sets the end time
  • List all
  • Update

Todo:
A swagger definition must be available in order to access this element in the API.

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