List Objects
curl --request POST \
--url https://api.example.com/v1/tapes/{tape_id}/objects/listimport requests
url = "https://api.example.com/v1/tapes/{tape_id}/objects/list"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/v1/tapes/{tape_id}/objects/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/tapes/{tape_id}/objects/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/tapes/{tape_id}/objects/list"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/tapes/{tape_id}/objects/list")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/tapes/{tape_id}/objects/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyObjects
List Objects
Paginated, name-ordered listing of a tape’s named objects.
POST
/
v1
/
tapes
/
{tape_id}
/
objects
/
list
List Objects
curl --request POST \
--url https://api.example.com/v1/tapes/{tape_id}/objects/listimport requests
url = "https://api.example.com/v1/tapes/{tape_id}/objects/list"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/v1/tapes/{tape_id}/objects/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/tapes/{tape_id}/objects/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/tapes/{tape_id}/objects/list"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/tapes/{tape_id}/objects/list")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/tapes/{tape_id}/objects/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyLists a tape’s named objects in name order, with pagination and prefix filtering for directory-style browsing.
Nameless tracks never appear here. Stream segments and raw blobs are real tracks, but they aren’t objects (what makes a track an object). To see everything on a tape, use list tracks.
Request
Requests and responses use the SDK’s binary encoding (conventions). The request carries:| Field | Meaning |
|---|---|
prefix | return only names starting with this |
delimiter | roll names up at this separator, S3-style, for folder-like browsing |
cursor | continuation cursor from the previous page |
limit | page size, up to 1,000 |
Response
One entry per object: name, size, etag (the track’s on-chain commitment), content type, last-modified (block time and slot), the data tape and track number it resolves to, and the track kind. Alongside the entries:common_prefixes for the rolled-up folders, a next_cursor, and an is_truncated flag.
From Rust, list_objects takes the same prefix, delimiter, cursor, and limit (objects).