Content API¶
Changed in version 1.5.
There is a major refactoring ongoing for Content API. Major changes are:
- Less configuration
it will publish to content api without additional config on subscriber side
- Better integration
simplified install, no need to clone another repository, just another process
- Supports
JSON
only dropping
XML
support
- Supports
- Re-uses Superdesk media storage
there is no duplication of binaries
- Auth everywhere
avoiding some extra resources which were without authentication
Configuration¶
You can check available configuration in Content API Settings. For generating auth tokens SECRET_KEY setting is required.
Running Content API¶
You can use content_api.wsgi
module in Procfile
:
capi: gunicorn -b 0.0.0.0:$PORT content_api.wsgi