Expose import url in projects API
What does this MR do and why?
Related to #331567 (closed)
This MR adds import_url
, import_status
fields and imported
filter to our REST API projects
endpoint
This is required to implement project history page where we need to list all imported projects history
How to set up and validate locally
- Import project from anywhere (git url, github, etc. ok)
- Ensure it is present in
/api/v4/projects?imported=true
- Ensure
import_url
field is included - Ensure
import_status
field is included
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Illya Klymov