Expose state names for checksum_state in Data management API
What does this MR do and why?
Expose the state name (e.g. pending
) instead of its integer counterpart in the Data Management REST API.
This was the original intention as you may notice on the field documentation
References
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Enable EE license in your instance.
- Enable the
geo_primary_verification_view
feature flag on/rails/features
- Mae a request to the data management API (http://localhost:3000/api/v4/admin/data_management/upload)
- Take note of the
checksum_state
value.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #577617
Edited by Shane Maglangit