openapi: 3.2.0 info: title: ThingsBoard REST Queue Stats Controller API description: ThingsBoard open-source IoT platform REST API documentation. contact: name: ThingsBoard team url: https://thingsboard.io email: info@thingsboard.io license: name: Apache License Version 2.0 url: https://github.com/thingsboard/thingsboard/blob/master/LICENSE version: 3.7.0 servers: - url: https://vista.viridiparente.com description: Generated server url tags: - name: queue-stats-controller paths: /api/queueStats: get: tags: - queue-stats-controller summary: Get Queue Stats entities (getTenantQueueStats) description: 'Returns a page of queue stats objects that are designed to collect queue statistics for every service. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the ''Model'' tab of the Response Class for more details. Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.' operationId: getQueueStatsByIds_1 parameters: - name: queueStatsIds in: query description: A list of queue stats ids, separated by comma ',' required: true schema: items: {} - name: pageSize in: query description: Maximum amount of entities in a one page required: true schema: type: integer format: int32 - name: page in: query description: Sequence number of page starting from 0 required: true schema: type: integer format: int32 - name: textSearch in: query description: The case insensitive 'substring' filter based on the queue name or service id. required: false schema: type: string - name: sortProperty in: query description: Property of entity to sort by required: false schema: enum: - createdTime - name: sortOrder in: query description: Sort order. ASC (ASCENDING) or DESC (DESCENDING) required: false schema: enum: - ASC - DESC responses: '200': description: OK content: application/json: schema: oneOf: - $ref: '#/components/schemas/PageDataQueueStats' - type: array items: $ref: '#/components/schemas/QueueStats' /api/queueStats/{queueStatsId}: get: tags: - queue-stats-controller summary: Get Queue stats entity by id (getQueueStatsById) description: 'Fetch the Queue stats object based on the provided Queue stats id. Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.' operationId: getQueueStatsById parameters: - name: queueStatsId in: path description: A string value representing the queue stats id. For example, '687f294c-42b6-435a-983c-b7beff2784f9' required: true schema: type: string responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/QueueStats' components: schemas: QueueStatsId: properties: id: type: string format: uuid description: ID of the entity, time-based UUID v1 example: 784f394c-42b6-435a-983c-b7beff2784f9 entityType: type: string description: string enum: - QUEUE_STATS example: QUEUE_STATS required: - entityType - id TenantId: properties: id: type: string format: uuid description: ID of the entity, time-based UUID v1 example: 784f394c-42b6-435a-983c-b7beff2784f9 entityType: type: string description: string enum: - TENANT example: TENANT required: - entityType - id QueueStats: properties: id: $ref: '#/components/schemas/QueueStatsId' createdTime: type: integer format: int64 tenantId: $ref: '#/components/schemas/TenantId' queueName: type: string serviceId: type: string PageDataQueueStats: properties: data: type: array description: Array of the entities items: $ref: '#/components/schemas/QueueStats' readOnly: true totalPages: type: integer format: int32 description: Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria readOnly: true totalElements: type: integer format: int64 description: Total number of elements in all available pages readOnly: true hasNext: type: boolean description: '''false'' value indicates the end of the result set' readOnly: true securitySchemes: HTTP_login_form: type: http description: Enter Username / Password scheme: loginPassword bearerFormat: /api/auth/login|X-Authorization