curl --request GET \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress"
response = requests.request("GET", url)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress', {
method: 'GET',
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress", nil)
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"availability": "available"
}
{
"error": "<string>"
}
GET /v0/history/bulk/progress
Under Development, do not use in production yet Query whether bulk storage object creation has advanced to a certain record time. Meant for internal use only, as part of the processing pipeline of bulk objects.
GET
/
api
/
scan
/
v0
/
history
/
bulk
/
progress
curl --request GET \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress"
response = requests.request("GET", url)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress', {
method: 'GET',
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress", nil)
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"availability": "available"
}
{
"error": "<string>"
}
Under Development, do not use in production yet Query whether bulk storage object creation has advanced to a certain record time. Meant for internal use only, as part of the processing pipeline of bulk objects.
curl --request GET \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress"
response = requests.request("GET", url)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress', {
method: 'GET',
});
console.log(await response.text());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("GET", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress", nil)
response, _ := http.DefaultClient.Do(req)
defer response.Body.Close()
body, _ := io.ReadAll(response.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
var request = HttpRequest.newBuilder()
.uri(URI.create("https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress"))
.method("GET", HttpRequest.BodyPublishers.noBody())
.build();
var response = HttpClient.newHttpClient().send(
request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
require 'net/http'
require 'uri'
uri = URI('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/history/bulk/progress')
request = Net::HTTP::Get.new(uri)
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"availability": "available"
}
{
"error": "<string>"
}
Query parameters
OpenAPI type:
BulkStorageBucket.The bulk storage bucket a progress query refers to: “staging” holds the objects this Scan has written or copied but not yet verified against its peers, “committed” the objects that passed that check.Allowed values: staging, committed.OpenAPI type:
BulkObjectKind.The kind of bulk storage objects a progress query refers to: “updates” for update segments, “snapshots” for ACS snapshots. Without a kind, the query refers to both.Allowed values: updates, snapshots.Responses
200
okapplication/json
Whether the requested bucket of this Scan holds all bulk storage objects of the requested kind (update segments, ACS snapshots, or both when no kind is given) up to the requested record time. “available”: it does. “processing”: it does not yet. The record time lies within this Scan’s own history, so it produces the objects itself from its own data; they appear once its dump (staging) or its check against the peers (committed) has reached the record time. “backfilling”: it does not, and will not produce them itself, because the record time lies before this Scan’s own history (it joined after the network started). It copies these objects from its peers instead, and answers “available” once that copy has reached the record time.Allowed values:
available, processing, backfilling.501
not implementedapplication/json
History
Updated
0.10.0The GET /v0/history/bulk/progress operation changed in this snapshot.
Added
0.9.0