Skip to main content

Compass

Documentation of our Compass API with gRPC and gRPC-Gateway.

Version: 0.2.1

License: Apache License 2.0

More about Compass

default

/v1beta1/assets

GET

Summary

Get list of assets

Description

Returns list of assets, optionally filtered by types, services, sorting, fields in asset.data and querying fields

Parameters
NameLocated inDescriptionRequiredSchema
qqueryfilter by specific queryNostring
q_fieldsqueryfilter by multiple query fieldsNostring
typesqueryfilter by multiple typesNostring
servicesqueryfilter by multiple servicesNostring
sortquerysorting based on fieldsNostring
directionquerysorting direction can either be asc or descNostring
sizequerymaximum size to fetchNolong
offsetqueryoffset to fetch fromNolong
with_totalqueryif set include total field in responseNoboolean
Responses
CodeDescriptionSchema
200A successful response.GetAllAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Update/Create an asset

Description

Upsert will update an asset or create a new one if it does not exist yet

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesUpsertAssetRequest
Responses
CodeDescriptionSchema
200A successful response.UpsertAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PATCH

Summary

Patch/Create an asset

Description

Similar to Upsert but with patch strategy and different body format

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyYesUpsertPatchAssetRequest
Responses
CodeDescriptionSchema
200A successful response.UpsertPatchAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/assets/{asset_urn}/probes

POST

Summary

Create asset's probe

Description

Add a new probe to an asset

Parameters
NameLocated inDescriptionRequiredSchema
asset_urnpathYesstring
probebodyYesCreateAssetProbeRequest.Probe
Responses
CodeDescriptionSchema
200A successful response.CreateAssetProbeResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/assets/{id}

GET

Summary

Find an asset

Description

Returns a single asset with given ID

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetAssetByIDResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Delete an asset

Description

Delete a single asset with given ID

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.DeleteAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/assets/{id}/stargazers

GET

Summary

Find users that stars an asset

Description

Returns a list of users that stars an asset

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetAssetStargazersResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/assets/{id}/versions

GET

Summary

Get version history of an asset

Description

Returns a list of asset version history

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetAssetVersionHistoryResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/assets/{id}/versions/{version}

GET

Summary

Get asset's previous version

Description

Returns a specific version of an asset

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
versionpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetAssetByVersionResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/lineage/{urn}

GET

Summary

Get Lineage Graph

Description

Returns the lineage graph. Each entry in the graph describes a (edge) directed relation of assets with source and destination using it's urn, type, and service.

Parameters
NameLocated inDescriptionRequiredSchema
urnpathYesstring
levelqueryNolong
directionqueryNostring
Responses
CodeDescriptionSchema
200A successful response.GetGraphResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/search

GET

Summary

Search for an asset

Description

API for querying documents. 'text' is fuzzy matched against all the available datasets, and matched results are returned. You can specify additional match criteria using 'filter[.*]' query parameters. You can specify each filter multiple times to specify a set of values for those filters. For instance, to specify two landscape 'vn' and 'th', the query could be /search/?text=<text>&filter[environment]=integration&filter[landscape]=vn&filter[landscape]=th. As an alternative, this API also supports fuzzy filter match with 'query' query params. For instance, searching assets that has 'bigqu' term in its description /search/?text=<text>&query[description]=bigqu

Parameters
NameLocated inDescriptionRequiredSchema
textquerytext to search for (fuzzy)Nostring
rankbyquerydescendingly sort based on a numeric field in the asset. the nested field is written with period separated field name. eg, "rankby[data.profile.usage_count]"Nostring
sizequerynumber of results to returnNolong
include_fieldsqueryNo[ string ]
offsetqueryoffset parameter defines the offset from the first result you want to fetchNolong
Responses
CodeDescriptionSchema
200A successful response.SearchAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/search/suggest

GET

Summary

Suggest an asset

Description

API for retreiving N number of asset names that similar with the text. By default, N = 5 for now and hardcoded in the code.

Parameters
NameLocated inDescriptionRequiredSchema
textquerytext to search for suggestionsNostring
Responses
CodeDescriptionSchema
200A successful response.SuggestAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/discussions

GET

Summary

Get all discussions

Parameters
NameLocated inDescriptionRequiredSchema
typequeryNostring
statequeryNostring
ownerqueryNostring
assigneequeryNostring
assetqueryNostring
labelsqueryNostring
sortqueryNostring
directionqueryNostring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetAllDiscussionsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

POST

Summary

