GET algorithm/{id}/versions
Get an algorithms version history
Request Information
URI
https://mtm-api.xaitcpq.net/algorithm/{id}/versions
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of algorithm versions
Collection of VisualScript| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| TestProduct | globally unique identifier |
None. |
|
| Active | boolean |
None. |
|
| BlocklyXML | string |
None. |
|
| Script | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "0422fc1f-5421-4f4c-83d1-8bd56dc9483a",
"Name": "sample string 2",
"TestProduct": "f248df74-3993-4c94-84b5-0d1d792d4a39",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
},
{
"Id": "0422fc1f-5421-4f4c-83d1-8bd56dc9483a",
"Name": "sample string 2",
"TestProduct": "f248df74-3993-4c94-84b5-0d1d792d4a39",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
}
]
text/html
Sample:
[{"Id":"0422fc1f-5421-4f4c-83d1-8bd56dc9483a","Name":"sample string 2","TestProduct":"f248df74-3993-4c94-84b5-0d1d792d4a39","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"},{"Id":"0422fc1f-5421-4f4c-83d1-8bd56dc9483a","Name":"sample string 2","TestProduct":"f248df74-3993-4c94-84b5-0d1d792d4a39","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"}]
application/xml, text/xml
Sample:
<ArrayOfVisualScript xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
<VisualScript>
<Active>true</Active>
<BlocklyXML>sample string 4</BlocklyXML>
<Name>sample string 2</Name>
<Script>sample string 5</Script>
<TestProduct>f248df74-3993-4c94-84b5-0d1d792d4a39</TestProduct>
<Id>0422fc1f-5421-4f4c-83d1-8bd56dc9483a</Id>
</VisualScript>
<VisualScript>
<Active>true</Active>
<BlocklyXML>sample string 4</BlocklyXML>
<Name>sample string 2</Name>
<Script>sample string 5</Script>
<TestProduct>f248df74-3993-4c94-84b5-0d1d792d4a39</TestProduct>
<Id>0422fc1f-5421-4f4c-83d1-8bd56dc9483a</Id>
</VisualScript>
</ArrayOfVisualScript>