Skip to content

Manage templates #166

@enriquezrene

Description

@enriquezrene

We need to create a new set of endpoints within the API that can be used to create entries. This endpoint refer to a new domain entity called template that is comprised of:

  • name
  • time in (hh:mm)
  • time out (hh:mm)
  • project_id
  • activity_id
  • ticket URI
  • description
  • technologies (string [])
  • owner_id (read it from the JWT)

None of these fields are required.

Acceptance Criteria

  • Endpoints to create, update, delete, get templates are created
  • The templates have a field called owner_id that is filled with the data from the JWT
  • The templates returned to the user are only those with the same owner_id

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions