github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2919/edge-api/management/summary.yml (about) 1 --- 2 paths: 3 summary: 4 get: 5 summary: Returns a list of accessible resource counts 6 description: This endpoint is usefull for UIs that wish to display UI elements with counts. 7 security: 8 - ztSession: [ ] 9 tags: 10 - Informational 11 operationId: listSummary 12 responses: 13 '200': 14 $ref: '#/responses/listSummaryCounts' 15 '401': 16 $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' 17 18 responses: 19 listSummaryCounts: 20 description: Entity counts scopped to the current identitie's access 21 schema: 22 $ref: '#/definitions/listSummaryCountsEnvelope' 23 24 definitions: 25 listSummaryCountsEnvelope: 26 type: object 27 required: 28 - meta 29 - data 30 properties: 31 meta: 32 $ref: '../shared/standard-responses.yml#/definitions/meta' 33 data: 34 $ref: '#/definitions/listSummaryCounts' 35 listSummaryCounts: 36 type: object 37 additionalProperties: 38 type: integer