# Ces exemples peuvent être exécutés directement dans VSCode, en utilisant l'extension REST Client (humao.rest-client)
# Décommenter/commenter les lignes voulues pour tester localement
# @baseUrl=http://localhost:31976
# VP
@baseUrl = https://authors-tools.services.istex.fr
# VI
# @baseUrl = http://name-gender-1.tdmservices.intra.istex.fr
###
# @name v1OrcidDisambiguation
# Désambiguisation d'auteur orcid
POST {{baseUrl}}/v1/orcid-disambiguation/orcidDisambiguation?indent=true HTTP/1.1
Content-Type: application/json
[
{
"id":"1",
"value":[{"firstName" : "Rubén", "lastName" : "Vázquez-Cárdenas", "coAuthors" : ["Juan pablo Martínez-Pastor"]}]
}
]
###
# @name v1FirstNameGender
# Détection du genre d'un prénom
POST {{baseUrl}}/v1/first-name/gender?indent=true HTTP/1.1
Content-Type: application/json
[
{"id": "1", "value": "Jean Christophe"},
{"id": "2", "value": "Amke"},
{"id": "3", "value": "Seong-Eun"},
{"id": "4", "value": "James A."}
]
###
# @name v1CorporatePrivatePublic
# Détection d'affiliation privé
POST {{baseUrl}}/v1/corporate/private-public?indent=true HTTP/1.1
Content-Type: application/json
[
{
"id": 1,
"value": {
"organisme": "abeeway",
"statut": "private"
}
},
{
"id": 2,
"value": {
"organisme": "airylab sarl",
"statut": "private"
}
},
{
"id": 3,
"value": {
"organisme": "n/a",
"statut": "n/a"
}
},
{
"id": 4,
"value": {
"organisme": "univ cote dazur",
"statut": "public"
}
}
]
###