diff options
Diffstat (limited to 'lib/api/files.rb')
-rw-r--r-- | lib/api/files.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb index b02f1a8728b..18638abd184 100644 --- a/lib/api/files.rb +++ b/lib/api/files.rb @@ -151,19 +151,6 @@ module API present blame_ranges, with: Entities::BlameRange end - desc 'Get raw file metadata from repository' - params do - requires :file_path, type: String, file_path: true, - desc: 'The url encoded path to the file.', documentation: { example: 'lib%2Fclass%2Erb' } - optional :ref, type: String, - desc: 'The name of branch, tag or commit', allow_blank: false, documentation: { example: 'main' } - end - head ":id/repository/files/:file_path/raw", requirements: FILE_ENDPOINT_REQUIREMENTS, urgency: :low do - assign_file_vars! - - set_http_headers(blob_data) - end - desc 'Get raw file contents from the repository' do success File end |