DepotApi
interface DepotApi
Represents an API for interacting with depot.
Functions
Link copied to clipboard
@PUT(value = "api/v2/depots/{depot}/owners/{owner}")
Adds an owner to the specified depot.
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/archived")
Makes a PATCH request to archive a depot.
Link copied to clipboard
@POST(value = "api/v2/depots/{depot}")
Makes a POST request to create or update a depot.
Link copied to clipboard
@DELETE(value = "api/v2/depots/{depot}/meta")
Deletes metadata for the specified depot.
Link copied to clipboard
@DELETE(value = "api/v2/depots/{depot}/owners/{owner}")
Ends ownership of the specified depot for the specified owner.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}/collections")
Retrieves the list of collections for the specified depot.
Link copied to clipboard
@GET(value = "api/v2/depots/{depot}")
Makes a GET request to retrieve a specific depot.
Link copied to clipboard
@GET(value = "api/v2/depots")
@GET(value = "api/v2/depots")
Makes a GET request to retrieve a list of depots.
Link copied to clipboard
Link copied to clipboard
@PATCH(value = "api/v2/depots/{depot}/meta")
Makes a PATCH request to update the metadata of a depot.