DatasetApi
interface DatasetApi
Represents an API for interacting with datasets.
Functions
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/fields")
Adds a field to a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/properties")
Adds metadata properties to a dataset.
Link copied to clipboard
@POST(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}")
Creates a new dataset.
Link copied to clipboard
@DELETE(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}")
Drops a dataset.
Link copied to clipboard
@DELETE(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/fields/{field}")
Drops a field from a dataset.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}")
Fetches a dataset.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/schema")
Retrieves the schema of a dataset.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections/{collection}/datasets")
Lists datasets in a collection.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/metadata")
Retrieves the list of metadata versions for a dataset.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/properties")
Retrieves the list of properties for a dataset.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/snapshots")
Retrieves the list of table snapshots for a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/fields/{field}/nullable/{nullable}")
Sets the nullability of a field in a dataset.
Link copied to clipboard
@HTTP(method = "DELETE", path = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/properties", hasBody = true)
Removes metadata properties from a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/fields/{field}/rename")
Renames a field in a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/metadata/{version}")
Sets the metadata version for a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/snapshots/{id}")
Sets a snapshot for a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/fields/{field}/update")
Updates a field in a dataset.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/partitions")
Updates partitions for a dataset.