description:Find the most probable family and unit using family assignment rule based catalogs. User defined catalog will have the priority.
operationId:family
parameters:
-description:identifier of the data partition to query
required:false
schema:
title:data partition id
minLength:1
type:string
description:identifier of the data partition to query
default:slb-osdu-dev-sis-internal-hq
name:data-partition-id
in:header
requestBody:
content:
application/json:
schema:
$ref:'#/components/schemas/GuessRequest'
required:true
responses:
'200':
description:Successful Response
content:
application/json:
schema:
$ref:'#/components/schemas/GuessResponse'
'422':
description:Validation Error
content:
application/json:
schema:
$ref:'#/components/schemas/HTTPValidationError'
security:
-bearer:[]
-appkey:[]
/upload-catalog:
put:
tags:
-Log recognition
summary:Upload user-defined catalog with family assignment rules
description:|-
Upload user-defined catalog with family assignment rules for specific partition ID.
If there is an existing catalog, it will be replaced. It takes maximum of 5 mins to replace the existing catalog.
Hence, any call to retrieve the family should be made after 5 mins of uploading the catalog. <p>Required roles: 'users.datalake.editors' or 'users.datalake.admins'.</p>
operationId:upload-catalog
parameters:
-description:identifier of the data partition to query
required:false
schema:
title:data partition id
minLength:1
type:string
description:identifier of the data partition to query