ComboJSONAPI: Plugins to improve functionality of the Flask-COMBO-JSONAPI¶
ComboJSONAPI
is a set of plugins made for Flask-COMBO-JSONAPI.
Permission plugin enables access control to models and their fields in GET, POST, PATCH and DELETE methods.
ApiSpecPlugin simplifies automated JSONAPI documentation.
RestfulPlugin for apispec library in the ApiSpecPlugin enables documenting GET parameters with Marshmallow schemas.
EventPlugin enables RPC creation for those cases when you can’t make it with pure JSON:API.
PostgreSqlJSONB features filtering and sorting data by first-level key values of JSONB values in PostgreSQL.
Contents¶
Documentation¶
To update docs:
# go to docs dir
cd docs
# gen .pot files
make gettext
# update .po files for existing langs / create new
sphinx-intl update -p _build/locale -l ru
add new langs via additional flag “-l es”
add translations to
docs/locale/<lang>/LC_MESSAGES
to check your translations run
sphinx-build -b html -D language=ru . _build/html/ru
and check generated HTML files