diff options
Diffstat (limited to 'lib/api/release/links.rb')
-rw-r--r-- | lib/api/release/links.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/release/links.rb b/lib/api/release/links.rb index 0e83d086a6e..b21bcb4a903 100644 --- a/lib/api/release/links.rb +++ b/lib/api/release/links.rb @@ -56,7 +56,7 @@ module API params do requires :name, type: String, desc: 'The name of the link. Link names must be unique in the release' requires :url, type: String, desc: 'The URL of the link. Link URLs must be unique in the release.' - optional :filepath, type: String, desc: 'Optional path for a direct asset link' + optional :direct_asset_path, type: String, desc: 'Optional path for a direct asset link', as: :filepath optional :link_type, type: String, values: %w[other runbook image package], @@ -108,7 +108,7 @@ module API params do optional :name, type: String, desc: 'The name of the link' optional :url, type: String, desc: 'The URL of the link' - optional :filepath, type: String, desc: 'Optional path for a direct asset link' + optional :direct_asset_path, type: String, desc: 'Optional path for a direct asset link', as: :filepath optional :link_type, type: String, values: %w[other runbook image package], |