datacatalog.plugins.swift package

_put_file_to_object_store(uuid, content_type, data, filename=None)[source]
initialize_sync(app)[source]

Initialize the plugin.

  • validates the configuration loaded by app;
  • initializes _BASE_URL and _AUTHORIZATION;
  • registers a new endpoint /files in the HTTP service.
post(request)[source]

POST handler for /files

Return type:Response