Newer
Older
web-services / loterre-resolvers / v1 / P66.cfg
@Nicolas Thouvenin Nicolas Thouvenin on 19 Sep 497 bytes use nmap with vocabulary id
[env]
path = primer
value = env("TABLE_SERVER_URL", "http://mapping-tables.daf.intra.inist.fr/").concat("P66.skos").join("")

path = loterreID
value = fix('P66')

path = weekNumber
value = thru(() => new Date()).thru(currentDate => Math.floor((currentDate - (new Date(currentDate.getFullYear(), 0, 1)))/(24 * 60 * 60 * 1000))).thru(days => Math.ceil(days / 7))


#
# A noter :
# L'utilisation d'un fichier .cfg évite de faire apparaitre ce fichier comme une route dans la documentation openAPI
#