For the complete documentation index, see llms.txt. This page is also available as Markdown.

update_feature

Update a feature's Gherkin source and/or rename it.

Update a feature's Gherkin and/or rename it. Both body fields are optional — send what you want to change.

Request

PATCH /api/v1/ops/projects/{project}/features/{feature}
Parameter
In
Type
Required
Description

project

path

string

yes

The project's public id.

feature

path

string

yes

Feature id or name.

gherkin

body

string

no

The new Gherkin source.

name

body

string

no

The new feature name.

curl -X PATCH -H "Authorization: Bearer $TESTVIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Sign-in"}' \
  "$TESTVIBE_SERVER/api/v1/ops/projects/$PROJECT/features/12"
testvibe features update 12 --file login.feature --name "Sign-in"

Tool update_feature{ "feature": "12", "name": "Sign-in" }.

Response

{ "ok": true }

Errors

HTTP
When

404 not_found

No such feature in this project.

409 conflict

The feature is generating right now — wait or cancel first.

Last updated

Was this helpful?