{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/0c1e1532ee27d48ad62c006ea11a39cde6ca109d/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":"array","example":[{"id":"Chassis View","name":"Chassis View","items":[{"id":"chassis_view_read_id","name":"View Chassis View","description":"Allow user to view Chassis View","enabled":true},{"id":"chassis_view_read_write_id","name":"Edit Chassis View","description":"Allow user to view and modify in Chassis View","enabled":true}]},{"id":"QoS","name":"QoS","items":[{"id":"id_QosProfileConfigurationTask","name":"Qos Profile Configuration Task","enabled":true}]}],"items":{"type":"object","properties":{"id":{"type":"string","description":"The unique programmatic identifier for this RBAC task."},"name":{"type":"string","description":"A human-readable name for the task, typically displayed in a user interface."},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"A unique identifier for this specific task item."},"name":{"type":"string","description":"A human-readable name for the task item, suitable for display in a user interface."},"description":{"type":"string","description":"A detailed explanation of what functionality or access this task item provides."},"enabled":{"type":"boolean","description":"Indicates whether this specific task item is currently active or enabled within its context. Defaults to false if not specified."},"permission":{"type":"string","description":"The underlying permission string or key associated with this task item, often used internally for authorization checks."}},"$$ref":"#/components/schemas/rbacTaskItem"},"$$ref":"#/components/schemas/rbacTaskItems"}},"$$ref":"#/components/schemas/rbacTask"},"$$ref":"#/components/schemas/rbacTasks","title":"rbacTasks"}}