mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			96 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			96 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
| mutation updateDataset($input: DatasetUpdateInput!) {
 | |
|     updateDataset(input: $input) {
 | |
|         ...nonRecursiveDatasetFields
 | |
|     }
 | |
| }
 | |
| 
 | |
| query getDataset($urn: String!) {
 | |
|     dataset(urn: $urn) {
 | |
|         urn
 | |
|         name
 | |
|         type
 | |
|         origin
 | |
|         description
 | |
|         uri
 | |
|         platform {
 | |
|             name
 | |
|             info {
 | |
|                 logoUrl
 | |
|             }
 | |
|         }
 | |
|         platformNativeType
 | |
|         tags
 | |
|         properties {
 | |
|             key
 | |
|             value
 | |
|         }
 | |
|         ownership {
 | |
|             ...ownershipFields
 | |
|         }
 | |
|         institutionalMemory {
 | |
|             elements {
 | |
|                 url
 | |
|                 author
 | |
|                 description
 | |
|                 created {
 | |
|                     actor
 | |
|                     time
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         schema {
 | |
|             datasetUrn
 | |
|             name
 | |
|             platformUrn
 | |
|             version
 | |
|             hash
 | |
|             platformSchema {
 | |
|                 ... on TableSchema {
 | |
|                     schema
 | |
|                 }
 | |
|                 ... on KeyValueSchema {
 | |
|                     keySchema
 | |
|                     valueSchema
 | |
|                 }
 | |
|             }
 | |
|             fields {
 | |
|                 fieldPath
 | |
|                 jsonPath
 | |
|                 nullable
 | |
|                 description
 | |
|                 type
 | |
|                 nativeDataType
 | |
|                 recursive
 | |
|                 globalTags {
 | |
|                     ...globalTagsFields
 | |
|                 }
 | |
|             }
 | |
|             primaryKeys
 | |
|         }
 | |
|         editableSchemaMetadata {
 | |
|             editableSchemaFieldInfo {
 | |
|                 fieldPath
 | |
|                 description
 | |
|                 globalTags {
 | |
|                     ...globalTagsFields
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         deprecation {
 | |
|             actor
 | |
|             deprecated
 | |
|             note
 | |
|             decommissionTime
 | |
|         }
 | |
|         globalTags {
 | |
|             ...globalTagsFields
 | |
|         }
 | |
|         upstreamLineage {
 | |
|             ...upstreamLineageFields
 | |
|         }
 | |
|         downstreamLineage {
 | |
|             ...downstreamLineageFields
 | |
|         }
 | |
|     }
 | |
| }
 | 
