curl --request GET \
--url https://app.blockgence.com/v1/methodology \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.blockgence.com/v1/methodology"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.blockgence.com/v1/methodology', 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://app.blockgence.com/v1/methodology",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://app.blockgence.com/v1/methodology"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/methodology")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/methodology")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": "<string>",
"error": "<string>"
}{
"detail": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>",
"error": "<string>"
}Metodología publicada
Devuelve la metodología con la que blockgence afirma cada resultado: cada heurística y cada regla, con lo que
afirma, en qué se basa, su tipo de vínculo (deterministic, probabilistic, derived, mixed, heuristic
o filter), su confianza, sus parámetros, sus límites conocidos y el estado de su tasa de error. Incluye las
limitaciones globales que encabezan todo paquete de evidencia.
Es el mismo registro que cita un paquete de evidencia, que trae solo las entradas que usó. Sirve para leer el método antes de pedir un análisis, citar la entrada que sostiene una afirmación y comparar la huella con la de un paquete anterior para saber si el método cambió.
Campos principales:
versionyfingerprint: la versión de la metodología y la huella de sus entradas. La huella es el sha256 (primeros 16 caracteres hexadecimales) deentriesen JSON canónico y se puede recalcular.global_limitations,families(entradas por familia),returnedyentries.error_rate.statusde cada entrada:measured(con sus cifras enmetrics, cada una conk,ny un intervalo de confianza),not_measured(su confianza no se lee como probabilidad) onot_applicable(un hecho determinístico).error_rate_definitionsexplica cada definición.
Una familia desconocida en family responde 400 con la lista válida, nunca una lista vacía. La respuesta se
puede guardar en caché hasta 5 minutos.
Costo: sin cargo.
curl --request GET \
--url https://app.blockgence.com/v1/methodology \
--header 'X-API-Key: <api-key>'import requests
url = "https://app.blockgence.com/v1/methodology"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://app.blockgence.com/v1/methodology', 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://app.blockgence.com/v1/methodology",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://app.blockgence.com/v1/methodology"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.blockgence.com/v1/methodology")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.blockgence.com/v1/methodology")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"detail": "<string>",
"error": "<string>"
}{
"detail": "<string>",
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}{
"detail": "<string>",
"error": "<string>"
}Autorizaciones
Encabezados
Parámetros de consulta
Con true, devuelve solo la vista para revisión pericial contraria: la alternativa documentada de cada entrada (counter_expert), cuáles están medidas (measured) y las reglas con que el paquete de evidencia arma su sección de alternativas (rules). Con este parámetro se ignoran family y summary. Valor por defecto: false.
Respuesta
La metodología, completa o en la vista pedida.