curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/versions \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"nextVersion": 123,
"versions": [
{
"id": 123,
"version": 123,
"description": "<string>",
"bucket": {
"id": 123,
"name": "<string>",
"organizationName": "<string>",
"path": "<string>",
"bucket": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"userId": 123,
"userName": "<string>",
"userPhoto": "<string>",
"publicProjectId": 123,
"publicProjectUrl": "<string>",
"trainingAccuracy": 123,
"testAccuracy": 123,
"accuracyBasedOnImpulse": "<string>",
"totalSamplesCount": "<string>",
"license": "Apache-2.0"
}
],
"customLearnBlocks": [
{
"author": "<string>",
"name": "<string>"
}
],
"runModelTestingWhileVersioning": true
}
Get all versions for this project.
curl --request GET \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/versions \
--header 'x-api-key: <api-key>'
{
"success": true,
"error": "<string>",
"nextVersion": 123,
"versions": [
{
"id": 123,
"version": 123,
"description": "<string>",
"bucket": {
"id": 123,
"name": "<string>",
"organizationName": "<string>",
"path": "<string>",
"bucket": "<string>"
},
"created": "2023-11-07T05:31:56Z",
"userId": 123,
"userName": "<string>",
"userPhoto": "<string>",
"publicProjectId": 123,
"publicProjectUrl": "<string>",
"trainingAccuracy": 123,
"testAccuracy": 123,
"accuracyBasedOnImpulse": "<string>",
"totalSamplesCount": "<string>",
"license": "Apache-2.0"
}
],
"customLearnBlocks": [
{
"author": "<string>",
"name": "<string>"
}
],
"runModelTestingWhileVersioning": true
}
Project ID
OK
The response is of type object
.