read_file
Read one project file by path — stored content first, template fallback.
Request
GET /api/v1/ops/projects/{project}/files/content?path={path}Parameter
In
Type
Required
Description
curl -H "Authorization: Bearer $TESTVIBE_API_KEY" \
"$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/files/content?path=Configurations/Default.config.js"testvibe files get Configurations/Default.config.jsResponse
{
"path": "Configurations/Default.config.js",
"kind": "config",
"source": "template",
"content": "module.exports = {\n use: { browserName: 'chromium', viewport: { width: 1280, height: 720 } },\n …\n};\n"
}Errors
HTTP
When
Last updated
Was this helpful?
