Skip to main content

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

Successful Response