Autores de un proyecto
curl --request GET \
--url https://api.dev.impactu.colav.co/project/{project_id}/authorsimport requests
url = "https://api.dev.impactu.colav.co/project/{project_id}/authors"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/project/{project_id}/authors', 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/project/{project_id}/authors",
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/project/{project_id}/authors"
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/project/{project_id}/authors")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/project/{project_id}/authors")
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{
"data": [
{
"affiliations": [
{
"addresses": null,
"end_date": null,
"external_ids": null,
"h5_index": null,
"h_index": null,
"id": "COL0000001",
"name": "Grupo de Investigación Ejemplo",
"position": null,
"ranking": null,
"ror": null,
"start_date": null,
"types": [
{
"code": null,
"level": null,
"provenance": null,
"source": "minciencias",
"type": "group",
"type_class": null
}
],
"years": []
}
],
"countries": null,
"external_ids": [{"id": "0000000001", "provenance": "minciencias", "source": "scienti"}],
"first_names": null,
"full_name": "María Ejemplo García",
"h5_index": null,
"h_index": null,
"id": "0000000001",
"last_names": null,
"ranking": null,
"sex": null,
"type": null
}
],
"meta": {"count": 1, "cursor": {"next": null, "previous": null}, "db_response_time_ms": 25, "page": 1, "size": 1}
}
{"error": "The project with id 000000000000000000000000 does not exist."}
Project
Autores de un proyecto
Devuelve la lista de autores de un proyecto de investigación.
GET
/
project
/
{project_id}
/
authors
Autores de un proyecto
curl --request GET \
--url https://api.dev.impactu.colav.co/project/{project_id}/authorsimport requests
url = "https://api.dev.impactu.colav.co/project/{project_id}/authors"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/project/{project_id}/authors', 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/project/{project_id}/authors",
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/project/{project_id}/authors"
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/project/{project_id}/authors")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/project/{project_id}/authors")
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{
"data": [
{
"affiliations": [
{
"addresses": null,
"end_date": null,
"external_ids": null,
"h5_index": null,
"h_index": null,
"id": "COL0000001",
"name": "Grupo de Investigación Ejemplo",
"position": null,
"ranking": null,
"ror": null,
"start_date": null,
"types": [
{
"code": null,
"level": null,
"provenance": null,
"source": "minciencias",
"type": "group",
"type_class": null
}
],
"years": []
}
],
"countries": null,
"external_ids": [{"id": "0000000001", "provenance": "minciencias", "source": "scienti"}],
"first_names": null,
"full_name": "María Ejemplo García",
"h5_index": null,
"h_index": null,
"id": "0000000001",
"last_names": null,
"ranking": null,
"sex": null,
"type": null
}
],
"meta": {"count": 1, "cursor": {"next": null, "previous": null}, "db_response_time_ms": 25, "page": 1, "size": 1}
}
{"error": "The project with id 000000000000000000000000 does not exist."}
Parámetros de ruta
string
requerido
Identificador del proyecto. Ejemplo:
6ab4ac4e5418a51e324cc06c.Parámetros de consulta
string
predeterminado:"full"
Nivel de detalle. Con
summary, cada autor trae solo id, full_name,
type y affiliations, y se omiten los campos sin dato.authors de Obtener un proyecto.
Respuesta
object[]
Lista de autores del proyecto.
Mostrar propiedades de cada autor
Mostrar propiedades de cada autor
string
Identificador del autor.
string
Nombre completo.
string[] | null
Nombres.
string[] | null
Apellidos.
string | null
Sexo del autor.
object[]
Afiliaciones del autor:
id, name, types, start_date, end_date.object[]
Identificadores externos: scienti, ORCID, Scholar, etc.
object[] | null
Clasificaciones del autor (por ejemplo, de Minciencias).
integer | null
Índice h.
integer | null
Índice h de los últimos 5 años.
string | null
Rol del autor en el producto, cuando la fuente lo registra (por ejemplo,
en tesis).
string[] | null
Países asociados al autor.
object
Metadatos de la consulta, con la misma forma que en los listados:
count y
size valen 1, page vale 1, cursor.next y cursor.previous son
null, y db_response_time_ms es el tiempo de respuesta de la base de datos.{
"data": [
{
"affiliations": [
{
"addresses": null,
"end_date": null,
"external_ids": null,
"h5_index": null,
"h_index": null,
"id": "COL0000001",
"name": "Grupo de Investigación Ejemplo",
"position": null,
"ranking": null,
"ror": null,
"start_date": null,
"types": [
{
"code": null,
"level": null,
"provenance": null,
"source": "minciencias",
"type": "group",
"type_class": null
}
],
"years": []
}
],
"countries": null,
"external_ids": [{"id": "0000000001", "provenance": "minciencias", "source": "scienti"}],
"first_names": null,
"full_name": "María Ejemplo García",
"h5_index": null,
"h_index": null,
"id": "0000000001",
"last_names": null,
"ranking": null,
"sex": null,
"type": null
}
],
"meta": {"count": 1, "cursor": {"next": null, "previous": null}, "db_response_time_ms": 25, "page": 1, "size": 1}
}
{"error": "The project with id 000000000000000000000000 does not exist."}