{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-2/76fd4bb9d069fd2530d7a02f0b3a4ca00eccfd35/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":"7.2.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","description":"Request structure for setting user preferences related to dashboards and applications.","properties":{"dashboard_id":{"type":"string","description":"The unique identifier of a specific dashboard for which preferences are being requested or set."},"application_id":{"type":"string","description":"The unique identifier of the application to which the preferences belong."},"username":{"type":"string","description":"The username of the user whose preferences are being requested or set."},"dashlets":{"type":"array","description":"List of dashlets for a specific dashboard.","items":{"type":"object","description":"Details of a specific dashlet within a dashboard.","properties":{"dashlet_id":{"type":"string","description":"A unique identifier for this specific dashlet."},"dashlet_title":{"type":"string","description":"The human-readable title or name of the dashlet, displayed in the UI."},"w":{"type":"number","description":"The width of the dashlet in grid units, representing its horizontal size on the dashboard."},"h":{"type":"number","description":"The height of the dashlet in grid units, representing its vertical size on the dashboard."},"dashlet_component":{"type":"string","description":"The name or identifier of the UI component responsible for rendering this dashlet."},"dashlet_service":{"type":"string","description":"The backend service or API endpoint that provides data for this dashlet."},"x":{"type":"number","description":"The X-coordinate (horizontal position) of the dashlet on the dashboard grid."},"y":{"type":"number","description":"The Y-coordinate (vertical position) of the dashlet on the dashboard grid."}},"$$ref":"#/components/schemas/rbacDashlet"},"$$ref":"#/components/schemas/rbacDashlets"}},"example":{"dashboard_id":"infra_capp_infraDashboard_admin","application_id":"infra_capp","username":"demo","dashlets":[{"dashlet_id":"cdg_CdgDashletComponent","dashlet_title":"Data Gateway Summary","w":8,"h":4,"dashlet_component":"CdgDashletComponent","dashlet_service":"CdgExternalService","x":0,"y":0}]},"$$ref":"#/components/schemas/rbacPreferencesPut","title":"rbacPreferencesPut"}}