Skip to content

Resolve "Use `direct_asset_path` instead of `filepath` when calling Releases or Release Links APIs"

What does this MR do and why?

The filepath field for the asset links has been deprecated and will be aliased to direct_asset_path in GitLab 17.0. This change set alises the filepath field and at the same time introduces the direct_asset_path field for which the former is an alias. The value of the new direct_asset_path field is the same as it was for the filepath.

If the filepath and direct_asset_path fields are specified, the direct_asset_path takes precedence over the filepath field.

Users of the filepath field are advised to rename all occurrences of it to direct_asset_path in their JSON provided as asset link value.

Closes #165 (closed)

Checklist

Edited by Timo Furrer

Merge request reports