openapi: 3.2.0 info: title: Acronis Stats API version: '1.0' description: 'Operations tagged Stats across 2 of this provider''s published API definitions: acronis-alerts-v1-openapi.json, acronis-vaultman-v1-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: https://dev-cloud.acronis.com/api/alert_manager/v1 variables: {} - url: https://dev-cloud.acronis.com/api/vault_manager/v1 variables: {} tags: - name: Stats paths: /stats: get: operationId: GetCountOfActiveAlertsAndLastModificationTime description: Returns count of active alerts and last modification time. responses: '200': description: '' content: application/json: schema: $ref: '#/components/schemas/Statistics' '401': description: Request is refused because authentication parameters are invalid. content: text/plain: schema: example: "\n \n 401 Authorization Required\n \n \n
\n

401 Authorization Required

\n
\n
\n
nginx
\n \n\n" '403': description: 'A security error due to an issue with tenant security claim: invalid tenant in the access token, tenant resolution failed and etc. ' content: application/json: schema: $ref: '#/components/schemas/Error' security: - oauth_2_0: - urn:acronis.com::alert_manager::viewer tags: - Stats summary: Get count of active alerts and last modification time x-summary-source: derived x-operation-id-source: normalized x-operation-id-original: Get count of active alerts and last modification time servers: - url: https://dev-cloud.acronis.com/api/alert_manager/v1 variables: {} components: schemas: debugInfo: description: Error debug information (map type) type: object Error: description: Base error object type: object required: - domain - code properties: domain: description: Error type or category. Can be ['Licensing','Access'] or name of service (for example 'PolicyManager' or 'VaultManager') type: string code: description: Error id or code, unique in the domain. Same as in 'reason' field type: string reason: description: Obsolete. Error id or code, unique in the domain. Same as in 'code' field type: string context: description: Error context dictionary type: object kbLink: $ref: '#/components/schemas/kbLinkInfo' debug: $ref: '#/components/schemas/debugInfo' kbLinkInfo: description: Components for kblink type: object required: - lineTag - serCode - version - build - product - os properties: lineTag: type: string serCode: type: string version: type: string build: type: integer product: type: string os: type: string Statistics: example: count: 12044 modifiedAt: '2022-02-20T16:42:22.270415369Z' type: object required: - count properties: count: description: Active alerts count. type: integer modifiedAt: description: Most recent alert modification time. type: string pattern: ^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+){0,1}(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$ storage_type: description: Vault storage type. enum: - unknown - local_folder - network_share - ftp - sftp - cd - tape - storage_server - asz - removable_drive - online - nfs_share - esx - local_abgw - microsoft_azure - amazon_s3 - s3_compatible type: string securitySchemes: oauth_2_0: type: oauth2 description: OAuth 2.0 security scheme definition for a user authorization. flows: clientCredentials: scopes: urn:acronis.com::alert_manager::admin: '' urn:acronis.com::alert_manager::viewer: '' tokenUrl: https://dev-cloud.acronis.com/api/2/idp/token password: scopes: urn:acronis.com::alert_manager::admin: '' urn:acronis.com::alert_manager::viewer: '' tokenUrl: https://dev-cloud.acronis.com/api/2/idp/token authorizationCode: scopes: urn:acronis.com::alert_manager::admin: '' urn:acronis.com::alert_manager::viewer: '' authorizationUrl: https://dev-cloud.acronis.com/api/2/idp/authorize tokenUrl: https://dev-cloud.acronis.com/api/2/idp/token oauth2: type: oauth2 flows: password: scopes: vault_manager::system_admin: '' vault_manager::admin: '' vault_manager::core_restore: '' vault_manager::c2c_restore: '' vault_manager::orphanage_readwrite: '' vault_manager::read: '' protection::readonly: '' root_admin: '' partner_admin: '' infra_admin: '' tokenUrl: https://dev-cloud.acronis.com/api/2/idp/token authorizationCode: scopes: vault_manager::system_admin: '' vault_manager::admin: '' vault_manager::core_restore: '' vault_manager::c2c_restore: '' vault_manager::orphanage_readwrite: '' vault_manager::read: '' protection::readonly: '' root_admin: '' partner_admin: '' infra_admin: '' authorizationUrl: https://dev-cloud.acronis.com/api/2/idp/authorize tokenUrl: https://dev-cloud.acronis.com/api/2/idp/token x-refined-from: - acronis-alerts-v1-openapi.json - acronis-vaultman-v1-openapi.json x-roles: - name: public id: '1' description: public role x-tags: - public - name: private id: '2' description: private role x-tags: - private