Create a discussion

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyRequest to be sent to create a discussionYesCreateDiscussionRequest
Responses
CodeDescriptionSchema
200A successful response.CreateDiscussionResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/discussions/{discussion_id}/comments

GET

Summary

Get all comments of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
sortqueryNostring
directionqueryNostring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetAllCommentsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

POST

Summary

Create a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
bodybodyYes{ "body": string }
Responses
CodeDescriptionSchema
200A successful response.CreateCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/discussions/{discussion_id}/comments/{id}

GET

Summary

Get a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Delete a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.DeleteCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Update a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
idpathYesstring
bodybodyYes{ "body": string }
Responses
CodeDescriptionSchema
200A successful response.UpdateCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/discussions/{id}

GET

Summary

Get a discussion

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetDiscussionResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PATCH

Summary

Patch a discussion

Parameters
NameLocated inDescriptionRequiredSchema
idpathYesstring
bodybodyYes{ "assets": [ string ], "assignees": [ string ], "body": string, "labels": [ string ], "state": string, "title": string, "type": string }
Responses
CodeDescriptionSchema
200A successful response.PatchDiscussionResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/me/discussions

GET

Summary

Get all discussions of a user

Description

Returns all discussions given possible filters of a user

Parameters
NameLocated inDescriptionRequiredSchema
filterqueryNostring
typequeryNostring
statequeryNostring
assetqueryNostring
labelsqueryNostring
sortqueryNostring
directionqueryNostring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetMyDiscussionsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/discussions/{discussion_id}/comments

GET

Summary

Get all comments of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
sortqueryNostring
directionqueryNostring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetAllCommentsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

POST

Summary

Create a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
bodybodyYes{ "body": string }
Responses
CodeDescriptionSchema
200A successful response.CreateCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/discussions/{discussion_id}/comments/{id}

GET

Summary

Get a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Delete a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.DeleteCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Update a comment of a discussion

Parameters
NameLocated inDescriptionRequiredSchema
discussion_idpathYesstring
idpathYesstring
bodybodyYes{ "body": string }
Responses
CodeDescriptionSchema
200A successful response.UpdateCommentResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/lineage/{urn}

GET

Summary

Get Lineage Graph

Description

Returns the lineage graph. Each entry in the graph describes a (edge) directed relation of assets with source and destination using it's urn, type, and service.

Parameters
NameLocated inDescriptionRequiredSchema
urnpathYesstring
levelqueryNolong
directionqueryNostring
Responses
CodeDescriptionSchema
200A successful response.GetGraphResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/me/discussions

GET

Summary

Get all discussions of a user

Description

Returns all discussions given possible filters of a user

Parameters
NameLocated inDescriptionRequiredSchema
filterqueryNostring
typequeryNostring
statequeryNostring
assetqueryNostring
labelsqueryNostring
sortqueryNostring
directionqueryNostring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetMyDiscussionsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/me/starred

GET

Summary

Get my starred assets

Description

Get all assets starred by me

Parameters
NameLocated inDescriptionRequiredSchema
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetMyStarredAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/me/starred/{asset_id}

GET

Summary

Get my starred asset

Description

Get an asset starred by me

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetMyStarredAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Unstar an asset

Description

Unmark my starred asset

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.UnstarAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Star an asset

Description

Mark an asset with a star

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.StarAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/users/{user_id}/starred

GET

Summary

Get assets starred by a user

Description

Get all assets starred by a user

Parameters
NameLocated inDescriptionRequiredSchema
user_idpathYesstring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetUserStarredAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/me/starred

GET

Summary

Get my starred assets

Description

Get all assets starred by me

Parameters
NameLocated inDescriptionRequiredSchema
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetMyStarredAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/me/starred/{asset_id}

GET

Summary

Get my starred asset

Description

Get an asset starred by me

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetMyStarredAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Unstar an asset

Description

Unmark my starred asset

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.UnstarAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Star an asset

Description

Mark an asset with a star

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.StarAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/users/{user_id}/starred

GET

Summary

Get assets starred by a user

Description

Get all assets starred by a user

Parameters
NameLocated inDescriptionRequiredSchema
user_idpathYesstring
sizequeryNolong
offsetqueryNolong
Responses
CodeDescriptionSchema
200A successful response.GetUserStarredAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/search

GET

Summary

Search for an asset

Description

