GET algorithm/{id}/versions
Get an algorithms version history
Request Information
URI
https://penlon-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": "8b76d707-7a58-4987-a377-338f853b8ce8",
"Name": "sample string 2",
"TestProduct": "954f2e1d-e498-48b1-b066-657cf4771c0a",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
},
{
"Id": "8b76d707-7a58-4987-a377-338f853b8ce8",
"Name": "sample string 2",
"TestProduct": "954f2e1d-e498-48b1-b066-657cf4771c0a",
"Active": true,
"BlocklyXML": "sample string 4",
"Script": "sample string 5"
}
]
text/html
Sample:
[{"Id":"8b76d707-7a58-4987-a377-338f853b8ce8","Name":"sample string 2","TestProduct":"954f2e1d-e498-48b1-b066-657cf4771c0a","Active":true,"BlocklyXML":"sample string 4","Script":"sample string 5"},{"Id":"8b76d707-7a58-4987-a377-338f853b8ce8","Name":"sample string 2","TestProduct":"954f2e1d-e498-48b1-b066-657cf4771c0a","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>954f2e1d-e498-48b1-b066-657cf4771c0a</TestProduct>
<Id>8b76d707-7a58-4987-a377-338f853b8ce8</Id>
</VisualScript>
<VisualScript>
<Active>true</Active>
<BlocklyXML>sample string 4</BlocklyXML>
<Name>sample string 2</Name>
<Script>sample string 5</Script>
<TestProduct>954f2e1d-e498-48b1-b066-657cf4771c0a</TestProduct>
<Id>8b76d707-7a58-4987-a377-338f853b8ce8</Id>
</VisualScript>
</ArrayOfVisualScript>