Module Status (/financa5/status)
curl --request GET \
--url https://api.vellaro.io/api/v1/admin/financa5/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vellaro.io/api/v1/admin/financa5/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vellaro.io/api/v1/admin/financa5/status', 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.vellaro.io/api/v1/admin/financa5/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.vellaro.io/api/v1/admin/financa5/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vellaro.io/api/v1/admin/financa5/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vellaro.io/api/v1/admin/financa5/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"financa5_allowed": true,
"installed": true,
"mode": "off",
"writes": true,
"locked_fields": [
"<string>"
],
"run_in_progress": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"health": {
"health": "off",
"failures_in_row": 123,
"failing_since": "2023-11-07T05:31:56Z",
"last_error_code": "<string>",
"alert_open": true,
"last_run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mode": "preview",
"trigger": "manual",
"status": "running",
"counts": {},
"error_code": "<string>",
"error_detail": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"matches_config": true
},
"last_ok_at": "2023-11-07T05:31:56Z",
"held_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"meta": {
"page": 123,
"page_size": 123,
"total": 123,
"total_pages": 123
},
"error": "<string>",
"error_code": "<string>"
}Integrations & modules
Module Status (/financa5/status)
Il banner dell’admin e i badge della scheda prodotto, per chi lavora il catalogo (catalog) e per chi tiene
le impostazioni (system): {financa5_allowed, installed, mode, writes, locked_fields, run_in_progress, health}. Nessun dato della connessione.
GET
/
api
/
v1
/
admin
/
financa5
/
status
Module Status (/financa5/status)
curl --request GET \
--url https://api.vellaro.io/api/v1/admin/financa5/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.vellaro.io/api/v1/admin/financa5/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.vellaro.io/api/v1/admin/financa5/status', 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.vellaro.io/api/v1/admin/financa5/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.vellaro.io/api/v1/admin/financa5/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.vellaro.io/api/v1/admin/financa5/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vellaro.io/api/v1/admin/financa5/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"financa5_allowed": true,
"installed": true,
"mode": "off",
"writes": true,
"locked_fields": [
"<string>"
],
"run_in_progress": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"health": {
"health": "off",
"failures_in_row": 123,
"failing_since": "2023-11-07T05:31:56Z",
"last_error_code": "<string>",
"alert_open": true,
"last_run": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"mode": "preview",
"trigger": "manual",
"status": "running",
"counts": {},
"error_code": "<string>",
"error_detail": "<string>",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"matches_config": true
},
"last_ok_at": "2023-11-07T05:31:56Z",
"held_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"meta": {
"page": 123,
"page_size": 123,
"total": 123,
"total_pages": 123
},
"error": "<string>",
"error_code": "<string>"
}Autorizzazioni
Risposta
200 - application/json
Successful Response