Artículos por ruta de acceso
curl --request GET \
--url https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/productsimport requests
url = "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products', 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.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
req, _ := http.NewRequest("GET", url, nil)
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.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"plot": [
{
"name": "Sin información",
"percentage": 62.54,
"value": 84651
},
{
"name": "Diamante",
"percentage": 13.31,
"value": 18011
},
{
"name": "Cerrado",
"percentage": 10.31,
"value": 13958
},
{
"name": "Verde",
"percentage": 6.4,
"value": 8667
}
],
"sum": 135364
}
{
"plot": [
{
"name": "Sin información",
"percentage": 82.71,
"value": 5442
},
{
"name": "Diamante",
"percentage": 9.09,
"value": 598
},
{
"name": "Cerrado",
"percentage": 4.09,
"value": 269
},
{
"name": "Verde",
"percentage": 2.9,
"value": 191
}
],
"sum": 6580
}
{
"plot": [
{
"name": "Sin información",
"percentage": 93.04,
"value": 708
},
{
"name": "Diamante",
"percentage": 3.29,
"value": 25
},
{
"name": "Cerrado",
"percentage": 1.97,
"value": 15
},
{
"name": "Verde",
"percentage": 1.71,
"value": 13
}
],
"sum": 761
}
{
"plot": [
{
"name": "Sin información",
"percentage": 61.88,
"value": 495
},
{
"name": "Dorado",
"percentage": 14.12,
"value": 113
},
{
"name": "Diamante",
"percentage": 10.38,
"value": 83
},
{
"name": "Cerrado",
"percentage": 6.38,
"value": 51
}
],
"sum": 800
}
Indicadores
Artículos por ruta de acceso
Distribución de artículos por ruta de acceso abierto.
GET
/
affiliation
/
{affiliation_type}
/
{affiliation_id}
/
research
/
products
Artículos por ruta de acceso
curl --request GET \
--url https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/productsimport requests
url = "https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products', 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.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products"
req, _ := http.NewRequest("GET", url, nil)
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.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/affiliation/{affiliation_type}/{affiliation_id}/research/products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"plot": [
{
"name": "Sin información",
"percentage": 62.54,
"value": 84651
},
{
"name": "Diamante",
"percentage": 13.31,
"value": 18011
},
{
"name": "Cerrado",
"percentage": 10.31,
"value": 13958
},
{
"name": "Verde",
"percentage": 6.4,
"value": 8667
}
],
"sum": 135364
}
{
"plot": [
{
"name": "Sin información",
"percentage": 82.71,
"value": 5442
},
{
"name": "Diamante",
"percentage": 9.09,
"value": 598
},
{
"name": "Cerrado",
"percentage": 4.09,
"value": 269
},
{
"name": "Verde",
"percentage": 2.9,
"value": 191
}
],
"sum": 6580
}
{
"plot": [
{
"name": "Sin información",
"percentage": 93.04,
"value": 708
},
{
"name": "Diamante",
"percentage": 3.29,
"value": 25
},
{
"name": "Cerrado",
"percentage": 1.97,
"value": 15
},
{
"name": "Verde",
"percentage": 1.71,
"value": 13
}
],
"sum": 761
}
{
"plot": [
{
"name": "Sin información",
"percentage": 61.88,
"value": 495
},
{
"name": "Dorado",
"percentage": 14.12,
"value": 113
},
{
"name": "Diamante",
"percentage": 10.38,
"value": 83
},
{
"name": "Cerrado",
"percentage": 6.38,
"value": 51
}
],
"sum": 800
}
Distribución de artículos por ruta de acceso abierto. Tipo de gráfico: Torta.
Acepta además los filtros de productos. No aplican
Parámetros
string
required
Tipo de afiliación. Este indicador devuelve datos con:
institution, faculty, department, group.string
required
Identificador de la afiliación.
string
required
Debe ser
articles_by_access_route.max, page ni sort.
Disponibilidad por tipo de afiliación
affiliation_type | Datos |
|---|---|
institution | ✅ |
faculty | ✅ |
department | ✅ |
group | ✅ |
Respuesta
{
"plot": [
{
"name": "Sin información",
"percentage": 62.54,
"value": 84651
},
{
"name": "Diamante",
"percentage": 13.31,
"value": 18011
},
{
"name": "Cerrado",
"percentage": 10.31,
"value": 13958
},
{
"name": "Verde",
"percentage": 6.4,
"value": 8667
}
],
"sum": 135364
}
{
"plot": [
{
"name": "Sin información",
"percentage": 82.71,
"value": 5442
},
{
"name": "Diamante",
"percentage": 9.09,
"value": 598
},
{
"name": "Cerrado",
"percentage": 4.09,
"value": 269
},
{
"name": "Verde",
"percentage": 2.9,
"value": 191
}
],
"sum": 6580
}
{
"plot": [
{
"name": "Sin información",
"percentage": 93.04,
"value": 708
},
{
"name": "Diamante",
"percentage": 3.29,
"value": 25
},
{
"name": "Cerrado",
"percentage": 1.97,
"value": 15
},
{
"name": "Verde",
"percentage": 1.71,
"value": 13
}
],
"sum": 761
}
{
"plot": [
{
"name": "Sin información",
"percentage": 61.88,
"value": 495
},
{
"name": "Dorado",
"percentage": 14.12,
"value": 113
},
{
"name": "Diamante",
"percentage": 10.38,
"value": 83
},
{
"name": "Cerrado",
"percentage": 6.38,
"value": 51
}
],
"sum": 800
}