{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/21eb1d117a633ad17a20da730c09f519133958a8/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","description":"Crosswork Role-based Access Control APIs","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/RBAC/rbac-v1-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cw_ip}:30603/crosswork/aaa/v1"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '.","name":"Authorization","in":"header"}}},"spec":{"type":"object","properties":{"api_name":{"type":"string","description":"A human-readable name or title for the API (e.g., 'Alarms APIs', 'Users and Roles Management APIs')."},"api_id":{"type":"string","description":"The unique programmatic identifier for the API to which these access rights apply."},"versions":{"type":"array","description":"A list of API versions for which these permissions are valid.","items":{"type":"string"}},"allowed_urls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","description":"A URL pattern to which the access rule applies."},"methods":{"type":"array","description":"A list of HTTP methods (e.g., 'GET', 'POST', 'PUT', 'DELETE', 'PATCH') that are permitted for the specified URL.","items":{"type":"string"}}},"$$ref":"#/components/schemas/rbacAccessSpec"}}},"$$ref":"#/components/schemas/rbacAccessDefinition","title":"rbacAccessDefinition"}}