{"type":"model","meta":{"id":"/apps/pubhub/media/cloud-security-apis-in-eft/9d37d008417d562ab46d4b67547a68457ce288d2/eb145afb-23bf-3669-8aa6-a86cb8aee573","info":{"title":"Cisco Secure Access API Usage API","version":"2.0.0","description":"Get the Cisco Secure Access API usage reports for an organization.","contact":{"name":"Cloud Security Developer Community"}},"security":[{"oauthFlow":[]}],"tags":[{"name":"API Usage Report","description":"API Usage reports"},{"name":"Secure Access"}],"x-parser-conf":{"overview":{"markdownPath":"secure-access/reference/reports/api-usage-overview.md","uri":"secure-access-api-reference-api-usage-overview"}},"openapi":"3.0.1","servers":[{"url":"https://api.sse.cisco.com/{basePath}","variables":{"basePath":{"default":"reports/v2"}}}],"securitySchemes":{"oauthFlow":{"type":"oauth2","description":"Client credential flow","flows":{"clientCredentials":{"tokenUrl":"https://api.sse.cisco.com/auth/v2/token","scopes":{"reports.apiusage:read":"Read the API Usage reports"}}}}}},"spec":{"type":"object","description":"The information about the API responses.","required":["from","to","count","items"],"properties":{"from":{"type":"string","description":"The date and time where to start reading in the collection.","example":"2023-12-03","$$ref":"#/components/schemas/from"},"to":{"type":"string","description":"The date and time where to stop reading in the collection.","example":"2023-12-05","$$ref":"#/components/schemas/to"},"count":{"type":"integer","format":"int32","description":"The total number of API requests.","example":450,"$$ref":"#/components/schemas/count"},"items":{"type":"array","description":"The list of information about API responses for the API requests.","items":{"type":"object","required":["statusCode","count","requests"],"properties":{"statusCode":{"type":"string","description":"The HTTP response status code.","example":"204"},"count":{"type":"integer","format":"int32","description":"The total number of API requests.","example":450,"$$ref":"#/components/schemas/count"},"requests":{"type":"array","description":"The list of API request information.","items":{"type":"object","required":["path","verb","count"],"properties":{"path":{"type":"string","description":"The path of the API endpoint.","example":"/reports/v2/activity/proxy"},"verb":{"type":"string","description":"The name of the API operation.","example":"GET"},"count":{"type":"integer","description":"The number of requests to the API endpoint.","format":"int64","example":928}},"example":{"path":"/auth/v2/token","verb":"POST","count":928}},"example":[{"path":"/auth/v2/token","verb":"POST","count":928}],"$$ref":"#/components/schemas/requestDetailsList"}}},"example":[{"statusCode":"302","count":2667,"requests":[{"path":"/reports/v2/activity/proxy","verb":"GET","count":2667}]},{"statusCode":"200","count":6000,"requests":[{"path":"/auth/v2/token","verb":"POST","count":4204},{"path":"/reports.us/v2/activity/proxy","verb":"GET","count":2661}]},{"statusCode":"401","count":566,"requests":[{"path":"/policies/v2/destinationlists","verb":"GET","count":546},{"path":"/policies/v2/destinationlists","verb":"POST","count":16},{"path":"/policies/v2/destinationlists/{destinationListId}","verb":"GET","count":4}]}],"$$ref":"#/components/schemas/responsesInformation"}},"example":{"from":"2023-12-03","to":"2023-12-04","count":100,"items":[{"statusCode":"401","count":566,"requests":[{"path":"/reports/v2/activity/proxy","verb":"GET","count":546},{"path":"/deployments/v2/networks","verb":"POST","count":16},{"path":"/deployments/v2/roamingcomputers","verb":"GET","count":4}]}]},"$$ref":"#/components/schemas/responses","title":"responses"}}