Chain posted rows that predate the chain (admin)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill \
--cookie pid_access=const options = {method: 'POST', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill"
headers = {"cookie": "pid_access="}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("cookie", "pid_access=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{}{
"statusCode": 401,
"message": "Unauthorized"
}fiat
Chain posted rows that predate the chain (admin)
POST
/
fiat
/
admin
/
chain
/
backfill
Chain posted rows that predate the chain (admin)
curl --request POST \
--url https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill \
--cookie pid_access=const options = {method: 'POST', headers: {cookie: 'pid_access='}};
fetch('https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill"
headers = {"cookie": "pid_access="}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.pid.peridotvault.com/v1/fiat/admin/chain/backfill"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("cookie", "pid_access=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{}{
"statusCode": 401,
"message": "Unauthorized"
}Authorizations
JWT access token set by /auth/google/callback or /auth/refresh
Response
Backfill result
The response is of type object.