Create a test sample for a node
POST/api/create_node_sample
Creates a new sample file under the node's samples/ directory using the given name and data. Rejects invalid names (empty, containing '/', or '.'/'..') and fails if a sample with that name already exists.
Request
Responses
- 200
- 400
- 404
- 409
- 422
Successful Response
Invalid sample name
Node not found
A sample with that name already exists
Validation Error