Add optional param to Export API to export a single relation
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
The following discussion from !59978 (merged) should be addressed:
-
@kassio started a discussion: (+3 comments) @georgekoltsov, I noticed now that this proposal exports all the group relations by once. From &5769, I had understood that the endpoint would be something like:
groups/:id/export/:relation
, to export relations individually to accomplish the mixed approach and the ability to retry individual relation exports when needed. Exporting all the relation by once, seems unnecessary since some of the relations won't be imported byndjson
files.
Proposed solution
- Update
project_export.rb
&group_export.rb
to accept an optionalrelation
param - If optional relation param is passed - export only relation specified, without exporting anything else
Edited by 🤖 GitLab Bot 🤖