Create protocol
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Inject a protocol in node. Returns the ID of the protocol. If ?async is true, the function returns immediately. Otherwise, the protocol will be validated before the result is returned.
Body
application/json
Request payload.
The environment a protocol relies on and the components a protocol is made of.
expected_env_versioninteger[0, 65535]requiredExpected env version value.
componentsArray<object>requiredList of components.
Parameters
asyncstringqueryAsync parameter.
Response
200OK
Successful response.
400Bad Request
Invalid request.
default
Error response.