API for querying documents. 'text' is fuzzy matched against all the available datasets, and matched results are returned. You can specify additional match criteria using 'filter[.*]' query parameters. You can specify each filter multiple times to specify a set of values for those filters. For instance, to specify two landscape 'vn' and 'th', the query could be /search/?text=<text>&filter[environment]=integration&filter[landscape]=vn&filter[landscape]=th. As an alternative, this API also supports fuzzy filter match with 'query' query params. For instance, searching assets that has 'bigqu' term in its description /search/?text=<text>&query[description]=bigqu

Parameters
NameLocated inDescriptionRequiredSchema
textquerytext to search for (fuzzy)Nostring
rankbyquerydescendingly sort based on a numeric field in the asset. the nested field is written with period separated field name. eg, "rankby[data.profile.usage_count]"Nostring
sizequerynumber of results to returnNolong
include_fieldsqueryNo[ string ]
offsetqueryoffset parameter defines the offset from the first result you want to fetchNolong
Responses
CodeDescriptionSchema
200A successful response.SearchAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/search/suggest

GET

Summary

Suggest an asset

Description

API for retreiving N number of asset names that similar with the text. By default, N = 5 for now and hardcoded in the code.

Parameters
NameLocated inDescriptionRequiredSchema
textquerytext to search for suggestionsNostring
Responses
CodeDescriptionSchema
200A successful response.SuggestAssetsResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/tags/assets

POST

Summary

Tag an asset

Description

Tag an asset with a tag template

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyRequest to be sent to create a tagYesCreateTagAssetRequest
Responses
CodeDescriptionSchema
200A successful response.CreateTagAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/tags/assets/{asset_id}

GET

Summary

Get an asset's tags

Description

Get all tags for an assets

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetAllTagsByAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/tags/assets/{asset_id}/templates/{template_urn}

GET

Summary

Find a tag by asset and template

Description

Find a single tag using asset id and template urn

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
template_urnpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetTagByAssetAndTemplateResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Remove a tag on an asset

Description

Remove a tag on an asset in a type

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
template_urnpathYesstring
Responses
CodeDescriptionSchema
200A successful response.DeleteTagAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Update a tag on an asset

Description

Update a tag on an asset

Parameters
NameLocated inDescriptionRequiredSchema
asset_idpathYesstring
template_urnpathYesstring
bodybodyYes{ "tag_values": [ TagValue ], "template_description": string, "template_display_name": string }
Responses
CodeDescriptionSchema
200A successful response.UpdateTagAssetResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/tags/templates

GET

Summary

Get all tag templates

Description

Get all available tag templates

Parameters
NameLocated inDescriptionRequiredSchema
urnqueryNostring
Responses
CodeDescriptionSchema
200A successful response.GetAllTagTemplatesResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

POST

Summary

Create a template

Description

Create a new tag template

Parameters
NameLocated inDescriptionRequiredSchema
bodybodyRequest to be sent to create a tag's templateYesCreateTagTemplateRequest
Responses
CodeDescriptionSchema
200A successful response.CreateTagTemplateResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

/v1beta1/tags/templates/{template_urn}

GET

Summary

Get a tag template

Description

Get a single tag template

Parameters
NameLocated inDescriptionRequiredSchema
template_urnpathYesstring
Responses
CodeDescriptionSchema
200A successful response.GetTagTemplateResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

DELETE

Summary

Delete a tag template

Description

Delete a single tag template

Parameters
NameLocated inDescriptionRequiredSchema
template_urnpathYesstring
Responses
CodeDescriptionSchema
200A successful response.DeleteTagTemplateResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

PUT

Summary

Update a template

Description

Update an existing tag template

Parameters
NameLocated inDescriptionRequiredSchema
template_urnpathYesstring
bodybodyYes{ "description": string, "display_name": string, "fields": [ TagTemplateField ] }
Responses
CodeDescriptionSchema
200A successful response.UpdateTagTemplateResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

default

/v1beta1/types

GET

Summary

fetch all types

Description

Fetch all types supported in Compass

Parameters
NameLocated inDescriptionRequiredSchema
qqueryfilter by specific queryNostring
q_fieldsqueryfilter by multiple query fieldsNostring
typesqueryfilter by multiple typesNostring
servicesqueryfilter by multiple servicesNostring
Responses
CodeDescriptionSchema
200A successful response.GetAllTypesResponse
400Returned when the data that user input is wrong.Status
404Returned when the resource does not exist.Status
409Returned when the resource already exist.Status
500Returned when theres is something wrong on the server side.Status
defaultAn unexpected error response.Status

Models

Any

NameTypeDescriptionRequired
@typestringNo

Change

NameTypeDescriptionRequired
fromNo
path[ string ]No
toNo
typestringNo

Comment

