list metadata objects for tag
GET/metalakes/:metalake/tags/:tag/objects
list metadata objects for tag
Request
Path Parameters
The name of the metalake
The name of the tag
Responses
- 200
- 400
- 404
- 5xx
Returns the list of metadata objects associated with specified tag
- application/vnd.gravitino.v1+json
- Schema
- Example (from schema)
- TagResponse
Schema
Array [
]
Possible values: [0
]
Status code of the response
metadataObjects
object[]
A list of metadata objects
The name of the metadata object, separated by dots
Possible values: [CATALOG
, SCHEMA
, TABLE
, FILESET
, TOPIC
, ROLE
, METALAKE
]
The type of the metadata object
{
"code": 0,
"metadataObjects": [
{
"fullName": "string",
"type": "CATALOG"
}
]
}
{
"code": 0,
"metadataObjects": [
{
"type": "CATALOG",
"fullName": "my_catalog"
},
{
"type": "SCHEMA",
"fullName": "my_catalog.my_schema"
},
{
"type": "TABLE",
"fullName": "my_catalog.my_schema.my_table"
}
]
}
Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure, such as invalid json. Usually serves application/json content, although in some cases simple text/plain content might be returned by the server's middleware.
- application/vnd.gravitino.v1+json
- Schema
- Example (from schema)
- Example
Schema
Possible values: >= 1000
and <= 1100
HTTP response code
Internal type definition of the error
A human-readable message
{
"code": 1002,
"type": "string",
"message": "string",
"stack": [
"string"
]
}
{
"code": 1003,
"type": "BadRequestException",
"message": "Malformed request"
}
Not Found - The specified tag does not exist
- application/vnd.gravitino.v1+json
- Schema
- Example (from schema)
- NoSuchTagException
Schema
Possible values: >= 1000
and <= 1100
HTTP response code
Internal type definition of the error
A human-readable message
{
"code": 1002,
"type": "string",
"message": "string",
"stack": [
"string"
]
}
{
"code": 1003,
"type": "NoSuchTagException",
"message": "Failed to operate tag(s) [my_tag] operation [LOAD] under metalake [my_test_metalake], reason [NoSuchTagException]",
"stack": [
"org.apache.gravitino.exceptions.NoSuchTagException: Tag my_tag does not exist",
"..."
]
}
A server-side problem that might not be addressable from the client side. Used for server 5xx errors without more specific documentation in individual routes.
- application/vnd.gravitino.v1+json
- Schema
- Example (from schema)
- Example
Schema
Possible values: >= 1000
and <= 1100
HTTP response code
Internal type definition of the error
A human-readable message
{
"code": 1002,
"type": "string",
"message": "string",
"stack": [
"string"
]
}
{
"code": 1002,
"type": "RuntimeException",
"message": "Internal Server Error",
"stack": [
"java.lang.RuntimeException: Internal Server Error"
]
}