Update a node's test sample
POST/api/update_node_sample
Updates an existing sample's content and, if the name changed, renames its file on disk. Fails if the node or the existing sample can't be found, the new name is invalid, or another sample already uses the new name.
Request
Responses
- 200
- 400
- 404
- 409
- 422
Successful Response
Invalid sample name
Node not found, or sample not found
A sample with that name already exists
Validation Error