AppPackages
GET
AppPackages(‘:id’)/Operations.GetVersions

Returns all old versions of a specified AppPackage.
Resource Information
Method and URI | GET https://developer.api.autodesk.com/autocad.io/us-east/v2/AppPackages(‘:id’)/Operations.GetVersions |
Authentication Context | app only |
Required OAuth Scopes | code:all |
Data Format | JSON |
Request
Headers
Authorization* string | Must be Bearer <token> , where <token> is obtained
via OAuth |
* Required
Request
HTTP Status Code Summary
200 OK | Request has succeeded |
400 Bad Request | Request could not be understood by the server due to malformed syntax |
401 Unauthorized | Access token is invalid |
404 Not Found | Resource cannot be found |
429 Too Many Requests | Rate limit exceeded; wait some time before retrying |
500 Internal Server Error | An unexpected error occurred on the server |
Response
Body Structure (200)
Expand all
value array: object | An array of flat JSON objects representing the AppPackages. |
value[i] object | The ith element of the array: an AppPackage object. |
References array: string | AppPackages that this AppPackage depends on |
Resource string: URL | Location of the bundle containing the files to be loaded into the AutoCAD core engine |
RequiredEngineVersion enum: string | Version of the AutoCAD core engine to execute the AppPackage. Possible values: 20.1 , 21.0 , 22.0 . |
IsPublic bool | Specifies whether the entity can be publicly targeted |
IsObjectEnabler bool | Indicates whether the AppApackage represents an object enabler |
Id string | Unique name of the AppPackage |
Version int | Version of the bundle referenced by the Resource attribute |
Timestamp datetime: ISO 8601 | Timestamp of the last modification |
Description string | Additional details about the AppPackage |
Example
All Old Versions of the AppPackage Successfully Returned (200)
Request
curl -v "https://developer.api.autodesk.com/autocad.io/us-east/v2/AppPackages('SampleApp')/Operations.GetVersions" \
-X 'POST' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer Js43z2DJnsYuaAxI4R2iT84b3UPy' \
Response
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/json; odata.metadata=minimal; charset=utf-8
Date: Wed, 20 May 2015 16:46:01 GMT
Expires: -1
Pragma: no-cache
Server: Microsoft-IIS/8.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Length: 2066
Connection: keep-alive
{
"@odata.context": "https://developer.api.autodesk.com/autocad.io/us-east/v2/$metadata#AppPackages",
"value": [{
"@odata.context": "https://developer.api.autodesk.com/autocad.io/us-east/v2/$metadata#AppPackages/$entity",
"References": [],
"Resource": "https://acesdev.s3-us-west-2.amazonaws.com/aces-apppackages/ClientConsole-Dev/8f4cae3e-c17e-4f7a-9df9-1c4703b69889?AWSAccessKeyId=AKIAJVT56CBNM4XOWBBA&Expires=1432146217&Signature=1L%2BUF8aGM%2BZFwjHOLsxXRDQ%2FhfY%3D",
"RequiredEngineVersion": "22.0",
"IsPublic": false,
"IsObjectEnabler": false,
"Id": "SampleApp",
"Version": 1,
"Timestamp": "2015-02-11T19:15:40.835Z",
"Description": ""
}, {
"@odata.context": "https://developer.api.autodesk.com/autocad.io/us-east/v2/$metadata#AppPackages/$entity",
"References": [],
"Resource": "https://acesdev.s3-us-west-2.amazonaws.com/aces-apppackages/ClientConsole-Dev/8f4cae3e-c17e-4f7a-9df9-1c4703b69889?AWSAccessKeyId=AKIAJVT56CBNM4XOWBBA&Expires=1432146217&Signature=1L%2BUF8aGM%2BZFwjHOLsxXRDQ%2FhfY%3D",
"RequiredEngineVersion": "22.0",
"IsPublic": false,
"IsObjectEnabler": false,
"Id": "SampleApp",
"Version": 2,
"Timestamp": "2015-02-11T19:15:40.835Z",
"Description": "This is an update"
}]
}
Show More