Read a thread file
Reads one repository-relative text file for project_repository_id up to 64 KiB. Traversal and symlink escapes are rejected.
Reads one repository-relative text file for project_repository_id up to 64 KiB. Traversal and symlink escapes are rejected.
Authorization
bearerAuth Create an API key in g2b Settings, then send it as a Bearer token.
In: header
Path Parameters
1 <= length <= 256Query Parameters
1 <= length <= 2561 <= length <= 8192Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/threads/string/file?project_repository_id=string&path=string"{ "path": "string", "content": "string", "size_bytes": 0}List thread files GET
Lists a bounded repository-relative file tree for project_repository_id in the owned thread workspace. Browser and terminal access are not exposed.
Get thread review evidence GET
Returns the bounded candidate-tree diff, changed-file and line summary, candidate_revision, and pull-request checks for project_repository_id in an owned thread.