Files

MethodPathDescription
GET /v1/{base_id}/files/{file_type} List files by path prefix
PUT /v1/{base_id}/files/{file_type}/{path} Upload a file at a path (optional If-Match compare-and-set; X-Rekor-Label tags the content version)
GET /v1/{base_id}/files/{file_type}/{path} Download a file (or its metadata with ?meta=1). Read a past version with ?version=N, list all content versions with ?history, or diff two with ?diff&from=N&to=M.
PATCH /v1/{base_id}/files/{file_type}/{path} Rename or re-tag a file (metadata; blob unchanged)
DELETE /v1/{base_id}/files/{file_type}/{path} Delete a file