geonature.core.imports.routes.mappings

Functions

check_mapping_type(endpoint, values)

list_mappings(destination, mappingtype, scope)

get_mapping(mapping, scope)

add_mapping(destination, mappingtype, scope)

update_mapping(mapping, scope)

delete_mapping(mapping, scope)

Module Contents

geonature.core.imports.routes.mappings.check_mapping_type(endpoint, values)[source]
geonature.core.imports.routes.mappings.list_mappings(destination, mappingtype, scope)[source]

Return all active named (non-temporary) mappings.

Paramètres:

type (str) – Filter mapping of the given type.

geonature.core.imports.routes.mappings.get_mapping(mapping, scope)[source]

Return a mapping. Mapping has to be active.

geonature.core.imports.routes.mappings.add_mapping(destination, mappingtype, scope)[source]
geonature.core.imports.routes.mappings.update_mapping(mapping, scope)[source]
geonature.core.imports.routes.mappings.delete_mapping(mapping, scope)[source]