The compilable's id to duplicate
- Execute the specified compilable
Retrieve all compilables
Create a compilable
Retrieve the specified compilable
Update a compilable
Delete a compilable
Update a compilable
Retrieve the specified compilable flaws
Duplicate the specified compilable
Preview the specified compilable using the specified configuration
Execute the specified com...
NP6 API Reference (8.1.0)
This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
If you have any questions or need assistance, please contact our support team at https://support.chapsvision.com.
Languages
Servers
Production server
https://api-cm.np6.com
- Production serverhttps://api-cm.np6.com/scripting/compilables/{id}/duplication
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/scripting/compilables/{id}/duplication' \
-H 'X-Key: string'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "state": "string", "stamp": { "creation": "2019-08-24T14:15:22Z", "modification": "2019-08-24T14:15:22Z" }, "value": { "type": "string" } }
- Production serverhttps://api-cm.np6.com/scripting/compilables/{id}/execution
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/scripting/compilables/{id}/execution' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{}'Response
application/json
{ "type": "success", "arguments": {}, "value": {} }
Bodyapplication/json
The preview definition
Defines the definition of the compilable to preview
- Production serverhttps://api-cm.np6.com/scripting/compilables/{id}/preview
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/scripting/compilables/{id}/preview' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"value": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"state": "string",
"stamp": {
"creation": "2019-08-24T14:15:22Z",
"modification": "2019-08-24T14:15:22Z"
},
"value": {
"type": "string"
}
},
"arguments": {}
}'Response
application/json
{ "type": "success", "arguments": {}, "value": {} }