curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/transformation \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"dockerContainer": "<string>",
"indMetadata": true,
"description": "<string>",
"cliArguments": "<string>",
"requestsCpu": 123,
"requestsMemory": 123,
"limitsCpu": 123,
"limitsMemory": 123,
"additionalMountPoints": [
{
"type": "bucket",
"bucketId": 123,
"portalId": 123,
"mountPoint": "<string>"
}
],
"operatesOn": "file",
"allowExtraCliArguments": true,
"parameters": [
{}
],
"maxRunningTimeStr": "<string>",
"isPublic": true,
"repositoryUrl": "<string>",
"showInDataSources": true,
"showInCreateTransformationJob": true,
"showInSyntheticData": true,
"showInAIActions": true,
"environmentVariables": [
{
"key": "<string>",
"value": "<string>"
}
],
"aiActionsOperatesOn": [
"images_object_detection"
],
"sourceCodeDownloadStaffOnly": true
}'
{
"success": true,
"error": "<string>",
"id": 123
}
Adds a transformation block.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/transformation \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"dockerContainer": "<string>",
"indMetadata": true,
"description": "<string>",
"cliArguments": "<string>",
"requestsCpu": 123,
"requestsMemory": 123,
"limitsCpu": 123,
"limitsMemory": 123,
"additionalMountPoints": [
{
"type": "bucket",
"bucketId": 123,
"portalId": 123,
"mountPoint": "<string>"
}
],
"operatesOn": "file",
"allowExtraCliArguments": true,
"parameters": [
{}
],
"maxRunningTimeStr": "<string>",
"isPublic": true,
"repositoryUrl": "<string>",
"showInDataSources": true,
"showInCreateTransformationJob": true,
"showInSyntheticData": true,
"showInAIActions": true,
"environmentVariables": [
{
"key": "<string>",
"value": "<string>"
}
],
"aiActionsOperatesOn": [
"images_object_detection"
],
"sourceCodeDownloadStaffOnly": true
}'
{
"success": true,
"error": "<string>",
"id": 123
}
Organization ID
OK
The response is of type object
.