Retrieve snippet file content
GET
/api/v4/snippets/{id}/files/{ref}/{file_path}/raw
Retrieves the raw file content from a snippet as plain text.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” ref
required
string
The name of branch, tag or commit
file_path
required
string
The URL-encoded path to the file, like lib%2Fclass%2Erb
id
required
string
The ID of a snippet
Responses
Section titled “ Responses ”OK
Bad Request
Not found