snippets
Retrieve snippet file content
Retrieves the raw file content from a snippet as plain text.
get/api/v4/snippets/{id}/files/{ref}/{file_path}/raw
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
refstring required
The name of branch, tag or commit
file_pathstring required
The URL-encoded path to the file, like lib%2Fclass%2Erb
idinteger required
Response
Retrieve snippet file content
Changes
No recorded changes to this operation across all 5 revisions of this API.