Skip to content

Update PATCH /applications/application:id route #2509

@Hariom01010

Description

@Hariom01010

Description

Currently the /applications/:applicationID route is being used to update the status of an application. But according to the revamp project we will now be using this endpoint for letting the user update their application and current implementation will be moved under the /applications/:applicationId/feedback route

Current Behavior

Super User update the status of the application and gives feedback. The data is stored in the applicants collection.

Expected Behavior

  • Update route name from /applications/:applicationId to /applications/:applicationId/feedback
  • Update application schema to have adminFeedback object which stores the status. feedback and createdAt field which will help maintain history of reviews by superuser
  • Update allowed status send in payload

If the api is called with dev flag we use the new status and update the status of the application and store an history in adminFeedback.
If it is called without dev flag, old log is used.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions