Skip to content

Commit

Permalink
Merge 1bcf93a into ebd543d
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed Apr 9, 2019
2 parents ebd543d + 1bcf93a commit 718ecad
Show file tree
Hide file tree
Showing 60 changed files with 34,552 additions and 342 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -13,4 +13,4 @@ env
venv
*.sublime*
.vscode/

.tox
7 changes: 7 additions & 0 deletions README.rst
Expand Up @@ -97,6 +97,13 @@ Includes:
- Related Select2 fields.
- Google charts with automatic group by or direct values and filters.
- AddOn system, write your own and contribute.
- CRUD REST API
- Automatic CRUD RESTful APIs.
- Internationalization
- Integration with flask-jwt-extended extension to protect your endpoints.
- Metadata for dynamic rendering.
- Selectable columns and metadata keys.
- Automatic and configurable data validation.
- Forms
- Automatic, Add, Edit and Show from Database Models
- Labels and descriptions for each field.
Expand Down
22 changes: 22 additions & 0 deletions docs/api.rst
Expand Up @@ -20,6 +20,7 @@ flask_appbuilder.security.decorators

.. automodule:: flask_appbuilder.security.decorators

.. autofunction:: protect
.. autofunction:: has_access
.. autofunction:: permission_name

Expand All @@ -30,6 +31,27 @@ flask_appbuilder.models.decorators

.. autofunction:: renders

flask_appbuilder.api
==============================

.. automodule:: flask_appbuilder.api

.. autofunction:: expose
.. autofunction:: rison
.. autofunction:: safe

BaseApi
-------

.. autoclass:: BaseApi
:members:

ModelRestApi
------------

.. autoclass:: ModelRestApi
:members:

flask_appbuilder.baseviews
==============================

Expand Down
7 changes: 7 additions & 0 deletions docs/config.rst
Expand Up @@ -194,6 +194,13 @@ Use config.py to configure the following parameters. By default it will use SQLL
| | the existing languages with the countries | |
| | name and flag | |
+-----------------------------------+--------------------------------------------+-----------+
| FAB_API_SHOW_STACKTRACE | Sends api stack trace on uncaught | No |
| | exceptions. (Boolean) | |
+-----------------------------------+--------------------------------------------+-----------+
| FAB_API_MAX_PAGE_SIZE | Sets a limit for FAB Model Api page size | No |
+-----------------------------------+--------------------------------------------+-----------+
| FAB_API_SWAGGER_UI | Enables a Swagger UI view (Boolean) | No |
+-----------------------------------+--------------------------------------------+-----------+


Using config.py
Expand Down
Binary file added docs/images/swagger001.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/swagger002.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.rst
Expand Up @@ -35,6 +35,7 @@ Contents:

views
quickhowto
rest_api
quickhowto_mongo
quickcharts
quickfiles
Expand Down
4 changes: 4 additions & 0 deletions docs/quickhowto.rst
Expand Up @@ -284,6 +284,10 @@ in case of success or errors. See the following table for a description of each
REST API
--------

note:
This sort of automatic REST API is going to be deprecated, and will
be completely removed in 2 minors.

This API is still BETA and will be subject to change. In the future F.A.B. will probably use AngularJS
to display the UI interface using AJAX.

Expand Down

0 comments on commit 718ecad

Please sign in to comment.