mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			137 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			137 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
| query getAutoCompleteResults($input: AutoCompleteInput!) {
 | |
|     autoComplete(input: $input) {
 | |
|         query
 | |
|         suggestions
 | |
|     }
 | |
| }
 | |
| 
 | |
| query getSearchResults($input: SearchInput!) {
 | |
|     search(input: $input) {
 | |
|         start
 | |
|         count
 | |
|         total
 | |
|         entities {
 | |
|             urn
 | |
|             type
 | |
|             ... on Dataset {
 | |
|                 name
 | |
|                 origin
 | |
|                 description
 | |
|                 uri
 | |
|                 platformNativeType
 | |
|                 tags
 | |
|                 properties {
 | |
|                     key
 | |
|                     value
 | |
|                 }
 | |
|                 created {
 | |
|                     time
 | |
|                 }
 | |
|                 lastModified {
 | |
|                     time
 | |
|                 }
 | |
|                 ownership {
 | |
|                     owners {
 | |
|                         owner {
 | |
|                             urn
 | |
|                             type
 | |
|                             username
 | |
|                             info {
 | |
|                                 active
 | |
|                                 displayName
 | |
|                                 title
 | |
|                                 firstName
 | |
|                                 lastName
 | |
|                                 fullName
 | |
|                             }
 | |
|                             editableInfo {
 | |
|                                 pictureLink
 | |
|                             }
 | |
|                         }
 | |
|                         type
 | |
|                     }
 | |
|                     lastModified {
 | |
|                         time
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             ... on CorpUser {
 | |
|                 username
 | |
|                 info {
 | |
|                     active
 | |
|                     displayName
 | |
|                     title
 | |
|                     firstName
 | |
|                     lastName
 | |
|                     fullName
 | |
|                 }
 | |
|                 editableInfo {
 | |
|                     pictureLink
 | |
|                 }
 | |
|             }
 | |
|             ... on Dashboard {
 | |
|                 urn
 | |
|                 type
 | |
|                 tool
 | |
|                 dashboardId
 | |
|                 info {
 | |
|                     name
 | |
|                     description
 | |
|                     url
 | |
|                     access
 | |
|                     lastModified {
 | |
|                         time
 | |
|                     }
 | |
|                 }
 | |
|                 ownership {
 | |
|                     owners {
 | |
|                         owner {
 | |
|                             urn
 | |
|                         }
 | |
|                         type
 | |
|                         source {
 | |
|                             type
 | |
|                             url
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             ... on Chart {
 | |
|                 urn
 | |
|                 type
 | |
|                 tool
 | |
|                 chartId
 | |
|                 info {
 | |
|                     name
 | |
|                     description
 | |
|                     url
 | |
|                     type
 | |
|                     access
 | |
|                     lastModified {
 | |
|                         time
 | |
|                     }
 | |
|                 }
 | |
|                 ownership {
 | |
|                     owners {
 | |
|                         owner {
 | |
|                             urn
 | |
|                         }
 | |
|                         type
 | |
|                         source {
 | |
|                             type
 | |
|                             url
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         facets {
 | |
|             field
 | |
|             aggregations {
 | |
|                 value
 | |
|                 count
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | 
