mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 10:49:00 +00:00 
			
		
		
		
	
		
			
	
	
		
			62 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
		
		
			
		
	
	
			62 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
|   | query getDataProduct($urn: String!) {
 | ||
|  |     dataProduct(urn: $urn) {
 | ||
|  |         ...dataProductFields
 | ||
|  |     }
 | ||
|  | }
 | ||
|  | 
 | ||
|  | fragment dataProductFields on DataProduct {
 | ||
|  |     ...dataProductSearchFields
 | ||
|  |     properties {
 | ||
|  |         customProperties {
 | ||
|  |             key
 | ||
|  |             value
 | ||
|  |         }
 | ||
|  |     }
 | ||
|  |     institutionalMemory {
 | ||
|  |         ...institutionalMemoryFields
 | ||
|  |     }
 | ||
|  | }
 | ||
|  | 
 | ||
|  | fragment dataProductSearchFields on DataProduct {
 | ||
|  |     urn
 | ||
|  |     type
 | ||
|  |     properties {
 | ||
|  |         name
 | ||
|  |         description
 | ||
|  |         externalUrl
 | ||
|  |         numAssets
 | ||
|  |     }
 | ||
|  |     ownership {
 | ||
|  |         ...ownershipFields
 | ||
|  |     }
 | ||
|  |     tags {
 | ||
|  |         ...globalTagsFields
 | ||
|  |     }
 | ||
|  |     glossaryTerms {
 | ||
|  |         ...glossaryTerms
 | ||
|  |     }
 | ||
|  |     domain {
 | ||
|  |         ...entityDomain
 | ||
|  |     }
 | ||
|  | }
 | ||
|  | 
 | ||
|  | mutation createDataProduct($input: CreateDataProductInput!) {
 | ||
|  |     createDataProduct(input: $input) {
 | ||
|  |         ...dataProductSearchFields
 | ||
|  |     }
 | ||
|  | }
 | ||
|  | 
 | ||
|  | mutation updateDataProduct($urn: String!, $input: UpdateDataProductInput!) {
 | ||
|  |     updateDataProduct(urn: $urn, input: $input) {
 | ||
|  |         ...dataProductSearchFields
 | ||
|  |     }
 | ||
|  | }
 | ||
|  | 
 | ||
|  | mutation deleteDataProduct($urn: String!) {
 | ||
|  |     deleteDataProduct(urn: $urn)
 | ||
|  | }
 | ||
|  | 
 | ||
|  | mutation batchSetDataProduct($input: BatchSetDataProductInput!) {
 | ||
|  |     batchSetDataProduct(input: $input)
 | ||
|  | }
 |