# OpenAPI Documentation - JSON format (dot notation) mimeType = application/json post.operationId = post-v1-crossref-prefixes-expand post.description = Verbalisation du préfix DOI à partir d'un DOI complet ou just eà partir du préfixe post.tags.0 = bibliography post.responses.default.description = Renvoit une liste d'objet reçu avec le champ 'value' modifié post.summary = Verbalisatino à partir d'un tableau d'objets contenant à minima le champ value post.requestBody.required = true post.requestBody.content.application/json.schema.$ref = #/components/schemas/IdDOIList # Necessary plugins [use] plugin = basics plugin = analytics # Flow configuration [JSONParse] legacy = false separator = $ [expand] path = value size = 1 cacheName = prefixes [expand/assign] path = value value = get('value').split('/').filter(i => i.match(/^10./)).pop() [expand/assign] path = url value = fix('https://api.crossref.org/prefixes', self.value).join('/') [expand/URLFetch] target = result url = get('url') json = true timeout = 30000 noerror = true [expand/replace] path = id value = get('id') path = value value = get('result.message.name', 'n/a') [dump] indent = env('indent', false)