Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/department-for-transport-BODS/bods
/ endpoints
Endpoints
207 in github.com/department-for-transport-BODS/bods
⨍
Functions
6,272
◇
Types & classes
2,541
↳
Endpoints
207
Route
admin_areas
factory.post_generation
transit_odp/transmodel/factories.py:None
Route
admin_areas
factory.post_generation
transit_odp/organisation/factories.py:None
Route
create_auth_token
receiver(post_save, sender=settings.AUTH_USER_MODEL)
transit_odp/users/receivers.py:None
Route
create_consumer_stats
receiver(post_save, sender=Organisation)
transit_odp/organisation/receivers.py:None
Route
create_user_settings
receiver(post_save, sender=settings.AUTH_USER_MODEL)
transit_odp/users/receivers.py:None
Route
created
post_generation
transit_odp/site_admin/factories.py:None
Route
dispatch
sensitive_post_parameters_m
transit_odp/users/views/auth.py:None
Route
dqs_status
action(methods=["get"], detail=True, url_path="dqs-status", url_name="dqs-status")
transit_odp/api/app/views.py:None
Route
get_value_from_dict
register.filter("get_value_from_dict")
transit_odp/common/templatetags/parse_dictionary.py:None
Route
licences
factory.post_generation
transit_odp/organisation/factories.py:None
Route
localities
factory.post_generation
transit_odp/transmodel/factories.py:None
Route
localities
factory.post_generation
transit_odp/organisation/factories.py:None
Route
name
post_generation
transit_odp/users/factories.py:None
Route
nocs
factory.post_generation
transit_odp/organisation/factories.py:None
Route
organisations
post_generation
transit_odp/users/factories.py:None
Route
password
post_generation
transit_odp/users/factories.py:None
Route
registration_numbers
factory.post_generation
transit_odp/otc/factories.py:None
Route
service_links
factory.post_generation
transit_odp/transmodel/factories.py:None
Route
service_links
factory.post_generation
transit_odp/data_quality/factories/warnings.py:None
Route
service_patterns
factory.post_generation
transit_odp/transmodel/factories.py:None
Route
stops
factory.post_generation
transit_odp/transmodel/factories.py:None
Route
stops
factory.post_generation
transit_odp/data_quality/factories/warnings.py:None
Route
stops
factory.post_generation
transit_odp/fares/factories.py:None
Route
subscribers
factory.post_generation
transit_odp/organisation/factories.py:None
Route
task_progress
factory.post_generation
transit_odp/organisation/factories.py:None
Route
test
patch("transit_odp.otc.client.auth.cache")
transit_odp/otc/tests/test_auth_cache.py:None
Route
test_access_time
patch(ARCHIVE_MODULE + ".requests")
transit_odp/avl/tests/test_archivers.py:None
Route
test_adds_dataset_type_to_response
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_all_siri_analysed
patch("json.load")
transit_odp/avl/post_publishing_checks/weekly/tests/test_summary.py:None
Route
test_archive_successful
patch(AVL_VIEWS + "archive.CAVLService")
transit_odp/avl/views/tests/test_archive.py:None
Route
test_avl_data
patch( "django.conf.settings.ABODS_AVL_LINE_LEVEL_DETAILS_URL", "http://dummy_url.com" )
transit_odp/browse/tests/test_views.py:None
Route
test_block_ref
patch("json.load")
transit_odp/avl/post_publishing_checks/weekly/tests/test_summary.py:None
Route
test_can_create_new_services_with_existing_services
patch(f"{CLIENT}.get_latest_variations_since")
transit_odp/otc/tests/test_loaders.py:None
Route
test_can_revert_to_earlier_verisons
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_registry.py:None
Route
test_can_update_modified_variations
patch(f"{CLIENT}.get_latest_variations_since")
transit_odp/otc/tests/test_loaders.py:None
Route
test_clean_state_machine_name
pytest.mark.parametrize( "input_payload, expected_name", [ ( '{"s3": {"object": "c
transit_odp/common/tests/test_step_functions_client_wrapper.py:None
Route
test_complete_service_pages_lta_detail_view
patch.object(publish_attention, "AbodsRegistery")
transit_odp/browse/tests/test_views.py:None
Route
test_created_zip_has_correct_name
patch(mock_path_prefix + "PostPublishingChecksSummaryData.aggregate_daily_reports")
transit_odp/avl/post_publishing_checks/weekly/tests/test_report.py:None
Route
test_delete_feed
pytest.mark.parametrize( "status, response_mock, expected_result, expected_message", [
transit_odp/avl/client/tests/test_cavl_client.py:None
Route
test_destination_ref
patch("json.load")
transit_odp/avl/post_publishing_checks/weekly/tests/test_summary.py:None
Route
test_direction_ref
patch("json.load")
transit_odp/avl/post_publishing_checks/weekly/tests/test_summary.py:None
Route
test_display_with_api_data
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_display_with_api_data_with_no_disruptions
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_display_with_api_data_with_no_disruptions_with_lastupdated
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_display_with_search_query
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_display_with_sort_by_name
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_download_dqs_file
patch("transit_odp.data_quality.tasks.create_dqs_report")
transit_odp/data_quality/tests/test_tasks.py:None
Route
test_download_gtfs_file_404
patch("transit_odp.browse.views.timetable_views.GTFSFileDownloader")
transit_odp/browse/tests/test_views.py:None
Route
test_download_gtfs_increments_resource_counter
patch("transit_odp.browse.views.timetable_views.GTFSFileDownloader")
transit_odp/browse/tests/test_views.py:None
Route
test_email_is_not_sent_on_no_errors
patch(VALIDATION_PATH)
transit_odp/avl/tests/test_tasks.py:None
Route
test_ep_registry_duplicate
pytest.mark.parametrize("get_ep_data", ["ep/duplicate_service.json"], indirect=True)
transit_odp/otc/tests/ep/test_registry.py:None
Route
test_error_response_from_api
patch("transit_odp.timetables.utils.requests")
transit_odp/timetables/tests/test_bank_holidays.py:None
Route
test_error_when_no_england_and_wales_from_api
patch("transit_odp.timetables.utils.requests")
transit_odp/timetables/tests/test_bank_holidays.py:None
Route
test_error_when_no_scotland_from_api
patch("transit_odp.timetables.utils.requests")
transit_odp/timetables/tests/test_bank_holidays.py:None
Route
test_eve_records_from_api
patch("transit_odp.timetables.utils.requests")
transit_odp/timetables/tests/test_bank_holidays.py:None
Route
test_expected_number_of_lines_returned
patch("django.conf.settings.ABODS_AVL_LINE_LEVEL_DETAILS_URL", "http://dummy_url.com")
transit_odp/avl/tests/test_abods_registry.py:None
Route
test_expected_number_of_registrations_returned
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_client.py:None
Route
test_feed_validation_can_handle_empty_response
patch("transit_odp.avl.tasks.get_validation_client")
transit_odp/avl/tests/test_tasks.py:None
Route
test_fetch_all_records
patch("transit_odp.otc.ep.registry.EPClient")
transit_odp/otc/tests/ep/test_registry.py:None
Route
test_fetch_ep_services
patch.object(EPClient, "_make_request")
transit_odp/otc/tests/ep/test_client.py:None
Route
test_fetching_data_for_weekly_report
patch(mock_path_prefix + "PostPublishingChecksSummaryData.aggregate_daily_reports")
transit_odp/avl/post_publishing_checks/weekly/tests/test_report.py:None
Route
test_formats_disruptions_datetimes
patch( "transit_odp.browse.views.disruptions_views._get_disruptions_organisation_data" )
transit_odp/browse/tests/test_disruptions_views.py:None
Route
test_generate_org_line_ref_mapping_for_inscope_lines
patch.object(sirivm_sampler, "_get_timetable_catalogue_dataframe")
transit_odp/avl/post_publishing_checks/daily/tests/test_sirivm_sampler.py:None
Route
test_get_avl_records_require_attention_lta_line_level_length
patch.object(publish_attention, "AbodsRegistery")
transit_odp/publish/tests/test_require_attention.py:None
Route
test_get_cancellations_api_invalid_query_params
patch("transit_odp.api.views.cancellations.requests")
transit_odp/api/tests/test_cancellations_api.py:None
Route
test_get_cancellations_api_response
patch("transit_odp.api.views.cancellations.requests")
transit_odp/api/tests/test_cancellations_api.py:None
Route
test_get_cancellations_api_response_exception
patch("transit_odp.api.views.cancellations.requests")
transit_odp/api/tests/test_cancellations_api.py:None
Route
test_get_cancellations_api_view_non_200
patch("transit_odp.api.views.cancellations.requests")
transit_odp/api/tests/test_cancellations_api.py:None
Route
test_get_consumer_api_response
patch("transit_odp.api.views.avl.requests")
transit_odp/api/tests/test_avl_api.py:None
Route
test_get_consumer_api_response_exception
patch("transit_odp.api.views.avl.requests")
transit_odp/api/tests/test_avl_api.py:None
Route
test_get_consumer_api_response_non_200
patch("transit_odp.api.views.avl.requests")
transit_odp/api/tests/test_avl_api.py:None
Route
test_get_content_success
patch(REQUESTS)
transit_odp/organisation/tests/test_updaters.py:None
Route
test_get_content_timeout
patch(REQUESTS)
transit_odp/organisation/tests/test_updaters.py:None
Route
test_get_content_unsuccessful
patch(REQUESTS)
transit_odp/organisation/tests/test_updaters.py:None
Route
test_get_data_from_api
patch("transit_odp.timetables.utils.requests")
transit_odp/timetables/tests/test_bank_holidays.py:None
Route
test_get_destinationref_df_file_missing
patch(f"{BASE_PATH}.ZipFile")
transit_odp/avl/tests/test_weekly_ppc_zip_loader.py:None
Route
test_get_directionref_df_file_missing
patch(f"{BASE_PATH}.ZipFile")
transit_odp/avl/tests/test_weekly_ppc_zip_loader.py:None
Route
test_get_disruptions_api_response
patch("transit_odp.api.views.disruptions.requests")
transit_odp/api/tests/test_disruptions_api.py:None
Route
test_get_disruptions_api_response_exception
patch("transit_odp.api.views.disruptions.requests")
transit_odp/api/tests/test_disruptions_api.py:None
Route
test_get_disruptions_api_view_non_200
patch("transit_odp.api.views.disruptions.requests")
transit_odp/api/tests/test_disruptions_api.py:None
Route
test_get_expiring
pytest.mark.parametrize( "test_input, expected", [ (FeedStatus.live, False),
transit_odp/organisation/tests/test_querysets.py:None
Route
test_get_gtfs_rt_response
patch("transit_odp.api.views.avl.requests")
transit_odp/api/tests/test_avl_api.py:None
Route
test_get_gtfs_rt_response_exception
patch("transit_odp.api.views.avl.requests")
transit_odp/api/tests/test_avl_api.py:None
Route
test_get_latest_variations_since_returns_all_service_types
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_registry.py:None
Route
test_get_live
pytest.mark.parametrize( "test_input, expected", [ (FeedStatus.live, True),
transit_odp/organisation/tests/test_querysets.py:None
Route
test_get_no_content
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_client.py:None
Route
test_get_originref_df_file_missing
patch(f"{BASE_PATH}.ZipFile")
transit_odp/avl/tests/test_weekly_ppc_zip_loader.py:None
Route
test_get_service_alerts_api_response
patch("transit_odp.api.views.disruptions.requests")
transit_odp/api/tests/test_disruptions_api.py:None
Route
test_get_service_alerts_api_response_exception
patch("transit_odp.api.views.disruptions.requests")
transit_odp/api/tests/test_disruptions_api.py:None
Route
test_get_variations_by_registration_code_desc_orders
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_client.py:None
Route
test_get_variations_since
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_client.py:None
Route
test_get_variations_since_with_no_content
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_client.py:None
Route
test_get_vehicle_activities
patch.object(SirivmSampler, "get_siri_vm_data_feed_by_id")
transit_odp/avl/post_publishing_checks/daily/tests/test_sirivm_sampler.py:None
Route
test_has_update_true_retry_is_one
patch(URL_AVAILABLE)
transit_odp/organisation/tests/test_updaters.py:None
Route
test_init_default
patch("transit_odp.common.utils.aws_common.settings")
transit_odp/common/tests/test_step_functions_client_wrapper.py:None
Route
test_init_local
patch("transit_odp.common.utils.aws_common.settings")
transit_odp/common/tests/test_step_functions_client_wrapper.py:None
Route
test_init_no_credentials
patch("boto3.client", side_effect=NoCredentialsError)
transit_odp/common/tests/test_step_functions_client_wrapper.py:None
Route
test_init_partial_credentials
patch( "boto3.client", side_effect=PartialCredentialsError(provider="aws", cred_var="key") )
transit_odp/common/tests/test_step_functions_client_wrapper.py:None
Route
test_last_modified_is_defined_and_not_none
patch("django.conf.settings.OTC_API_KEY", "dummy_otc_api_key")
transit_odp/otc/tests/test_registry.py:None
Route
test_load_for_same_services_multiple_files
patch("transit_odp.timetables.loaders.get_dataset_adapter_from_revision")
transit_odp/pipelines/tests/test_dataset_etl/test_extract_metadata.py:None
next →
1–100 of 207, ranked by callers