from metadata.sdk import configurefrom metadata.sdk.entities import APIEndpointsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDep = APIEndpoints.retrieve("1f61427a-4a64-4070-9ac8-1d29302dac7c")print(f"{ep.fullyQualifiedName}: {ep.description}")# Get by ID with fieldsep = APIEndpoints.retrieve( "1f61427a-4a64-4070-9ac8-1d29302dac7c", fields=["owners", "tags"])# Get by fully qualified nameep = APIEndpoints.retrieve_by_name("sample_api_service.pet.addPet")# Get by name with fieldsep = APIEndpoints.retrieve_by_name( "sample_api_service.pet.addPet", fields=["owners", "tags", "domain"])
from metadata.sdk import configurefrom metadata.sdk.entities import APIEndpointsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDep = APIEndpoints.retrieve("1f61427a-4a64-4070-9ac8-1d29302dac7c")print(f"{ep.fullyQualifiedName}: {ep.description}")# Get by ID with fieldsep = APIEndpoints.retrieve( "1f61427a-4a64-4070-9ac8-1d29302dac7c", fields=["owners", "tags"])# Get by fully qualified nameep = APIEndpoints.retrieve_by_name("sample_api_service.pet.addPet")# Get by name with fieldsep = APIEndpoints.retrieve_by_name( "sample_api_service.pet.addPet", fields=["owners", "tags", "domain"])
from metadata.sdk import configurefrom metadata.sdk.entities import APIEndpointsconfigure( host="https://your-company.getcollate.io/api", jwt_token="your-jwt-token")# Get by IDep = APIEndpoints.retrieve("1f61427a-4a64-4070-9ac8-1d29302dac7c")print(f"{ep.fullyQualifiedName}: {ep.description}")# Get by ID with fieldsep = APIEndpoints.retrieve( "1f61427a-4a64-4070-9ac8-1d29302dac7c", fields=["owners", "tags"])# Get by fully qualified nameep = APIEndpoints.retrieve_by_name("sample_api_service.pet.addPet")# Get by name with fieldsep = APIEndpoints.retrieve_by_name( "sample_api_service.pet.addPet", fields=["owners", "tags", "domain"])