Skip to content

[EE] Optional '/-/' delimiter for epics and search API

Jan Provaznik requested to merge ee-api-delimiter into master

'/-/' delimiter is used only in UI, in API we don't use it for other endpoints. To align search endpoints with the rest of API endpoints, this patch makes '/-/' optional for existing endpoints (to keep backward compatibility).

List of valid endpoints for epics will be:

/api/v4/groups/1/-/epics/5 # kept for backward compatibility
/api/v4/groups/1/-/epics/5/issues # kept for backward compatibility
/api/v4/groups/1/epics/5
/api/v4/groups/1/epics/5/issues
/api/v4/groups/1/epics/5/notes
/api/v4/groups/1/epics/5/discussions

Documentation is updated to prefer paths without '/-/'.

Related issues:

#5245 (closed)

Edited by Coung Ngo

Merge request reports

Loading