cURL
curl --request GET \ --url http://localhost:8080/api/workspaces/{id}/code/file \ --header 'Authorization: Bearer <token>'
{ "path": "<string>", "size": 123, "content": "<string>", "lines": 123, "language": "<string>", "binary": false }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Relative file path within the repo
Successful Response