mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			183 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			183 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
| query getDashboard($urn: String!) {
 | |
|     dashboard(urn: $urn) {
 | |
|         urn
 | |
|         type
 | |
|         tool
 | |
|         dashboardId
 | |
|         info {
 | |
|             name
 | |
|             description
 | |
|             charts {
 | |
|                 urn
 | |
|                 tool
 | |
|                 type
 | |
|                 info {
 | |
|                     name
 | |
|                     description
 | |
|                     inputs {
 | |
|                         urn
 | |
|                     }
 | |
|                 }
 | |
|                 ownership {
 | |
|                     owners {
 | |
|                         owner {
 | |
|                             urn
 | |
|                             type
 | |
|                             username
 | |
|                             info {
 | |
|                                 active
 | |
|                                 displayName
 | |
|                                 title
 | |
|                                 email
 | |
|                                 firstName
 | |
|                                 lastName
 | |
|                                 fullName
 | |
|                             }
 | |
|                             editableInfo {
 | |
|                                 pictureLink
 | |
|                             }
 | |
|                         }
 | |
|                         type
 | |
|                     }
 | |
|                     lastModified {
 | |
|                         time
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             url
 | |
|             access
 | |
|             lastRefreshed
 | |
|             created {
 | |
|                 time
 | |
|             }
 | |
|             lastModified {
 | |
|                 time
 | |
|             }
 | |
|         }
 | |
|         ownership {
 | |
|             owners {
 | |
|                 owner {
 | |
|                     urn
 | |
|                     type
 | |
|                     username
 | |
|                     info {
 | |
|                         active
 | |
|                         displayName
 | |
|                         title
 | |
|                         email
 | |
|                         firstName
 | |
|                         lastName
 | |
|                         fullName
 | |
|                     }
 | |
|                     editableInfo {
 | |
|                         pictureLink
 | |
|                     }
 | |
|                 }
 | |
|                 type
 | |
|             }
 | |
|             lastModified {
 | |
|                 time
 | |
|             }
 | |
|         }
 | |
|         globalTags {
 | |
|             tags {
 | |
|                 tag {
 | |
|                     urn
 | |
|                     name
 | |
|                     description
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| mutation updateDashboard($input: DashboardUpdateInput!) {
 | |
|     updateDashboard(input: $input) {
 | |
|         urn
 | |
|         type
 | |
|         tool
 | |
|         dashboardId
 | |
|         info {
 | |
|             name
 | |
|             description
 | |
|             charts {
 | |
|                 urn
 | |
|                 tool
 | |
|                 type
 | |
|                 info {
 | |
|                     name
 | |
|                     description
 | |
|                 }
 | |
|                 ownership {
 | |
|                     owners {
 | |
|                         owner {
 | |
|                             urn
 | |
|                             type
 | |
|                             username
 | |
|                             info {
 | |
|                                 active
 | |
|                                 displayName
 | |
|                                 title
 | |
|                                 email
 | |
|                                 firstName
 | |
|                                 lastName
 | |
|                                 fullName
 | |
|                             }
 | |
|                             editableInfo {
 | |
|                                 pictureLink
 | |
|                             }
 | |
|                         }
 | |
|                         type
 | |
|                     }
 | |
|                     lastModified {
 | |
|                         time
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             url
 | |
|             access
 | |
|             lastRefreshed
 | |
|             created {
 | |
|                 time
 | |
|             }
 | |
|             lastModified {
 | |
|                 time
 | |
|             }
 | |
|         }
 | |
|         ownership {
 | |
|             owners {
 | |
|                 owner {
 | |
|                     urn
 | |
|                     type
 | |
|                     username
 | |
|                     info {
 | |
|                         active
 | |
|                         displayName
 | |
|                         title
 | |
|                         email
 | |
|                         firstName
 | |
|                         lastName
 | |
|                         fullName
 | |
|                     }
 | |
|                     editableInfo {
 | |
|                         pictureLink
 | |
|                     }
 | |
|                 }
 | |
|                 type
 | |
|             }
 | |
|             lastModified {
 | |
|                 time
 | |
|             }
 | |
|         }
 | |
|         globalTags {
 | |
|             tags {
 | |
|                 tag {
 | |
|                     urn
 | |
|                     name
 | |
|                     description
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | 
