Closed
Description
Till date we are maintaining the project types (aka categories) in JSON mapping in each project we need it. Now we are moving it to the database to make all services independent of keeping them in sync for this JSON mapping.
Requirements:
- New model ProjectType backed by table
project_types
with only two fieldskey
anddisplayName
- Simple CRUD operations on top of it
- GET /v4/projectTypes to list all available project types (no filtering and no sorting)
GET /v4/projectTypes/{key} to fetch specific project type details- POST /v4/projectTypes to create new project type
- PATCH /v4/projectTypes/{key} to update existing project type
- DELETE /v4/projectTypes/{key} to delete existing project type
- Only users with
administrator
orConnect Admin
roles should be able to allow create new project type or update/delete existing one.
Metadata
Metadata
Assignees
Labels
No labels