- api.add_org_resource(AlertResource, '/api/alerts/<alert_id>', endpoint='alert')
- api.add_org_resource(AlertSubscriptionListResource, '/api/alerts/<alert_id>/subscriptions', endpoint='alert_subscriptions')
- api.add_org_resource(AlertSubscriptionResource, '/api/alerts/<alert_id>/subscriptions/<subscriber_id>', endpoint='alert_subscription')
- api.add_org_resource(AlertListResource, '/api/alerts', endpoint='alerts')
-
- api.add_org_resource(DashboardListResource, '/api/dashboards', endpoint='dashboards')
- api.add_org_resource(DashboardResource, '/api/dashboards/<dashboard_slug>', endpoint='dashboard')
- api.add_org_resource(PublicDashboardResource, '/api/dashboards/public/<token>', endpoint='public_dashboard')
- api.add_org_resource(DashboardShareResource, '/api/dashboards/<dashboard_id>/share', endpoint='dashboard_share')
-
- api.add_org_resource(DataSourceTypeListResource, '/api/data_sources/types', endpoint='data_source_types')
- api.add_org_resource(DataSourceListResource, '/api/data_sources', endpoint='data_sources')
- api.add_org_resource(DataSourceSchemaResource, '/api/data_sources/<data_source_id>/schema')
- api.add_org_resource(DataSourcePauseResource, '/api/data_sources/<data_source_id>/pause')
- api.add_org_resource(DataSourceTestResource, '/api/data_sources/<data_source_id>/test')
- api.add_org_resource(DataSourceResource, '/api/data_sources/<data_source_id>', endpoint='data_source')
-
- api.add_org_resource(GroupListResource, '/api/groups', endpoint='groups')
- api.add_org_resource(GroupResource, '/api/groups/<group_id>', endpoint='group')
- api.add_org_resource(GroupMemberListResource, '/api/groups/<group_id>/members', endpoint='group_members')
This file has been truncated. show original