NameTypeDescriptionRequired
bodystringNo
created_atdateTimeNo
discussion_idstringNo
idstringNo
ownerUserNo
updated_atdateTimeNo
updated_byUserNo

CreateAssetProbeRequest.Probe

NameTypeDescriptionRequired
metadataobjectNo
statusstringYes
status_reasonstringNo
timestampdateTimeNo

CreateAssetProbeResponse

NameTypeDescriptionRequired
idstringNo

CreateCommentResponse

NameTypeDescriptionRequired
idstringNo

CreateDiscussionRequest

Request to be sent to create a discussion

NameTypeDescriptionRequired
assets[ string ]No
assignees[ string ]No
bodystringYes
labels[ string ]No
statestringNo
titlestringYes
typestringNo

CreateDiscussionResponse

NameTypeDescriptionRequired
idstringNo

CreateTagAssetRequest

Request to be sent to create a tag

NameTypeDescriptionRequired
asset_idstringYes
tag_values[ TagValue ]Yes
template_descriptionstringNo
template_display_namestringNo
template_urnstringYes

CreateTagAssetResponse

NameTypeDescriptionRequired
datav1beta1.TagNo

CreateTagTemplateRequest

Request to be sent to create a tag's template

NameTypeDescriptionRequired
descriptionstringYes
display_namestringYes
fields[ TagTemplateField ]No
urnstringYes

CreateTagTemplateResponse

NameTypeDescriptionRequired
dataTagTemplateNo

DeleteAssetResponse

NameTypeDescriptionRequired
DeleteAssetResponseobject

DeleteCommentResponse

NameTypeDescriptionRequired
DeleteCommentResponseobject

DeleteTagAssetResponse

NameTypeDescriptionRequired
DeleteTagAssetResponseobject

DeleteTagTemplateResponse

NameTypeDescriptionRequired
DeleteTagTemplateResponseobject

Discussion

NameTypeDescriptionRequired
assets[ string ]No
assignees[ string ]No
bodystringNo
created_atdateTimeNo
idstringNo
labels[ string ]No
ownerUserNo
statestringNo
titlestringNo
typestringNo
updated_atdateTimeNo

GetAllAssetsResponse

NameTypeDescriptionRequired
data[ v1beta1.Asset ]No
totallongNo

GetAllCommentsResponse

NameTypeDescriptionRequired
data[ Comment ]No

GetAllDiscussionsResponse

NameTypeDescriptionRequired
data[ Discussion ]No

GetAllTagTemplatesResponse

NameTypeDescriptionRequired
data[ TagTemplate ]No

GetAllTagsByAssetResponse

NameTypeDescriptionRequired
data[ v1beta1.Tag ]No

GetAllTypesResponse

NameTypeDescriptionRequired
data[ v1beta1.Type ]No

GetAssetByIDResponse

NameTypeDescriptionRequired
datav1beta1.AssetNo

GetAssetByVersionResponse

NameTypeDescriptionRequired
datav1beta1.AssetNo

GetAssetStargazersResponse

NameTypeDescriptionRequired
data[ User ]No

GetAssetVersionHistoryResponse

NameTypeDescriptionRequired
data[ v1beta1.Asset ]No

GetCommentResponse

NameTypeDescriptionRequired
dataCommentNo

GetDiscussionResponse

NameTypeDescriptionRequired
dataDiscussionNo

GetGraphResponse

NameTypeDescriptionRequired
data[ LineageEdge ]Edges in the graph.No
node_attrsobjectKey is the asset URN. Node attributes, if present, will be returned for source and target nodes in the LineageEdge.No

GetMyDiscussionsResponse

NameTypeDescriptionRequired
data[ Discussion ]No

GetMyStarredAssetResponse

NameTypeDescriptionRequired
datav1beta1.AssetNo

GetMyStarredAssetsResponse

NameTypeDescriptionRequired
data[ v1beta1.Asset ]No

GetTagByAssetAndTemplateResponse

NameTypeDescriptionRequired
datav1beta1.TagNo

GetTagTemplateResponse

NameTypeDescriptionRequired
dataTagTemplateNo

GetUserStarredAssetsResponse

NameTypeDescriptionRequired
data[ v1beta1.Asset ]No

LineageEdge

NameTypeDescriptionRequired
propobjectNo
sourcestringNo
targetstringNo

LineageNode

NameTypeDescriptionRequired
servicestringNo
typestringNo
urnstringNo

NodeAttributes

NameTypeDescriptionRequired
probesProbesInfoNo

NullValue

NullValue is a singleton enumeration to represent the null value for the Value type union.

