Files
You can fetch a file in your repository using the API provided you know the commit ref and file path that you want to access.
API URLs
| Data | Method | URL | 
| File contents for a particular path within a ref | GET | /project/repository/blob/ref/path/to/file/or/folder | 
| File contents by blob SHA Git only | GET | /project/repository/blob/ref | 
- refin this context can be a branch name, tag name or commit reference.
- pathis the location of the file within your repository