Gets the Animation Statistics of a Schedule.
Animation Statistics
Animation information can take a long time to load. Animation Statistics may be used to render loading bars for the animation download process.
Authentication
Requires Authorization
header with valid Bearer token for scope itwin-platform
.
For more documentation on authorization and how to get access token visit OAUTH2 Authorization page.
Rate limits
All iTwin Platform API operations have a rate limit. For more documentation on that visit Rate limits and quotas page.
Request parameters
The unique identifier of the Schedule.
Request headers
A header that makes the request conditional. If the ETag of the requested resource or resource collection matches the provided value, a 304 (Not Modified) response is returned. For more information see the official documentation.
OAuth access token with itwin-platform
scope
Setting to application/vnd.bentley.itwin-platform.v1+json
is recommended.
Response 200 OK
OK
{ "animationStatistics": { "animation3dPathAssignmentCount": 122, "animation3dPathCount": 122, "animation3dPathKeyframeCount": 140, "animation3dTransformCount": 0, "animationBindingCount": 30024, "appearanceProfileCount": 44, "taskCount": 1068 } }
Response headers
A token used for pagination to retrieve the next set of results. It indicates where the previous page of results ended, allowing you to fetch the subsequent batch of data.
A header that identifies a specific version of a resource or resource collection. For more information see the official documentation.
Response 304 Not Modified
Not Modified
Response 401 Unauthorized
This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{ "error": { "code": "HeaderNotFound", "message": "Header Authorization was not found in the request. Access denied." } }
Response 404 Not Found
This response indicates that the provided Schedule is not available.
{ "error": { "code": "ScheduleNotFound", "message": "Requested Schedule is not available.", "target": "scheduleId" } }
Response 429 Too many requests
This response indicates that the client sent more requests than allowed by this API for the current tier of the client.
{ "error": { "code": "RateLimitExceeded", "message": "The client sent more requests than allowed by this API for the current tier of the client." } }
Response headers
Number of seconds to wait until client is allowed to make more requests.
Animation Statistics
Statistics of Schedule animation.
The number of Animation 3D Path Assignments in the Schedule.
The number of Animation 3D Paths in the Schedule.
The number of Animation 3D Path Keyframes in the Schedule.
The number of Animation 3D Transforms in the Schedule.
The number of Animation Bindings in the Schedule.
The number of Appearance Profiles in the Schedule.
The number of Tasks in the Schedule.
{ "title": "Animation Statistics", "type": "object", "properties": { "animation3dPathAssignmentCount": { "type": "integer", "description": "The number of Animation 3D Path Assignments in the Schedule." }, "animation3dPathCount": { "type": "integer", "description": "The number of Animation 3D Paths in the Schedule." }, "animation3dPathKeyframeCount": { "type": "integer", "description": "The number of Animation 3D Path Keyframes in the Schedule." }, "animation3dTransformCount": { "type": "integer", "description": "The number of Animation 3D Transforms in the Schedule." }, "animationBindingCount": { "type": "integer", "description": "The number of Animation Bindings in the Schedule." }, "appearanceProfileCount": { "type": "integer", "description": "The number of Appearance Profiles in the Schedule." }, "taskCount": { "type": "integer", "description": "The number of Tasks in the Schedule." } }, "additionalProperties": false, "description": "Statistics of Schedule animation." }
Animation Statistics Response
Container for Animation Statistics object.
{ "title": "Animation Statistics Response", "type": "object", "properties": { "animationStatistics": { "$ref": "#/components/schemas/AnimationStatistics", "description": "Animation Statistics." } }, "additionalProperties": false, "description": "Container for Animation Statistics object." }
Error
Contains error information.
One of a server-defined set of error codes.
A human-readable representation of the error.
The target of the error.
{ "type": "object", "description": "Contains error information.", "properties": { "code": { "type": "string", "description": "One of a server-defined set of error codes." }, "message": { "type": "string", "description": "A human-readable representation of the error." }, "target": { "type": "string", "description": "The target of the error.", "nullable": true } }, "required": [ "code", "message" ], "additionalProperties": true }
Error Response
Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.
{ "type": "object", "title": "Error Response", "description": "Gives details for an error that occurred while handling the request. Note that clients MUST NOT assume that every failed request will produce an object of this schema, or that all of the properties in the response will be non-null, as the error may have prevented this response from being constructed.", "properties": { "error": { "description": "Error information.", "$ref": "#/components/schemas/Error" } }, "required": [ "error" ], "additionalProperties": false }
Was this page helpful?