The JSON representation for NullValue is JSON null.

  • NULL_VALUE: Null value.
NameTypeDescriptionRequired
NullValuestringNullValue is a singleton enumeration to represent the null value for the Value type union. The JSON representation for NullValue is JSON null. - NULL_VALUE: Null value.

PatchDiscussionResponse

NameTypeDescriptionRequired
PatchDiscussionResponseobject

ProbesInfo

NameTypeDescriptionRequired
latestv1beta1.ProbeNo

SearchAssetsResponse

NameTypeDescriptionRequired
data[ v1beta1.Asset ]No

StarAssetResponse

NameTypeDescriptionRequired
idstringNo

Status

NameTypeDescriptionRequired
codeintegerNo
details[ Any ]No
messagestringNo

SuggestAssetsResponse

NameTypeDescriptionRequired
data[ string ]No

TagTemplate

NameTypeDescriptionRequired
created_atdateTimeNo
descriptionstringNo
display_namestringNo
fields[ TagTemplateField ]No
updated_atdateTimeNo
urnstringNo

TagTemplateField

NameTypeDescriptionRequired
created_atdateTimeNo
data_typestringNo
descriptionstringNo
display_namestringNo
idlongNo
options[ string ]No
requiredbooleanNo
updated_atdateTimeNo
urnstringNo

TagValue

NameTypeDescriptionRequired
created_atdateTimeNo
field_data_typestringNo
field_descriptionstringNo
field_display_namestringNo
field_idlongNo
field_options[ string ]No
field_requiredbooleanNo
field_urnstringNo
field_valueNo
updated_atdateTimeNo

UnstarAssetResponse

NameTypeDescriptionRequired
UnstarAssetResponseobject

UpdateCommentResponse

NameTypeDescriptionRequired
UpdateCommentResponseobject

UpdateTagAssetResponse

NameTypeDescriptionRequired
datav1beta1.TagNo

UpdateTagTemplateResponse

NameTypeDescriptionRequired
dataTagTemplateNo

UpsertAssetRequest

NameTypeDescriptionRequired
assetUpsertAssetRequest.AssetNo
downstreams[ LineageNode ]No
upstreams[ LineageNode ]No

UpsertAssetRequest.Asset

NameTypeDescriptionRequired
dataobjectdynamic data of an assetNo
descriptionstringNo
labelsobjectlabels of an assetNo
namestringNo
owners[ User ]list of owners of the assetNo
servicestringNo
typestringNo
urlstringNo
urnstringNo

UpsertAssetResponse

NameTypeDescriptionRequired
idstringNo

UpsertPatchAssetRequest

NameTypeDescriptionRequired
assetUpsertPatchAssetRequest.AssetNo
downstreams[ LineageNode ]No
overwrite_lineagebooleanoverwrite_lineage determines whether the asset's lineage should be overwritten with the upstreams and downstreams specified in the request. Currently, it is only applicable when both upstreams and downstreams are empty/not specified.No
upstreams[ LineageNode ]No

UpsertPatchAssetRequest.Asset

NameTypeDescriptionRequired
dataobjectdynamic data of an assetNo
descriptionstringdescription of an assetNo
labelsobjectlabels of an assetNo
namestringname of an assetNo
owners[ User ]list of owners of the assetNo
servicestringNo
typestringNo
urlstringNo
urnstringNo

UpsertPatchAssetResponse

NameTypeDescriptionRequired
idstringNo

User

NameTypeDescriptionRequired
created_atdateTimeNo
emailstringNo
idstringNo
providerstringNo
updated_atdateTimeNo
uuidstringNo

v1beta1.Asset

NameTypeDescriptionRequired
changelog[ Change ]No
created_atdateTimeNo
dataobjectNo
descriptionstringNo
idstringNo
labelsobjectNo
namestringNo
owners[ User ]No
probes[ v1beta1.Probe ]No
servicestringNo
typestringNo
updated_atdateTimeNo
updated_byUserNo
urlstringNo
urnstringNo
versionstringNo

v1beta1.Probe

NameTypeDescriptionRequired
asset_urnstringNo
created_atdateTimeNo
idstringNo
metadataobjectNo
statusstringNo
status_reasonstringNo
timestampdateTimeNo

v1beta1.Tag

NameTypeDescriptionRequired
asset_idstringNo
tag_values[ TagValue ]No
template_descriptionstringNo
template_display_namestringNo
template_urnstringNo

v1beta1.Type

NameTypeDescriptionRequired
countlongNo
namestringNo