views.py

About this file

The route definitions are in views.py.

The routes to manage agency features are defined to:
Retrieve the agency features JSON for the specified agency,
Retrieve the information for the specified agency_feature in the specified agency, if exists.

Code Check Report


No problems to report
                        

Documentation drawn from source code


patch(agency_ein):

Only accessible by Super Users

Currently only changes:
is_active

agency_features(agency_ein):

Retrieve the agency features JSON for the specified agency.

:param agency_ein: Agency EIN (String)

:return: JSON Object

agency_feature(agency_ein, feature):

Retrieve the information for the specified agency_feature in the specified agency, if exists.
:param agency_ein: Agency EIN (String)
:param feature: Feature specified. See app/lib/constants/agency_features for possible values (String)

:return: JSON Object

Source code