Newer
Older
web-services / affiliations-tools / v1 / netscity / expand.ini
@Nicolas Thouvenin Nicolas Thouvenin on 23 Jul 2021 1 KB fix affiliatinos tools for production
# OpenAPI Documentation - JSON format (dot notation)
post.responses.default.description = Return all objects with enrich fields
post.responses.default.content.application/json.schema.$ref =  #/components/schemas/JSONStream
post.summary = Enrich one field of each Object with a Netscity Object
post.requestBody.required = true
post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.parameters.0.in = query
post.parameters.0.name = path
post.parameters.0.schema.type = string
post.parameters.0.description = The path in each object to enrich with an Netscity object
post.parameters.1.in = query
post.parameters.1.name = indent
post.parameters.1.schema.type = boolean
post.parameters.1.description = Indent or not the JSON Result

# Necessary plugins
[use]
plugin = basics
plugin = analytics
plugin = storage

# Flow configuration
[JSONParse]
separator = *

[combine]
path = env('path', 'value')
primer = ./v1/netscity/netscity.csv
prepend = files
file = ./v1/netscity/netscity-enrichments.ini
persistent = true

[dump]
indent = env('indent', false)