def permissions_required_signoffs_history(): """GET /permissions_required_signoffs/history""" permissions_required_signoffs_history = { 'permissions_required_signoffs': PermissionsRequiredSignoffsHistoryAPIView().get_all(), 'sc_permissions_required_signoffs': PermissionsRequiredSignoffScheduledChangeHistoryView().get_all() } histories = { 'Permissions Required Signoffs': json.loads(permissions_required_signoffs_history[ 'permissions_required_signoffs'].data), 'Permissions Required Signoffs Scheduled Change': json.loads(permissions_required_signoffs_history[ 'sc_permissions_required_signoffs'].data) } return histories
def permissions_required_signoffs_history(): """GET /permissions_required_signoffs/history""" permissions_required_signoffs_history = { "permissions_required_signoffs": PermissionsRequiredSignoffsHistoryAPIView().get_all(), "sc_permissions_required_signoffs": PermissionsRequiredSignoffScheduledChangeHistoryView().get_all(), } histories = { "Permissions Required Signoffs": json.loads(permissions_required_signoffs_history[ "permissions_required_signoffs"].data), "Permissions Required Signoffs Scheduled Change": json.loads(permissions_required_signoffs_history[ "sc_permissions_required_signoffs"].data), } return histories
def required_signoffs_permissions_revisions_get(): """GET /required_signoffs/permissions/revisions""" return PermissionsRequiredSignoffsHistoryAPIView().get()
view_func=SingleLocaleView.as_view("single_locale")) app.add_url_rule("/releases/<release>/revisions", view_func=ReleaseHistoryView.as_view("release_revisions")) app.add_url_rule("/releases/columns/<column>", view_func=SingleReleaseColumnView.as_view("release_columns")) app.add_url_rule( "/required_signoffs/product", view_func=ProductRequiredSignoffsView.as_view("product_required_signoffs")) app.add_url_rule("/required_signoffs/product/revisions", view_func=ProductRequiredSignoffsHistoryAPIView.as_view( "product_required_signoffs_revisions")) app.add_url_rule("/required_signoffs/permissions", view_func=PermissionsRequiredSignoffsView.as_view( "permissions_required_signoffs")) app.add_url_rule("/required_signoffs/permissions/revisions", view_func=PermissionsRequiredSignoffsHistoryAPIView.as_view( "permissions_required_signoffs_revisions")) app.add_url_rule("/history/diff/release/<change_id>/<field>", view_func=ReleaseDiffView.as_view("release_diff")) app.add_url_rule("/history/view/release/<change_id>/<field>", view_func=ReleaseFieldView.as_view("release_field")) app.add_url_rule( "/scheduled_changes/rules", view_func=RuleScheduledChangesView.as_view("scheduled_changes_rules")) app.add_url_rule( "/scheduled_changes/rules/<int:sc_id>", view_func=RuleScheduledChangeView.as_view("scheduled_change_rules")) app.add_url_rule("/scheduled_changes/rules/<int:sc_id>/enact", view_func=EnactRuleScheduledChangeView.as_view( "enact_scheduled_change_rules")) app.add_url_rule("/scheduled_changes/rules/<int:sc_id>/signoffs", view_func=RuleScheduledChangeSignoffsView.as_view(