Noticias de un autor
curl --request GET \
--url https://api.dev.impactu.colav.co/person/{person_id}/research/newsimport requests
url = "https://api.dev.impactu.colav.co/person/{person_id}/research/news"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/person/{person_id}/research/news', 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/person/{person_id}/research/news",
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/person/{person_id}/research/news"
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/person/{person_id}/research/news")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/person/{person_id}/research/news")
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": [],
"meta": {"count": 0, "cursor": {"next": null, "previous": null}, "db_response_time_ms": 25, "page": 1, "size": 2}
}
{
"error": "1 validation error for QueryParams\nmax\n Input should be greater than or equal to 1 [type=greater_than_equal, input_value='0', input_type=str]\n For further i…"
}
Person
Noticias de un autor
Lista de forma paginada las noticias relacionadas con un autor.
GET
/
person
/
{person_id}
/
research
/
news
Noticias de un autor
curl --request GET \
--url https://api.dev.impactu.colav.co/person/{person_id}/research/newsimport requests
url = "https://api.dev.impactu.colav.co/person/{person_id}/research/news"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.dev.impactu.colav.co/person/{person_id}/research/news', 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/person/{person_id}/research/news",
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/person/{person_id}/research/news"
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/person/{person_id}/research/news")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dev.impactu.colav.co/person/{person_id}/research/news")
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": [],
"meta": {"count": 0, "cursor": {"next": null, "previous": null}, "db_response_time_ms": 25, "page": 1, "size": 2}
}
{
"error": "1 validation error for QueryParams\nmax\n Input should be greater than or equal to 1 [type=greater_than_equal, input_value='0', input_type=str]\n For further i…"
}
Parámetros de ruta
string
requerido
Identificador del autor. Ejemplo:
0000000001.Parámetros de consulta
integer
predeterminado:"10"
Resultados por página (1 a 250).
integer
predeterminado:"1"
Número de página (mínimo 1).
string
predeterminado:"citations_desc"
Criterio de ordenamiento ascendente y descendente, por ejemplo
citations_desc, products_asc o alphabetical_desc.Este endpoint no admite
sort, view ni filtros. Solo aplican max y
page. La estructura de la respuesta es idéntica a la de Noticias de una afiliación.Respuesta
object
Metadatos de la respuesta.
Mostrar propiedades
Mostrar propiedades
integer
Total de resultados que cumplen la consulta.
integer
Página actual.
integer
Cantidad de resultados devueltos en esta página.
integer
Tiempo de respuesta de la base de datos en milisegundos.
{
"data": [],
"meta": {"count": 0, "cursor": {"next": null, "previous": null}, "db_response_time_ms": 25, "page": 1, "size": 2}
}
{
"error": "1 validation error for QueryParams\nmax\n Input should be greater than or equal to 1 [type=greater_than_equal, input_value='0', input_type=str]\n For further i…"
}