curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults' \
--header 'Content-Type: application/json' \
--data '{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}),
});
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/admin/sv/voteresults',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults", bytes.NewBufferString(`{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}`))
req.Header.Set("Content-Type", "application/json")
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/admin/sv/voteresults"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
"""))
.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/admin/sv/voteresults')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"dso_rules_vote_results": [
{}
],
"next_page_token": 123
}
POST /v0/admin/sv/voteresults
List vote request results
POST
/
api
/
scan
/
v0
/
admin
/
sv
/
voteresults
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults' \
--header 'Content-Type: application/json' \
--data '{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}),
});
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/admin/sv/voteresults',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults", bytes.NewBufferString(`{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}`))
req.Header.Set("Content-Type", "application/json")
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/admin/sv/voteresults"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
"""))
.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/admin/sv/voteresults')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"dso_rules_vote_results": [
{}
],
"next_page_token": 123
}
List vote request results
curl --request POST \
--url 'https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults' \
--header 'Content-Type: application/json' \
--data '{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}'
import json
import requests
url = "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults"
headers = {'Content-Type': 'application/json'}
payload = json.loads(r'''{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}''')
response = requests.request(
"POST", url, headers=headers, json=payload
)
print(response.text)
const response = await fetch('https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}),
});
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/admin/sv/voteresults',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => <<<'JSON'
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
JSON,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
echo $response;
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
req, _ := http.NewRequest("POST", "https://scan.sv-1.global.canton.network.sync.global/api/scan/v0/admin/sv/voteresults", bytes.NewBufferString(`{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}`))
req.Header.Set("Content-Type", "application/json")
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/admin/sv/voteresults"))
.header("Content-Type", "application/json")
.method("POST", HttpRequest.BodyPublishers.ofString("""
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
"""))
.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/admin/sv/voteresults')
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request.body = <<~JSON
{
"actionName": "<string>",
"accepted": false,
"requester": "<string>",
"effectiveFrom": "<string>",
"effectiveTo": "<string>",
"limit": 123,
"pageToken": 123
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port) do |http|
http.request(request)
end
puts response.body
{
"dso_rules_vote_results": [
{}
],
"next_page_token": 123
}
Body
application/json
string
boolean
string
string
string
number
required
OpenAPI type:
integer.number
OpenAPI type:
integer.Cursor for pagination. When requesting the next page of results, pass the next_page_token from the previous response. Results are ordered by effective date (the accepted vote’s effectiveAt, or the result’s completedAt otherwise), descending.Responses
200
okapplication/json
object[]
required
integer
Cursor for the next page of results. Pass this as
pageToken in the request. If absent or null, there are no more pages.History
Updated
0.6.10The POST /v0/admin/sv/voteresults operation changed in this snapshot.
Updated
0.6.4The POST /v0/admin/sv/voteresults operation changed in this snapshot.
Updated
0.6.1The POST /v0/admin/sv/voteresults operation changed in this snapshot.
Updated
0.6.0The POST /v0/admin/sv/voteresults operation changed in this snapshot.
Added
0.5.10