You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POST API- create tags, should be restricted to admins only.
GET API- get all tags, there's should be a filter by status.
PUT API- Tags should be editable, restricted to admins only.
PUT (DELETE) API- the delete API should really just be a put API that updates the status of the selected tag to "Deleted". This is because actually deleting a tag that is attached to log_records will cause errors if we don't first remove the tag from the log records, so we can still store the tag but just hide it from the user.
Implementation
Refer to existing APIs in codebase for implementation.
For the delete API, don't worry about removing the tag from the log record itself, we can render the tag on the front-end depending on the status of the log.
Summary
Goals
Implementation
The text was updated successfully, but these errors were encountered: