Read the current publication stamp
curl --request GET \
--url https://api.sharedgraph.com/api/publicationconst options = {method: 'GET'};
fetch('https://api.sharedgraph.com/api/publication', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sharedgraph.com/api/publication"
response = requests.get(url)
print(response.text){
"incarnation": "<string>",
"witnessEpoch": 2,
"revision": 1
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}Social
Read the current publication stamp
The incarnation, witness epoch and revision as of now, without any credential and without reading domain data. An application boundary that already holds a protected read confirms with this that no restriction (a confirmed delete, block, suspension or recovery) moved the witness epoch or incarnation after that read was admitted, before it publishes the read to its own user. The same three values are also stamped as headers on every protected read.
GET
/
api
/
publication
Read the current publication stamp
curl --request GET \
--url https://api.sharedgraph.com/api/publicationconst options = {method: 'GET'};
fetch('https://api.sharedgraph.com/api/publication', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sharedgraph.com/api/publication"
response = requests.get(url)
print(response.text){
"incarnation": "<string>",
"witnessEpoch": 2,
"revision": 1
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}Response
Successful response
The network's current publication stamp: the recovery incarnation and witness epoch every protected read is admitted under, and the SQL revision at the moment of this read.