From d8b1872cb853c1dbf24378019c4882bc13309983 Mon Sep 17 00:00:00 2001 From: Paul Lorenz Date: Fri, 20 Oct 2023 12:10:38 -0400 Subject: [PATCH] Add 429 responses. Fixes #49 --- client.yml | 470 +- go.mod | 6 +- go.sum | 12 +- management.yml | 2828 +++- ...rrent_api_session_certificate_responses.go | 38 + ...rrent_api_session_certificate_responses.go | 38 + ...rrent_api_session_certificate_responses.go | 38 + ...rent_api_session_certificates_responses.go | 38 + .../list_service_updates_responses.go | 38 + ...current_identity_edge_routers_responses.go | 38 + .../enroll/enroll_ca_responses.go | 38 + .../enroll/enroll_er_ott_responses.go | 38 + .../enroll/enroll_ott_ca_responses.go | 38 + .../enroll/enroll_ott_responses.go | 38 + .../enroll/enroll_responses.go | 38 + .../enroll/ernoll_updb_responses.go | 38 + .../extend_router_enrollment_responses.go | 38 + .../list_external_jwt_signers_responses.go | 38 + .../informational/list_protocols_responses.go | 38 + .../create_posture_response_bulk_responses.go | 38 + .../create_posture_response_responses.go | 38 + .../service/delete_service_responses.go | 38 + .../service/detail_service_responses.go | 38 + .../list_service_terminators_responses.go | 38 + .../service/list_services_responses.go | 38 + .../service/patch_service_responses.go | 38 + .../service/update_service_responses.go | 38 + .../session/create_session_responses.go | 38 + .../session/delete_session_responses.go | 38 + .../session/list_sessions_responses.go | 38 + rest_client_api_server/doc.go | 2 +- rest_client_api_server/embedded_spec.go | 1208 +- ...rrent_api_session_certificate_responses.go | 44 + ...rrent_api_session_certificate_responses.go | 44 + ...rrent_api_session_certificate_responses.go | 44 + ...rent_api_session_certificates_responses.go | 44 + .../list_service_updates_responses.go | 44 + ...current_identity_edge_routers_responses.go | 44 + .../operations/enroll/enroll_ca_responses.go | 44 + .../enroll/enroll_er_ott_responses.go | 44 + .../enroll/enroll_ott_ca_responses.go | 44 + .../operations/enroll/enroll_ott_responses.go | 44 + .../operations/enroll/enroll_responses.go | 44 + .../enroll/ernoll_updb_responses.go | 44 + .../extend_router_enrollment_responses.go | 44 + .../list_external_jwt_signers_responses.go | 44 + .../informational/list_protocols_responses.go | 44 + .../create_posture_response_bulk_responses.go | 44 + .../create_posture_response_responses.go | 44 + .../service/delete_service_responses.go | 44 + .../service/detail_service_responses.go | 44 + .../list_service_terminators_responses.go | 44 + .../service/list_services_responses.go | 44 + .../service/patch_service_responses.go | 44 + .../service/update_service_responses.go | 44 + .../session/create_session_responses.go | 44 + .../session/delete_session_responses.go | 44 + .../session/list_sessions_responses.go | 44 + .../delete_api_sessions_responses.go | 38 + .../detail_api_sessions_responses.go | 38 + .../list_api_sessions_responses.go | 38 + .../create_auth_policy_responses.go | 38 + .../delete_auth_policy_responses.go | 38 + .../detail_auth_policy_responses.go | 38 + .../list_auth_policies_responses.go | 38 + .../patch_auth_policy_responses.go | 38 + .../update_auth_policy_responses.go | 38 + .../create_authenticator_responses.go | 38 + .../delete_authenticator_responses.go | 38 + .../detail_authenticator_responses.go | 38 + .../list_authenticators_responses.go | 38 + .../patch_authenticator_responses.go | 38 + .../re_enroll_authenticator_responses.go | 38 + .../update_authenticator_responses.go | 38 + .../create_ca_responses.go | 38 + .../delete_ca_responses.go | 38 + .../detail_ca_responses.go | 38 + .../get_ca_jwt_responses.go | 38 + .../list_cas_responses.go | 38 + .../patch_ca_responses.go | 38 + .../update_ca_responses.go | 38 + .../verify_ca_responses.go | 38 + .../config/create_config_responses.go | 38 + .../config/create_config_type_responses.go | 38 + .../config/delete_config_responses.go | 38 + .../config/delete_config_type_responses.go | 38 + .../config/detail_config_responses.go | 38 + .../config/detail_config_type_responses.go | 38 + .../config/list_config_types_responses.go | 38 + .../list_configs_for_config_type_responses.go | 38 + .../config/list_configs_responses.go | 38 + .../config/patch_config_responses.go | 38 + .../config/patch_config_type_responses.go | 38 + .../config/update_config_responses.go | 38 + .../config/update_config_type_responses.go | 38 + .../data_integrity_results_responses.go | 38 + .../create_edge_router_responses.go | 38 + .../delete_edge_router_responses.go | 38 + .../detail_edge_router_responses.go | 38 + ...e_router_edge_router_policies_responses.go | 38 + .../list_edge_router_identities_responses.go | 38 + ..._service_edge_router_policies_responses.go | 38 + .../list_edge_router_services_responses.go | 38 + .../list_edge_routers_responses.go | 38 + .../patch_edge_router_responses.go | 38 + .../re_enroll_edge_router_responses.go | 38 + .../update_edge_router_responses.go | 38 + .../create_edge_router_policy_responses.go | 38 + .../delete_edge_router_policy_responses.go | 38 + .../detail_edge_router_policy_responses.go | 38 + .../list_edge_router_policies_responses.go | 38 + ...ge_router_policy_edge_routers_responses.go | 38 + ...edge_router_policy_identities_responses.go | 38 + .../patch_edge_router_policy_responses.go | 38 + .../update_edge_router_policy_responses.go | 38 + .../enrollment/create_enrollment_responses.go | 38 + .../enrollment/delete_enrollment_responses.go | 38 + .../enrollment/detail_enrollment_responses.go | 38 + .../enrollment/list_enrollments_responses.go | 38 + .../refresh_enrollment_responses.go | 38 + .../create_external_jwt_signer_responses.go | 38 + .../delete_external_jwt_signer_responses.go | 38 + .../detail_external_jwt_signer_responses.go | 38 + .../list_external_jwt_signers_responses.go | 38 + .../patch_external_jwt_signer_responses.go | 38 + .../update_external_jwt_signer_responses.go | 38 + ...ate_identitys_service_configs_responses.go | 38 + .../identity/create_identity_responses.go | 38 + .../identity/delete_identity_responses.go | 38 + .../identity/detail_identity_responses.go | 38 + .../detail_identity_type_responses.go | 38 + .../identity/disable_identity_responses.go | 38 + ...ate_identitys_service_configs_responses.go | 38 + .../identity/enable_identity_responses.go | 38 + .../get_identity_authenticators_responses.go | 38 + .../get_identity_enrollments_responses.go | 38 + ...ntity_failed_service_requests_responses.go | 38 + .../get_identity_policy_advice_responses.go | 38 + .../get_identity_posture_data_responses.go | 38 + .../identity/list_identities_responses.go | 38 + .../list_identity_edge_routers_responses.go | 38 + ...ist_identity_service_policies_responses.go | 38 + .../list_identity_services_responses.go | 38 + .../identity/list_identity_types_responses.go | 38 + ...dentitys_edge_router_policies_responses.go | 38 + ...ist_identitys_service_configs_responses.go | 38 + .../identity/patch_identity_responses.go | 38 + .../identity/remove_identity_mfa_responses.go | 38 + .../identity/update_identity_responses.go | 38 + .../update_identity_tracing_responses.go | 38 + .../informational/list_summary_responses.go | 38 + .../create_posture_check_responses.go | 38 + .../delete_posture_check_responses.go | 38 + .../detail_posture_check_responses.go | 38 + .../detail_posture_check_type_responses.go | 38 + .../list_posture_check_types_responses.go | 38 + .../list_posture_checks_responses.go | 38 + .../patch_posture_check_responses.go | 38 + .../update_posture_check_responses.go | 38 + ...t_edge_router_role_attributes_responses.go | 38 + ...list_identity_role_attributes_responses.go | 38 + .../list_service_role_attributes_responses.go | 38 + .../router/create_router_responses.go | 38 + .../router/create_transit_router_responses.go | 38 + .../router/delete_router_responses.go | 38 + .../router/delete_transit_router_responses.go | 38 + .../router/detail_router_responses.go | 38 + .../router/detail_transit_router_responses.go | 38 + .../router/list_routers_responses.go | 38 + .../router/list_transit_routers_responses.go | 38 + .../router/patch_router_responses.go | 38 + .../router/patch_transit_router_responses.go | 38 + .../router/update_router_responses.go | 38 + .../router/update_transit_router_responses.go | 38 + .../service/create_service_responses.go | 38 + .../service/delete_service_responses.go | 38 + .../service/detail_service_responses.go | 38 + .../service/list_service_config_responses.go | 38 + .../list_service_edge_routers_responses.go | 38 + .../list_service_identities_responses.go | 38 + ..._service_edge_router_policies_responses.go | 38 + ...list_service_service_policies_responses.go | 38 + .../list_service_terminators_responses.go | 38 + .../service/list_services_responses.go | 38 + .../service/patch_service_responses.go | 38 + .../service/update_service_responses.go | 38 + ...te_service_edge_router_policy_responses.go | 38 + ...te_service_edge_router_policy_responses.go | 38 + ...il_service_edge_router_policy_responses.go | 38 + ..._service_edge_router_policies_responses.go | 38 + ...ge_router_policy_edge_routers_responses.go | 38 + ...e_edge_router_policy_services_responses.go | 38 + ...ch_service_edge_router_policy_responses.go | 38 + ...te_service_edge_router_policy_responses.go | 38 + .../create_service_policy_responses.go | 38 + .../delete_service_policy_responses.go | 38 + .../detail_service_policy_responses.go | 38 + .../list_service_policies_responses.go | 38 + ...ist_service_policy_identities_responses.go | 38 + ...service_policy_posture_checks_responses.go | 38 + .../list_service_policy_services_responses.go | 38 + .../patch_service_policy_responses.go | 38 + .../update_service_policy_responses.go | 38 + .../session/delete_session_responses.go | 38 + .../session/detail_session_responses.go | 38 + .../detail_session_route_path_responses.go | 38 + .../session/list_sessions_responses.go | 38 + .../terminator/create_terminator_responses.go | 38 + .../terminator/delete_terminator_responses.go | 38 + .../terminator/detail_terminator_responses.go | 38 + .../terminator/list_terminators_responses.go | 38 + .../terminator/patch_terminator_responses.go | 38 + .../terminator/update_terminator_responses.go | 38 + rest_management_api_server/doc.go | 2 +- rest_management_api_server/embedded_spec.go | 10804 +++++++++++++--- .../delete_api_sessions_responses.go | 44 + .../detail_api_sessions_responses.go | 44 + .../list_api_sessions_responses.go | 44 + .../create_auth_policy_responses.go | 44 + .../delete_auth_policy_responses.go | 44 + .../detail_auth_policy_responses.go | 44 + .../list_auth_policies_responses.go | 44 + .../patch_auth_policy_responses.go | 44 + .../update_auth_policy_responses.go | 44 + .../create_authenticator_responses.go | 44 + .../delete_authenticator_responses.go | 44 + .../detail_authenticator_responses.go | 44 + .../list_authenticators_responses.go | 44 + .../patch_authenticator_responses.go | 44 + .../re_enroll_authenticator_responses.go | 44 + .../update_authenticator_responses.go | 44 + .../create_ca_responses.go | 44 + .../delete_ca_responses.go | 44 + .../detail_ca_responses.go | 44 + .../get_ca_jwt_responses.go | 44 + .../list_cas_responses.go | 44 + .../patch_ca_responses.go | 44 + .../update_ca_responses.go | 44 + .../verify_ca_responses.go | 44 + .../config/create_config_responses.go | 44 + .../config/create_config_type_responses.go | 44 + .../config/delete_config_responses.go | 44 + .../config/delete_config_type_responses.go | 44 + .../config/detail_config_responses.go | 44 + .../config/detail_config_type_responses.go | 44 + .../config/list_config_types_responses.go | 44 + .../list_configs_for_config_type_responses.go | 44 + .../config/list_configs_responses.go | 44 + .../config/patch_config_responses.go | 44 + .../config/patch_config_type_responses.go | 44 + .../config/update_config_responses.go | 44 + .../config/update_config_type_responses.go | 44 + .../data_integrity_results_responses.go | 44 + .../create_edge_router_responses.go | 44 + .../delete_edge_router_responses.go | 44 + .../detail_edge_router_responses.go | 44 + ...e_router_edge_router_policies_responses.go | 44 + .../list_edge_router_identities_responses.go | 44 + ..._service_edge_router_policies_responses.go | 44 + .../list_edge_router_services_responses.go | 44 + .../list_edge_routers_responses.go | 44 + .../patch_edge_router_responses.go | 44 + .../re_enroll_edge_router_responses.go | 44 + .../update_edge_router_responses.go | 44 + .../create_edge_router_policy_responses.go | 44 + .../delete_edge_router_policy_responses.go | 44 + .../detail_edge_router_policy_responses.go | 44 + .../list_edge_router_policies_responses.go | 44 + ...ge_router_policy_edge_routers_responses.go | 44 + ...edge_router_policy_identities_responses.go | 44 + .../patch_edge_router_policy_responses.go | 44 + .../update_edge_router_policy_responses.go | 44 + .../enrollment/create_enrollment_responses.go | 44 + .../enrollment/delete_enrollment_responses.go | 44 + .../enrollment/detail_enrollment_responses.go | 44 + .../enrollment/list_enrollments_responses.go | 44 + .../refresh_enrollment_responses.go | 44 + .../create_external_jwt_signer_responses.go | 44 + .../delete_external_jwt_signer_responses.go | 44 + .../detail_external_jwt_signer_responses.go | 44 + .../list_external_jwt_signers_responses.go | 44 + .../patch_external_jwt_signer_responses.go | 44 + .../update_external_jwt_signer_responses.go | 44 + ...ate_identitys_service_configs_responses.go | 44 + .../identity/create_identity_responses.go | 44 + .../identity/delete_identity_responses.go | 44 + .../identity/detail_identity_responses.go | 44 + .../detail_identity_type_responses.go | 44 + .../identity/disable_identity_responses.go | 44 + ...ate_identitys_service_configs_responses.go | 44 + .../identity/enable_identity_responses.go | 44 + .../get_identity_authenticators_responses.go | 44 + .../get_identity_enrollments_responses.go | 44 + ...ntity_failed_service_requests_responses.go | 44 + .../get_identity_policy_advice_responses.go | 44 + .../get_identity_posture_data_responses.go | 44 + .../identity/list_identities_responses.go | 44 + .../list_identity_edge_routers_responses.go | 44 + ...ist_identity_service_policies_responses.go | 44 + .../list_identity_services_responses.go | 44 + .../identity/list_identity_types_responses.go | 44 + ...dentitys_edge_router_policies_responses.go | 44 + ...ist_identitys_service_configs_responses.go | 44 + .../identity/patch_identity_responses.go | 44 + .../identity/remove_identity_mfa_responses.go | 44 + .../identity/update_identity_responses.go | 44 + .../update_identity_tracing_responses.go | 44 + .../informational/list_summary_responses.go | 44 + .../create_posture_check_responses.go | 44 + .../delete_posture_check_responses.go | 44 + .../detail_posture_check_responses.go | 44 + .../detail_posture_check_type_responses.go | 44 + .../list_posture_check_types_responses.go | 44 + .../list_posture_checks_responses.go | 44 + .../patch_posture_check_responses.go | 44 + .../update_posture_check_responses.go | 44 + ...t_edge_router_role_attributes_responses.go | 44 + ...list_identity_role_attributes_responses.go | 44 + .../list_service_role_attributes_responses.go | 44 + .../router/create_router_responses.go | 44 + .../router/create_transit_router_responses.go | 44 + .../router/delete_router_responses.go | 44 + .../router/delete_transit_router_responses.go | 44 + .../router/detail_router_responses.go | 44 + .../router/detail_transit_router_responses.go | 44 + .../router/list_routers_responses.go | 44 + .../router/list_transit_routers_responses.go | 44 + .../router/patch_router_responses.go | 44 + .../router/patch_transit_router_responses.go | 44 + .../router/update_router_responses.go | 44 + .../router/update_transit_router_responses.go | 44 + .../service/create_service_responses.go | 44 + .../service/delete_service_responses.go | 44 + .../service/detail_service_responses.go | 44 + .../service/list_service_config_responses.go | 44 + .../list_service_edge_routers_responses.go | 44 + .../list_service_identities_responses.go | 44 + ..._service_edge_router_policies_responses.go | 44 + ...list_service_service_policies_responses.go | 44 + .../list_service_terminators_responses.go | 44 + .../service/list_services_responses.go | 44 + .../service/patch_service_responses.go | 44 + .../service/update_service_responses.go | 44 + ...te_service_edge_router_policy_responses.go | 44 + ...te_service_edge_router_policy_responses.go | 44 + ...il_service_edge_router_policy_responses.go | 44 + ..._service_edge_router_policies_responses.go | 44 + ...ge_router_policy_edge_routers_responses.go | 44 + ...e_edge_router_policy_services_responses.go | 44 + ...ch_service_edge_router_policy_responses.go | 44 + ...te_service_edge_router_policy_responses.go | 44 + .../create_service_policy_responses.go | 44 + .../delete_service_policy_responses.go | 44 + .../detail_service_policy_responses.go | 44 + .../list_service_policies_responses.go | 44 + ...ist_service_policy_identities_responses.go | 44 + ...service_policy_posture_checks_responses.go | 44 + .../list_service_policy_services_responses.go | 44 + .../patch_service_policy_responses.go | 44 + .../update_service_policy_responses.go | 44 + .../session/delete_session_responses.go | 44 + .../session/detail_session_responses.go | 44 + .../detail_session_route_path_responses.go | 44 + .../session/list_sessions_responses.go | 44 + .../terminator/create_terminator_responses.go | 44 + .../terminator/delete_terminator_responses.go | 44 + .../terminator/detail_terminator_responses.go | 44 + .../terminator/list_terminators_responses.go | 44 + .../terminator/patch_terminator_responses.go | 44 + .../terminator/update_terminator_responses.go | 44 + source/client.yml | 4 +- .../current-api-session-certificates.yml | 27 +- .../current-api-session-service-updates.yml | 6 +- .../client/current-identity-edge-routers.yml | 6 +- source/client/enroll.yml | 20 + source/client/ext-jwt-signers.yml | 7 +- source/client/posture-response.yml | 14 +- source/client/protocols.yml | 2 + source/client/services.yml | 19 +- source/client/sessions.yml | 24 +- source/management.yml | 4 +- source/management/api-sessions.yml | 16 +- source/management/auth-policies.yml | 32 +- source/management/authenticators.yml | 37 +- source/management/cas.yml | 102 +- source/management/config-types.yml | 36 +- source/management/configs.yml | 41 +- source/management/database.yml | 15 +- source/management/edge-router-policies.yml | 55 +- source/management/edge-routers.yml | 33 + source/management/enrollments.yml | 39 +- source/management/ext-jwt-signers.yml | 42 +- source/management/identities.yml | 137 +- source/management/identity-types.yml | 5 + source/management/posture-check-types.yml | 13 +- source/management/posture-checks.yml | 41 +- source/management/role-attributes.yml | 14 +- source/management/routers.yml | 85 +- .../service-edge-router-policies.yml | 55 +- source/management/service-policies.yml | 43 +- source/management/services.yml | 80 +- source/management/sessions.yml | 33 +- source/management/summary.yml | 4 +- source/management/terminators.yml | 35 +- version | 2 +- 405 files changed, 29115 insertions(+), 2187 deletions(-) diff --git a/client.yml b/client.yml index c3b44364..0758883a 100644 --- a/client.yml +++ b/client.yml @@ -15,7 +15,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.25.32 + version: 0.26.0 host: demo.ziti.dev basePath: /edge/client/v1 paths: @@ -411,6 +411,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -484,6 +502,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /current-api-session/certificates/{id}: get: security: @@ -537,6 +573,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -602,6 +656,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -647,6 +719,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /current-identity: get: security: @@ -1174,6 +1264,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /current-identity/mfa: get: security: @@ -1586,6 +1694,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string format: uuid @@ -1629,6 +1755,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /enroll/erott: post: description: | @@ -1643,6 +1787,24 @@ paths: (server chain, server cert, CAs). schema: $ref: '#/definitions/enrollmentCertsEnvelope' + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string format: uuid @@ -1697,6 +1859,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /enroll/ott: post: description: | @@ -1753,6 +1933,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string format: uuid @@ -1777,6 +1975,24 @@ paths: description: Base empty response schema: $ref: '#/definitions/empty' + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string format: uuid @@ -1814,6 +2030,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string format: uuid @@ -1907,6 +2141,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /posture-response: post: security: @@ -1978,6 +2230,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /posture-response-bulk: post: security: @@ -2051,6 +2321,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /protocols: get: security: [] @@ -2063,6 +2351,24 @@ paths: description: A list of supported Edge protocols schema: $ref: '#/definitions/listProtocolsEnvelope' + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /services: get: security: @@ -2147,6 +2453,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /services/{id}: get: security: @@ -2200,6 +2524,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -2289,6 +2631,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -2372,6 +2732,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -2461,6 +2839,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -2542,6 +2938,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -2626,6 +3040,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -2715,6 +3147,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /sessions/{id}: get: security: @@ -2851,6 +3301,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource diff --git a/go.mod b/go.mod index 78fd3339..258e2b48 100644 --- a/go.mod +++ b/go.mod @@ -32,9 +32,9 @@ require ( github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect go.mongodb.org/mongo-driver v1.12.1 // indirect - go.opentelemetry.io/otel v1.18.0 // indirect - go.opentelemetry.io/otel/metric v1.18.0 // indirect - go.opentelemetry.io/otel/trace v1.18.0 // indirect + go.opentelemetry.io/otel v1.19.0 // indirect + go.opentelemetry.io/otel/metric v1.19.0 // indirect + go.opentelemetry.io/otel/trace v1.19.0 // indirect golang.org/x/sys v0.13.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index 0376112d..a0c412ab 100644 --- a/go.sum +++ b/go.sum @@ -167,13 +167,13 @@ go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4x go.mongodb.org/mongo-driver v1.10.0/go.mod h1:wsihk0Kdgv8Kqu1Anit4sfK+22vSFbUrAVEYRhCXrA8= go.mongodb.org/mongo-driver v1.12.1 h1:nLkghSU8fQNaK7oUmDhQFsnrtcoNy7Z6LVFKsEecqgE= go.mongodb.org/mongo-driver v1.12.1/go.mod h1:/rGBTebI3XYboVmgz+Wv3Bcbl3aD0QF9zl6kDDw18rQ= -go.opentelemetry.io/otel v1.18.0 h1:TgVozPGZ01nHyDZxK5WGPFB9QexeTMXEH7+tIClWfzs= -go.opentelemetry.io/otel v1.18.0/go.mod h1:9lWqYO0Db579XzVuCKFNPDl4s73Voa+zEck3wHaAYQI= -go.opentelemetry.io/otel/metric v1.18.0 h1:JwVzw94UYmbx3ej++CwLUQZxEODDj/pOuTCvzhtRrSQ= -go.opentelemetry.io/otel/metric v1.18.0/go.mod h1:nNSpsVDjWGfb7chbRLUNW+PBNdcSTHD4Uu5pfFMOI0k= +go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= +go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= +go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= +go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= go.opentelemetry.io/otel/sdk v1.14.0 h1:PDCppFRDq8A1jL9v6KMI6dYesaq+DFcDZvjsoGvxGzY= -go.opentelemetry.io/otel/trace v1.18.0 h1:NY+czwbHbmndxojTEKiSMHkG2ClNH2PwmcHrdo0JY10= -go.opentelemetry.io/otel/trace v1.18.0/go.mod h1:T2+SGJGuYZY3bjj5rgh/hN7KIrlpWC5nS8Mjvzckz+0= +go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= +go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= diff --git a/management.yml b/management.yml index 7cbc8086..85cec318 100644 --- a/management.yml +++ b/management.yml @@ -15,7 +15,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.25.32 + version: 0.26.0 host: demo.ziti.dev basePath: /edge/management/v1 paths: @@ -194,6 +194,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /api-sessions/{id}: get: security: @@ -245,6 +263,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -296,6 +332,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -376,6 +430,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -445,6 +517,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /auth-policies/{id}: get: security: @@ -496,6 +586,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -583,6 +691,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -646,6 +772,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -734,6 +878,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -944,6 +1106,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -1013,6 +1193,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /authenticators/{id}: get: security: @@ -1064,6 +1262,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -1151,6 +1367,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -1215,6 +1449,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -1303,10 +1555,28 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 - parameters: - - type: string - description: The id of the requested resource - name: id + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 + parameters: + - type: string + description: The id of the requested resource + name: id in: path required: true /authenticators/{id}/re-enroll: @@ -1373,6 +1643,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -1454,6 +1742,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -1523,6 +1829,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /cas/{id}: get: security: @@ -1574,6 +1898,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -1661,6 +2003,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -1725,6 +2085,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -1812,6 +2190,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -1879,6 +2275,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -1978,6 +2392,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -2059,6 +2491,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -2127,6 +2577,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /config-types/{id}: get: security: @@ -2178,6 +2646,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -2265,6 +2751,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -2348,6 +2852,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -2435,6 +2957,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -2455,6 +2995,24 @@ paths: description: A list of configs schema: $ref: '#/definitions/listConfigsEnvelope' + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -2536,6 +3094,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -2607,6 +3183,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /configs/{id}: get: security: @@ -2660,6 +3254,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -2749,6 +3361,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -2832,6 +3462,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -2921,6 +3569,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -3970,6 +4636,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /database/fix-data-integrity: post: security: @@ -4152,6 +4836,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -4223,6 +4925,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /edge-router-policies/{id}: get: security: @@ -4276,6 +4996,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -4366,6 +5104,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -4449,10 +5205,28 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 - patch: - security: - - ztSession: [] - - oauth2: + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 + patch: + security: + - ztSession: [] + - oauth2: - openid description: Update the supplied fields on an edge router policy. Requires admin access. @@ -4539,6 +5313,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -4599,6 +5391,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -4659,6 +5469,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -4740,6 +5568,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /edge-routers: get: security: @@ -4824,6 +5670,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -4893,6 +5757,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /edge-routers/{id}: get: security: @@ -4944,6 +5826,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -5031,6 +5931,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -5112,6 +6030,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -5199,6 +6135,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5257,6 +6211,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5315,6 +6287,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5378,6 +6368,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5436,6 +6444,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5494,6 +6520,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5575,6 +6619,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -5654,6 +6716,24 @@ paths: or state schema: $ref: '#/definitions/apiErrorEnvelope' + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /enrollments/{id}: get: security: @@ -5708,6 +6788,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -5772,6 +6870,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5851,6 +6967,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -5944,6 +7078,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -6015,6 +7167,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /external-jwt-signers/{id}: get: security: @@ -6068,6 +7238,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -6158,6 +7346,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -6223,6 +7429,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -6313,6 +7537,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -6403,6 +7645,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -6474,10 +7734,28 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 - /identities/{id}: - get: - security: - - ztSession: [] + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 + /identities/{id}: + get: + security: + - ztSession: [] - oauth2: - openid description: Retrieves a single identity by id. Requires admin access. @@ -6527,6 +7805,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -6616,6 +7912,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -6699,6 +8013,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -6788,6 +8120,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -6846,6 +8196,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -6911,6 +8279,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -6971,6 +8357,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7031,6 +8435,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7089,6 +8511,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7147,6 +8587,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7208,6 +8666,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7267,6 +8743,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7330,6 +8824,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7396,6 +8908,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7455,6 +8985,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -7543,6 +9091,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -7630,6 +9196,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7690,6 +9274,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7750,6 +9352,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7845,6 +9465,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -7924,6 +9562,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /identity-types: get: security: @@ -7999,6 +9655,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /identity-types/{id}: get: security: @@ -8052,6 +9726,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -8135,6 +9827,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /posture-check-types/{id}: get: security: @@ -8188,6 +9898,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -8280,6 +10008,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -8351,6 +10097,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /posture-checks/{id}: get: security: @@ -8404,6 +10168,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -8493,6 +10275,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -8546,6 +10346,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -8635,6 +10453,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -8716,6 +10552,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -8787,6 +10641,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /routers/{id}: get: security: @@ -8840,6 +10712,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -8929,6 +10819,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -9012,6 +10920,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -9101,6 +11027,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -9182,6 +11126,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -9253,6 +11215,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /service-edge-router-policies/{id}: get: security: @@ -9306,6 +11286,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -9396,6 +11394,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -9469,12 +11485,30 @@ paths: application/json: error: args: - urlVars: - id: 71a3000f-7dda-491a-9b90-a19f4ee6c406 - causeMessage: referenced by /some-resource/05f4f710-c155-4a74-86d5-77558eb9cb42 - code: CONFLICT_CANNOT_MODIFY_REFERENCED - message: The resource cannot be deleted/modified. Remove all referencing - resources first. + urlVars: + id: 71a3000f-7dda-491a-9b90-a19f4ee6c406 + causeMessage: referenced by /some-resource/05f4f710-c155-4a74-86d5-77558eb9cb42 + code: CONFLICT_CANNOT_MODIFY_REFERENCED + message: The resource cannot be deleted/modified. Remove all referencing + resources first. + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later requestId: 270908d6-f2ef-4577-b973-67bec18ae376 meta: apiEnrollmentVersion: 0.0.1 @@ -9569,6 +11603,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -9629,6 +11681,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -9688,6 +11758,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -9767,6 +11855,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -9836,6 +11942,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /service-policies/{id}: get: security: @@ -9887,6 +12011,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -9974,6 +12116,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -10055,6 +12215,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -10143,6 +12321,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -10211,6 +12407,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -10279,6 +12493,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -10347,6 +12579,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -10426,6 +12676,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /services: get: security: @@ -10510,6 +12778,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -10581,6 +12867,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /services/{id}: get: security: @@ -10634,6 +12938,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -10723,6 +13045,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -10806,6 +13146,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -10895,6 +13253,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -10976,6 +13352,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11057,6 +13451,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11138,6 +13550,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11219,6 +13649,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11300,6 +13748,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11381,6 +13847,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11465,6 +13949,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /sessions/{id}: get: security: @@ -11518,6 +14020,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -11601,6 +14121,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11660,6 +14198,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -11757,6 +14313,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /terminators: get: security: @@ -11832,6 +14406,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -11903,6 +14495,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /terminators/{id}: get: security: @@ -11956,6 +14566,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -12043,6 +14671,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -12124,6 +14770,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -12211,6 +14875,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource @@ -12292,6 +14974,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 post: security: - ztSession: [] @@ -12363,6 +15063,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 /transit-routers/{id}: get: security: @@ -12416,6 +15134,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 put: security: - ztSession: [] @@ -12505,6 +15241,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 delete: security: - ztSession: [] @@ -12588,6 +15342,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 patch: security: - ztSession: [] @@ -12677,6 +15449,24 @@ paths: meta: apiEnrollmentVersion: 0.0.1 apiVersion: 0.0.1 + "429": + description: The resource requested is rate limited and the rate limit has + been exceeded + schema: + $ref: '#/definitions/apiErrorEnvelope' + examples: + application/json: + error: + args: + urlVars: {} + causeMessage: you have hit a rate limit in the requested operation + code: RATE_LIMITED + message: The resource is rate limited and the rate limit has been + exceeded. Please try again later + requestId: 270908d6-f2ef-4577-b973-67bec18ae376 + meta: + apiEnrollmentVersion: 0.0.1 + apiVersion: 0.0.1 parameters: - type: string description: The id of the requested resource diff --git a/rest_client_api_client/current_api_session/create_current_api_session_certificate_responses.go b/rest_client_api_client/current_api_session/create_current_api_session_certificate_responses.go index 1b785e70..c1f14b2b 100644 --- a/rest_client_api_client/current_api_session/create_current_api_session_certificate_responses.go +++ b/rest_client_api_client/current_api_session/create_current_api_session_certificate_responses.go @@ -65,6 +65,12 @@ func (o *CreateCurrentAPISessionCertificateReader) ReadResponse(response runtime return nil, err } return nil, result + case 429: + result := NewCreateCurrentAPISessionCertificateTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateCurrentAPISessionCertificateUnauthorized) readResponse(response r return nil } + +// NewCreateCurrentAPISessionCertificateTooManyRequests creates a CreateCurrentAPISessionCertificateTooManyRequests with default headers values +func NewCreateCurrentAPISessionCertificateTooManyRequests() *CreateCurrentAPISessionCertificateTooManyRequests { + return &CreateCurrentAPISessionCertificateTooManyRequests{} +} + +/* CreateCurrentAPISessionCertificateTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateCurrentAPISessionCertificateTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateCurrentAPISessionCertificateTooManyRequests) Error() string { + return fmt.Sprintf("[POST /current-api-session/certificates][%d] createCurrentApiSessionCertificateTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateCurrentAPISessionCertificateTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateCurrentAPISessionCertificateTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/current_api_session/delete_current_api_session_certificate_responses.go b/rest_client_api_client/current_api_session/delete_current_api_session_certificate_responses.go index 46e2bd5f..b6a86308 100644 --- a/rest_client_api_client/current_api_session/delete_current_api_session_certificate_responses.go +++ b/rest_client_api_client/current_api_session/delete_current_api_session_certificate_responses.go @@ -65,6 +65,12 @@ func (o *DeleteCurrentAPISessionCertificateReader) ReadResponse(response runtime return nil, err } return nil, result + case 429: + result := NewDeleteCurrentAPISessionCertificateTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteCurrentAPISessionCertificateUnauthorized) readResponse(response r return nil } + +// NewDeleteCurrentAPISessionCertificateTooManyRequests creates a DeleteCurrentAPISessionCertificateTooManyRequests with default headers values +func NewDeleteCurrentAPISessionCertificateTooManyRequests() *DeleteCurrentAPISessionCertificateTooManyRequests { + return &DeleteCurrentAPISessionCertificateTooManyRequests{} +} + +/* DeleteCurrentAPISessionCertificateTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteCurrentAPISessionCertificateTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteCurrentAPISessionCertificateTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /current-api-session/certificates/{id}][%d] deleteCurrentApiSessionCertificateTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteCurrentAPISessionCertificateTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteCurrentAPISessionCertificateTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/current_api_session/detail_current_api_session_certificate_responses.go b/rest_client_api_client/current_api_session/detail_current_api_session_certificate_responses.go index ae01c56b..c02ac5c6 100644 --- a/rest_client_api_client/current_api_session/detail_current_api_session_certificate_responses.go +++ b/rest_client_api_client/current_api_session/detail_current_api_session_certificate_responses.go @@ -65,6 +65,12 @@ func (o *DetailCurrentAPISessionCertificateReader) ReadResponse(response runtime return nil, err } return nil, result + case 429: + result := NewDetailCurrentAPISessionCertificateTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailCurrentAPISessionCertificateNotFound) readResponse(response runti return nil } + +// NewDetailCurrentAPISessionCertificateTooManyRequests creates a DetailCurrentAPISessionCertificateTooManyRequests with default headers values +func NewDetailCurrentAPISessionCertificateTooManyRequests() *DetailCurrentAPISessionCertificateTooManyRequests { + return &DetailCurrentAPISessionCertificateTooManyRequests{} +} + +/* DetailCurrentAPISessionCertificateTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailCurrentAPISessionCertificateTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailCurrentAPISessionCertificateTooManyRequests) Error() string { + return fmt.Sprintf("[GET /current-api-session/certificates/{id}][%d] detailCurrentApiSessionCertificateTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailCurrentAPISessionCertificateTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailCurrentAPISessionCertificateTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/current_api_session/list_current_api_session_certificates_responses.go b/rest_client_api_client/current_api_session/list_current_api_session_certificates_responses.go index 607b1a4b..9aced70e 100644 --- a/rest_client_api_client/current_api_session/list_current_api_session_certificates_responses.go +++ b/rest_client_api_client/current_api_session/list_current_api_session_certificates_responses.go @@ -65,6 +65,12 @@ func (o *ListCurrentAPISessionCertificatesReader) ReadResponse(response runtime. return nil, err } return nil, result + case 429: + result := NewListCurrentAPISessionCertificatesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListCurrentAPISessionCertificatesUnauthorized) readResponse(response ru return nil } + +// NewListCurrentAPISessionCertificatesTooManyRequests creates a ListCurrentAPISessionCertificatesTooManyRequests with default headers values +func NewListCurrentAPISessionCertificatesTooManyRequests() *ListCurrentAPISessionCertificatesTooManyRequests { + return &ListCurrentAPISessionCertificatesTooManyRequests{} +} + +/* ListCurrentAPISessionCertificatesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListCurrentAPISessionCertificatesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListCurrentAPISessionCertificatesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /current-api-session/certificates][%d] listCurrentApiSessionCertificatesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListCurrentAPISessionCertificatesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListCurrentAPISessionCertificatesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/current_api_session/list_service_updates_responses.go b/rest_client_api_client/current_api_session/list_service_updates_responses.go index fd4b9c78..6f2a15c9 100644 --- a/rest_client_api_client/current_api_session/list_service_updates_responses.go +++ b/rest_client_api_client/current_api_session/list_service_updates_responses.go @@ -59,6 +59,12 @@ func (o *ListServiceUpdatesReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewListServiceUpdatesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *ListServiceUpdatesUnauthorized) readResponse(response runtime.ClientRes return nil } + +// NewListServiceUpdatesTooManyRequests creates a ListServiceUpdatesTooManyRequests with default headers values +func NewListServiceUpdatesTooManyRequests() *ListServiceUpdatesTooManyRequests { + return &ListServiceUpdatesTooManyRequests{} +} + +/* ListServiceUpdatesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceUpdatesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceUpdatesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /current-api-session/service-updates][%d] listServiceUpdatesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceUpdatesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceUpdatesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/current_identity/get_current_identity_edge_routers_responses.go b/rest_client_api_client/current_identity/get_current_identity_edge_routers_responses.go index 7371c5f1..23dd81da 100644 --- a/rest_client_api_client/current_identity/get_current_identity_edge_routers_responses.go +++ b/rest_client_api_client/current_identity/get_current_identity_edge_routers_responses.go @@ -59,6 +59,12 @@ func (o *GetCurrentIdentityEdgeRoutersReader) ReadResponse(response runtime.Clie return nil, err } return nil, result + case 429: + result := NewGetCurrentIdentityEdgeRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *GetCurrentIdentityEdgeRoutersUnauthorized) readResponse(response runtim return nil } + +// NewGetCurrentIdentityEdgeRoutersTooManyRequests creates a GetCurrentIdentityEdgeRoutersTooManyRequests with default headers values +func NewGetCurrentIdentityEdgeRoutersTooManyRequests() *GetCurrentIdentityEdgeRoutersTooManyRequests { + return &GetCurrentIdentityEdgeRoutersTooManyRequests{} +} + +/* GetCurrentIdentityEdgeRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetCurrentIdentityEdgeRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /current-identity/edge-routers][%d] getCurrentIdentityEdgeRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/enroll_ca_responses.go b/rest_client_api_client/enroll/enroll_ca_responses.go index 3a7da859..5a854ac1 100644 --- a/rest_client_api_client/enroll/enroll_ca_responses.go +++ b/rest_client_api_client/enroll/enroll_ca_responses.go @@ -59,6 +59,12 @@ func (o *EnrollCaReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewEnrollCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *EnrollCaNotFound) readResponse(response runtime.ClientResponse, consume return nil } + +// NewEnrollCaTooManyRequests creates a EnrollCaTooManyRequests with default headers values +func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests { + return &EnrollCaTooManyRequests{} +} + +/* EnrollCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type EnrollCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *EnrollCaTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll/ca][%d] enrollCaTooManyRequests %+v", 429, o.Payload) +} +func (o *EnrollCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *EnrollCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/enroll_er_ott_responses.go b/rest_client_api_client/enroll/enroll_er_ott_responses.go index 1962e20a..a5f3f1d2 100644 --- a/rest_client_api_client/enroll/enroll_er_ott_responses.go +++ b/rest_client_api_client/enroll/enroll_er_ott_responses.go @@ -53,6 +53,12 @@ func (o *EnrollErOttReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return result, nil + case 429: + result := NewEnrollErOttTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -89,3 +95,35 @@ func (o *EnrollErOttOK) readResponse(response runtime.ClientResponse, consumer r return nil } + +// NewEnrollErOttTooManyRequests creates a EnrollErOttTooManyRequests with default headers values +func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests { + return &EnrollErOttTooManyRequests{} +} + +/* EnrollErOttTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type EnrollErOttTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *EnrollErOttTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll/erott][%d] enrollErOttTooManyRequests %+v", 429, o.Payload) +} +func (o *EnrollErOttTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *EnrollErOttTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/enroll_ott_ca_responses.go b/rest_client_api_client/enroll/enroll_ott_ca_responses.go index acd5aa81..a71cc712 100644 --- a/rest_client_api_client/enroll/enroll_ott_ca_responses.go +++ b/rest_client_api_client/enroll/enroll_ott_ca_responses.go @@ -53,6 +53,12 @@ func (o *EnrollOttCaReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return result, nil + case 429: + result := NewEnrollOttCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -89,3 +95,35 @@ func (o *EnrollOttCaOK) readResponse(response runtime.ClientResponse, consumer r return nil } + +// NewEnrollOttCaTooManyRequests creates a EnrollOttCaTooManyRequests with default headers values +func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests { + return &EnrollOttCaTooManyRequests{} +} + +/* EnrollOttCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type EnrollOttCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *EnrollOttCaTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll/ottca][%d] enrollOttCaTooManyRequests %+v", 429, o.Payload) +} +func (o *EnrollOttCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *EnrollOttCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/enroll_ott_responses.go b/rest_client_api_client/enroll/enroll_ott_responses.go index 3a7935ec..fedef435 100644 --- a/rest_client_api_client/enroll/enroll_ott_responses.go +++ b/rest_client_api_client/enroll/enroll_ott_responses.go @@ -59,6 +59,12 @@ func (o *EnrollOttReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewEnrollOttTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -125,3 +131,35 @@ func (o *EnrollOttNotFound) readResponse(response runtime.ClientResponse, consum return nil } + +// NewEnrollOttTooManyRequests creates a EnrollOttTooManyRequests with default headers values +func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests { + return &EnrollOttTooManyRequests{} +} + +/* EnrollOttTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type EnrollOttTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *EnrollOttTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll/ott][%d] enrollOttTooManyRequests %+v", 429, o.Payload) +} +func (o *EnrollOttTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *EnrollOttTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/enroll_responses.go b/rest_client_api_client/enroll/enroll_responses.go index a1c00167..5cc64b19 100644 --- a/rest_client_api_client/enroll/enroll_responses.go +++ b/rest_client_api_client/enroll/enroll_responses.go @@ -59,6 +59,12 @@ func (o *EnrollReader) ReadResponse(response runtime.ClientResponse, consumer ru return nil, err } return nil, result + case 429: + result := NewEnrollTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *EnrollNotFound) readResponse(response runtime.ClientResponse, consumer return nil } + +// NewEnrollTooManyRequests creates a EnrollTooManyRequests with default headers values +func NewEnrollTooManyRequests() *EnrollTooManyRequests { + return &EnrollTooManyRequests{} +} + +/* EnrollTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type EnrollTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *EnrollTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll][%d] enrollTooManyRequests %+v", 429, o.Payload) +} +func (o *EnrollTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *EnrollTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/ernoll_updb_responses.go b/rest_client_api_client/enroll/ernoll_updb_responses.go index 9a870790..049a25e6 100644 --- a/rest_client_api_client/enroll/ernoll_updb_responses.go +++ b/rest_client_api_client/enroll/ernoll_updb_responses.go @@ -59,6 +59,12 @@ func (o *ErnollUpdbReader) ReadResponse(response runtime.ClientResponse, consume return nil, err } return nil, result + case 429: + result := NewErnollUpdbTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *ErnollUpdbNotFound) readResponse(response runtime.ClientResponse, consu return nil } + +// NewErnollUpdbTooManyRequests creates a ErnollUpdbTooManyRequests with default headers values +func NewErnollUpdbTooManyRequests() *ErnollUpdbTooManyRequests { + return &ErnollUpdbTooManyRequests{} +} + +/* ErnollUpdbTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ErnollUpdbTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ErnollUpdbTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll/updb][%d] ernollUpdbTooManyRequests %+v", 429, o.Payload) +} +func (o *ErnollUpdbTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ErnollUpdbTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/enroll/extend_router_enrollment_responses.go b/rest_client_api_client/enroll/extend_router_enrollment_responses.go index faa9b812..c2cdfdb8 100644 --- a/rest_client_api_client/enroll/extend_router_enrollment_responses.go +++ b/rest_client_api_client/enroll/extend_router_enrollment_responses.go @@ -59,6 +59,12 @@ func (o *ExtendRouterEnrollmentReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewExtendRouterEnrollmentTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *ExtendRouterEnrollmentUnauthorized) readResponse(response runtime.Clien return nil } + +// NewExtendRouterEnrollmentTooManyRequests creates a ExtendRouterEnrollmentTooManyRequests with default headers values +func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests { + return &ExtendRouterEnrollmentTooManyRequests{} +} + +/* ExtendRouterEnrollmentTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ExtendRouterEnrollmentTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ExtendRouterEnrollmentTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enroll/extend/router][%d] extendRouterEnrollmentTooManyRequests %+v", 429, o.Payload) +} +func (o *ExtendRouterEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ExtendRouterEnrollmentTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/external_jwt_signer/list_external_jwt_signers_responses.go b/rest_client_api_client/external_jwt_signer/list_external_jwt_signers_responses.go index a7955174..f2044152 100644 --- a/rest_client_api_client/external_jwt_signer/list_external_jwt_signers_responses.go +++ b/rest_client_api_client/external_jwt_signer/list_external_jwt_signers_responses.go @@ -65,6 +65,12 @@ func (o *ListExternalJWTSignersReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListExternalJWTSignersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListExternalJWTSignersUnauthorized) readResponse(response runtime.Clien return nil } + +// NewListExternalJWTSignersTooManyRequests creates a ListExternalJWTSignersTooManyRequests with default headers values +func NewListExternalJWTSignersTooManyRequests() *ListExternalJWTSignersTooManyRequests { + return &ListExternalJWTSignersTooManyRequests{} +} + +/* ListExternalJWTSignersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListExternalJWTSignersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListExternalJWTSignersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /external-jwt-signers][%d] listExternalJwtSignersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListExternalJWTSignersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListExternalJWTSignersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/informational/list_protocols_responses.go b/rest_client_api_client/informational/list_protocols_responses.go index b3d020ab..3d652142 100644 --- a/rest_client_api_client/informational/list_protocols_responses.go +++ b/rest_client_api_client/informational/list_protocols_responses.go @@ -53,6 +53,12 @@ func (o *ListProtocolsReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return result, nil + case 429: + result := NewListProtocolsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -89,3 +95,35 @@ func (o *ListProtocolsOK) readResponse(response runtime.ClientResponse, consumer return nil } + +// NewListProtocolsTooManyRequests creates a ListProtocolsTooManyRequests with default headers values +func NewListProtocolsTooManyRequests() *ListProtocolsTooManyRequests { + return &ListProtocolsTooManyRequests{} +} + +/* ListProtocolsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListProtocolsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListProtocolsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /protocols][%d] listProtocolsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListProtocolsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListProtocolsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/posture_checks/create_posture_response_bulk_responses.go b/rest_client_api_client/posture_checks/create_posture_response_bulk_responses.go index a2eb023f..0cfa9fd9 100644 --- a/rest_client_api_client/posture_checks/create_posture_response_bulk_responses.go +++ b/rest_client_api_client/posture_checks/create_posture_response_bulk_responses.go @@ -65,6 +65,12 @@ func (o *CreatePostureResponseBulkReader) ReadResponse(response runtime.ClientRe return nil, err } return nil, result + case 429: + result := NewCreatePostureResponseBulkTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreatePostureResponseBulkUnauthorized) readResponse(response runtime.Cl return nil } + +// NewCreatePostureResponseBulkTooManyRequests creates a CreatePostureResponseBulkTooManyRequests with default headers values +func NewCreatePostureResponseBulkTooManyRequests() *CreatePostureResponseBulkTooManyRequests { + return &CreatePostureResponseBulkTooManyRequests{} +} + +/* CreatePostureResponseBulkTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreatePostureResponseBulkTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreatePostureResponseBulkTooManyRequests) Error() string { + return fmt.Sprintf("[POST /posture-response-bulk][%d] createPostureResponseBulkTooManyRequests %+v", 429, o.Payload) +} +func (o *CreatePostureResponseBulkTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreatePostureResponseBulkTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/posture_checks/create_posture_response_responses.go b/rest_client_api_client/posture_checks/create_posture_response_responses.go index 886b835a..06fa1c9c 100644 --- a/rest_client_api_client/posture_checks/create_posture_response_responses.go +++ b/rest_client_api_client/posture_checks/create_posture_response_responses.go @@ -65,6 +65,12 @@ func (o *CreatePostureResponseReader) ReadResponse(response runtime.ClientRespon return nil, err } return nil, result + case 429: + result := NewCreatePostureResponseTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreatePostureResponseUnauthorized) readResponse(response runtime.Client return nil } + +// NewCreatePostureResponseTooManyRequests creates a CreatePostureResponseTooManyRequests with default headers values +func NewCreatePostureResponseTooManyRequests() *CreatePostureResponseTooManyRequests { + return &CreatePostureResponseTooManyRequests{} +} + +/* CreatePostureResponseTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreatePostureResponseTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreatePostureResponseTooManyRequests) Error() string { + return fmt.Sprintf("[POST /posture-response][%d] createPostureResponseTooManyRequests %+v", 429, o.Payload) +} +func (o *CreatePostureResponseTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreatePostureResponseTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/service/delete_service_responses.go b/rest_client_api_client/service/delete_service_responses.go index 79d7d292..ef7332d8 100644 --- a/rest_client_api_client/service/delete_service_responses.go +++ b/rest_client_api_client/service/delete_service_responses.go @@ -71,6 +71,12 @@ func (o *DeleteServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDeleteServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteServiceConflict) readResponse(response runtime.ClientResponse, co return nil } + +// NewDeleteServiceTooManyRequests creates a DeleteServiceTooManyRequests with default headers values +func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests { + return &DeleteServiceTooManyRequests{} +} + +/* DeleteServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteServiceTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /services/{id}][%d] deleteServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/service/detail_service_responses.go b/rest_client_api_client/service/detail_service_responses.go index 86d24584..ab4d3733 100644 --- a/rest_client_api_client/service/detail_service_responses.go +++ b/rest_client_api_client/service/detail_service_responses.go @@ -65,6 +65,12 @@ func (o *DetailServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDetailServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailServiceNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewDetailServiceTooManyRequests creates a DetailServiceTooManyRequests with default headers values +func NewDetailServiceTooManyRequests() *DetailServiceTooManyRequests { + return &DetailServiceTooManyRequests{} +} + +/* DetailServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailServiceTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}][%d] detailServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/service/list_service_terminators_responses.go b/rest_client_api_client/service/list_service_terminators_responses.go index abe1db51..fc2f184f 100644 --- a/rest_client_api_client/service/list_service_terminators_responses.go +++ b/rest_client_api_client/service/list_service_terminators_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceTerminatorsReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListServiceTerminatorsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceTerminatorsUnauthorized) readResponse(response runtime.Clien return nil } + +// NewListServiceTerminatorsTooManyRequests creates a ListServiceTerminatorsTooManyRequests with default headers values +func NewListServiceTerminatorsTooManyRequests() *ListServiceTerminatorsTooManyRequests { + return &ListServiceTerminatorsTooManyRequests{} +} + +/* ListServiceTerminatorsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceTerminatorsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceTerminatorsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/terminators][%d] listServiceTerminatorsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceTerminatorsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceTerminatorsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/service/list_services_responses.go b/rest_client_api_client/service/list_services_responses.go index 3ab23d1f..40eab209 100644 --- a/rest_client_api_client/service/list_services_responses.go +++ b/rest_client_api_client/service/list_services_responses.go @@ -65,6 +65,12 @@ func (o *ListServicesReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewListServicesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServicesUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListServicesTooManyRequests creates a ListServicesTooManyRequests with default headers values +func NewListServicesTooManyRequests() *ListServicesTooManyRequests { + return &ListServicesTooManyRequests{} +} + +/* ListServicesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServicesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServicesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services][%d] listServicesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServicesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/service/patch_service_responses.go b/rest_client_api_client/service/patch_service_responses.go index 661e8224..e42386a7 100644 --- a/rest_client_api_client/service/patch_service_responses.go +++ b/rest_client_api_client/service/patch_service_responses.go @@ -71,6 +71,12 @@ func (o *PatchServiceReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewPatchServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchServiceNotFound) readResponse(response runtime.ClientResponse, con return nil } + +// NewPatchServiceTooManyRequests creates a PatchServiceTooManyRequests with default headers values +func NewPatchServiceTooManyRequests() *PatchServiceTooManyRequests { + return &PatchServiceTooManyRequests{} +} + +/* PatchServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchServiceTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /services/{id}][%d] patchServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/service/update_service_responses.go b/rest_client_api_client/service/update_service_responses.go index 21f7007c..6b02689c 100644 --- a/rest_client_api_client/service/update_service_responses.go +++ b/rest_client_api_client/service/update_service_responses.go @@ -71,6 +71,12 @@ func (o *UpdateServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewUpdateServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateServiceNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewUpdateServiceTooManyRequests creates a UpdateServiceTooManyRequests with default headers values +func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests { + return &UpdateServiceTooManyRequests{} +} + +/* UpdateServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateServiceTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /services/{id}][%d] updateServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/session/create_session_responses.go b/rest_client_api_client/session/create_session_responses.go index 7bc342f1..5428c3a0 100644 --- a/rest_client_api_client/session/create_session_responses.go +++ b/rest_client_api_client/session/create_session_responses.go @@ -71,6 +71,12 @@ func (o *CreateSessionReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewCreateSessionTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *CreateSessionNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewCreateSessionTooManyRequests creates a CreateSessionTooManyRequests with default headers values +func NewCreateSessionTooManyRequests() *CreateSessionTooManyRequests { + return &CreateSessionTooManyRequests{} +} + +/* CreateSessionTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateSessionTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateSessionTooManyRequests) Error() string { + return fmt.Sprintf("[POST /sessions][%d] createSessionTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateSessionTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateSessionTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/session/delete_session_responses.go b/rest_client_api_client/session/delete_session_responses.go index 20355442..174d25f4 100644 --- a/rest_client_api_client/session/delete_session_responses.go +++ b/rest_client_api_client/session/delete_session_responses.go @@ -71,6 +71,12 @@ func (o *DeleteSessionReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDeleteSessionTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteSessionConflict) readResponse(response runtime.ClientResponse, co return nil } + +// NewDeleteSessionTooManyRequests creates a DeleteSessionTooManyRequests with default headers values +func NewDeleteSessionTooManyRequests() *DeleteSessionTooManyRequests { + return &DeleteSessionTooManyRequests{} +} + +/* DeleteSessionTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteSessionTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteSessionTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /sessions/{id}][%d] deleteSessionTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteSessionTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteSessionTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_client/session/list_sessions_responses.go b/rest_client_api_client/session/list_sessions_responses.go index 66c51c96..76e09d14 100644 --- a/rest_client_api_client/session/list_sessions_responses.go +++ b/rest_client_api_client/session/list_sessions_responses.go @@ -65,6 +65,12 @@ func (o *ListSessionsReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewListSessionsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListSessionsUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListSessionsTooManyRequests creates a ListSessionsTooManyRequests with default headers values +func NewListSessionsTooManyRequests() *ListSessionsTooManyRequests { + return &ListSessionsTooManyRequests{} +} + +/* ListSessionsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListSessionsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListSessionsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /sessions][%d] listSessionsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListSessionsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListSessionsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_client_api_server/doc.go b/rest_client_api_server/doc.go index bdd4665e..8ac04a6a 100644 --- a/rest_client_api_server/doc.go +++ b/rest_client_api_server/doc.go @@ -30,7 +30,7 @@ // https // Host: demo.ziti.dev // BasePath: /edge/client/v1 -// Version: 0.25.32 +// Version: 0.26.0 // License: Apache 2.0 https://www.apache.org/licenses/LICENSE-2.0.html // Contact: OpenZiti https://openziti.discourse.group // diff --git a/rest_client_api_server/embedded_spec.go b/rest_client_api_server/embedded_spec.go index 02ec0582..7e85bd34 100644 --- a/rest_client_api_server/embedded_spec.go +++ b/rest_client_api_server/embedded_spec.go @@ -64,7 +64,7 @@ func init() { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.25.32" + "version": "0.26.0" }, "host": "demo.ziti.dev", "basePath": "/edge/client/v1", @@ -533,6 +533,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -631,6 +654,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -709,6 +755,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -796,6 +865,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -858,6 +950,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -1592,6 +1707,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2187,6 +2325,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2244,6 +2405,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2262,6 +2446,29 @@ func init() { "schema": { "$ref": "#/definitions/enrollmentCertsEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2324,6 +2531,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2377,6 +2607,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2404,6 +2657,29 @@ func init() { "schema": { "$ref": "#/definitions/empty" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2457,6 +2733,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2590,6 +2889,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2690,10 +3012,33 @@ func init() { } } } - } - } - } - }, + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + } + }, "/posture-response-bulk": { "post": { "security": [ @@ -2793,6 +3138,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2811,6 +3179,29 @@ func init() { "schema": { "$ref": "#/definitions/listProtocolsEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2931,6 +3322,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -3009,6 +3423,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3133,6 +3570,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3245,6 +3705,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3369,6 +3852,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3484,6 +3990,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3599,6 +4128,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3723,6 +4275,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -3913,6 +4488,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6257,7 +6855,7 @@ func init() { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.25.32" + "version": "0.26.0" }, "host": "demo.ziti.dev", "basePath": "/edge/client/v1", @@ -6726,6 +7324,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6824,6 +7445,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -6902,6 +7546,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6989,6 +7656,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7051,6 +7741,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -7785,6 +8498,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -8380,6 +9116,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8437,6 +9196,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -8455,6 +9237,29 @@ func init() { "schema": { "$ref": "#/definitions/enrollmentCertsEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8517,6 +9322,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -8570,6 +9398,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8597,6 +9448,29 @@ func init() { "schema": { "$ref": "#/definitions/empty" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8650,6 +9524,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8783,6 +9680,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -8883,6 +9803,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -8986,6 +9929,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -9004,6 +9970,29 @@ func init() { "schema": { "$ref": "#/definitions/listProtocolsEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -9124,6 +10113,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -9202,6 +10214,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9326,6 +10361,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9438,6 +10496,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9562,6 +10643,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9677,6 +10781,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9792,6 +10919,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9916,6 +11066,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -10106,6 +11279,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, diff --git a/rest_client_api_server/operations/current_api_session/create_current_api_session_certificate_responses.go b/rest_client_api_server/operations/current_api_session/create_current_api_session_certificate_responses.go index 7b0859fe..5681f905 100644 --- a/rest_client_api_server/operations/current_api_session/create_current_api_session_certificate_responses.go +++ b/rest_client_api_server/operations/current_api_session/create_current_api_session_certificate_responses.go @@ -168,3 +168,47 @@ func (o *CreateCurrentAPISessionCertificateUnauthorized) WriteResponse(rw http.R } } } + +// CreateCurrentAPISessionCertificateTooManyRequestsCode is the HTTP code returned for type CreateCurrentAPISessionCertificateTooManyRequests +const CreateCurrentAPISessionCertificateTooManyRequestsCode int = 429 + +/*CreateCurrentAPISessionCertificateTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createCurrentApiSessionCertificateTooManyRequests +*/ +type CreateCurrentAPISessionCertificateTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateCurrentAPISessionCertificateTooManyRequests creates CreateCurrentAPISessionCertificateTooManyRequests with default headers values +func NewCreateCurrentAPISessionCertificateTooManyRequests() *CreateCurrentAPISessionCertificateTooManyRequests { + + return &CreateCurrentAPISessionCertificateTooManyRequests{} +} + +// WithPayload adds the payload to the create current Api session certificate too many requests response +func (o *CreateCurrentAPISessionCertificateTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateCurrentAPISessionCertificateTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create current Api session certificate too many requests response +func (o *CreateCurrentAPISessionCertificateTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateCurrentAPISessionCertificateTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/current_api_session/delete_current_api_session_certificate_responses.go b/rest_client_api_server/operations/current_api_session/delete_current_api_session_certificate_responses.go index 1473ad89..738edf3a 100644 --- a/rest_client_api_server/operations/current_api_session/delete_current_api_session_certificate_responses.go +++ b/rest_client_api_server/operations/current_api_session/delete_current_api_session_certificate_responses.go @@ -168,3 +168,47 @@ func (o *DeleteCurrentAPISessionCertificateUnauthorized) WriteResponse(rw http.R } } } + +// DeleteCurrentAPISessionCertificateTooManyRequestsCode is the HTTP code returned for type DeleteCurrentAPISessionCertificateTooManyRequests +const DeleteCurrentAPISessionCertificateTooManyRequestsCode int = 429 + +/*DeleteCurrentAPISessionCertificateTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteCurrentApiSessionCertificateTooManyRequests +*/ +type DeleteCurrentAPISessionCertificateTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteCurrentAPISessionCertificateTooManyRequests creates DeleteCurrentAPISessionCertificateTooManyRequests with default headers values +func NewDeleteCurrentAPISessionCertificateTooManyRequests() *DeleteCurrentAPISessionCertificateTooManyRequests { + + return &DeleteCurrentAPISessionCertificateTooManyRequests{} +} + +// WithPayload adds the payload to the delete current Api session certificate too many requests response +func (o *DeleteCurrentAPISessionCertificateTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCurrentAPISessionCertificateTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete current Api session certificate too many requests response +func (o *DeleteCurrentAPISessionCertificateTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteCurrentAPISessionCertificateTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/current_api_session/detail_current_api_session_certificate_responses.go b/rest_client_api_server/operations/current_api_session/detail_current_api_session_certificate_responses.go index 340f14c4..191194a1 100644 --- a/rest_client_api_server/operations/current_api_session/detail_current_api_session_certificate_responses.go +++ b/rest_client_api_server/operations/current_api_session/detail_current_api_session_certificate_responses.go @@ -168,3 +168,47 @@ func (o *DetailCurrentAPISessionCertificateNotFound) WriteResponse(rw http.Respo } } } + +// DetailCurrentAPISessionCertificateTooManyRequestsCode is the HTTP code returned for type DetailCurrentAPISessionCertificateTooManyRequests +const DetailCurrentAPISessionCertificateTooManyRequestsCode int = 429 + +/*DetailCurrentAPISessionCertificateTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailCurrentApiSessionCertificateTooManyRequests +*/ +type DetailCurrentAPISessionCertificateTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailCurrentAPISessionCertificateTooManyRequests creates DetailCurrentAPISessionCertificateTooManyRequests with default headers values +func NewDetailCurrentAPISessionCertificateTooManyRequests() *DetailCurrentAPISessionCertificateTooManyRequests { + + return &DetailCurrentAPISessionCertificateTooManyRequests{} +} + +// WithPayload adds the payload to the detail current Api session certificate too many requests response +func (o *DetailCurrentAPISessionCertificateTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCurrentAPISessionCertificateTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail current Api session certificate too many requests response +func (o *DetailCurrentAPISessionCertificateTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailCurrentAPISessionCertificateTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/current_api_session/list_current_api_session_certificates_responses.go b/rest_client_api_server/operations/current_api_session/list_current_api_session_certificates_responses.go index 8f148b63..6e218774 100644 --- a/rest_client_api_server/operations/current_api_session/list_current_api_session_certificates_responses.go +++ b/rest_client_api_server/operations/current_api_session/list_current_api_session_certificates_responses.go @@ -168,3 +168,47 @@ func (o *ListCurrentAPISessionCertificatesUnauthorized) WriteResponse(rw http.Re } } } + +// ListCurrentAPISessionCertificatesTooManyRequestsCode is the HTTP code returned for type ListCurrentAPISessionCertificatesTooManyRequests +const ListCurrentAPISessionCertificatesTooManyRequestsCode int = 429 + +/*ListCurrentAPISessionCertificatesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listCurrentApiSessionCertificatesTooManyRequests +*/ +type ListCurrentAPISessionCertificatesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListCurrentAPISessionCertificatesTooManyRequests creates ListCurrentAPISessionCertificatesTooManyRequests with default headers values +func NewListCurrentAPISessionCertificatesTooManyRequests() *ListCurrentAPISessionCertificatesTooManyRequests { + + return &ListCurrentAPISessionCertificatesTooManyRequests{} +} + +// WithPayload adds the payload to the list current Api session certificates too many requests response +func (o *ListCurrentAPISessionCertificatesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCurrentAPISessionCertificatesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list current Api session certificates too many requests response +func (o *ListCurrentAPISessionCertificatesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListCurrentAPISessionCertificatesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/current_api_session/list_service_updates_responses.go b/rest_client_api_server/operations/current_api_session/list_service_updates_responses.go index 0c3cbf9e..2452b82c 100644 --- a/rest_client_api_server/operations/current_api_session/list_service_updates_responses.go +++ b/rest_client_api_server/operations/current_api_session/list_service_updates_responses.go @@ -124,3 +124,47 @@ func (o *ListServiceUpdatesUnauthorized) WriteResponse(rw http.ResponseWriter, p } } } + +// ListServiceUpdatesTooManyRequestsCode is the HTTP code returned for type ListServiceUpdatesTooManyRequests +const ListServiceUpdatesTooManyRequestsCode int = 429 + +/*ListServiceUpdatesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceUpdatesTooManyRequests +*/ +type ListServiceUpdatesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceUpdatesTooManyRequests creates ListServiceUpdatesTooManyRequests with default headers values +func NewListServiceUpdatesTooManyRequests() *ListServiceUpdatesTooManyRequests { + + return &ListServiceUpdatesTooManyRequests{} +} + +// WithPayload adds the payload to the list service updates too many requests response +func (o *ListServiceUpdatesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceUpdatesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service updates too many requests response +func (o *ListServiceUpdatesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceUpdatesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/current_identity/get_current_identity_edge_routers_responses.go b/rest_client_api_server/operations/current_identity/get_current_identity_edge_routers_responses.go index 829fbfc2..ea0e692c 100644 --- a/rest_client_api_server/operations/current_identity/get_current_identity_edge_routers_responses.go +++ b/rest_client_api_server/operations/current_identity/get_current_identity_edge_routers_responses.go @@ -124,3 +124,47 @@ func (o *GetCurrentIdentityEdgeRoutersUnauthorized) WriteResponse(rw http.Respon } } } + +// GetCurrentIdentityEdgeRoutersTooManyRequestsCode is the HTTP code returned for type GetCurrentIdentityEdgeRoutersTooManyRequests +const GetCurrentIdentityEdgeRoutersTooManyRequestsCode int = 429 + +/*GetCurrentIdentityEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getCurrentIdentityEdgeRoutersTooManyRequests +*/ +type GetCurrentIdentityEdgeRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetCurrentIdentityEdgeRoutersTooManyRequests creates GetCurrentIdentityEdgeRoutersTooManyRequests with default headers values +func NewGetCurrentIdentityEdgeRoutersTooManyRequests() *GetCurrentIdentityEdgeRoutersTooManyRequests { + + return &GetCurrentIdentityEdgeRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the get current identity edge routers too many requests response +func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCurrentIdentityEdgeRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get current identity edge routers too many requests response +func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetCurrentIdentityEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/enroll_ca_responses.go b/rest_client_api_server/operations/enroll/enroll_ca_responses.go index b5ba36e5..55b398c2 100644 --- a/rest_client_api_server/operations/enroll/enroll_ca_responses.go +++ b/rest_client_api_server/operations/enroll/enroll_ca_responses.go @@ -124,3 +124,47 @@ func (o *EnrollCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtim } } } + +// EnrollCaTooManyRequestsCode is the HTTP code returned for type EnrollCaTooManyRequests +const EnrollCaTooManyRequestsCode int = 429 + +/*EnrollCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response enrollCaTooManyRequests +*/ +type EnrollCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewEnrollCaTooManyRequests creates EnrollCaTooManyRequests with default headers values +func NewEnrollCaTooManyRequests() *EnrollCaTooManyRequests { + + return &EnrollCaTooManyRequests{} +} + +// WithPayload adds the payload to the enroll ca too many requests response +func (o *EnrollCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the enroll ca too many requests response +func (o *EnrollCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *EnrollCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/enroll_er_ott_responses.go b/rest_client_api_server/operations/enroll/enroll_er_ott_responses.go index c25e4f44..aa55cd6f 100644 --- a/rest_client_api_server/operations/enroll/enroll_er_ott_responses.go +++ b/rest_client_api_server/operations/enroll/enroll_er_ott_responses.go @@ -80,3 +80,47 @@ func (o *EnrollErOttOK) WriteResponse(rw http.ResponseWriter, producer runtime.P } } } + +// EnrollErOttTooManyRequestsCode is the HTTP code returned for type EnrollErOttTooManyRequests +const EnrollErOttTooManyRequestsCode int = 429 + +/*EnrollErOttTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response enrollErOttTooManyRequests +*/ +type EnrollErOttTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewEnrollErOttTooManyRequests creates EnrollErOttTooManyRequests with default headers values +func NewEnrollErOttTooManyRequests() *EnrollErOttTooManyRequests { + + return &EnrollErOttTooManyRequests{} +} + +// WithPayload adds the payload to the enroll er ott too many requests response +func (o *EnrollErOttTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollErOttTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the enroll er ott too many requests response +func (o *EnrollErOttTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *EnrollErOttTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/enroll_ott_ca_responses.go b/rest_client_api_server/operations/enroll/enroll_ott_ca_responses.go index 01a28e2a..4607bb48 100644 --- a/rest_client_api_server/operations/enroll/enroll_ott_ca_responses.go +++ b/rest_client_api_server/operations/enroll/enroll_ott_ca_responses.go @@ -80,3 +80,47 @@ func (o *EnrollOttCaOK) WriteResponse(rw http.ResponseWriter, producer runtime.P } } } + +// EnrollOttCaTooManyRequestsCode is the HTTP code returned for type EnrollOttCaTooManyRequests +const EnrollOttCaTooManyRequestsCode int = 429 + +/*EnrollOttCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response enrollOttCaTooManyRequests +*/ +type EnrollOttCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewEnrollOttCaTooManyRequests creates EnrollOttCaTooManyRequests with default headers values +func NewEnrollOttCaTooManyRequests() *EnrollOttCaTooManyRequests { + + return &EnrollOttCaTooManyRequests{} +} + +// WithPayload adds the payload to the enroll ott ca too many requests response +func (o *EnrollOttCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the enroll ott ca too many requests response +func (o *EnrollOttCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *EnrollOttCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/enroll_ott_responses.go b/rest_client_api_server/operations/enroll/enroll_ott_responses.go index 2eda80b2..7e859616 100644 --- a/rest_client_api_server/operations/enroll/enroll_ott_responses.go +++ b/rest_client_api_server/operations/enroll/enroll_ott_responses.go @@ -122,3 +122,47 @@ func (o *EnrollOttNotFound) WriteResponse(rw http.ResponseWriter, producer runti } } } + +// EnrollOttTooManyRequestsCode is the HTTP code returned for type EnrollOttTooManyRequests +const EnrollOttTooManyRequestsCode int = 429 + +/*EnrollOttTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response enrollOttTooManyRequests +*/ +type EnrollOttTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewEnrollOttTooManyRequests creates EnrollOttTooManyRequests with default headers values +func NewEnrollOttTooManyRequests() *EnrollOttTooManyRequests { + + return &EnrollOttTooManyRequests{} +} + +// WithPayload adds the payload to the enroll ott too many requests response +func (o *EnrollOttTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollOttTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the enroll ott too many requests response +func (o *EnrollOttTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *EnrollOttTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/enroll_responses.go b/rest_client_api_server/operations/enroll/enroll_responses.go index 185b4984..fe45a66f 100644 --- a/rest_client_api_server/operations/enroll/enroll_responses.go +++ b/rest_client_api_server/operations/enroll/enroll_responses.go @@ -124,3 +124,47 @@ func (o *EnrollNotFound) WriteResponse(rw http.ResponseWriter, producer runtime. } } } + +// EnrollTooManyRequestsCode is the HTTP code returned for type EnrollTooManyRequests +const EnrollTooManyRequestsCode int = 429 + +/*EnrollTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response enrollTooManyRequests +*/ +type EnrollTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewEnrollTooManyRequests creates EnrollTooManyRequests with default headers values +func NewEnrollTooManyRequests() *EnrollTooManyRequests { + + return &EnrollTooManyRequests{} +} + +// WithPayload adds the payload to the enroll too many requests response +func (o *EnrollTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnrollTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the enroll too many requests response +func (o *EnrollTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *EnrollTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/ernoll_updb_responses.go b/rest_client_api_server/operations/enroll/ernoll_updb_responses.go index 2da44863..eb90798f 100644 --- a/rest_client_api_server/operations/enroll/ernoll_updb_responses.go +++ b/rest_client_api_server/operations/enroll/ernoll_updb_responses.go @@ -124,3 +124,47 @@ func (o *ErnollUpdbNotFound) WriteResponse(rw http.ResponseWriter, producer runt } } } + +// ErnollUpdbTooManyRequestsCode is the HTTP code returned for type ErnollUpdbTooManyRequests +const ErnollUpdbTooManyRequestsCode int = 429 + +/*ErnollUpdbTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response ernollUpdbTooManyRequests +*/ +type ErnollUpdbTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewErnollUpdbTooManyRequests creates ErnollUpdbTooManyRequests with default headers values +func NewErnollUpdbTooManyRequests() *ErnollUpdbTooManyRequests { + + return &ErnollUpdbTooManyRequests{} +} + +// WithPayload adds the payload to the ernoll updb too many requests response +func (o *ErnollUpdbTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ErnollUpdbTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the ernoll updb too many requests response +func (o *ErnollUpdbTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ErnollUpdbTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/enroll/extend_router_enrollment_responses.go b/rest_client_api_server/operations/enroll/extend_router_enrollment_responses.go index a07fc22e..d26ee9d6 100644 --- a/rest_client_api_server/operations/enroll/extend_router_enrollment_responses.go +++ b/rest_client_api_server/operations/enroll/extend_router_enrollment_responses.go @@ -124,3 +124,47 @@ func (o *ExtendRouterEnrollmentUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ExtendRouterEnrollmentTooManyRequestsCode is the HTTP code returned for type ExtendRouterEnrollmentTooManyRequests +const ExtendRouterEnrollmentTooManyRequestsCode int = 429 + +/*ExtendRouterEnrollmentTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response extendRouterEnrollmentTooManyRequests +*/ +type ExtendRouterEnrollmentTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewExtendRouterEnrollmentTooManyRequests creates ExtendRouterEnrollmentTooManyRequests with default headers values +func NewExtendRouterEnrollmentTooManyRequests() *ExtendRouterEnrollmentTooManyRequests { + + return &ExtendRouterEnrollmentTooManyRequests{} +} + +// WithPayload adds the payload to the extend router enrollment too many requests response +func (o *ExtendRouterEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ExtendRouterEnrollmentTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the extend router enrollment too many requests response +func (o *ExtendRouterEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ExtendRouterEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go b/rest_client_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go index eafa8fc4..3d4c530d 100644 --- a/rest_client_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go +++ b/rest_client_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go @@ -168,3 +168,47 @@ func (o *ListExternalJWTSignersUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ListExternalJWTSignersTooManyRequestsCode is the HTTP code returned for type ListExternalJWTSignersTooManyRequests +const ListExternalJWTSignersTooManyRequestsCode int = 429 + +/*ListExternalJWTSignersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listExternalJwtSignersTooManyRequests +*/ +type ListExternalJWTSignersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListExternalJWTSignersTooManyRequests creates ListExternalJWTSignersTooManyRequests with default headers values +func NewListExternalJWTSignersTooManyRequests() *ListExternalJWTSignersTooManyRequests { + + return &ListExternalJWTSignersTooManyRequests{} +} + +// WithPayload adds the payload to the list external Jwt signers too many requests response +func (o *ListExternalJWTSignersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListExternalJWTSignersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list external Jwt signers too many requests response +func (o *ListExternalJWTSignersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListExternalJWTSignersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/informational/list_protocols_responses.go b/rest_client_api_server/operations/informational/list_protocols_responses.go index d34a8a22..fbf6ee35 100644 --- a/rest_client_api_server/operations/informational/list_protocols_responses.go +++ b/rest_client_api_server/operations/informational/list_protocols_responses.go @@ -80,3 +80,47 @@ func (o *ListProtocolsOK) WriteResponse(rw http.ResponseWriter, producer runtime } } } + +// ListProtocolsTooManyRequestsCode is the HTTP code returned for type ListProtocolsTooManyRequests +const ListProtocolsTooManyRequestsCode int = 429 + +/*ListProtocolsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listProtocolsTooManyRequests +*/ +type ListProtocolsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListProtocolsTooManyRequests creates ListProtocolsTooManyRequests with default headers values +func NewListProtocolsTooManyRequests() *ListProtocolsTooManyRequests { + + return &ListProtocolsTooManyRequests{} +} + +// WithPayload adds the payload to the list protocols too many requests response +func (o *ListProtocolsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListProtocolsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list protocols too many requests response +func (o *ListProtocolsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListProtocolsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/posture_checks/create_posture_response_bulk_responses.go b/rest_client_api_server/operations/posture_checks/create_posture_response_bulk_responses.go index 33435d3c..e84d089b 100644 --- a/rest_client_api_server/operations/posture_checks/create_posture_response_bulk_responses.go +++ b/rest_client_api_server/operations/posture_checks/create_posture_response_bulk_responses.go @@ -168,3 +168,47 @@ func (o *CreatePostureResponseBulkUnauthorized) WriteResponse(rw http.ResponseWr } } } + +// CreatePostureResponseBulkTooManyRequestsCode is the HTTP code returned for type CreatePostureResponseBulkTooManyRequests +const CreatePostureResponseBulkTooManyRequestsCode int = 429 + +/*CreatePostureResponseBulkTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createPostureResponseBulkTooManyRequests +*/ +type CreatePostureResponseBulkTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreatePostureResponseBulkTooManyRequests creates CreatePostureResponseBulkTooManyRequests with default headers values +func NewCreatePostureResponseBulkTooManyRequests() *CreatePostureResponseBulkTooManyRequests { + + return &CreatePostureResponseBulkTooManyRequests{} +} + +// WithPayload adds the payload to the create posture response bulk too many requests response +func (o *CreatePostureResponseBulkTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseBulkTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create posture response bulk too many requests response +func (o *CreatePostureResponseBulkTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreatePostureResponseBulkTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/posture_checks/create_posture_response_responses.go b/rest_client_api_server/operations/posture_checks/create_posture_response_responses.go index 57fd4787..5871a320 100644 --- a/rest_client_api_server/operations/posture_checks/create_posture_response_responses.go +++ b/rest_client_api_server/operations/posture_checks/create_posture_response_responses.go @@ -168,3 +168,47 @@ func (o *CreatePostureResponseUnauthorized) WriteResponse(rw http.ResponseWriter } } } + +// CreatePostureResponseTooManyRequestsCode is the HTTP code returned for type CreatePostureResponseTooManyRequests +const CreatePostureResponseTooManyRequestsCode int = 429 + +/*CreatePostureResponseTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createPostureResponseTooManyRequests +*/ +type CreatePostureResponseTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreatePostureResponseTooManyRequests creates CreatePostureResponseTooManyRequests with default headers values +func NewCreatePostureResponseTooManyRequests() *CreatePostureResponseTooManyRequests { + + return &CreatePostureResponseTooManyRequests{} +} + +// WithPayload adds the payload to the create posture response too many requests response +func (o *CreatePostureResponseTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureResponseTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create posture response too many requests response +func (o *CreatePostureResponseTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreatePostureResponseTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/service/delete_service_responses.go b/rest_client_api_server/operations/service/delete_service_responses.go index 3b7401ea..f2663523 100644 --- a/rest_client_api_server/operations/service/delete_service_responses.go +++ b/rest_client_api_server/operations/service/delete_service_responses.go @@ -212,3 +212,47 @@ func (o *DeleteServiceConflict) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DeleteServiceTooManyRequestsCode is the HTTP code returned for type DeleteServiceTooManyRequests +const DeleteServiceTooManyRequestsCode int = 429 + +/*DeleteServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteServiceTooManyRequests +*/ +type DeleteServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteServiceTooManyRequests creates DeleteServiceTooManyRequests with default headers values +func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests { + + return &DeleteServiceTooManyRequests{} +} + +// WithPayload adds the payload to the delete service too many requests response +func (o *DeleteServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete service too many requests response +func (o *DeleteServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/service/detail_service_responses.go b/rest_client_api_server/operations/service/detail_service_responses.go index 884ff7c8..df8da7b5 100644 --- a/rest_client_api_server/operations/service/detail_service_responses.go +++ b/rest_client_api_server/operations/service/detail_service_responses.go @@ -168,3 +168,47 @@ func (o *DetailServiceNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DetailServiceTooManyRequestsCode is the HTTP code returned for type DetailServiceTooManyRequests +const DetailServiceTooManyRequestsCode int = 429 + +/*DetailServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailServiceTooManyRequests +*/ +type DetailServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailServiceTooManyRequests creates DetailServiceTooManyRequests with default headers values +func NewDetailServiceTooManyRequests() *DetailServiceTooManyRequests { + + return &DetailServiceTooManyRequests{} +} + +// WithPayload adds the payload to the detail service too many requests response +func (o *DetailServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail service too many requests response +func (o *DetailServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/service/list_service_terminators_responses.go b/rest_client_api_server/operations/service/list_service_terminators_responses.go index 1b1e1444..f94a6e33 100644 --- a/rest_client_api_server/operations/service/list_service_terminators_responses.go +++ b/rest_client_api_server/operations/service/list_service_terminators_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceTerminatorsUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ListServiceTerminatorsTooManyRequestsCode is the HTTP code returned for type ListServiceTerminatorsTooManyRequests +const ListServiceTerminatorsTooManyRequestsCode int = 429 + +/*ListServiceTerminatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceTerminatorsTooManyRequests +*/ +type ListServiceTerminatorsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceTerminatorsTooManyRequests creates ListServiceTerminatorsTooManyRequests with default headers values +func NewListServiceTerminatorsTooManyRequests() *ListServiceTerminatorsTooManyRequests { + + return &ListServiceTerminatorsTooManyRequests{} +} + +// WithPayload adds the payload to the list service terminators too many requests response +func (o *ListServiceTerminatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service terminators too many requests response +func (o *ListServiceTerminatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceTerminatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/service/list_services_responses.go b/rest_client_api_server/operations/service/list_services_responses.go index 9275cb44..ece9997f 100644 --- a/rest_client_api_server/operations/service/list_services_responses.go +++ b/rest_client_api_server/operations/service/list_services_responses.go @@ -168,3 +168,47 @@ func (o *ListServicesUnauthorized) WriteResponse(rw http.ResponseWriter, produce } } } + +// ListServicesTooManyRequestsCode is the HTTP code returned for type ListServicesTooManyRequests +const ListServicesTooManyRequestsCode int = 429 + +/*ListServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServicesTooManyRequests +*/ +type ListServicesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServicesTooManyRequests creates ListServicesTooManyRequests with default headers values +func NewListServicesTooManyRequests() *ListServicesTooManyRequests { + + return &ListServicesTooManyRequests{} +} + +// WithPayload adds the payload to the list services too many requests response +func (o *ListServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list services too many requests response +func (o *ListServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/service/patch_service_responses.go b/rest_client_api_server/operations/service/patch_service_responses.go index 029a5f37..408aa051 100644 --- a/rest_client_api_server/operations/service/patch_service_responses.go +++ b/rest_client_api_server/operations/service/patch_service_responses.go @@ -212,3 +212,47 @@ func (o *PatchServiceNotFound) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// PatchServiceTooManyRequestsCode is the HTTP code returned for type PatchServiceTooManyRequests +const PatchServiceTooManyRequestsCode int = 429 + +/*PatchServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchServiceTooManyRequests +*/ +type PatchServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchServiceTooManyRequests creates PatchServiceTooManyRequests with default headers values +func NewPatchServiceTooManyRequests() *PatchServiceTooManyRequests { + + return &PatchServiceTooManyRequests{} +} + +// WithPayload adds the payload to the patch service too many requests response +func (o *PatchServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch service too many requests response +func (o *PatchServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/service/update_service_responses.go b/rest_client_api_server/operations/service/update_service_responses.go index 64d4edfa..4bf43513 100644 --- a/rest_client_api_server/operations/service/update_service_responses.go +++ b/rest_client_api_server/operations/service/update_service_responses.go @@ -212,3 +212,47 @@ func (o *UpdateServiceNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// UpdateServiceTooManyRequestsCode is the HTTP code returned for type UpdateServiceTooManyRequests +const UpdateServiceTooManyRequestsCode int = 429 + +/*UpdateServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateServiceTooManyRequests +*/ +type UpdateServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateServiceTooManyRequests creates UpdateServiceTooManyRequests with default headers values +func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests { + + return &UpdateServiceTooManyRequests{} +} + +// WithPayload adds the payload to the update service too many requests response +func (o *UpdateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update service too many requests response +func (o *UpdateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/session/create_session_responses.go b/rest_client_api_server/operations/session/create_session_responses.go index 7e42c7ce..b41e88ea 100644 --- a/rest_client_api_server/operations/session/create_session_responses.go +++ b/rest_client_api_server/operations/session/create_session_responses.go @@ -212,3 +212,47 @@ func (o *CreateSessionNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// CreateSessionTooManyRequestsCode is the HTTP code returned for type CreateSessionTooManyRequests +const CreateSessionTooManyRequestsCode int = 429 + +/*CreateSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createSessionTooManyRequests +*/ +type CreateSessionTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateSessionTooManyRequests creates CreateSessionTooManyRequests with default headers values +func NewCreateSessionTooManyRequests() *CreateSessionTooManyRequests { + + return &CreateSessionTooManyRequests{} +} + +// WithPayload adds the payload to the create session too many requests response +func (o *CreateSessionTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateSessionTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create session too many requests response +func (o *CreateSessionTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateSessionTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/session/delete_session_responses.go b/rest_client_api_server/operations/session/delete_session_responses.go index bc06ba23..ea0e5628 100644 --- a/rest_client_api_server/operations/session/delete_session_responses.go +++ b/rest_client_api_server/operations/session/delete_session_responses.go @@ -212,3 +212,47 @@ func (o *DeleteSessionConflict) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DeleteSessionTooManyRequestsCode is the HTTP code returned for type DeleteSessionTooManyRequests +const DeleteSessionTooManyRequestsCode int = 429 + +/*DeleteSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteSessionTooManyRequests +*/ +type DeleteSessionTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteSessionTooManyRequests creates DeleteSessionTooManyRequests with default headers values +func NewDeleteSessionTooManyRequests() *DeleteSessionTooManyRequests { + + return &DeleteSessionTooManyRequests{} +} + +// WithPayload adds the payload to the delete session too many requests response +func (o *DeleteSessionTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteSessionTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete session too many requests response +func (o *DeleteSessionTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteSessionTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_client_api_server/operations/session/list_sessions_responses.go b/rest_client_api_server/operations/session/list_sessions_responses.go index b7086d90..137b89d5 100644 --- a/rest_client_api_server/operations/session/list_sessions_responses.go +++ b/rest_client_api_server/operations/session/list_sessions_responses.go @@ -168,3 +168,47 @@ func (o *ListSessionsUnauthorized) WriteResponse(rw http.ResponseWriter, produce } } } + +// ListSessionsTooManyRequestsCode is the HTTP code returned for type ListSessionsTooManyRequests +const ListSessionsTooManyRequestsCode int = 429 + +/*ListSessionsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listSessionsTooManyRequests +*/ +type ListSessionsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListSessionsTooManyRequests creates ListSessionsTooManyRequests with default headers values +func NewListSessionsTooManyRequests() *ListSessionsTooManyRequests { + + return &ListSessionsTooManyRequests{} +} + +// WithPayload adds the payload to the list sessions too many requests response +func (o *ListSessionsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListSessionsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list sessions too many requests response +func (o *ListSessionsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListSessionsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_client/api_session/delete_api_sessions_responses.go b/rest_management_api_client/api_session/delete_api_sessions_responses.go index ff92c73e..cce293cc 100644 --- a/rest_management_api_client/api_session/delete_api_sessions_responses.go +++ b/rest_management_api_client/api_session/delete_api_sessions_responses.go @@ -65,6 +65,12 @@ func (o *DeleteAPISessionsReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewDeleteAPISessionsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteAPISessionsNotFound) readResponse(response runtime.ClientResponse return nil } + +// NewDeleteAPISessionsTooManyRequests creates a DeleteAPISessionsTooManyRequests with default headers values +func NewDeleteAPISessionsTooManyRequests() *DeleteAPISessionsTooManyRequests { + return &DeleteAPISessionsTooManyRequests{} +} + +/* DeleteAPISessionsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteAPISessionsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteAPISessionsTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /api-sessions/{id}][%d] deleteApiSessionsTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteAPISessionsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteAPISessionsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/api_session/detail_api_sessions_responses.go b/rest_management_api_client/api_session/detail_api_sessions_responses.go index 452df738..3dd31c84 100644 --- a/rest_management_api_client/api_session/detail_api_sessions_responses.go +++ b/rest_management_api_client/api_session/detail_api_sessions_responses.go @@ -65,6 +65,12 @@ func (o *DetailAPISessionsReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewDetailAPISessionsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailAPISessionsNotFound) readResponse(response runtime.ClientResponse return nil } + +// NewDetailAPISessionsTooManyRequests creates a DetailAPISessionsTooManyRequests with default headers values +func NewDetailAPISessionsTooManyRequests() *DetailAPISessionsTooManyRequests { + return &DetailAPISessionsTooManyRequests{} +} + +/* DetailAPISessionsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailAPISessionsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailAPISessionsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /api-sessions/{id}][%d] detailApiSessionsTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailAPISessionsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailAPISessionsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/api_session/list_api_sessions_responses.go b/rest_management_api_client/api_session/list_api_sessions_responses.go index f98cf818..f1878ded 100644 --- a/rest_management_api_client/api_session/list_api_sessions_responses.go +++ b/rest_management_api_client/api_session/list_api_sessions_responses.go @@ -65,6 +65,12 @@ func (o *ListAPISessionsReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewListAPISessionsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListAPISessionsUnauthorized) readResponse(response runtime.ClientRespon return nil } + +// NewListAPISessionsTooManyRequests creates a ListAPISessionsTooManyRequests with default headers values +func NewListAPISessionsTooManyRequests() *ListAPISessionsTooManyRequests { + return &ListAPISessionsTooManyRequests{} +} + +/* ListAPISessionsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListAPISessionsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListAPISessionsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /api-sessions][%d] listApiSessionsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListAPISessionsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListAPISessionsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/auth_policy/create_auth_policy_responses.go b/rest_management_api_client/auth_policy/create_auth_policy_responses.go index eb715177..19774339 100644 --- a/rest_management_api_client/auth_policy/create_auth_policy_responses.go +++ b/rest_management_api_client/auth_policy/create_auth_policy_responses.go @@ -65,6 +65,12 @@ func (o *CreateAuthPolicyReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewCreateAuthPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateAuthPolicyUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewCreateAuthPolicyTooManyRequests creates a CreateAuthPolicyTooManyRequests with default headers values +func NewCreateAuthPolicyTooManyRequests() *CreateAuthPolicyTooManyRequests { + return &CreateAuthPolicyTooManyRequests{} +} + +/* CreateAuthPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateAuthPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateAuthPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[POST /auth-policies][%d] createAuthPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateAuthPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateAuthPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/auth_policy/delete_auth_policy_responses.go b/rest_management_api_client/auth_policy/delete_auth_policy_responses.go index 2e449465..a0af2290 100644 --- a/rest_management_api_client/auth_policy/delete_auth_policy_responses.go +++ b/rest_management_api_client/auth_policy/delete_auth_policy_responses.go @@ -65,6 +65,12 @@ func (o *DeleteAuthPolicyReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDeleteAuthPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteAuthPolicyUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewDeleteAuthPolicyTooManyRequests creates a DeleteAuthPolicyTooManyRequests with default headers values +func NewDeleteAuthPolicyTooManyRequests() *DeleteAuthPolicyTooManyRequests { + return &DeleteAuthPolicyTooManyRequests{} +} + +/* DeleteAuthPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteAuthPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteAuthPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /auth-policies/{id}][%d] deleteAuthPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteAuthPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteAuthPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/auth_policy/detail_auth_policy_responses.go b/rest_management_api_client/auth_policy/detail_auth_policy_responses.go index 4850d4e1..fee107ab 100644 --- a/rest_management_api_client/auth_policy/detail_auth_policy_responses.go +++ b/rest_management_api_client/auth_policy/detail_auth_policy_responses.go @@ -65,6 +65,12 @@ func (o *DetailAuthPolicyReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDetailAuthPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailAuthPolicyNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewDetailAuthPolicyTooManyRequests creates a DetailAuthPolicyTooManyRequests with default headers values +func NewDetailAuthPolicyTooManyRequests() *DetailAuthPolicyTooManyRequests { + return &DetailAuthPolicyTooManyRequests{} +} + +/* DetailAuthPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailAuthPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailAuthPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[GET /auth-policies/{id}][%d] detailAuthPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailAuthPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailAuthPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/auth_policy/list_auth_policies_responses.go b/rest_management_api_client/auth_policy/list_auth_policies_responses.go index 144e0e04..65ed184a 100644 --- a/rest_management_api_client/auth_policy/list_auth_policies_responses.go +++ b/rest_management_api_client/auth_policy/list_auth_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListAuthPoliciesReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewListAuthPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListAuthPoliciesUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewListAuthPoliciesTooManyRequests creates a ListAuthPoliciesTooManyRequests with default headers values +func NewListAuthPoliciesTooManyRequests() *ListAuthPoliciesTooManyRequests { + return &ListAuthPoliciesTooManyRequests{} +} + +/* ListAuthPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListAuthPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListAuthPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /auth-policies][%d] listAuthPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListAuthPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListAuthPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/auth_policy/patch_auth_policy_responses.go b/rest_management_api_client/auth_policy/patch_auth_policy_responses.go index 43ca8bbb..a72abfd4 100644 --- a/rest_management_api_client/auth_policy/patch_auth_policy_responses.go +++ b/rest_management_api_client/auth_policy/patch_auth_policy_responses.go @@ -71,6 +71,12 @@ func (o *PatchAuthPolicyReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewPatchAuthPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchAuthPolicyNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewPatchAuthPolicyTooManyRequests creates a PatchAuthPolicyTooManyRequests with default headers values +func NewPatchAuthPolicyTooManyRequests() *PatchAuthPolicyTooManyRequests { + return &PatchAuthPolicyTooManyRequests{} +} + +/* PatchAuthPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchAuthPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchAuthPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /auth-policies/{id}][%d] patchAuthPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchAuthPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchAuthPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/auth_policy/update_auth_policy_responses.go b/rest_management_api_client/auth_policy/update_auth_policy_responses.go index af5153cf..1afd5625 100644 --- a/rest_management_api_client/auth_policy/update_auth_policy_responses.go +++ b/rest_management_api_client/auth_policy/update_auth_policy_responses.go @@ -71,6 +71,12 @@ func (o *UpdateAuthPolicyReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewUpdateAuthPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateAuthPolicyNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewUpdateAuthPolicyTooManyRequests creates a UpdateAuthPolicyTooManyRequests with default headers values +func NewUpdateAuthPolicyTooManyRequests() *UpdateAuthPolicyTooManyRequests { + return &UpdateAuthPolicyTooManyRequests{} +} + +/* UpdateAuthPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateAuthPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateAuthPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /auth-policies/{id}][%d] updateAuthPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateAuthPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateAuthPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/create_authenticator_responses.go b/rest_management_api_client/authenticator/create_authenticator_responses.go index 1cf4ca92..90efc773 100644 --- a/rest_management_api_client/authenticator/create_authenticator_responses.go +++ b/rest_management_api_client/authenticator/create_authenticator_responses.go @@ -65,6 +65,12 @@ func (o *CreateAuthenticatorReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewCreateAuthenticatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateAuthenticatorUnauthorized) readResponse(response runtime.ClientRe return nil } + +// NewCreateAuthenticatorTooManyRequests creates a CreateAuthenticatorTooManyRequests with default headers values +func NewCreateAuthenticatorTooManyRequests() *CreateAuthenticatorTooManyRequests { + return &CreateAuthenticatorTooManyRequests{} +} + +/* CreateAuthenticatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateAuthenticatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateAuthenticatorTooManyRequests) Error() string { + return fmt.Sprintf("[POST /authenticators][%d] createAuthenticatorTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateAuthenticatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateAuthenticatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/delete_authenticator_responses.go b/rest_management_api_client/authenticator/delete_authenticator_responses.go index 1203960d..f7a91a59 100644 --- a/rest_management_api_client/authenticator/delete_authenticator_responses.go +++ b/rest_management_api_client/authenticator/delete_authenticator_responses.go @@ -65,6 +65,12 @@ func (o *DeleteAuthenticatorReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewDeleteAuthenticatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteAuthenticatorUnauthorized) readResponse(response runtime.ClientRe return nil } + +// NewDeleteAuthenticatorTooManyRequests creates a DeleteAuthenticatorTooManyRequests with default headers values +func NewDeleteAuthenticatorTooManyRequests() *DeleteAuthenticatorTooManyRequests { + return &DeleteAuthenticatorTooManyRequests{} +} + +/* DeleteAuthenticatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteAuthenticatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteAuthenticatorTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /authenticators/{id}][%d] deleteAuthenticatorTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteAuthenticatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteAuthenticatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/detail_authenticator_responses.go b/rest_management_api_client/authenticator/detail_authenticator_responses.go index 0194c011..199c1f5e 100644 --- a/rest_management_api_client/authenticator/detail_authenticator_responses.go +++ b/rest_management_api_client/authenticator/detail_authenticator_responses.go @@ -65,6 +65,12 @@ func (o *DetailAuthenticatorReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewDetailAuthenticatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailAuthenticatorNotFound) readResponse(response runtime.ClientRespon return nil } + +// NewDetailAuthenticatorTooManyRequests creates a DetailAuthenticatorTooManyRequests with default headers values +func NewDetailAuthenticatorTooManyRequests() *DetailAuthenticatorTooManyRequests { + return &DetailAuthenticatorTooManyRequests{} +} + +/* DetailAuthenticatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailAuthenticatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailAuthenticatorTooManyRequests) Error() string { + return fmt.Sprintf("[GET /authenticators/{id}][%d] detailAuthenticatorTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailAuthenticatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailAuthenticatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/list_authenticators_responses.go b/rest_management_api_client/authenticator/list_authenticators_responses.go index 0af5d675..d281fe8d 100644 --- a/rest_management_api_client/authenticator/list_authenticators_responses.go +++ b/rest_management_api_client/authenticator/list_authenticators_responses.go @@ -65,6 +65,12 @@ func (o *ListAuthenticatorsReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewListAuthenticatorsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListAuthenticatorsUnauthorized) readResponse(response runtime.ClientRes return nil } + +// NewListAuthenticatorsTooManyRequests creates a ListAuthenticatorsTooManyRequests with default headers values +func NewListAuthenticatorsTooManyRequests() *ListAuthenticatorsTooManyRequests { + return &ListAuthenticatorsTooManyRequests{} +} + +/* ListAuthenticatorsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListAuthenticatorsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListAuthenticatorsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /authenticators][%d] listAuthenticatorsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListAuthenticatorsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListAuthenticatorsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/patch_authenticator_responses.go b/rest_management_api_client/authenticator/patch_authenticator_responses.go index 5f477530..379a7be3 100644 --- a/rest_management_api_client/authenticator/patch_authenticator_responses.go +++ b/rest_management_api_client/authenticator/patch_authenticator_responses.go @@ -71,6 +71,12 @@ func (o *PatchAuthenticatorReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewPatchAuthenticatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchAuthenticatorNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewPatchAuthenticatorTooManyRequests creates a PatchAuthenticatorTooManyRequests with default headers values +func NewPatchAuthenticatorTooManyRequests() *PatchAuthenticatorTooManyRequests { + return &PatchAuthenticatorTooManyRequests{} +} + +/* PatchAuthenticatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchAuthenticatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchAuthenticatorTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /authenticators/{id}][%d] patchAuthenticatorTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchAuthenticatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchAuthenticatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/re_enroll_authenticator_responses.go b/rest_management_api_client/authenticator/re_enroll_authenticator_responses.go index 235159d0..91c32914 100644 --- a/rest_management_api_client/authenticator/re_enroll_authenticator_responses.go +++ b/rest_management_api_client/authenticator/re_enroll_authenticator_responses.go @@ -65,6 +65,12 @@ func (o *ReEnrollAuthenticatorReader) ReadResponse(response runtime.ClientRespon return nil, err } return nil, result + case 429: + result := NewReEnrollAuthenticatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ReEnrollAuthenticatorNotFound) readResponse(response runtime.ClientResp return nil } + +// NewReEnrollAuthenticatorTooManyRequests creates a ReEnrollAuthenticatorTooManyRequests with default headers values +func NewReEnrollAuthenticatorTooManyRequests() *ReEnrollAuthenticatorTooManyRequests { + return &ReEnrollAuthenticatorTooManyRequests{} +} + +/* ReEnrollAuthenticatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ReEnrollAuthenticatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ReEnrollAuthenticatorTooManyRequests) Error() string { + return fmt.Sprintf("[POST /authenticators/{id}/re-enroll][%d] reEnrollAuthenticatorTooManyRequests %+v", 429, o.Payload) +} +func (o *ReEnrollAuthenticatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ReEnrollAuthenticatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/authenticator/update_authenticator_responses.go b/rest_management_api_client/authenticator/update_authenticator_responses.go index 21344880..0910540d 100644 --- a/rest_management_api_client/authenticator/update_authenticator_responses.go +++ b/rest_management_api_client/authenticator/update_authenticator_responses.go @@ -71,6 +71,12 @@ func (o *UpdateAuthenticatorReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewUpdateAuthenticatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateAuthenticatorNotFound) readResponse(response runtime.ClientRespon return nil } + +// NewUpdateAuthenticatorTooManyRequests creates a UpdateAuthenticatorTooManyRequests with default headers values +func NewUpdateAuthenticatorTooManyRequests() *UpdateAuthenticatorTooManyRequests { + return &UpdateAuthenticatorTooManyRequests{} +} + +/* UpdateAuthenticatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateAuthenticatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateAuthenticatorTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /authenticators/{id}][%d] updateAuthenticatorTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateAuthenticatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateAuthenticatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/create_ca_responses.go b/rest_management_api_client/certificate_authority/create_ca_responses.go index 484edb98..ad905ab6 100644 --- a/rest_management_api_client/certificate_authority/create_ca_responses.go +++ b/rest_management_api_client/certificate_authority/create_ca_responses.go @@ -65,6 +65,12 @@ func (o *CreateCaReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewCreateCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateCaUnauthorized) readResponse(response runtime.ClientResponse, con return nil } + +// NewCreateCaTooManyRequests creates a CreateCaTooManyRequests with default headers values +func NewCreateCaTooManyRequests() *CreateCaTooManyRequests { + return &CreateCaTooManyRequests{} +} + +/* CreateCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateCaTooManyRequests) Error() string { + return fmt.Sprintf("[POST /cas][%d] createCaTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/delete_ca_responses.go b/rest_management_api_client/certificate_authority/delete_ca_responses.go index df238f96..f2ffb3f2 100644 --- a/rest_management_api_client/certificate_authority/delete_ca_responses.go +++ b/rest_management_api_client/certificate_authority/delete_ca_responses.go @@ -65,6 +65,12 @@ func (o *DeleteCaReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewDeleteCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteCaUnauthorized) readResponse(response runtime.ClientResponse, con return nil } + +// NewDeleteCaTooManyRequests creates a DeleteCaTooManyRequests with default headers values +func NewDeleteCaTooManyRequests() *DeleteCaTooManyRequests { + return &DeleteCaTooManyRequests{} +} + +/* DeleteCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteCaTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /cas/{id}][%d] deleteCaTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/detail_ca_responses.go b/rest_management_api_client/certificate_authority/detail_ca_responses.go index bd137097..841666f0 100644 --- a/rest_management_api_client/certificate_authority/detail_ca_responses.go +++ b/rest_management_api_client/certificate_authority/detail_ca_responses.go @@ -65,6 +65,12 @@ func (o *DetailCaReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewDetailCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailCaNotFound) readResponse(response runtime.ClientResponse, consume return nil } + +// NewDetailCaTooManyRequests creates a DetailCaTooManyRequests with default headers values +func NewDetailCaTooManyRequests() *DetailCaTooManyRequests { + return &DetailCaTooManyRequests{} +} + +/* DetailCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailCaTooManyRequests) Error() string { + return fmt.Sprintf("[GET /cas/{id}][%d] detailCaTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/get_ca_jwt_responses.go b/rest_management_api_client/certificate_authority/get_ca_jwt_responses.go index 7d7ba77a..a18da3a0 100644 --- a/rest_management_api_client/certificate_authority/get_ca_jwt_responses.go +++ b/rest_management_api_client/certificate_authority/get_ca_jwt_responses.go @@ -65,6 +65,12 @@ func (o *GetCaJWTReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewGetCaJWTTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -163,3 +169,35 @@ func (o *GetCaJWTNotFound) readResponse(response runtime.ClientResponse, consume return nil } + +// NewGetCaJWTTooManyRequests creates a GetCaJWTTooManyRequests with default headers values +func NewGetCaJWTTooManyRequests() *GetCaJWTTooManyRequests { + return &GetCaJWTTooManyRequests{} +} + +/* GetCaJWTTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetCaJWTTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetCaJWTTooManyRequests) Error() string { + return fmt.Sprintf("[GET /cas/{id}/jwt][%d] getCaJwtTooManyRequests %+v", 429, o.Payload) +} +func (o *GetCaJWTTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetCaJWTTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/list_cas_responses.go b/rest_management_api_client/certificate_authority/list_cas_responses.go index 74484ffb..ac0029b5 100644 --- a/rest_management_api_client/certificate_authority/list_cas_responses.go +++ b/rest_management_api_client/certificate_authority/list_cas_responses.go @@ -65,6 +65,12 @@ func (o *ListCasReader) ReadResponse(response runtime.ClientResponse, consumer r return nil, err } return nil, result + case 429: + result := NewListCasTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListCasUnauthorized) readResponse(response runtime.ClientResponse, cons return nil } + +// NewListCasTooManyRequests creates a ListCasTooManyRequests with default headers values +func NewListCasTooManyRequests() *ListCasTooManyRequests { + return &ListCasTooManyRequests{} +} + +/* ListCasTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListCasTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListCasTooManyRequests) Error() string { + return fmt.Sprintf("[GET /cas][%d] listCasTooManyRequests %+v", 429, o.Payload) +} +func (o *ListCasTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListCasTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/patch_ca_responses.go b/rest_management_api_client/certificate_authority/patch_ca_responses.go index 69b0fcbf..70394865 100644 --- a/rest_management_api_client/certificate_authority/patch_ca_responses.go +++ b/rest_management_api_client/certificate_authority/patch_ca_responses.go @@ -71,6 +71,12 @@ func (o *PatchCaReader) ReadResponse(response runtime.ClientResponse, consumer r return nil, err } return nil, result + case 429: + result := NewPatchCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchCaNotFound) readResponse(response runtime.ClientResponse, consumer return nil } + +// NewPatchCaTooManyRequests creates a PatchCaTooManyRequests with default headers values +func NewPatchCaTooManyRequests() *PatchCaTooManyRequests { + return &PatchCaTooManyRequests{} +} + +/* PatchCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchCaTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /cas/{id}][%d] patchCaTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/update_ca_responses.go b/rest_management_api_client/certificate_authority/update_ca_responses.go index 046afdb1..c5865d23 100644 --- a/rest_management_api_client/certificate_authority/update_ca_responses.go +++ b/rest_management_api_client/certificate_authority/update_ca_responses.go @@ -71,6 +71,12 @@ func (o *UpdateCaReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewUpdateCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateCaNotFound) readResponse(response runtime.ClientResponse, consume return nil } + +// NewUpdateCaTooManyRequests creates a UpdateCaTooManyRequests with default headers values +func NewUpdateCaTooManyRequests() *UpdateCaTooManyRequests { + return &UpdateCaTooManyRequests{} +} + +/* UpdateCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateCaTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /cas/{id}][%d] updateCaTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/certificate_authority/verify_ca_responses.go b/rest_management_api_client/certificate_authority/verify_ca_responses.go index 14eb628a..56a04d56 100644 --- a/rest_management_api_client/certificate_authority/verify_ca_responses.go +++ b/rest_management_api_client/certificate_authority/verify_ca_responses.go @@ -71,6 +71,12 @@ func (o *VerifyCaReader) ReadResponse(response runtime.ClientResponse, consumer return nil, err } return nil, result + case 429: + result := NewVerifyCaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *VerifyCaNotFound) readResponse(response runtime.ClientResponse, consume return nil } + +// NewVerifyCaTooManyRequests creates a VerifyCaTooManyRequests with default headers values +func NewVerifyCaTooManyRequests() *VerifyCaTooManyRequests { + return &VerifyCaTooManyRequests{} +} + +/* VerifyCaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type VerifyCaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *VerifyCaTooManyRequests) Error() string { + return fmt.Sprintf("[POST /cas/{id}/verify][%d] verifyCaTooManyRequests %+v", 429, o.Payload) +} +func (o *VerifyCaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *VerifyCaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/create_config_responses.go b/rest_management_api_client/config/create_config_responses.go index 1afd8914..edd8f64f 100644 --- a/rest_management_api_client/config/create_config_responses.go +++ b/rest_management_api_client/config/create_config_responses.go @@ -65,6 +65,12 @@ func (o *CreateConfigReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewCreateConfigTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateConfigUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewCreateConfigTooManyRequests creates a CreateConfigTooManyRequests with default headers values +func NewCreateConfigTooManyRequests() *CreateConfigTooManyRequests { + return &CreateConfigTooManyRequests{} +} + +/* CreateConfigTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateConfigTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateConfigTooManyRequests) Error() string { + return fmt.Sprintf("[POST /configs][%d] createConfigTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateConfigTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateConfigTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/create_config_type_responses.go b/rest_management_api_client/config/create_config_type_responses.go index b7707747..0ca83e0b 100644 --- a/rest_management_api_client/config/create_config_type_responses.go +++ b/rest_management_api_client/config/create_config_type_responses.go @@ -65,6 +65,12 @@ func (o *CreateConfigTypeReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewCreateConfigTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateConfigTypeUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewCreateConfigTypeTooManyRequests creates a CreateConfigTypeTooManyRequests with default headers values +func NewCreateConfigTypeTooManyRequests() *CreateConfigTypeTooManyRequests { + return &CreateConfigTypeTooManyRequests{} +} + +/* CreateConfigTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateConfigTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateConfigTypeTooManyRequests) Error() string { + return fmt.Sprintf("[POST /config-types][%d] createConfigTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateConfigTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateConfigTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/delete_config_responses.go b/rest_management_api_client/config/delete_config_responses.go index aea49768..4684d533 100644 --- a/rest_management_api_client/config/delete_config_responses.go +++ b/rest_management_api_client/config/delete_config_responses.go @@ -71,6 +71,12 @@ func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewDeleteConfigTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteConfigConflict) readResponse(response runtime.ClientResponse, con return nil } + +// NewDeleteConfigTooManyRequests creates a DeleteConfigTooManyRequests with default headers values +func NewDeleteConfigTooManyRequests() *DeleteConfigTooManyRequests { + return &DeleteConfigTooManyRequests{} +} + +/* DeleteConfigTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteConfigTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteConfigTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /configs/{id}][%d] deleteConfigTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteConfigTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteConfigTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/delete_config_type_responses.go b/rest_management_api_client/config/delete_config_type_responses.go index 16b61483..cd955d7e 100644 --- a/rest_management_api_client/config/delete_config_type_responses.go +++ b/rest_management_api_client/config/delete_config_type_responses.go @@ -71,6 +71,12 @@ func (o *DeleteConfigTypeReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDeleteConfigTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteConfigTypeConflict) readResponse(response runtime.ClientResponse, return nil } + +// NewDeleteConfigTypeTooManyRequests creates a DeleteConfigTypeTooManyRequests with default headers values +func NewDeleteConfigTypeTooManyRequests() *DeleteConfigTypeTooManyRequests { + return &DeleteConfigTypeTooManyRequests{} +} + +/* DeleteConfigTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteConfigTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteConfigTypeTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /config-types/{id}][%d] deleteConfigTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteConfigTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteConfigTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/detail_config_responses.go b/rest_management_api_client/config/detail_config_responses.go index 88979d38..58559dba 100644 --- a/rest_management_api_client/config/detail_config_responses.go +++ b/rest_management_api_client/config/detail_config_responses.go @@ -65,6 +65,12 @@ func (o *DetailConfigReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewDetailConfigTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailConfigNotFound) readResponse(response runtime.ClientResponse, con return nil } + +// NewDetailConfigTooManyRequests creates a DetailConfigTooManyRequests with default headers values +func NewDetailConfigTooManyRequests() *DetailConfigTooManyRequests { + return &DetailConfigTooManyRequests{} +} + +/* DetailConfigTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailConfigTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailConfigTooManyRequests) Error() string { + return fmt.Sprintf("[GET /configs/{id}][%d] detailConfigTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailConfigTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailConfigTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/detail_config_type_responses.go b/rest_management_api_client/config/detail_config_type_responses.go index 8d7f52cb..6a824158 100644 --- a/rest_management_api_client/config/detail_config_type_responses.go +++ b/rest_management_api_client/config/detail_config_type_responses.go @@ -65,6 +65,12 @@ func (o *DetailConfigTypeReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDetailConfigTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailConfigTypeNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewDetailConfigTypeTooManyRequests creates a DetailConfigTypeTooManyRequests with default headers values +func NewDetailConfigTypeTooManyRequests() *DetailConfigTypeTooManyRequests { + return &DetailConfigTypeTooManyRequests{} +} + +/* DetailConfigTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailConfigTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailConfigTypeTooManyRequests) Error() string { + return fmt.Sprintf("[GET /config-types/{id}][%d] detailConfigTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailConfigTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailConfigTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/list_config_types_responses.go b/rest_management_api_client/config/list_config_types_responses.go index d90a3032..62e86d32 100644 --- a/rest_management_api_client/config/list_config_types_responses.go +++ b/rest_management_api_client/config/list_config_types_responses.go @@ -65,6 +65,12 @@ func (o *ListConfigTypesReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewListConfigTypesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListConfigTypesUnauthorized) readResponse(response runtime.ClientRespon return nil } + +// NewListConfigTypesTooManyRequests creates a ListConfigTypesTooManyRequests with default headers values +func NewListConfigTypesTooManyRequests() *ListConfigTypesTooManyRequests { + return &ListConfigTypesTooManyRequests{} +} + +/* ListConfigTypesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListConfigTypesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListConfigTypesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /config-types][%d] listConfigTypesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListConfigTypesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListConfigTypesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/list_configs_for_config_type_responses.go b/rest_management_api_client/config/list_configs_for_config_type_responses.go index 18f85bfc..5d9ae15b 100644 --- a/rest_management_api_client/config/list_configs_for_config_type_responses.go +++ b/rest_management_api_client/config/list_configs_for_config_type_responses.go @@ -53,6 +53,12 @@ func (o *ListConfigsForConfigTypeReader) ReadResponse(response runtime.ClientRes return nil, err } return result, nil + case 429: + result := NewListConfigsForConfigTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -89,3 +95,35 @@ func (o *ListConfigsForConfigTypeOK) readResponse(response runtime.ClientRespons return nil } + +// NewListConfigsForConfigTypeTooManyRequests creates a ListConfigsForConfigTypeTooManyRequests with default headers values +func NewListConfigsForConfigTypeTooManyRequests() *ListConfigsForConfigTypeTooManyRequests { + return &ListConfigsForConfigTypeTooManyRequests{} +} + +/* ListConfigsForConfigTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListConfigsForConfigTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListConfigsForConfigTypeTooManyRequests) Error() string { + return fmt.Sprintf("[GET /config-types/{id}/configs][%d] listConfigsForConfigTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *ListConfigsForConfigTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListConfigsForConfigTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/list_configs_responses.go b/rest_management_api_client/config/list_configs_responses.go index 4190ba5c..c2798b64 100644 --- a/rest_management_api_client/config/list_configs_responses.go +++ b/rest_management_api_client/config/list_configs_responses.go @@ -65,6 +65,12 @@ func (o *ListConfigsReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return nil, result + case 429: + result := NewListConfigsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListConfigsUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListConfigsTooManyRequests creates a ListConfigsTooManyRequests with default headers values +func NewListConfigsTooManyRequests() *ListConfigsTooManyRequests { + return &ListConfigsTooManyRequests{} +} + +/* ListConfigsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListConfigsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListConfigsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /configs][%d] listConfigsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListConfigsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListConfigsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/patch_config_responses.go b/rest_management_api_client/config/patch_config_responses.go index 31c101f5..ca49eaa3 100644 --- a/rest_management_api_client/config/patch_config_responses.go +++ b/rest_management_api_client/config/patch_config_responses.go @@ -71,6 +71,12 @@ func (o *PatchConfigReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return nil, result + case 429: + result := NewPatchConfigTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchConfigNotFound) readResponse(response runtime.ClientResponse, cons return nil } + +// NewPatchConfigTooManyRequests creates a PatchConfigTooManyRequests with default headers values +func NewPatchConfigTooManyRequests() *PatchConfigTooManyRequests { + return &PatchConfigTooManyRequests{} +} + +/* PatchConfigTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchConfigTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchConfigTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /configs/{id}][%d] patchConfigTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchConfigTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchConfigTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/patch_config_type_responses.go b/rest_management_api_client/config/patch_config_type_responses.go index f9c3157a..f59e6005 100644 --- a/rest_management_api_client/config/patch_config_type_responses.go +++ b/rest_management_api_client/config/patch_config_type_responses.go @@ -71,6 +71,12 @@ func (o *PatchConfigTypeReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewPatchConfigTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchConfigTypeNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewPatchConfigTypeTooManyRequests creates a PatchConfigTypeTooManyRequests with default headers values +func NewPatchConfigTypeTooManyRequests() *PatchConfigTypeTooManyRequests { + return &PatchConfigTypeTooManyRequests{} +} + +/* PatchConfigTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchConfigTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchConfigTypeTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /config-types/{id}][%d] patchConfigTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchConfigTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchConfigTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/update_config_responses.go b/rest_management_api_client/config/update_config_responses.go index 57cdac04..0d4827ce 100644 --- a/rest_management_api_client/config/update_config_responses.go +++ b/rest_management_api_client/config/update_config_responses.go @@ -71,6 +71,12 @@ func (o *UpdateConfigReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewUpdateConfigTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateConfigNotFound) readResponse(response runtime.ClientResponse, con return nil } + +// NewUpdateConfigTooManyRequests creates a UpdateConfigTooManyRequests with default headers values +func NewUpdateConfigTooManyRequests() *UpdateConfigTooManyRequests { + return &UpdateConfigTooManyRequests{} +} + +/* UpdateConfigTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateConfigTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateConfigTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /configs/{id}][%d] updateConfigTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateConfigTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateConfigTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/config/update_config_type_responses.go b/rest_management_api_client/config/update_config_type_responses.go index cef3fd98..e60332f9 100644 --- a/rest_management_api_client/config/update_config_type_responses.go +++ b/rest_management_api_client/config/update_config_type_responses.go @@ -71,6 +71,12 @@ func (o *UpdateConfigTypeReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewUpdateConfigTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateConfigTypeNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewUpdateConfigTypeTooManyRequests creates a UpdateConfigTypeTooManyRequests with default headers values +func NewUpdateConfigTypeTooManyRequests() *UpdateConfigTypeTooManyRequests { + return &UpdateConfigTypeTooManyRequests{} +} + +/* UpdateConfigTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateConfigTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateConfigTypeTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /config-types/{id}][%d] updateConfigTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateConfigTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateConfigTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/database/data_integrity_results_responses.go b/rest_management_api_client/database/data_integrity_results_responses.go index 2295da0e..f2b15350 100644 --- a/rest_management_api_client/database/data_integrity_results_responses.go +++ b/rest_management_api_client/database/data_integrity_results_responses.go @@ -59,6 +59,12 @@ func (o *DataIntegrityResultsReader) ReadResponse(response runtime.ClientRespons return nil, err } return nil, result + case 429: + result := NewDataIntegrityResultsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *DataIntegrityResultsUnauthorized) readResponse(response runtime.ClientR return nil } + +// NewDataIntegrityResultsTooManyRequests creates a DataIntegrityResultsTooManyRequests with default headers values +func NewDataIntegrityResultsTooManyRequests() *DataIntegrityResultsTooManyRequests { + return &DataIntegrityResultsTooManyRequests{} +} + +/* DataIntegrityResultsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DataIntegrityResultsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DataIntegrityResultsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /database/data-integrity-results][%d] dataIntegrityResultsTooManyRequests %+v", 429, o.Payload) +} +func (o *DataIntegrityResultsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DataIntegrityResultsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/create_edge_router_responses.go b/rest_management_api_client/edge_router/create_edge_router_responses.go index c2a6c62e..9f7bf92a 100644 --- a/rest_management_api_client/edge_router/create_edge_router_responses.go +++ b/rest_management_api_client/edge_router/create_edge_router_responses.go @@ -65,6 +65,12 @@ func (o *CreateEdgeRouterReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewCreateEdgeRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateEdgeRouterUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewCreateEdgeRouterTooManyRequests creates a CreateEdgeRouterTooManyRequests with default headers values +func NewCreateEdgeRouterTooManyRequests() *CreateEdgeRouterTooManyRequests { + return &CreateEdgeRouterTooManyRequests{} +} + +/* CreateEdgeRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateEdgeRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateEdgeRouterTooManyRequests) Error() string { + return fmt.Sprintf("[POST /edge-routers][%d] createEdgeRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateEdgeRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateEdgeRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/delete_edge_router_responses.go b/rest_management_api_client/edge_router/delete_edge_router_responses.go index 47e0735a..442a3ee5 100644 --- a/rest_management_api_client/edge_router/delete_edge_router_responses.go +++ b/rest_management_api_client/edge_router/delete_edge_router_responses.go @@ -71,6 +71,12 @@ func (o *DeleteEdgeRouterReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDeleteEdgeRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteEdgeRouterConflict) readResponse(response runtime.ClientResponse, return nil } + +// NewDeleteEdgeRouterTooManyRequests creates a DeleteEdgeRouterTooManyRequests with default headers values +func NewDeleteEdgeRouterTooManyRequests() *DeleteEdgeRouterTooManyRequests { + return &DeleteEdgeRouterTooManyRequests{} +} + +/* DeleteEdgeRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteEdgeRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteEdgeRouterTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /edge-routers/{id}][%d] deleteEdgeRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteEdgeRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteEdgeRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/detail_edge_router_responses.go b/rest_management_api_client/edge_router/detail_edge_router_responses.go index e60612ab..1e57d761 100644 --- a/rest_management_api_client/edge_router/detail_edge_router_responses.go +++ b/rest_management_api_client/edge_router/detail_edge_router_responses.go @@ -65,6 +65,12 @@ func (o *DetailEdgeRouterReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDetailEdgeRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailEdgeRouterNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewDetailEdgeRouterTooManyRequests creates a DetailEdgeRouterTooManyRequests with default headers values +func NewDetailEdgeRouterTooManyRequests() *DetailEdgeRouterTooManyRequests { + return &DetailEdgeRouterTooManyRequests{} +} + +/* DetailEdgeRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailEdgeRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailEdgeRouterTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-routers/{id}][%d] detailEdgeRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailEdgeRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailEdgeRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/list_edge_router_edge_router_policies_responses.go b/rest_management_api_client/edge_router/list_edge_router_edge_router_policies_responses.go index 5d444bf4..7ea9ba70 100644 --- a/rest_management_api_client/edge_router/list_edge_router_edge_router_policies_responses.go +++ b/rest_management_api_client/edge_router/list_edge_router_edge_router_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterEdgeRouterPoliciesReader) ReadResponse(response runtime.C return nil, err } return nil, result + case 429: + result := NewListEdgeRouterEdgeRouterPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterEdgeRouterPoliciesNotFound) readResponse(response runtime return nil } + +// NewListEdgeRouterEdgeRouterPoliciesTooManyRequests creates a ListEdgeRouterEdgeRouterPoliciesTooManyRequests with default headers values +func NewListEdgeRouterEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterEdgeRouterPoliciesTooManyRequests { + return &ListEdgeRouterEdgeRouterPoliciesTooManyRequests{} +} + +/* ListEdgeRouterEdgeRouterPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterEdgeRouterPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterEdgeRouterPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-routers/{id}/edge-router-policies][%d] listEdgeRouterEdgeRouterPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterEdgeRouterPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterEdgeRouterPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/list_edge_router_identities_responses.go b/rest_management_api_client/edge_router/list_edge_router_identities_responses.go index 86c129dc..a32c9639 100644 --- a/rest_management_api_client/edge_router/list_edge_router_identities_responses.go +++ b/rest_management_api_client/edge_router/list_edge_router_identities_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterIdentitiesReader) ReadResponse(response runtime.ClientRes return nil, err } return nil, result + case 429: + result := NewListEdgeRouterIdentitiesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterIdentitiesNotFound) readResponse(response runtime.ClientR return nil } + +// NewListEdgeRouterIdentitiesTooManyRequests creates a ListEdgeRouterIdentitiesTooManyRequests with default headers values +func NewListEdgeRouterIdentitiesTooManyRequests() *ListEdgeRouterIdentitiesTooManyRequests { + return &ListEdgeRouterIdentitiesTooManyRequests{} +} + +/* ListEdgeRouterIdentitiesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterIdentitiesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterIdentitiesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-routers/{id}/identities][%d] listEdgeRouterIdentitiesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterIdentitiesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterIdentitiesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/list_edge_router_service_edge_router_policies_responses.go b/rest_management_api_client/edge_router/list_edge_router_service_edge_router_policies_responses.go index 26bf5f28..5ab55d39 100644 --- a/rest_management_api_client/edge_router/list_edge_router_service_edge_router_policies_responses.go +++ b/rest_management_api_client/edge_router/list_edge_router_service_edge_router_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterServiceEdgeRouterPoliciesReader) ReadResponse(response ru return nil, err } return nil, result + case 429: + result := NewListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterServiceEdgeRouterPoliciesNotFound) readResponse(response return nil } + +// NewListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests creates a ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests with default headers values +func NewListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests { + return &ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests{} +} + +/* ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-routers/{id}/service-edge-router-policies][%d] listEdgeRouterServiceEdgeRouterPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/list_edge_router_services_responses.go b/rest_management_api_client/edge_router/list_edge_router_services_responses.go index 3b15fc5a..bcdb83f1 100644 --- a/rest_management_api_client/edge_router/list_edge_router_services_responses.go +++ b/rest_management_api_client/edge_router/list_edge_router_services_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterServicesReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListEdgeRouterServicesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterServicesNotFound) readResponse(response runtime.ClientRes return nil } + +// NewListEdgeRouterServicesTooManyRequests creates a ListEdgeRouterServicesTooManyRequests with default headers values +func NewListEdgeRouterServicesTooManyRequests() *ListEdgeRouterServicesTooManyRequests { + return &ListEdgeRouterServicesTooManyRequests{} +} + +/* ListEdgeRouterServicesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterServicesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterServicesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-routers/{id}/services][%d] listEdgeRouterServicesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterServicesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/list_edge_routers_responses.go b/rest_management_api_client/edge_router/list_edge_routers_responses.go index abf27d74..559fa37c 100644 --- a/rest_management_api_client/edge_router/list_edge_routers_responses.go +++ b/rest_management_api_client/edge_router/list_edge_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRoutersReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewListEdgeRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRoutersUnauthorized) readResponse(response runtime.ClientRespon return nil } + +// NewListEdgeRoutersTooManyRequests creates a ListEdgeRoutersTooManyRequests with default headers values +func NewListEdgeRoutersTooManyRequests() *ListEdgeRoutersTooManyRequests { + return &ListEdgeRoutersTooManyRequests{} +} + +/* ListEdgeRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-routers][%d] listEdgeRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/patch_edge_router_responses.go b/rest_management_api_client/edge_router/patch_edge_router_responses.go index bf2f0304..7a55c250 100644 --- a/rest_management_api_client/edge_router/patch_edge_router_responses.go +++ b/rest_management_api_client/edge_router/patch_edge_router_responses.go @@ -71,6 +71,12 @@ func (o *PatchEdgeRouterReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewPatchEdgeRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchEdgeRouterNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewPatchEdgeRouterTooManyRequests creates a PatchEdgeRouterTooManyRequests with default headers values +func NewPatchEdgeRouterTooManyRequests() *PatchEdgeRouterTooManyRequests { + return &PatchEdgeRouterTooManyRequests{} +} + +/* PatchEdgeRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchEdgeRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchEdgeRouterTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /edge-routers/{id}][%d] patchEdgeRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchEdgeRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchEdgeRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/re_enroll_edge_router_responses.go b/rest_management_api_client/edge_router/re_enroll_edge_router_responses.go index db129838..fef6beb7 100644 --- a/rest_management_api_client/edge_router/re_enroll_edge_router_responses.go +++ b/rest_management_api_client/edge_router/re_enroll_edge_router_responses.go @@ -65,6 +65,12 @@ func (o *ReEnrollEdgeRouterReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewReEnrollEdgeRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ReEnrollEdgeRouterNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewReEnrollEdgeRouterTooManyRequests creates a ReEnrollEdgeRouterTooManyRequests with default headers values +func NewReEnrollEdgeRouterTooManyRequests() *ReEnrollEdgeRouterTooManyRequests { + return &ReEnrollEdgeRouterTooManyRequests{} +} + +/* ReEnrollEdgeRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ReEnrollEdgeRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ReEnrollEdgeRouterTooManyRequests) Error() string { + return fmt.Sprintf("[POST /edge-routers/{id}/re-enroll][%d] reEnrollEdgeRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *ReEnrollEdgeRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ReEnrollEdgeRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router/update_edge_router_responses.go b/rest_management_api_client/edge_router/update_edge_router_responses.go index e1c21674..32ef5e57 100644 --- a/rest_management_api_client/edge_router/update_edge_router_responses.go +++ b/rest_management_api_client/edge_router/update_edge_router_responses.go @@ -71,6 +71,12 @@ func (o *UpdateEdgeRouterReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewUpdateEdgeRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateEdgeRouterNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewUpdateEdgeRouterTooManyRequests creates a UpdateEdgeRouterTooManyRequests with default headers values +func NewUpdateEdgeRouterTooManyRequests() *UpdateEdgeRouterTooManyRequests { + return &UpdateEdgeRouterTooManyRequests{} +} + +/* UpdateEdgeRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateEdgeRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateEdgeRouterTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /edge-routers/{id}][%d] updateEdgeRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateEdgeRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateEdgeRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/create_edge_router_policy_responses.go b/rest_management_api_client/edge_router_policy/create_edge_router_policy_responses.go index 43e6534b..ab419b92 100644 --- a/rest_management_api_client/edge_router_policy/create_edge_router_policy_responses.go +++ b/rest_management_api_client/edge_router_policy/create_edge_router_policy_responses.go @@ -65,6 +65,12 @@ func (o *CreateEdgeRouterPolicyReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewCreateEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateEdgeRouterPolicyUnauthorized) readResponse(response runtime.Clien return nil } + +// NewCreateEdgeRouterPolicyTooManyRequests creates a CreateEdgeRouterPolicyTooManyRequests with default headers values +func NewCreateEdgeRouterPolicyTooManyRequests() *CreateEdgeRouterPolicyTooManyRequests { + return &CreateEdgeRouterPolicyTooManyRequests{} +} + +/* CreateEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[POST /edge-router-policies][%d] createEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/delete_edge_router_policy_responses.go b/rest_management_api_client/edge_router_policy/delete_edge_router_policy_responses.go index 3ef50152..73ed2b2a 100644 --- a/rest_management_api_client/edge_router_policy/delete_edge_router_policy_responses.go +++ b/rest_management_api_client/edge_router_policy/delete_edge_router_policy_responses.go @@ -71,6 +71,12 @@ func (o *DeleteEdgeRouterPolicyReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewDeleteEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteEdgeRouterPolicyConflict) readResponse(response runtime.ClientRes return nil } + +// NewDeleteEdgeRouterPolicyTooManyRequests creates a DeleteEdgeRouterPolicyTooManyRequests with default headers values +func NewDeleteEdgeRouterPolicyTooManyRequests() *DeleteEdgeRouterPolicyTooManyRequests { + return &DeleteEdgeRouterPolicyTooManyRequests{} +} + +/* DeleteEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /edge-router-policies/{id}][%d] deleteEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/detail_edge_router_policy_responses.go b/rest_management_api_client/edge_router_policy/detail_edge_router_policy_responses.go index 1957ec6e..49d43c84 100644 --- a/rest_management_api_client/edge_router_policy/detail_edge_router_policy_responses.go +++ b/rest_management_api_client/edge_router_policy/detail_edge_router_policy_responses.go @@ -65,6 +65,12 @@ func (o *DetailEdgeRouterPolicyReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewDetailEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailEdgeRouterPolicyNotFound) readResponse(response runtime.ClientRes return nil } + +// NewDetailEdgeRouterPolicyTooManyRequests creates a DetailEdgeRouterPolicyTooManyRequests with default headers values +func NewDetailEdgeRouterPolicyTooManyRequests() *DetailEdgeRouterPolicyTooManyRequests { + return &DetailEdgeRouterPolicyTooManyRequests{} +} + +/* DetailEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-router-policies/{id}][%d] detailEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/list_edge_router_policies_responses.go b/rest_management_api_client/edge_router_policy/list_edge_router_policies_responses.go index 02d4e146..a4eca9c4 100644 --- a/rest_management_api_client/edge_router_policy/list_edge_router_policies_responses.go +++ b/rest_management_api_client/edge_router_policy/list_edge_router_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterPoliciesReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListEdgeRouterPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterPoliciesUnauthorized) readResponse(response runtime.Clien return nil } + +// NewListEdgeRouterPoliciesTooManyRequests creates a ListEdgeRouterPoliciesTooManyRequests with default headers values +func NewListEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterPoliciesTooManyRequests { + return &ListEdgeRouterPoliciesTooManyRequests{} +} + +/* ListEdgeRouterPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-router-policies][%d] listEdgeRouterPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/list_edge_router_policy_edge_routers_responses.go b/rest_management_api_client/edge_router_policy/list_edge_router_policy_edge_routers_responses.go index 25feef99..942b1ec1 100644 --- a/rest_management_api_client/edge_router_policy/list_edge_router_policy_edge_routers_responses.go +++ b/rest_management_api_client/edge_router_policy/list_edge_router_policy_edge_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterPolicyEdgeRoutersReader) ReadResponse(response runtime.Cl return nil, err } return nil, result + case 429: + result := NewListEdgeRouterPolicyEdgeRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) readResponse(response runtime. return nil } + +// NewListEdgeRouterPolicyEdgeRoutersTooManyRequests creates a ListEdgeRouterPolicyEdgeRoutersTooManyRequests with default headers values +func NewListEdgeRouterPolicyEdgeRoutersTooManyRequests() *ListEdgeRouterPolicyEdgeRoutersTooManyRequests { + return &ListEdgeRouterPolicyEdgeRoutersTooManyRequests{} +} + +/* ListEdgeRouterPolicyEdgeRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterPolicyEdgeRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-router-policies/{id}/edge-routers][%d] listEdgeRouterPolicyEdgeRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/list_edge_router_policy_identities_responses.go b/rest_management_api_client/edge_router_policy/list_edge_router_policy_identities_responses.go index 44c9463d..ee1673d1 100644 --- a/rest_management_api_client/edge_router_policy/list_edge_router_policy_identities_responses.go +++ b/rest_management_api_client/edge_router_policy/list_edge_router_policy_identities_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterPolicyIdentitiesReader) ReadResponse(response runtime.Cli return nil, err } return nil, result + case 429: + result := NewListEdgeRouterPolicyIdentitiesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterPolicyIdentitiesNotFound) readResponse(response runtime.C return nil } + +// NewListEdgeRouterPolicyIdentitiesTooManyRequests creates a ListEdgeRouterPolicyIdentitiesTooManyRequests with default headers values +func NewListEdgeRouterPolicyIdentitiesTooManyRequests() *ListEdgeRouterPolicyIdentitiesTooManyRequests { + return &ListEdgeRouterPolicyIdentitiesTooManyRequests{} +} + +/* ListEdgeRouterPolicyIdentitiesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterPolicyIdentitiesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-router-policies/{id}/identities][%d] listEdgeRouterPolicyIdentitiesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/patch_edge_router_policy_responses.go b/rest_management_api_client/edge_router_policy/patch_edge_router_policy_responses.go index 47a0116d..c5e4a80a 100644 --- a/rest_management_api_client/edge_router_policy/patch_edge_router_policy_responses.go +++ b/rest_management_api_client/edge_router_policy/patch_edge_router_policy_responses.go @@ -71,6 +71,12 @@ func (o *PatchEdgeRouterPolicyReader) ReadResponse(response runtime.ClientRespon return nil, err } return nil, result + case 429: + result := NewPatchEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchEdgeRouterPolicyNotFound) readResponse(response runtime.ClientResp return nil } + +// NewPatchEdgeRouterPolicyTooManyRequests creates a PatchEdgeRouterPolicyTooManyRequests with default headers values +func NewPatchEdgeRouterPolicyTooManyRequests() *PatchEdgeRouterPolicyTooManyRequests { + return &PatchEdgeRouterPolicyTooManyRequests{} +} + +/* PatchEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /edge-router-policies/{id}][%d] patchEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/edge_router_policy/update_edge_router_policy_responses.go b/rest_management_api_client/edge_router_policy/update_edge_router_policy_responses.go index dc657968..46b886e3 100644 --- a/rest_management_api_client/edge_router_policy/update_edge_router_policy_responses.go +++ b/rest_management_api_client/edge_router_policy/update_edge_router_policy_responses.go @@ -71,6 +71,12 @@ func (o *UpdateEdgeRouterPolicyReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewUpdateEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateEdgeRouterPolicyNotFound) readResponse(response runtime.ClientRes return nil } + +// NewUpdateEdgeRouterPolicyTooManyRequests creates a UpdateEdgeRouterPolicyTooManyRequests with default headers values +func NewUpdateEdgeRouterPolicyTooManyRequests() *UpdateEdgeRouterPolicyTooManyRequests { + return &UpdateEdgeRouterPolicyTooManyRequests{} +} + +/* UpdateEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /edge-router-policies/{id}][%d] updateEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/enrollment/create_enrollment_responses.go b/rest_management_api_client/enrollment/create_enrollment_responses.go index db5e2cf7..ce361971 100644 --- a/rest_management_api_client/enrollment/create_enrollment_responses.go +++ b/rest_management_api_client/enrollment/create_enrollment_responses.go @@ -71,6 +71,12 @@ func (o *CreateEnrollmentReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewCreateEnrollmentTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *CreateEnrollmentConflict) readResponse(response runtime.ClientResponse, return nil } + +// NewCreateEnrollmentTooManyRequests creates a CreateEnrollmentTooManyRequests with default headers values +func NewCreateEnrollmentTooManyRequests() *CreateEnrollmentTooManyRequests { + return &CreateEnrollmentTooManyRequests{} +} + +/* CreateEnrollmentTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateEnrollmentTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateEnrollmentTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enrollments][%d] createEnrollmentTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateEnrollmentTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/enrollment/delete_enrollment_responses.go b/rest_management_api_client/enrollment/delete_enrollment_responses.go index faad2f8c..9287dfd5 100644 --- a/rest_management_api_client/enrollment/delete_enrollment_responses.go +++ b/rest_management_api_client/enrollment/delete_enrollment_responses.go @@ -65,6 +65,12 @@ func (o *DeleteEnrollmentReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDeleteEnrollmentTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteEnrollmentUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewDeleteEnrollmentTooManyRequests creates a DeleteEnrollmentTooManyRequests with default headers values +func NewDeleteEnrollmentTooManyRequests() *DeleteEnrollmentTooManyRequests { + return &DeleteEnrollmentTooManyRequests{} +} + +/* DeleteEnrollmentTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteEnrollmentTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteEnrollmentTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /enrollments/{id}][%d] deleteEnrollmentTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteEnrollmentTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/enrollment/detail_enrollment_responses.go b/rest_management_api_client/enrollment/detail_enrollment_responses.go index 23987033..9ed04cd3 100644 --- a/rest_management_api_client/enrollment/detail_enrollment_responses.go +++ b/rest_management_api_client/enrollment/detail_enrollment_responses.go @@ -65,6 +65,12 @@ func (o *DetailEnrollmentReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDetailEnrollmentTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailEnrollmentNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewDetailEnrollmentTooManyRequests creates a DetailEnrollmentTooManyRequests with default headers values +func NewDetailEnrollmentTooManyRequests() *DetailEnrollmentTooManyRequests { + return &DetailEnrollmentTooManyRequests{} +} + +/* DetailEnrollmentTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailEnrollmentTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailEnrollmentTooManyRequests) Error() string { + return fmt.Sprintf("[GET /enrollments/{id}][%d] detailEnrollmentTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailEnrollmentTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/enrollment/list_enrollments_responses.go b/rest_management_api_client/enrollment/list_enrollments_responses.go index 5956de6e..e83c5540 100644 --- a/rest_management_api_client/enrollment/list_enrollments_responses.go +++ b/rest_management_api_client/enrollment/list_enrollments_responses.go @@ -65,6 +65,12 @@ func (o *ListEnrollmentsReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewListEnrollmentsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEnrollmentsUnauthorized) readResponse(response runtime.ClientRespon return nil } + +// NewListEnrollmentsTooManyRequests creates a ListEnrollmentsTooManyRequests with default headers values +func NewListEnrollmentsTooManyRequests() *ListEnrollmentsTooManyRequests { + return &ListEnrollmentsTooManyRequests{} +} + +/* ListEnrollmentsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEnrollmentsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEnrollmentsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /enrollments][%d] listEnrollmentsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEnrollmentsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEnrollmentsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/enrollment/refresh_enrollment_responses.go b/rest_management_api_client/enrollment/refresh_enrollment_responses.go index 6578c30a..71ac9a76 100644 --- a/rest_management_api_client/enrollment/refresh_enrollment_responses.go +++ b/rest_management_api_client/enrollment/refresh_enrollment_responses.go @@ -65,6 +65,12 @@ func (o *RefreshEnrollmentReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewRefreshEnrollmentTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *RefreshEnrollmentUnauthorized) readResponse(response runtime.ClientResp return nil } + +// NewRefreshEnrollmentTooManyRequests creates a RefreshEnrollmentTooManyRequests with default headers values +func NewRefreshEnrollmentTooManyRequests() *RefreshEnrollmentTooManyRequests { + return &RefreshEnrollmentTooManyRequests{} +} + +/* RefreshEnrollmentTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type RefreshEnrollmentTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *RefreshEnrollmentTooManyRequests) Error() string { + return fmt.Sprintf("[POST /enrollments/{id}/refresh][%d] refreshEnrollmentTooManyRequests %+v", 429, o.Payload) +} +func (o *RefreshEnrollmentTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *RefreshEnrollmentTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/external_jwt_signer/create_external_jwt_signer_responses.go b/rest_management_api_client/external_jwt_signer/create_external_jwt_signer_responses.go index 31b170c1..af04e334 100644 --- a/rest_management_api_client/external_jwt_signer/create_external_jwt_signer_responses.go +++ b/rest_management_api_client/external_jwt_signer/create_external_jwt_signer_responses.go @@ -65,6 +65,12 @@ func (o *CreateExternalJWTSignerReader) ReadResponse(response runtime.ClientResp return nil, err } return nil, result + case 429: + result := NewCreateExternalJWTSignerTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateExternalJWTSignerUnauthorized) readResponse(response runtime.Clie return nil } + +// NewCreateExternalJWTSignerTooManyRequests creates a CreateExternalJWTSignerTooManyRequests with default headers values +func NewCreateExternalJWTSignerTooManyRequests() *CreateExternalJWTSignerTooManyRequests { + return &CreateExternalJWTSignerTooManyRequests{} +} + +/* CreateExternalJWTSignerTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateExternalJWTSignerTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateExternalJWTSignerTooManyRequests) Error() string { + return fmt.Sprintf("[POST /external-jwt-signers][%d] createExternalJwtSignerTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateExternalJWTSignerTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateExternalJWTSignerTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/external_jwt_signer/delete_external_jwt_signer_responses.go b/rest_management_api_client/external_jwt_signer/delete_external_jwt_signer_responses.go index 420b687e..059752cf 100644 --- a/rest_management_api_client/external_jwt_signer/delete_external_jwt_signer_responses.go +++ b/rest_management_api_client/external_jwt_signer/delete_external_jwt_signer_responses.go @@ -65,6 +65,12 @@ func (o *DeleteExternalJWTSignerReader) ReadResponse(response runtime.ClientResp return nil, err } return nil, result + case 429: + result := NewDeleteExternalJWTSignerTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeleteExternalJWTSignerUnauthorized) readResponse(response runtime.Clie return nil } + +// NewDeleteExternalJWTSignerTooManyRequests creates a DeleteExternalJWTSignerTooManyRequests with default headers values +func NewDeleteExternalJWTSignerTooManyRequests() *DeleteExternalJWTSignerTooManyRequests { + return &DeleteExternalJWTSignerTooManyRequests{} +} + +/* DeleteExternalJWTSignerTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteExternalJWTSignerTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteExternalJWTSignerTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /external-jwt-signers/{id}][%d] deleteExternalJwtSignerTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteExternalJWTSignerTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteExternalJWTSignerTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/external_jwt_signer/detail_external_jwt_signer_responses.go b/rest_management_api_client/external_jwt_signer/detail_external_jwt_signer_responses.go index f7fdf202..e44a9568 100644 --- a/rest_management_api_client/external_jwt_signer/detail_external_jwt_signer_responses.go +++ b/rest_management_api_client/external_jwt_signer/detail_external_jwt_signer_responses.go @@ -65,6 +65,12 @@ func (o *DetailExternalJWTSignerReader) ReadResponse(response runtime.ClientResp return nil, err } return nil, result + case 429: + result := NewDetailExternalJWTSignerTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailExternalJWTSignerNotFound) readResponse(response runtime.ClientRe return nil } + +// NewDetailExternalJWTSignerTooManyRequests creates a DetailExternalJWTSignerTooManyRequests with default headers values +func NewDetailExternalJWTSignerTooManyRequests() *DetailExternalJWTSignerTooManyRequests { + return &DetailExternalJWTSignerTooManyRequests{} +} + +/* DetailExternalJWTSignerTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailExternalJWTSignerTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailExternalJWTSignerTooManyRequests) Error() string { + return fmt.Sprintf("[GET /external-jwt-signers/{id}][%d] detailExternalJwtSignerTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailExternalJWTSignerTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailExternalJWTSignerTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/external_jwt_signer/list_external_jwt_signers_responses.go b/rest_management_api_client/external_jwt_signer/list_external_jwt_signers_responses.go index eb969fb0..a1dd7237 100644 --- a/rest_management_api_client/external_jwt_signer/list_external_jwt_signers_responses.go +++ b/rest_management_api_client/external_jwt_signer/list_external_jwt_signers_responses.go @@ -65,6 +65,12 @@ func (o *ListExternalJWTSignersReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListExternalJWTSignersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListExternalJWTSignersUnauthorized) readResponse(response runtime.Clien return nil } + +// NewListExternalJWTSignersTooManyRequests creates a ListExternalJWTSignersTooManyRequests with default headers values +func NewListExternalJWTSignersTooManyRequests() *ListExternalJWTSignersTooManyRequests { + return &ListExternalJWTSignersTooManyRequests{} +} + +/* ListExternalJWTSignersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListExternalJWTSignersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListExternalJWTSignersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /external-jwt-signers][%d] listExternalJwtSignersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListExternalJWTSignersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListExternalJWTSignersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/external_jwt_signer/patch_external_jwt_signer_responses.go b/rest_management_api_client/external_jwt_signer/patch_external_jwt_signer_responses.go index c1c1b57c..dd957ec1 100644 --- a/rest_management_api_client/external_jwt_signer/patch_external_jwt_signer_responses.go +++ b/rest_management_api_client/external_jwt_signer/patch_external_jwt_signer_responses.go @@ -71,6 +71,12 @@ func (o *PatchExternalJWTSignerReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewPatchExternalJWTSignerTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchExternalJWTSignerNotFound) readResponse(response runtime.ClientRes return nil } + +// NewPatchExternalJWTSignerTooManyRequests creates a PatchExternalJWTSignerTooManyRequests with default headers values +func NewPatchExternalJWTSignerTooManyRequests() *PatchExternalJWTSignerTooManyRequests { + return &PatchExternalJWTSignerTooManyRequests{} +} + +/* PatchExternalJWTSignerTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchExternalJWTSignerTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchExternalJWTSignerTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /external-jwt-signers/{id}][%d] patchExternalJwtSignerTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchExternalJWTSignerTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchExternalJWTSignerTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/external_jwt_signer/update_external_jwt_signer_responses.go b/rest_management_api_client/external_jwt_signer/update_external_jwt_signer_responses.go index 65d246d7..6ac982cf 100644 --- a/rest_management_api_client/external_jwt_signer/update_external_jwt_signer_responses.go +++ b/rest_management_api_client/external_jwt_signer/update_external_jwt_signer_responses.go @@ -71,6 +71,12 @@ func (o *UpdateExternalJWTSignerReader) ReadResponse(response runtime.ClientResp return nil, err } return nil, result + case 429: + result := NewUpdateExternalJWTSignerTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateExternalJWTSignerNotFound) readResponse(response runtime.ClientRe return nil } + +// NewUpdateExternalJWTSignerTooManyRequests creates a UpdateExternalJWTSignerTooManyRequests with default headers values +func NewUpdateExternalJWTSignerTooManyRequests() *UpdateExternalJWTSignerTooManyRequests { + return &UpdateExternalJWTSignerTooManyRequests{} +} + +/* UpdateExternalJWTSignerTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateExternalJWTSignerTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateExternalJWTSignerTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /external-jwt-signers/{id}][%d] updateExternalJwtSignerTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateExternalJWTSignerTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateExternalJWTSignerTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/associate_identitys_service_configs_responses.go b/rest_management_api_client/identity/associate_identitys_service_configs_responses.go index 97af7b39..7d42f861 100644 --- a/rest_management_api_client/identity/associate_identitys_service_configs_responses.go +++ b/rest_management_api_client/identity/associate_identitys_service_configs_responses.go @@ -71,6 +71,12 @@ func (o *AssociateIdentitysServiceConfigsReader) ReadResponse(response runtime.C return nil, err } return nil, result + case 429: + result := NewAssociateIdentitysServiceConfigsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *AssociateIdentitysServiceConfigsNotFound) readResponse(response runtime return nil } + +// NewAssociateIdentitysServiceConfigsTooManyRequests creates a AssociateIdentitysServiceConfigsTooManyRequests with default headers values +func NewAssociateIdentitysServiceConfigsTooManyRequests() *AssociateIdentitysServiceConfigsTooManyRequests { + return &AssociateIdentitysServiceConfigsTooManyRequests{} +} + +/* AssociateIdentitysServiceConfigsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type AssociateIdentitysServiceConfigsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *AssociateIdentitysServiceConfigsTooManyRequests) Error() string { + return fmt.Sprintf("[POST /identities/{id}/service-configs][%d] associateIdentitysServiceConfigsTooManyRequests %+v", 429, o.Payload) +} +func (o *AssociateIdentitysServiceConfigsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *AssociateIdentitysServiceConfigsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/create_identity_responses.go b/rest_management_api_client/identity/create_identity_responses.go index 9e01ab6d..724cfa93 100644 --- a/rest_management_api_client/identity/create_identity_responses.go +++ b/rest_management_api_client/identity/create_identity_responses.go @@ -65,6 +65,12 @@ func (o *CreateIdentityReader) ReadResponse(response runtime.ClientResponse, con return nil, err } return nil, result + case 429: + result := NewCreateIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateIdentityUnauthorized) readResponse(response runtime.ClientRespons return nil } + +// NewCreateIdentityTooManyRequests creates a CreateIdentityTooManyRequests with default headers values +func NewCreateIdentityTooManyRequests() *CreateIdentityTooManyRequests { + return &CreateIdentityTooManyRequests{} +} + +/* CreateIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[POST /identities][%d] createIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/delete_identity_responses.go b/rest_management_api_client/identity/delete_identity_responses.go index 539eb5d9..0e444ab3 100644 --- a/rest_management_api_client/identity/delete_identity_responses.go +++ b/rest_management_api_client/identity/delete_identity_responses.go @@ -71,6 +71,12 @@ func (o *DeleteIdentityReader) ReadResponse(response runtime.ClientResponse, con return nil, err } return nil, result + case 429: + result := NewDeleteIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteIdentityConflict) readResponse(response runtime.ClientResponse, c return nil } + +// NewDeleteIdentityTooManyRequests creates a DeleteIdentityTooManyRequests with default headers values +func NewDeleteIdentityTooManyRequests() *DeleteIdentityTooManyRequests { + return &DeleteIdentityTooManyRequests{} +} + +/* DeleteIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /identities/{id}][%d] deleteIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/detail_identity_responses.go b/rest_management_api_client/identity/detail_identity_responses.go index 4f946e74..cabf8935 100644 --- a/rest_management_api_client/identity/detail_identity_responses.go +++ b/rest_management_api_client/identity/detail_identity_responses.go @@ -65,6 +65,12 @@ func (o *DetailIdentityReader) ReadResponse(response runtime.ClientResponse, con return nil, err } return nil, result + case 429: + result := NewDetailIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailIdentityNotFound) readResponse(response runtime.ClientResponse, c return nil } + +// NewDetailIdentityTooManyRequests creates a DetailIdentityTooManyRequests with default headers values +func NewDetailIdentityTooManyRequests() *DetailIdentityTooManyRequests { + return &DetailIdentityTooManyRequests{} +} + +/* DetailIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}][%d] detailIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/detail_identity_type_responses.go b/rest_management_api_client/identity/detail_identity_type_responses.go index bc7eef07..e57c2c42 100644 --- a/rest_management_api_client/identity/detail_identity_type_responses.go +++ b/rest_management_api_client/identity/detail_identity_type_responses.go @@ -65,6 +65,12 @@ func (o *DetailIdentityTypeReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewDetailIdentityTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailIdentityTypeNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewDetailIdentityTypeTooManyRequests creates a DetailIdentityTypeTooManyRequests with default headers values +func NewDetailIdentityTypeTooManyRequests() *DetailIdentityTypeTooManyRequests { + return &DetailIdentityTypeTooManyRequests{} +} + +/* DetailIdentityTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailIdentityTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailIdentityTypeTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identity-types/{id}][%d] detailIdentityTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailIdentityTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailIdentityTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/disable_identity_responses.go b/rest_management_api_client/identity/disable_identity_responses.go index 3ceab3cc..7466917c 100644 --- a/rest_management_api_client/identity/disable_identity_responses.go +++ b/rest_management_api_client/identity/disable_identity_responses.go @@ -65,6 +65,12 @@ func (o *DisableIdentityReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewDisableIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DisableIdentityNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewDisableIdentityTooManyRequests creates a DisableIdentityTooManyRequests with default headers values +func NewDisableIdentityTooManyRequests() *DisableIdentityTooManyRequests { + return &DisableIdentityTooManyRequests{} +} + +/* DisableIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DisableIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DisableIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[POST /identities/{id}/disable][%d] disableIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *DisableIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DisableIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/disassociate_identitys_service_configs_responses.go b/rest_management_api_client/identity/disassociate_identitys_service_configs_responses.go index 8e4eeb4d..8692db82 100644 --- a/rest_management_api_client/identity/disassociate_identitys_service_configs_responses.go +++ b/rest_management_api_client/identity/disassociate_identitys_service_configs_responses.go @@ -71,6 +71,12 @@ func (o *DisassociateIdentitysServiceConfigsReader) ReadResponse(response runtim return nil, err } return nil, result + case 429: + result := NewDisassociateIdentitysServiceConfigsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DisassociateIdentitysServiceConfigsNotFound) readResponse(response runt return nil } + +// NewDisassociateIdentitysServiceConfigsTooManyRequests creates a DisassociateIdentitysServiceConfigsTooManyRequests with default headers values +func NewDisassociateIdentitysServiceConfigsTooManyRequests() *DisassociateIdentitysServiceConfigsTooManyRequests { + return &DisassociateIdentitysServiceConfigsTooManyRequests{} +} + +/* DisassociateIdentitysServiceConfigsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DisassociateIdentitysServiceConfigsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DisassociateIdentitysServiceConfigsTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /identities/{id}/service-configs][%d] disassociateIdentitysServiceConfigsTooManyRequests %+v", 429, o.Payload) +} +func (o *DisassociateIdentitysServiceConfigsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DisassociateIdentitysServiceConfigsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/enable_identity_responses.go b/rest_management_api_client/identity/enable_identity_responses.go index 23da3e35..1afbc2ad 100644 --- a/rest_management_api_client/identity/enable_identity_responses.go +++ b/rest_management_api_client/identity/enable_identity_responses.go @@ -65,6 +65,12 @@ func (o *EnableIdentityReader) ReadResponse(response runtime.ClientResponse, con return nil, err } return nil, result + case 429: + result := NewEnableIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *EnableIdentityNotFound) readResponse(response runtime.ClientResponse, c return nil } + +// NewEnableIdentityTooManyRequests creates a EnableIdentityTooManyRequests with default headers values +func NewEnableIdentityTooManyRequests() *EnableIdentityTooManyRequests { + return &EnableIdentityTooManyRequests{} +} + +/* EnableIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type EnableIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *EnableIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[POST /identities/{id}/enable][%d] enableIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *EnableIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *EnableIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/get_identity_authenticators_responses.go b/rest_management_api_client/identity/get_identity_authenticators_responses.go index 10292859..972584be 100644 --- a/rest_management_api_client/identity/get_identity_authenticators_responses.go +++ b/rest_management_api_client/identity/get_identity_authenticators_responses.go @@ -65,6 +65,12 @@ func (o *GetIdentityAuthenticatorsReader) ReadResponse(response runtime.ClientRe return nil, err } return nil, result + case 429: + result := NewGetIdentityAuthenticatorsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *GetIdentityAuthenticatorsNotFound) readResponse(response runtime.Client return nil } + +// NewGetIdentityAuthenticatorsTooManyRequests creates a GetIdentityAuthenticatorsTooManyRequests with default headers values +func NewGetIdentityAuthenticatorsTooManyRequests() *GetIdentityAuthenticatorsTooManyRequests { + return &GetIdentityAuthenticatorsTooManyRequests{} +} + +/* GetIdentityAuthenticatorsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetIdentityAuthenticatorsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetIdentityAuthenticatorsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/authenticators][%d] getIdentityAuthenticatorsTooManyRequests %+v", 429, o.Payload) +} +func (o *GetIdentityAuthenticatorsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetIdentityAuthenticatorsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/get_identity_enrollments_responses.go b/rest_management_api_client/identity/get_identity_enrollments_responses.go index c6378b46..757b8106 100644 --- a/rest_management_api_client/identity/get_identity_enrollments_responses.go +++ b/rest_management_api_client/identity/get_identity_enrollments_responses.go @@ -65,6 +65,12 @@ func (o *GetIdentityEnrollmentsReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewGetIdentityEnrollmentsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *GetIdentityEnrollmentsNotFound) readResponse(response runtime.ClientRes return nil } + +// NewGetIdentityEnrollmentsTooManyRequests creates a GetIdentityEnrollmentsTooManyRequests with default headers values +func NewGetIdentityEnrollmentsTooManyRequests() *GetIdentityEnrollmentsTooManyRequests { + return &GetIdentityEnrollmentsTooManyRequests{} +} + +/* GetIdentityEnrollmentsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetIdentityEnrollmentsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetIdentityEnrollmentsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/enrollments][%d] getIdentityEnrollmentsTooManyRequests %+v", 429, o.Payload) +} +func (o *GetIdentityEnrollmentsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetIdentityEnrollmentsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/get_identity_failed_service_requests_responses.go b/rest_management_api_client/identity/get_identity_failed_service_requests_responses.go index 7a9f38fb..890665b8 100644 --- a/rest_management_api_client/identity/get_identity_failed_service_requests_responses.go +++ b/rest_management_api_client/identity/get_identity_failed_service_requests_responses.go @@ -65,6 +65,12 @@ func (o *GetIdentityFailedServiceRequestsReader) ReadResponse(response runtime.C return nil, err } return nil, result + case 429: + result := NewGetIdentityFailedServiceRequestsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *GetIdentityFailedServiceRequestsNotFound) readResponse(response runtime return nil } + +// NewGetIdentityFailedServiceRequestsTooManyRequests creates a GetIdentityFailedServiceRequestsTooManyRequests with default headers values +func NewGetIdentityFailedServiceRequestsTooManyRequests() *GetIdentityFailedServiceRequestsTooManyRequests { + return &GetIdentityFailedServiceRequestsTooManyRequests{} +} + +/* GetIdentityFailedServiceRequestsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetIdentityFailedServiceRequestsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetIdentityFailedServiceRequestsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/failed-service-requests][%d] getIdentityFailedServiceRequestsTooManyRequests %+v", 429, o.Payload) +} +func (o *GetIdentityFailedServiceRequestsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetIdentityFailedServiceRequestsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/get_identity_policy_advice_responses.go b/rest_management_api_client/identity/get_identity_policy_advice_responses.go index 47605dd1..81499de8 100644 --- a/rest_management_api_client/identity/get_identity_policy_advice_responses.go +++ b/rest_management_api_client/identity/get_identity_policy_advice_responses.go @@ -65,6 +65,12 @@ func (o *GetIdentityPolicyAdviceReader) ReadResponse(response runtime.ClientResp return nil, err } return nil, result + case 429: + result := NewGetIdentityPolicyAdviceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *GetIdentityPolicyAdviceNotFound) readResponse(response runtime.ClientRe return nil } + +// NewGetIdentityPolicyAdviceTooManyRequests creates a GetIdentityPolicyAdviceTooManyRequests with default headers values +func NewGetIdentityPolicyAdviceTooManyRequests() *GetIdentityPolicyAdviceTooManyRequests { + return &GetIdentityPolicyAdviceTooManyRequests{} +} + +/* GetIdentityPolicyAdviceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetIdentityPolicyAdviceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetIdentityPolicyAdviceTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/policy-advice/{serviceId}][%d] getIdentityPolicyAdviceTooManyRequests %+v", 429, o.Payload) +} +func (o *GetIdentityPolicyAdviceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetIdentityPolicyAdviceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/get_identity_posture_data_responses.go b/rest_management_api_client/identity/get_identity_posture_data_responses.go index e13b088b..55764d7e 100644 --- a/rest_management_api_client/identity/get_identity_posture_data_responses.go +++ b/rest_management_api_client/identity/get_identity_posture_data_responses.go @@ -65,6 +65,12 @@ func (o *GetIdentityPostureDataReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewGetIdentityPostureDataTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *GetIdentityPostureDataNotFound) readResponse(response runtime.ClientRes return nil } + +// NewGetIdentityPostureDataTooManyRequests creates a GetIdentityPostureDataTooManyRequests with default headers values +func NewGetIdentityPostureDataTooManyRequests() *GetIdentityPostureDataTooManyRequests { + return &GetIdentityPostureDataTooManyRequests{} +} + +/* GetIdentityPostureDataTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type GetIdentityPostureDataTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *GetIdentityPostureDataTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/posture-data][%d] getIdentityPostureDataTooManyRequests %+v", 429, o.Payload) +} +func (o *GetIdentityPostureDataTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *GetIdentityPostureDataTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identities_responses.go b/rest_management_api_client/identity/list_identities_responses.go index 2a0169ec..9b9f2e57 100644 --- a/rest_management_api_client/identity/list_identities_responses.go +++ b/rest_management_api_client/identity/list_identities_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentitiesReader) ReadResponse(response runtime.ClientResponse, con return nil, err } return nil, result + case 429: + result := NewListIdentitiesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentitiesUnauthorized) readResponse(response runtime.ClientRespons return nil } + +// NewListIdentitiesTooManyRequests creates a ListIdentitiesTooManyRequests with default headers values +func NewListIdentitiesTooManyRequests() *ListIdentitiesTooManyRequests { + return &ListIdentitiesTooManyRequests{} +} + +/* ListIdentitiesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentitiesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentitiesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities][%d] listIdentitiesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentitiesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentitiesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identity_edge_routers_responses.go b/rest_management_api_client/identity/list_identity_edge_routers_responses.go index 22bbd2e8..08bcb662 100644 --- a/rest_management_api_client/identity/list_identity_edge_routers_responses.go +++ b/rest_management_api_client/identity/list_identity_edge_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentityEdgeRoutersReader) ReadResponse(response runtime.ClientResp return nil, err } return nil, result + case 429: + result := NewListIdentityEdgeRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentityEdgeRoutersNotFound) readResponse(response runtime.ClientRe return nil } + +// NewListIdentityEdgeRoutersTooManyRequests creates a ListIdentityEdgeRoutersTooManyRequests with default headers values +func NewListIdentityEdgeRoutersTooManyRequests() *ListIdentityEdgeRoutersTooManyRequests { + return &ListIdentityEdgeRoutersTooManyRequests{} +} + +/* ListIdentityEdgeRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentityEdgeRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentityEdgeRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/edge-routers][%d] listIdentityEdgeRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentityEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentityEdgeRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identity_service_policies_responses.go b/rest_management_api_client/identity/list_identity_service_policies_responses.go index e8700989..c76b4c2f 100644 --- a/rest_management_api_client/identity/list_identity_service_policies_responses.go +++ b/rest_management_api_client/identity/list_identity_service_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentityServicePoliciesReader) ReadResponse(response runtime.Client return nil, err } return nil, result + case 429: + result := NewListIdentityServicePoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentityServicePoliciesNotFound) readResponse(response runtime.Clie return nil } + +// NewListIdentityServicePoliciesTooManyRequests creates a ListIdentityServicePoliciesTooManyRequests with default headers values +func NewListIdentityServicePoliciesTooManyRequests() *ListIdentityServicePoliciesTooManyRequests { + return &ListIdentityServicePoliciesTooManyRequests{} +} + +/* ListIdentityServicePoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentityServicePoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentityServicePoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/service-policies][%d] listIdentityServicePoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentityServicePoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentityServicePoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identity_services_responses.go b/rest_management_api_client/identity/list_identity_services_responses.go index 04544f45..8d5e2a54 100644 --- a/rest_management_api_client/identity/list_identity_services_responses.go +++ b/rest_management_api_client/identity/list_identity_services_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentityServicesReader) ReadResponse(response runtime.ClientRespons return nil, err } return nil, result + case 429: + result := NewListIdentityServicesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentityServicesNotFound) readResponse(response runtime.ClientRespo return nil } + +// NewListIdentityServicesTooManyRequests creates a ListIdentityServicesTooManyRequests with default headers values +func NewListIdentityServicesTooManyRequests() *ListIdentityServicesTooManyRequests { + return &ListIdentityServicesTooManyRequests{} +} + +/* ListIdentityServicesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentityServicesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentityServicesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/services][%d] listIdentityServicesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentityServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentityServicesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identity_types_responses.go b/rest_management_api_client/identity/list_identity_types_responses.go index 16beb4b7..19a9f804 100644 --- a/rest_management_api_client/identity/list_identity_types_responses.go +++ b/rest_management_api_client/identity/list_identity_types_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentityTypesReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewListIdentityTypesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentityTypesUnauthorized) readResponse(response runtime.ClientResp return nil } + +// NewListIdentityTypesTooManyRequests creates a ListIdentityTypesTooManyRequests with default headers values +func NewListIdentityTypesTooManyRequests() *ListIdentityTypesTooManyRequests { + return &ListIdentityTypesTooManyRequests{} +} + +/* ListIdentityTypesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentityTypesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentityTypesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identity-types][%d] listIdentityTypesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentityTypesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentityTypesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identitys_edge_router_policies_responses.go b/rest_management_api_client/identity/list_identitys_edge_router_policies_responses.go index 903b97cf..4fa90429 100644 --- a/rest_management_api_client/identity/list_identitys_edge_router_policies_responses.go +++ b/rest_management_api_client/identity/list_identitys_edge_router_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentitysEdgeRouterPoliciesReader) ReadResponse(response runtime.Cl return nil, err } return nil, result + case 429: + result := NewListIdentitysEdgeRouterPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentitysEdgeRouterPoliciesNotFound) readResponse(response runtime. return nil } + +// NewListIdentitysEdgeRouterPoliciesTooManyRequests creates a ListIdentitysEdgeRouterPoliciesTooManyRequests with default headers values +func NewListIdentitysEdgeRouterPoliciesTooManyRequests() *ListIdentitysEdgeRouterPoliciesTooManyRequests { + return &ListIdentitysEdgeRouterPoliciesTooManyRequests{} +} + +/* ListIdentitysEdgeRouterPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentitysEdgeRouterPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentitysEdgeRouterPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/edge-router-policies][%d] listIdentitysEdgeRouterPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentitysEdgeRouterPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentitysEdgeRouterPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/list_identitys_service_configs_responses.go b/rest_management_api_client/identity/list_identitys_service_configs_responses.go index 557a1ece..484e00c9 100644 --- a/rest_management_api_client/identity/list_identitys_service_configs_responses.go +++ b/rest_management_api_client/identity/list_identitys_service_configs_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentitysServiceConfigsReader) ReadResponse(response runtime.Client return nil, err } return nil, result + case 429: + result := NewListIdentitysServiceConfigsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentitysServiceConfigsNotFound) readResponse(response runtime.Clie return nil } + +// NewListIdentitysServiceConfigsTooManyRequests creates a ListIdentitysServiceConfigsTooManyRequests with default headers values +func NewListIdentitysServiceConfigsTooManyRequests() *ListIdentitysServiceConfigsTooManyRequests { + return &ListIdentitysServiceConfigsTooManyRequests{} +} + +/* ListIdentitysServiceConfigsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentitysServiceConfigsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentitysServiceConfigsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identities/{id}/service-configs][%d] listIdentitysServiceConfigsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentitysServiceConfigsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentitysServiceConfigsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/patch_identity_responses.go b/rest_management_api_client/identity/patch_identity_responses.go index 43e2af79..1b325c20 100644 --- a/rest_management_api_client/identity/patch_identity_responses.go +++ b/rest_management_api_client/identity/patch_identity_responses.go @@ -71,6 +71,12 @@ func (o *PatchIdentityReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewPatchIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchIdentityNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewPatchIdentityTooManyRequests creates a PatchIdentityTooManyRequests with default headers values +func NewPatchIdentityTooManyRequests() *PatchIdentityTooManyRequests { + return &PatchIdentityTooManyRequests{} +} + +/* PatchIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /identities/{id}][%d] patchIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/remove_identity_mfa_responses.go b/rest_management_api_client/identity/remove_identity_mfa_responses.go index a57c4955..0dc3658b 100644 --- a/rest_management_api_client/identity/remove_identity_mfa_responses.go +++ b/rest_management_api_client/identity/remove_identity_mfa_responses.go @@ -65,6 +65,12 @@ func (o *RemoveIdentityMfaReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewRemoveIdentityMfaTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *RemoveIdentityMfaNotFound) readResponse(response runtime.ClientResponse return nil } + +// NewRemoveIdentityMfaTooManyRequests creates a RemoveIdentityMfaTooManyRequests with default headers values +func NewRemoveIdentityMfaTooManyRequests() *RemoveIdentityMfaTooManyRequests { + return &RemoveIdentityMfaTooManyRequests{} +} + +/* RemoveIdentityMfaTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type RemoveIdentityMfaTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *RemoveIdentityMfaTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /identities/{id}/mfa][%d] removeIdentityMfaTooManyRequests %+v", 429, o.Payload) +} +func (o *RemoveIdentityMfaTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *RemoveIdentityMfaTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/update_identity_responses.go b/rest_management_api_client/identity/update_identity_responses.go index e17bd1b8..a8e9859f 100644 --- a/rest_management_api_client/identity/update_identity_responses.go +++ b/rest_management_api_client/identity/update_identity_responses.go @@ -71,6 +71,12 @@ func (o *UpdateIdentityReader) ReadResponse(response runtime.ClientResponse, con return nil, err } return nil, result + case 429: + result := NewUpdateIdentityTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateIdentityNotFound) readResponse(response runtime.ClientResponse, c return nil } + +// NewUpdateIdentityTooManyRequests creates a UpdateIdentityTooManyRequests with default headers values +func NewUpdateIdentityTooManyRequests() *UpdateIdentityTooManyRequests { + return &UpdateIdentityTooManyRequests{} +} + +/* UpdateIdentityTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateIdentityTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateIdentityTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /identities/{id}][%d] updateIdentityTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateIdentityTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateIdentityTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/identity/update_identity_tracing_responses.go b/rest_management_api_client/identity/update_identity_tracing_responses.go index f4c60619..9bf7b30f 100644 --- a/rest_management_api_client/identity/update_identity_tracing_responses.go +++ b/rest_management_api_client/identity/update_identity_tracing_responses.go @@ -71,6 +71,12 @@ func (o *UpdateIdentityTracingReader) ReadResponse(response runtime.ClientRespon return nil, err } return nil, result + case 429: + result := NewUpdateIdentityTracingTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateIdentityTracingNotFound) readResponse(response runtime.ClientResp return nil } + +// NewUpdateIdentityTracingTooManyRequests creates a UpdateIdentityTracingTooManyRequests with default headers values +func NewUpdateIdentityTracingTooManyRequests() *UpdateIdentityTracingTooManyRequests { + return &UpdateIdentityTracingTooManyRequests{} +} + +/* UpdateIdentityTracingTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateIdentityTracingTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateIdentityTracingTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /identities/{id}/trace][%d] updateIdentityTracingTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateIdentityTracingTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateIdentityTracingTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/informational/list_summary_responses.go b/rest_management_api_client/informational/list_summary_responses.go index 1486f428..79536cfd 100644 --- a/rest_management_api_client/informational/list_summary_responses.go +++ b/rest_management_api_client/informational/list_summary_responses.go @@ -59,6 +59,12 @@ func (o *ListSummaryReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return nil, result + case 429: + result := NewListSummaryTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -127,3 +133,35 @@ func (o *ListSummaryUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListSummaryTooManyRequests creates a ListSummaryTooManyRequests with default headers values +func NewListSummaryTooManyRequests() *ListSummaryTooManyRequests { + return &ListSummaryTooManyRequests{} +} + +/* ListSummaryTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListSummaryTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListSummaryTooManyRequests) Error() string { + return fmt.Sprintf("[GET /summary][%d] listSummaryTooManyRequests %+v", 429, o.Payload) +} +func (o *ListSummaryTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListSummaryTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/create_posture_check_responses.go b/rest_management_api_client/posture_checks/create_posture_check_responses.go index 833b89bf..7280b907 100644 --- a/rest_management_api_client/posture_checks/create_posture_check_responses.go +++ b/rest_management_api_client/posture_checks/create_posture_check_responses.go @@ -65,6 +65,12 @@ func (o *CreatePostureCheckReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewCreatePostureCheckTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreatePostureCheckUnauthorized) readResponse(response runtime.ClientRes return nil } + +// NewCreatePostureCheckTooManyRequests creates a CreatePostureCheckTooManyRequests with default headers values +func NewCreatePostureCheckTooManyRequests() *CreatePostureCheckTooManyRequests { + return &CreatePostureCheckTooManyRequests{} +} + +/* CreatePostureCheckTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreatePostureCheckTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreatePostureCheckTooManyRequests) Error() string { + return fmt.Sprintf("[POST /posture-checks][%d] createPostureCheckTooManyRequests %+v", 429, o.Payload) +} +func (o *CreatePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreatePostureCheckTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/delete_posture_check_responses.go b/rest_management_api_client/posture_checks/delete_posture_check_responses.go index 230bd8d3..b9dd01dc 100644 --- a/rest_management_api_client/posture_checks/delete_posture_check_responses.go +++ b/rest_management_api_client/posture_checks/delete_posture_check_responses.go @@ -65,6 +65,12 @@ func (o *DeletePostureCheckReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewDeletePostureCheckTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DeletePostureCheckNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewDeletePostureCheckTooManyRequests creates a DeletePostureCheckTooManyRequests with default headers values +func NewDeletePostureCheckTooManyRequests() *DeletePostureCheckTooManyRequests { + return &DeletePostureCheckTooManyRequests{} +} + +/* DeletePostureCheckTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeletePostureCheckTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeletePostureCheckTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /posture-checks/{id}][%d] deletePostureCheckTooManyRequests %+v", 429, o.Payload) +} +func (o *DeletePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeletePostureCheckTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/detail_posture_check_responses.go b/rest_management_api_client/posture_checks/detail_posture_check_responses.go index 22f9f4e4..5aa36d19 100644 --- a/rest_management_api_client/posture_checks/detail_posture_check_responses.go +++ b/rest_management_api_client/posture_checks/detail_posture_check_responses.go @@ -65,6 +65,12 @@ func (o *DetailPostureCheckReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewDetailPostureCheckTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailPostureCheckNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewDetailPostureCheckTooManyRequests creates a DetailPostureCheckTooManyRequests with default headers values +func NewDetailPostureCheckTooManyRequests() *DetailPostureCheckTooManyRequests { + return &DetailPostureCheckTooManyRequests{} +} + +/* DetailPostureCheckTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailPostureCheckTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailPostureCheckTooManyRequests) Error() string { + return fmt.Sprintf("[GET /posture-checks/{id}][%d] detailPostureCheckTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailPostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailPostureCheckTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/detail_posture_check_type_responses.go b/rest_management_api_client/posture_checks/detail_posture_check_type_responses.go index 512336b0..88ff2aa0 100644 --- a/rest_management_api_client/posture_checks/detail_posture_check_type_responses.go +++ b/rest_management_api_client/posture_checks/detail_posture_check_type_responses.go @@ -65,6 +65,12 @@ func (o *DetailPostureCheckTypeReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewDetailPostureCheckTypeTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailPostureCheckTypeNotFound) readResponse(response runtime.ClientRes return nil } + +// NewDetailPostureCheckTypeTooManyRequests creates a DetailPostureCheckTypeTooManyRequests with default headers values +func NewDetailPostureCheckTypeTooManyRequests() *DetailPostureCheckTypeTooManyRequests { + return &DetailPostureCheckTypeTooManyRequests{} +} + +/* DetailPostureCheckTypeTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailPostureCheckTypeTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailPostureCheckTypeTooManyRequests) Error() string { + return fmt.Sprintf("[GET /posture-check-types/{id}][%d] detailPostureCheckTypeTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailPostureCheckTypeTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailPostureCheckTypeTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/list_posture_check_types_responses.go b/rest_management_api_client/posture_checks/list_posture_check_types_responses.go index 41eac3ab..e4dfee43 100644 --- a/rest_management_api_client/posture_checks/list_posture_check_types_responses.go +++ b/rest_management_api_client/posture_checks/list_posture_check_types_responses.go @@ -65,6 +65,12 @@ func (o *ListPostureCheckTypesReader) ReadResponse(response runtime.ClientRespon return nil, err } return nil, result + case 429: + result := NewListPostureCheckTypesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListPostureCheckTypesUnauthorized) readResponse(response runtime.Client return nil } + +// NewListPostureCheckTypesTooManyRequests creates a ListPostureCheckTypesTooManyRequests with default headers values +func NewListPostureCheckTypesTooManyRequests() *ListPostureCheckTypesTooManyRequests { + return &ListPostureCheckTypesTooManyRequests{} +} + +/* ListPostureCheckTypesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListPostureCheckTypesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListPostureCheckTypesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /posture-check-types][%d] listPostureCheckTypesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListPostureCheckTypesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListPostureCheckTypesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/list_posture_checks_responses.go b/rest_management_api_client/posture_checks/list_posture_checks_responses.go index 06cebc43..37a07e47 100644 --- a/rest_management_api_client/posture_checks/list_posture_checks_responses.go +++ b/rest_management_api_client/posture_checks/list_posture_checks_responses.go @@ -65,6 +65,12 @@ func (o *ListPostureChecksReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewListPostureChecksTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListPostureChecksUnauthorized) readResponse(response runtime.ClientResp return nil } + +// NewListPostureChecksTooManyRequests creates a ListPostureChecksTooManyRequests with default headers values +func NewListPostureChecksTooManyRequests() *ListPostureChecksTooManyRequests { + return &ListPostureChecksTooManyRequests{} +} + +/* ListPostureChecksTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListPostureChecksTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListPostureChecksTooManyRequests) Error() string { + return fmt.Sprintf("[GET /posture-checks][%d] listPostureChecksTooManyRequests %+v", 429, o.Payload) +} +func (o *ListPostureChecksTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListPostureChecksTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/patch_posture_check_responses.go b/rest_management_api_client/posture_checks/patch_posture_check_responses.go index 2628052d..47fae5f2 100644 --- a/rest_management_api_client/posture_checks/patch_posture_check_responses.go +++ b/rest_management_api_client/posture_checks/patch_posture_check_responses.go @@ -71,6 +71,12 @@ func (o *PatchPostureCheckReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewPatchPostureCheckTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchPostureCheckNotFound) readResponse(response runtime.ClientResponse return nil } + +// NewPatchPostureCheckTooManyRequests creates a PatchPostureCheckTooManyRequests with default headers values +func NewPatchPostureCheckTooManyRequests() *PatchPostureCheckTooManyRequests { + return &PatchPostureCheckTooManyRequests{} +} + +/* PatchPostureCheckTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchPostureCheckTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchPostureCheckTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /posture-checks/{id}][%d] patchPostureCheckTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchPostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchPostureCheckTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/posture_checks/update_posture_check_responses.go b/rest_management_api_client/posture_checks/update_posture_check_responses.go index df712142..d2787bdd 100644 --- a/rest_management_api_client/posture_checks/update_posture_check_responses.go +++ b/rest_management_api_client/posture_checks/update_posture_check_responses.go @@ -71,6 +71,12 @@ func (o *UpdatePostureCheckReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewUpdatePostureCheckTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdatePostureCheckNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewUpdatePostureCheckTooManyRequests creates a UpdatePostureCheckTooManyRequests with default headers values +func NewUpdatePostureCheckTooManyRequests() *UpdatePostureCheckTooManyRequests { + return &UpdatePostureCheckTooManyRequests{} +} + +/* UpdatePostureCheckTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdatePostureCheckTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdatePostureCheckTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /posture-checks/{id}][%d] updatePostureCheckTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdatePostureCheckTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdatePostureCheckTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/role_attributes/list_edge_router_role_attributes_responses.go b/rest_management_api_client/role_attributes/list_edge_router_role_attributes_responses.go index d18c76a4..6acbadb8 100644 --- a/rest_management_api_client/role_attributes/list_edge_router_role_attributes_responses.go +++ b/rest_management_api_client/role_attributes/list_edge_router_role_attributes_responses.go @@ -65,6 +65,12 @@ func (o *ListEdgeRouterRoleAttributesReader) ReadResponse(response runtime.Clien return nil, err } return nil, result + case 429: + result := NewListEdgeRouterRoleAttributesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListEdgeRouterRoleAttributesUnauthorized) readResponse(response runtime return nil } + +// NewListEdgeRouterRoleAttributesTooManyRequests creates a ListEdgeRouterRoleAttributesTooManyRequests with default headers values +func NewListEdgeRouterRoleAttributesTooManyRequests() *ListEdgeRouterRoleAttributesTooManyRequests { + return &ListEdgeRouterRoleAttributesTooManyRequests{} +} + +/* ListEdgeRouterRoleAttributesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListEdgeRouterRoleAttributesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListEdgeRouterRoleAttributesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /edge-router-role-attributes][%d] listEdgeRouterRoleAttributesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListEdgeRouterRoleAttributesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListEdgeRouterRoleAttributesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/role_attributes/list_identity_role_attributes_responses.go b/rest_management_api_client/role_attributes/list_identity_role_attributes_responses.go index 57c1d9a0..9619518c 100644 --- a/rest_management_api_client/role_attributes/list_identity_role_attributes_responses.go +++ b/rest_management_api_client/role_attributes/list_identity_role_attributes_responses.go @@ -65,6 +65,12 @@ func (o *ListIdentityRoleAttributesReader) ReadResponse(response runtime.ClientR return nil, err } return nil, result + case 429: + result := NewListIdentityRoleAttributesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListIdentityRoleAttributesUnauthorized) readResponse(response runtime.C return nil } + +// NewListIdentityRoleAttributesTooManyRequests creates a ListIdentityRoleAttributesTooManyRequests with default headers values +func NewListIdentityRoleAttributesTooManyRequests() *ListIdentityRoleAttributesTooManyRequests { + return &ListIdentityRoleAttributesTooManyRequests{} +} + +/* ListIdentityRoleAttributesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListIdentityRoleAttributesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListIdentityRoleAttributesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /identity-role-attributes][%d] listIdentityRoleAttributesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListIdentityRoleAttributesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListIdentityRoleAttributesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/role_attributes/list_service_role_attributes_responses.go b/rest_management_api_client/role_attributes/list_service_role_attributes_responses.go index be795b6a..7ccceb85 100644 --- a/rest_management_api_client/role_attributes/list_service_role_attributes_responses.go +++ b/rest_management_api_client/role_attributes/list_service_role_attributes_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceRoleAttributesReader) ReadResponse(response runtime.ClientRe return nil, err } return nil, result + case 429: + result := NewListServiceRoleAttributesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceRoleAttributesUnauthorized) readResponse(response runtime.Cl return nil } + +// NewListServiceRoleAttributesTooManyRequests creates a ListServiceRoleAttributesTooManyRequests with default headers values +func NewListServiceRoleAttributesTooManyRequests() *ListServiceRoleAttributesTooManyRequests { + return &ListServiceRoleAttributesTooManyRequests{} +} + +/* ListServiceRoleAttributesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceRoleAttributesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceRoleAttributesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-role-attributes][%d] listServiceRoleAttributesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceRoleAttributesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceRoleAttributesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/create_router_responses.go b/rest_management_api_client/router/create_router_responses.go index 4e180209..3bd49bb3 100644 --- a/rest_management_api_client/router/create_router_responses.go +++ b/rest_management_api_client/router/create_router_responses.go @@ -65,6 +65,12 @@ func (o *CreateRouterReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewCreateRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateRouterUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewCreateRouterTooManyRequests creates a CreateRouterTooManyRequests with default headers values +func NewCreateRouterTooManyRequests() *CreateRouterTooManyRequests { + return &CreateRouterTooManyRequests{} +} + +/* CreateRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateRouterTooManyRequests) Error() string { + return fmt.Sprintf("[POST /routers][%d] createRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/create_transit_router_responses.go b/rest_management_api_client/router/create_transit_router_responses.go index 843bafa8..b2cfe721 100644 --- a/rest_management_api_client/router/create_transit_router_responses.go +++ b/rest_management_api_client/router/create_transit_router_responses.go @@ -65,6 +65,12 @@ func (o *CreateTransitRouterReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewCreateTransitRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateTransitRouterUnauthorized) readResponse(response runtime.ClientRe return nil } + +// NewCreateTransitRouterTooManyRequests creates a CreateTransitRouterTooManyRequests with default headers values +func NewCreateTransitRouterTooManyRequests() *CreateTransitRouterTooManyRequests { + return &CreateTransitRouterTooManyRequests{} +} + +/* CreateTransitRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateTransitRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateTransitRouterTooManyRequests) Error() string { + return fmt.Sprintf("[POST /transit-routers][%d] createTransitRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateTransitRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateTransitRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/delete_router_responses.go b/rest_management_api_client/router/delete_router_responses.go index 29f8eacc..e8f092c8 100644 --- a/rest_management_api_client/router/delete_router_responses.go +++ b/rest_management_api_client/router/delete_router_responses.go @@ -71,6 +71,12 @@ func (o *DeleteRouterReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewDeleteRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteRouterConflict) readResponse(response runtime.ClientResponse, con return nil } + +// NewDeleteRouterTooManyRequests creates a DeleteRouterTooManyRequests with default headers values +func NewDeleteRouterTooManyRequests() *DeleteRouterTooManyRequests { + return &DeleteRouterTooManyRequests{} +} + +/* DeleteRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteRouterTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /routers/{id}][%d] deleteRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/delete_transit_router_responses.go b/rest_management_api_client/router/delete_transit_router_responses.go index c65cc567..66aea34f 100644 --- a/rest_management_api_client/router/delete_transit_router_responses.go +++ b/rest_management_api_client/router/delete_transit_router_responses.go @@ -71,6 +71,12 @@ func (o *DeleteTransitRouterReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewDeleteTransitRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteTransitRouterConflict) readResponse(response runtime.ClientRespon return nil } + +// NewDeleteTransitRouterTooManyRequests creates a DeleteTransitRouterTooManyRequests with default headers values +func NewDeleteTransitRouterTooManyRequests() *DeleteTransitRouterTooManyRequests { + return &DeleteTransitRouterTooManyRequests{} +} + +/* DeleteTransitRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteTransitRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteTransitRouterTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /transit-routers/{id}][%d] deleteTransitRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteTransitRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteTransitRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/detail_router_responses.go b/rest_management_api_client/router/detail_router_responses.go index 979b6050..5e5020ab 100644 --- a/rest_management_api_client/router/detail_router_responses.go +++ b/rest_management_api_client/router/detail_router_responses.go @@ -65,6 +65,12 @@ func (o *DetailRouterReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewDetailRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailRouterNotFound) readResponse(response runtime.ClientResponse, con return nil } + +// NewDetailRouterTooManyRequests creates a DetailRouterTooManyRequests with default headers values +func NewDetailRouterTooManyRequests() *DetailRouterTooManyRequests { + return &DetailRouterTooManyRequests{} +} + +/* DetailRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailRouterTooManyRequests) Error() string { + return fmt.Sprintf("[GET /routers/{id}][%d] detailRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/detail_transit_router_responses.go b/rest_management_api_client/router/detail_transit_router_responses.go index d9775169..0936b901 100644 --- a/rest_management_api_client/router/detail_transit_router_responses.go +++ b/rest_management_api_client/router/detail_transit_router_responses.go @@ -65,6 +65,12 @@ func (o *DetailTransitRouterReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewDetailTransitRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailTransitRouterNotFound) readResponse(response runtime.ClientRespon return nil } + +// NewDetailTransitRouterTooManyRequests creates a DetailTransitRouterTooManyRequests with default headers values +func NewDetailTransitRouterTooManyRequests() *DetailTransitRouterTooManyRequests { + return &DetailTransitRouterTooManyRequests{} +} + +/* DetailTransitRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailTransitRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailTransitRouterTooManyRequests) Error() string { + return fmt.Sprintf("[GET /transit-routers/{id}][%d] detailTransitRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailTransitRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailTransitRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/list_routers_responses.go b/rest_management_api_client/router/list_routers_responses.go index 173a1bc0..55f31a5a 100644 --- a/rest_management_api_client/router/list_routers_responses.go +++ b/rest_management_api_client/router/list_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListRoutersReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return nil, result + case 429: + result := NewListRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListRoutersUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListRoutersTooManyRequests creates a ListRoutersTooManyRequests with default headers values +func NewListRoutersTooManyRequests() *ListRoutersTooManyRequests { + return &ListRoutersTooManyRequests{} +} + +/* ListRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /routers][%d] listRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/list_transit_routers_responses.go b/rest_management_api_client/router/list_transit_routers_responses.go index e7e905b1..fc3f396e 100644 --- a/rest_management_api_client/router/list_transit_routers_responses.go +++ b/rest_management_api_client/router/list_transit_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListTransitRoutersReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewListTransitRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListTransitRoutersUnauthorized) readResponse(response runtime.ClientRes return nil } + +// NewListTransitRoutersTooManyRequests creates a ListTransitRoutersTooManyRequests with default headers values +func NewListTransitRoutersTooManyRequests() *ListTransitRoutersTooManyRequests { + return &ListTransitRoutersTooManyRequests{} +} + +/* ListTransitRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListTransitRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListTransitRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /transit-routers][%d] listTransitRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListTransitRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListTransitRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/patch_router_responses.go b/rest_management_api_client/router/patch_router_responses.go index 16904578..3b2b399e 100644 --- a/rest_management_api_client/router/patch_router_responses.go +++ b/rest_management_api_client/router/patch_router_responses.go @@ -71,6 +71,12 @@ func (o *PatchRouterReader) ReadResponse(response runtime.ClientResponse, consum return nil, err } return nil, result + case 429: + result := NewPatchRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchRouterNotFound) readResponse(response runtime.ClientResponse, cons return nil } + +// NewPatchRouterTooManyRequests creates a PatchRouterTooManyRequests with default headers values +func NewPatchRouterTooManyRequests() *PatchRouterTooManyRequests { + return &PatchRouterTooManyRequests{} +} + +/* PatchRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchRouterTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /routers/{id}][%d] patchRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/patch_transit_router_responses.go b/rest_management_api_client/router/patch_transit_router_responses.go index dca5dea5..2ddb4bce 100644 --- a/rest_management_api_client/router/patch_transit_router_responses.go +++ b/rest_management_api_client/router/patch_transit_router_responses.go @@ -71,6 +71,12 @@ func (o *PatchTransitRouterReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewPatchTransitRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchTransitRouterNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewPatchTransitRouterTooManyRequests creates a PatchTransitRouterTooManyRequests with default headers values +func NewPatchTransitRouterTooManyRequests() *PatchTransitRouterTooManyRequests { + return &PatchTransitRouterTooManyRequests{} +} + +/* PatchTransitRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchTransitRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchTransitRouterTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /transit-routers/{id}][%d] patchTransitRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchTransitRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchTransitRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/update_router_responses.go b/rest_management_api_client/router/update_router_responses.go index 6295876f..e060f19c 100644 --- a/rest_management_api_client/router/update_router_responses.go +++ b/rest_management_api_client/router/update_router_responses.go @@ -71,6 +71,12 @@ func (o *UpdateRouterReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewUpdateRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateRouterNotFound) readResponse(response runtime.ClientResponse, con return nil } + +// NewUpdateRouterTooManyRequests creates a UpdateRouterTooManyRequests with default headers values +func NewUpdateRouterTooManyRequests() *UpdateRouterTooManyRequests { + return &UpdateRouterTooManyRequests{} +} + +/* UpdateRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateRouterTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /routers/{id}][%d] updateRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/router/update_transit_router_responses.go b/rest_management_api_client/router/update_transit_router_responses.go index 53bbfab1..4954e3a6 100644 --- a/rest_management_api_client/router/update_transit_router_responses.go +++ b/rest_management_api_client/router/update_transit_router_responses.go @@ -71,6 +71,12 @@ func (o *UpdateTransitRouterReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewUpdateTransitRouterTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateTransitRouterNotFound) readResponse(response runtime.ClientRespon return nil } + +// NewUpdateTransitRouterTooManyRequests creates a UpdateTransitRouterTooManyRequests with default headers values +func NewUpdateTransitRouterTooManyRequests() *UpdateTransitRouterTooManyRequests { + return &UpdateTransitRouterTooManyRequests{} +} + +/* UpdateTransitRouterTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateTransitRouterTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateTransitRouterTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /transit-routers/{id}][%d] updateTransitRouterTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateTransitRouterTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateTransitRouterTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/create_service_responses.go b/rest_management_api_client/service/create_service_responses.go index 4d9e8fa8..51ad510a 100644 --- a/rest_management_api_client/service/create_service_responses.go +++ b/rest_management_api_client/service/create_service_responses.go @@ -65,6 +65,12 @@ func (o *CreateServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewCreateServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateServiceUnauthorized) readResponse(response runtime.ClientResponse return nil } + +// NewCreateServiceTooManyRequests creates a CreateServiceTooManyRequests with default headers values +func NewCreateServiceTooManyRequests() *CreateServiceTooManyRequests { + return &CreateServiceTooManyRequests{} +} + +/* CreateServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateServiceTooManyRequests) Error() string { + return fmt.Sprintf("[POST /services][%d] createServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/delete_service_responses.go b/rest_management_api_client/service/delete_service_responses.go index 79d7d292..ef7332d8 100644 --- a/rest_management_api_client/service/delete_service_responses.go +++ b/rest_management_api_client/service/delete_service_responses.go @@ -71,6 +71,12 @@ func (o *DeleteServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDeleteServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteServiceConflict) readResponse(response runtime.ClientResponse, co return nil } + +// NewDeleteServiceTooManyRequests creates a DeleteServiceTooManyRequests with default headers values +func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests { + return &DeleteServiceTooManyRequests{} +} + +/* DeleteServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteServiceTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /services/{id}][%d] deleteServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/detail_service_responses.go b/rest_management_api_client/service/detail_service_responses.go index 86d24584..ab4d3733 100644 --- a/rest_management_api_client/service/detail_service_responses.go +++ b/rest_management_api_client/service/detail_service_responses.go @@ -65,6 +65,12 @@ func (o *DetailServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDetailServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailServiceNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewDetailServiceTooManyRequests creates a DetailServiceTooManyRequests with default headers values +func NewDetailServiceTooManyRequests() *DetailServiceTooManyRequests { + return &DetailServiceTooManyRequests{} +} + +/* DetailServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailServiceTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}][%d] detailServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_service_config_responses.go b/rest_management_api_client/service/list_service_config_responses.go index 75176fd9..2f089c46 100644 --- a/rest_management_api_client/service/list_service_config_responses.go +++ b/rest_management_api_client/service/list_service_config_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceConfigReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewListServiceConfigTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceConfigUnauthorized) readResponse(response runtime.ClientResp return nil } + +// NewListServiceConfigTooManyRequests creates a ListServiceConfigTooManyRequests with default headers values +func NewListServiceConfigTooManyRequests() *ListServiceConfigTooManyRequests { + return &ListServiceConfigTooManyRequests{} +} + +/* ListServiceConfigTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceConfigTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceConfigTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/configs][%d] listServiceConfigTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceConfigTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceConfigTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_service_edge_routers_responses.go b/rest_management_api_client/service/list_service_edge_routers_responses.go index c3b02c2e..df2f1bf0 100644 --- a/rest_management_api_client/service/list_service_edge_routers_responses.go +++ b/rest_management_api_client/service/list_service_edge_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceEdgeRoutersReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListServiceEdgeRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceEdgeRoutersUnauthorized) readResponse(response runtime.Clien return nil } + +// NewListServiceEdgeRoutersTooManyRequests creates a ListServiceEdgeRoutersTooManyRequests with default headers values +func NewListServiceEdgeRoutersTooManyRequests() *ListServiceEdgeRoutersTooManyRequests { + return &ListServiceEdgeRoutersTooManyRequests{} +} + +/* ListServiceEdgeRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceEdgeRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceEdgeRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/edge-routers][%d] listServiceEdgeRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceEdgeRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_service_identities_responses.go b/rest_management_api_client/service/list_service_identities_responses.go index 070ff471..d0c9d611 100644 --- a/rest_management_api_client/service/list_service_identities_responses.go +++ b/rest_management_api_client/service/list_service_identities_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceIdentitiesReader) ReadResponse(response runtime.ClientRespon return nil, err } return nil, result + case 429: + result := NewListServiceIdentitiesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceIdentitiesUnauthorized) readResponse(response runtime.Client return nil } + +// NewListServiceIdentitiesTooManyRequests creates a ListServiceIdentitiesTooManyRequests with default headers values +func NewListServiceIdentitiesTooManyRequests() *ListServiceIdentitiesTooManyRequests { + return &ListServiceIdentitiesTooManyRequests{} +} + +/* ListServiceIdentitiesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceIdentitiesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceIdentitiesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/identities][%d] listServiceIdentitiesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceIdentitiesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceIdentitiesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_service_service_edge_router_policies_responses.go b/rest_management_api_client/service/list_service_service_edge_router_policies_responses.go index 4cc84648..95e9e79d 100644 --- a/rest_management_api_client/service/list_service_service_edge_router_policies_responses.go +++ b/rest_management_api_client/service/list_service_service_edge_router_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceServiceEdgeRouterPoliciesReader) ReadResponse(response runti return nil, err } return nil, result + case 429: + result := NewListServiceServiceEdgeRouterPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) readResponse(response return nil } + +// NewListServiceServiceEdgeRouterPoliciesTooManyRequests creates a ListServiceServiceEdgeRouterPoliciesTooManyRequests with default headers values +func NewListServiceServiceEdgeRouterPoliciesTooManyRequests() *ListServiceServiceEdgeRouterPoliciesTooManyRequests { + return &ListServiceServiceEdgeRouterPoliciesTooManyRequests{} +} + +/* ListServiceServiceEdgeRouterPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceServiceEdgeRouterPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/service-edge-router-policies][%d] listServiceServiceEdgeRouterPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_service_service_policies_responses.go b/rest_management_api_client/service/list_service_service_policies_responses.go index be0b15c1..cf1e4a89 100644 --- a/rest_management_api_client/service/list_service_service_policies_responses.go +++ b/rest_management_api_client/service/list_service_service_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceServicePoliciesReader) ReadResponse(response runtime.ClientR return nil, err } return nil, result + case 429: + result := NewListServiceServicePoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceServicePoliciesUnauthorized) readResponse(response runtime.C return nil } + +// NewListServiceServicePoliciesTooManyRequests creates a ListServiceServicePoliciesTooManyRequests with default headers values +func NewListServiceServicePoliciesTooManyRequests() *ListServiceServicePoliciesTooManyRequests { + return &ListServiceServicePoliciesTooManyRequests{} +} + +/* ListServiceServicePoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceServicePoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceServicePoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/service-policies][%d] listServiceServicePoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceServicePoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceServicePoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_service_terminators_responses.go b/rest_management_api_client/service/list_service_terminators_responses.go index 2b21bab8..6825d7e7 100644 --- a/rest_management_api_client/service/list_service_terminators_responses.go +++ b/rest_management_api_client/service/list_service_terminators_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceTerminatorsReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewListServiceTerminatorsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceTerminatorsUnauthorized) readResponse(response runtime.Clien return nil } + +// NewListServiceTerminatorsTooManyRequests creates a ListServiceTerminatorsTooManyRequests with default headers values +func NewListServiceTerminatorsTooManyRequests() *ListServiceTerminatorsTooManyRequests { + return &ListServiceTerminatorsTooManyRequests{} +} + +/* ListServiceTerminatorsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceTerminatorsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceTerminatorsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services/{id}/terminators][%d] listServiceTerminatorsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceTerminatorsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceTerminatorsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/list_services_responses.go b/rest_management_api_client/service/list_services_responses.go index 3ab23d1f..40eab209 100644 --- a/rest_management_api_client/service/list_services_responses.go +++ b/rest_management_api_client/service/list_services_responses.go @@ -65,6 +65,12 @@ func (o *ListServicesReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewListServicesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServicesUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListServicesTooManyRequests creates a ListServicesTooManyRequests with default headers values +func NewListServicesTooManyRequests() *ListServicesTooManyRequests { + return &ListServicesTooManyRequests{} +} + +/* ListServicesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServicesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServicesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /services][%d] listServicesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServicesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/patch_service_responses.go b/rest_management_api_client/service/patch_service_responses.go index 661e8224..e42386a7 100644 --- a/rest_management_api_client/service/patch_service_responses.go +++ b/rest_management_api_client/service/patch_service_responses.go @@ -71,6 +71,12 @@ func (o *PatchServiceReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewPatchServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchServiceNotFound) readResponse(response runtime.ClientResponse, con return nil } + +// NewPatchServiceTooManyRequests creates a PatchServiceTooManyRequests with default headers values +func NewPatchServiceTooManyRequests() *PatchServiceTooManyRequests { + return &PatchServiceTooManyRequests{} +} + +/* PatchServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchServiceTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /services/{id}][%d] patchServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service/update_service_responses.go b/rest_management_api_client/service/update_service_responses.go index 21f7007c..6b02689c 100644 --- a/rest_management_api_client/service/update_service_responses.go +++ b/rest_management_api_client/service/update_service_responses.go @@ -71,6 +71,12 @@ func (o *UpdateServiceReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewUpdateServiceTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateServiceNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewUpdateServiceTooManyRequests creates a UpdateServiceTooManyRequests with default headers values +func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests { + return &UpdateServiceTooManyRequests{} +} + +/* UpdateServiceTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateServiceTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateServiceTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /services/{id}][%d] updateServiceTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateServiceTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateServiceTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/create_service_edge_router_policy_responses.go b/rest_management_api_client/service_edge_router_policy/create_service_edge_router_policy_responses.go index ebdbfa67..288319af 100644 --- a/rest_management_api_client/service_edge_router_policy/create_service_edge_router_policy_responses.go +++ b/rest_management_api_client/service_edge_router_policy/create_service_edge_router_policy_responses.go @@ -65,6 +65,12 @@ func (o *CreateServiceEdgeRouterPolicyReader) ReadResponse(response runtime.Clie return nil, err } return nil, result + case 429: + result := NewCreateServiceEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateServiceEdgeRouterPolicyUnauthorized) readResponse(response runtim return nil } + +// NewCreateServiceEdgeRouterPolicyTooManyRequests creates a CreateServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewCreateServiceEdgeRouterPolicyTooManyRequests() *CreateServiceEdgeRouterPolicyTooManyRequests { + return &CreateServiceEdgeRouterPolicyTooManyRequests{} +} + +/* CreateServiceEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateServiceEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateServiceEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[POST /service-edge-router-policies][%d] createServiceEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateServiceEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateServiceEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/delete_service_edge_router_policy_responses.go b/rest_management_api_client/service_edge_router_policy/delete_service_edge_router_policy_responses.go index 7a46b278..153a14bb 100644 --- a/rest_management_api_client/service_edge_router_policy/delete_service_edge_router_policy_responses.go +++ b/rest_management_api_client/service_edge_router_policy/delete_service_edge_router_policy_responses.go @@ -71,6 +71,12 @@ func (o *DeleteServiceEdgeRouterPolicyReader) ReadResponse(response runtime.Clie return nil, err } return nil, result + case 429: + result := NewDeleteServiceEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteServiceEdgeRouterPolicyConflict) readResponse(response runtime.Cl return nil } + +// NewDeleteServiceEdgeRouterPolicyTooManyRequests creates a DeleteServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewDeleteServiceEdgeRouterPolicyTooManyRequests() *DeleteServiceEdgeRouterPolicyTooManyRequests { + return &DeleteServiceEdgeRouterPolicyTooManyRequests{} +} + +/* DeleteServiceEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteServiceEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteServiceEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /service-edge-router-policies/{id}][%d] deleteServiceEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteServiceEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteServiceEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/detail_service_edge_router_policy_responses.go b/rest_management_api_client/service_edge_router_policy/detail_service_edge_router_policy_responses.go index 9e36d5fe..07951583 100644 --- a/rest_management_api_client/service_edge_router_policy/detail_service_edge_router_policy_responses.go +++ b/rest_management_api_client/service_edge_router_policy/detail_service_edge_router_policy_responses.go @@ -65,6 +65,12 @@ func (o *DetailServiceEdgeRouterPolicyReader) ReadResponse(response runtime.Clie return nil, err } return nil, result + case 429: + result := NewDetailServiceEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailServiceEdgeRouterPolicyNotFound) readResponse(response runtime.Cl return nil } + +// NewDetailServiceEdgeRouterPolicyTooManyRequests creates a DetailServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewDetailServiceEdgeRouterPolicyTooManyRequests() *DetailServiceEdgeRouterPolicyTooManyRequests { + return &DetailServiceEdgeRouterPolicyTooManyRequests{} +} + +/* DetailServiceEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailServiceEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailServiceEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-edge-router-policies/{id}][%d] detailServiceEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailServiceEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailServiceEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policies_responses.go b/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policies_responses.go index 2e8bb5ad..8911274e 100644 --- a/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policies_responses.go +++ b/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceEdgeRouterPoliciesReader) ReadResponse(response runtime.Clie return nil, err } return nil, result + case 429: + result := NewListServiceEdgeRouterPoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceEdgeRouterPoliciesUnauthorized) readResponse(response runtim return nil } + +// NewListServiceEdgeRouterPoliciesTooManyRequests creates a ListServiceEdgeRouterPoliciesTooManyRequests with default headers values +func NewListServiceEdgeRouterPoliciesTooManyRequests() *ListServiceEdgeRouterPoliciesTooManyRequests { + return &ListServiceEdgeRouterPoliciesTooManyRequests{} +} + +/* ListServiceEdgeRouterPoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceEdgeRouterPoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceEdgeRouterPoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-edge-router-policies][%d] listServiceEdgeRouterPoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceEdgeRouterPoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceEdgeRouterPoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go b/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go index b893ea08..7a8f94d0 100644 --- a/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go +++ b/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceEdgeRouterPolicyEdgeRoutersReader) ReadResponse(response run return nil, err } return nil, result + case 429: + result := NewListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) readResponse(response r return nil } + +// NewListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests creates a ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests with default headers values +func NewListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests() *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests { + return &ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests{} +} + +/* ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-edge-router-policies/{id}/edge-routers][%d] listServiceEdgeRouterPolicyEdgeRoutersTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_services_responses.go b/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_services_responses.go index 4e74b06d..01a6bad8 100644 --- a/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_services_responses.go +++ b/rest_management_api_client/service_edge_router_policy/list_service_edge_router_policy_services_responses.go @@ -65,6 +65,12 @@ func (o *ListServiceEdgeRouterPolicyServicesReader) ReadResponse(response runtim return nil, err } return nil, result + case 429: + result := NewListServiceEdgeRouterPolicyServicesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServiceEdgeRouterPolicyServicesNotFound) readResponse(response runt return nil } + +// NewListServiceEdgeRouterPolicyServicesTooManyRequests creates a ListServiceEdgeRouterPolicyServicesTooManyRequests with default headers values +func NewListServiceEdgeRouterPolicyServicesTooManyRequests() *ListServiceEdgeRouterPolicyServicesTooManyRequests { + return &ListServiceEdgeRouterPolicyServicesTooManyRequests{} +} + +/* ListServiceEdgeRouterPolicyServicesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServiceEdgeRouterPolicyServicesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServiceEdgeRouterPolicyServicesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-edge-router-policies/{id}/services][%d] listServiceEdgeRouterPolicyServicesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServiceEdgeRouterPolicyServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServiceEdgeRouterPolicyServicesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/patch_service_edge_router_policy_responses.go b/rest_management_api_client/service_edge_router_policy/patch_service_edge_router_policy_responses.go index 7c9417e5..00a52a82 100644 --- a/rest_management_api_client/service_edge_router_policy/patch_service_edge_router_policy_responses.go +++ b/rest_management_api_client/service_edge_router_policy/patch_service_edge_router_policy_responses.go @@ -71,6 +71,12 @@ func (o *PatchServiceEdgeRouterPolicyReader) ReadResponse(response runtime.Clien return nil, err } return nil, result + case 429: + result := NewPatchServiceEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchServiceEdgeRouterPolicyNotFound) readResponse(response runtime.Cli return nil } + +// NewPatchServiceEdgeRouterPolicyTooManyRequests creates a PatchServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewPatchServiceEdgeRouterPolicyTooManyRequests() *PatchServiceEdgeRouterPolicyTooManyRequests { + return &PatchServiceEdgeRouterPolicyTooManyRequests{} +} + +/* PatchServiceEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchServiceEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchServiceEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /service-edge-router-policies/{id}][%d] patchServiceEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchServiceEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchServiceEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_edge_router_policy/update_service_edge_router_policy_responses.go b/rest_management_api_client/service_edge_router_policy/update_service_edge_router_policy_responses.go index 228dc1f2..e89ad634 100644 --- a/rest_management_api_client/service_edge_router_policy/update_service_edge_router_policy_responses.go +++ b/rest_management_api_client/service_edge_router_policy/update_service_edge_router_policy_responses.go @@ -71,6 +71,12 @@ func (o *UpdateServiceEdgeRouterPolicyReader) ReadResponse(response runtime.Clie return nil, err } return nil, result + case 429: + result := NewUpdateServiceEdgeRouterPolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateServiceEdgeRouterPolicyNotFound) readResponse(response runtime.Cl return nil } + +// NewUpdateServiceEdgeRouterPolicyTooManyRequests creates a UpdateServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewUpdateServiceEdgeRouterPolicyTooManyRequests() *UpdateServiceEdgeRouterPolicyTooManyRequests { + return &UpdateServiceEdgeRouterPolicyTooManyRequests{} +} + +/* UpdateServiceEdgeRouterPolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateServiceEdgeRouterPolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateServiceEdgeRouterPolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /service-edge-router-policies/{id}][%d] updateServiceEdgeRouterPolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateServiceEdgeRouterPolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateServiceEdgeRouterPolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/create_service_policy_responses.go b/rest_management_api_client/service_policy/create_service_policy_responses.go index ab2869bf..0db95a77 100644 --- a/rest_management_api_client/service_policy/create_service_policy_responses.go +++ b/rest_management_api_client/service_policy/create_service_policy_responses.go @@ -65,6 +65,12 @@ func (o *CreateServicePolicyReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewCreateServicePolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateServicePolicyUnauthorized) readResponse(response runtime.ClientRe return nil } + +// NewCreateServicePolicyTooManyRequests creates a CreateServicePolicyTooManyRequests with default headers values +func NewCreateServicePolicyTooManyRequests() *CreateServicePolicyTooManyRequests { + return &CreateServicePolicyTooManyRequests{} +} + +/* CreateServicePolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateServicePolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateServicePolicyTooManyRequests) Error() string { + return fmt.Sprintf("[POST /service-policies][%d] createServicePolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateServicePolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/delete_service_policy_responses.go b/rest_management_api_client/service_policy/delete_service_policy_responses.go index bbabacbe..84e7f009 100644 --- a/rest_management_api_client/service_policy/delete_service_policy_responses.go +++ b/rest_management_api_client/service_policy/delete_service_policy_responses.go @@ -71,6 +71,12 @@ func (o *DeleteServicePolicyReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewDeleteServicePolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteServicePolicyConflict) readResponse(response runtime.ClientRespon return nil } + +// NewDeleteServicePolicyTooManyRequests creates a DeleteServicePolicyTooManyRequests with default headers values +func NewDeleteServicePolicyTooManyRequests() *DeleteServicePolicyTooManyRequests { + return &DeleteServicePolicyTooManyRequests{} +} + +/* DeleteServicePolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteServicePolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteServicePolicyTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /service-policies/{id}][%d] deleteServicePolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteServicePolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/detail_service_policy_responses.go b/rest_management_api_client/service_policy/detail_service_policy_responses.go index a67c9655..58af948a 100644 --- a/rest_management_api_client/service_policy/detail_service_policy_responses.go +++ b/rest_management_api_client/service_policy/detail_service_policy_responses.go @@ -65,6 +65,12 @@ func (o *DetailServicePolicyReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewDetailServicePolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailServicePolicyNotFound) readResponse(response runtime.ClientRespon return nil } + +// NewDetailServicePolicyTooManyRequests creates a DetailServicePolicyTooManyRequests with default headers values +func NewDetailServicePolicyTooManyRequests() *DetailServicePolicyTooManyRequests { + return &DetailServicePolicyTooManyRequests{} +} + +/* DetailServicePolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailServicePolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailServicePolicyTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-policies/{id}][%d] detailServicePolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailServicePolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/list_service_policies_responses.go b/rest_management_api_client/service_policy/list_service_policies_responses.go index ff9b0a90..001f7951 100644 --- a/rest_management_api_client/service_policy/list_service_policies_responses.go +++ b/rest_management_api_client/service_policy/list_service_policies_responses.go @@ -65,6 +65,12 @@ func (o *ListServicePoliciesReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewListServicePoliciesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServicePoliciesUnauthorized) readResponse(response runtime.ClientRe return nil } + +// NewListServicePoliciesTooManyRequests creates a ListServicePoliciesTooManyRequests with default headers values +func NewListServicePoliciesTooManyRequests() *ListServicePoliciesTooManyRequests { + return &ListServicePoliciesTooManyRequests{} +} + +/* ListServicePoliciesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServicePoliciesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServicePoliciesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-policies][%d] listServicePoliciesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServicePoliciesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServicePoliciesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/list_service_policy_identities_responses.go b/rest_management_api_client/service_policy/list_service_policy_identities_responses.go index 15eba831..4362e696 100644 --- a/rest_management_api_client/service_policy/list_service_policy_identities_responses.go +++ b/rest_management_api_client/service_policy/list_service_policy_identities_responses.go @@ -65,6 +65,12 @@ func (o *ListServicePolicyIdentitiesReader) ReadResponse(response runtime.Client return nil, err } return nil, result + case 429: + result := NewListServicePolicyIdentitiesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServicePolicyIdentitiesUnauthorized) readResponse(response runtime. return nil } + +// NewListServicePolicyIdentitiesTooManyRequests creates a ListServicePolicyIdentitiesTooManyRequests with default headers values +func NewListServicePolicyIdentitiesTooManyRequests() *ListServicePolicyIdentitiesTooManyRequests { + return &ListServicePolicyIdentitiesTooManyRequests{} +} + +/* ListServicePolicyIdentitiesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServicePolicyIdentitiesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServicePolicyIdentitiesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-policies/{id}/identities][%d] listServicePolicyIdentitiesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServicePolicyIdentitiesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServicePolicyIdentitiesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/list_service_policy_posture_checks_responses.go b/rest_management_api_client/service_policy/list_service_policy_posture_checks_responses.go index 5661090d..076e227b 100644 --- a/rest_management_api_client/service_policy/list_service_policy_posture_checks_responses.go +++ b/rest_management_api_client/service_policy/list_service_policy_posture_checks_responses.go @@ -65,6 +65,12 @@ func (o *ListServicePolicyPostureChecksReader) ReadResponse(response runtime.Cli return nil, err } return nil, result + case 429: + result := NewListServicePolicyPostureChecksTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServicePolicyPostureChecksUnauthorized) readResponse(response runti return nil } + +// NewListServicePolicyPostureChecksTooManyRequests creates a ListServicePolicyPostureChecksTooManyRequests with default headers values +func NewListServicePolicyPostureChecksTooManyRequests() *ListServicePolicyPostureChecksTooManyRequests { + return &ListServicePolicyPostureChecksTooManyRequests{} +} + +/* ListServicePolicyPostureChecksTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServicePolicyPostureChecksTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServicePolicyPostureChecksTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-policies/{id}/posture-checks][%d] listServicePolicyPostureChecksTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServicePolicyPostureChecksTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServicePolicyPostureChecksTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/list_service_policy_services_responses.go b/rest_management_api_client/service_policy/list_service_policy_services_responses.go index ee331c92..a25e28e9 100644 --- a/rest_management_api_client/service_policy/list_service_policy_services_responses.go +++ b/rest_management_api_client/service_policy/list_service_policy_services_responses.go @@ -65,6 +65,12 @@ func (o *ListServicePolicyServicesReader) ReadResponse(response runtime.ClientRe return nil, err } return nil, result + case 429: + result := NewListServicePolicyServicesTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListServicePolicyServicesUnauthorized) readResponse(response runtime.Cl return nil } + +// NewListServicePolicyServicesTooManyRequests creates a ListServicePolicyServicesTooManyRequests with default headers values +func NewListServicePolicyServicesTooManyRequests() *ListServicePolicyServicesTooManyRequests { + return &ListServicePolicyServicesTooManyRequests{} +} + +/* ListServicePolicyServicesTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListServicePolicyServicesTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListServicePolicyServicesTooManyRequests) Error() string { + return fmt.Sprintf("[GET /service-policies/{id}/services][%d] listServicePolicyServicesTooManyRequests %+v", 429, o.Payload) +} +func (o *ListServicePolicyServicesTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListServicePolicyServicesTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/patch_service_policy_responses.go b/rest_management_api_client/service_policy/patch_service_policy_responses.go index 1b8c0286..69c5cf8d 100644 --- a/rest_management_api_client/service_policy/patch_service_policy_responses.go +++ b/rest_management_api_client/service_policy/patch_service_policy_responses.go @@ -71,6 +71,12 @@ func (o *PatchServicePolicyReader) ReadResponse(response runtime.ClientResponse, return nil, err } return nil, result + case 429: + result := NewPatchServicePolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchServicePolicyNotFound) readResponse(response runtime.ClientRespons return nil } + +// NewPatchServicePolicyTooManyRequests creates a PatchServicePolicyTooManyRequests with default headers values +func NewPatchServicePolicyTooManyRequests() *PatchServicePolicyTooManyRequests { + return &PatchServicePolicyTooManyRequests{} +} + +/* PatchServicePolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchServicePolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchServicePolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /service-policies/{id}][%d] patchServicePolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchServicePolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/service_policy/update_service_policy_responses.go b/rest_management_api_client/service_policy/update_service_policy_responses.go index e0b90bf5..7f7560da 100644 --- a/rest_management_api_client/service_policy/update_service_policy_responses.go +++ b/rest_management_api_client/service_policy/update_service_policy_responses.go @@ -71,6 +71,12 @@ func (o *UpdateServicePolicyReader) ReadResponse(response runtime.ClientResponse return nil, err } return nil, result + case 429: + result := NewUpdateServicePolicyTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateServicePolicyNotFound) readResponse(response runtime.ClientRespon return nil } + +// NewUpdateServicePolicyTooManyRequests creates a UpdateServicePolicyTooManyRequests with default headers values +func NewUpdateServicePolicyTooManyRequests() *UpdateServicePolicyTooManyRequests { + return &UpdateServicePolicyTooManyRequests{} +} + +/* UpdateServicePolicyTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateServicePolicyTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateServicePolicyTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /service-policies/{id}][%d] updateServicePolicyTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateServicePolicyTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateServicePolicyTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/session/delete_session_responses.go b/rest_management_api_client/session/delete_session_responses.go index 20355442..174d25f4 100644 --- a/rest_management_api_client/session/delete_session_responses.go +++ b/rest_management_api_client/session/delete_session_responses.go @@ -71,6 +71,12 @@ func (o *DeleteSessionReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDeleteSessionTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteSessionConflict) readResponse(response runtime.ClientResponse, co return nil } + +// NewDeleteSessionTooManyRequests creates a DeleteSessionTooManyRequests with default headers values +func NewDeleteSessionTooManyRequests() *DeleteSessionTooManyRequests { + return &DeleteSessionTooManyRequests{} +} + +/* DeleteSessionTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteSessionTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteSessionTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /sessions/{id}][%d] deleteSessionTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteSessionTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteSessionTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/session/detail_session_responses.go b/rest_management_api_client/session/detail_session_responses.go index 766b8f55..8da4ca64 100644 --- a/rest_management_api_client/session/detail_session_responses.go +++ b/rest_management_api_client/session/detail_session_responses.go @@ -65,6 +65,12 @@ func (o *DetailSessionReader) ReadResponse(response runtime.ClientResponse, cons return nil, err } return nil, result + case 429: + result := NewDetailSessionTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailSessionNotFound) readResponse(response runtime.ClientResponse, co return nil } + +// NewDetailSessionTooManyRequests creates a DetailSessionTooManyRequests with default headers values +func NewDetailSessionTooManyRequests() *DetailSessionTooManyRequests { + return &DetailSessionTooManyRequests{} +} + +/* DetailSessionTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailSessionTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailSessionTooManyRequests) Error() string { + return fmt.Sprintf("[GET /sessions/{id}][%d] detailSessionTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailSessionTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailSessionTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/session/detail_session_route_path_responses.go b/rest_management_api_client/session/detail_session_route_path_responses.go index cf6415f3..e83df926 100644 --- a/rest_management_api_client/session/detail_session_route_path_responses.go +++ b/rest_management_api_client/session/detail_session_route_path_responses.go @@ -65,6 +65,12 @@ func (o *DetailSessionRoutePathReader) ReadResponse(response runtime.ClientRespo return nil, err } return nil, result + case 429: + result := NewDetailSessionRoutePathTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailSessionRoutePathNotFound) readResponse(response runtime.ClientRes return nil } + +// NewDetailSessionRoutePathTooManyRequests creates a DetailSessionRoutePathTooManyRequests with default headers values +func NewDetailSessionRoutePathTooManyRequests() *DetailSessionRoutePathTooManyRequests { + return &DetailSessionRoutePathTooManyRequests{} +} + +/* DetailSessionRoutePathTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailSessionRoutePathTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailSessionRoutePathTooManyRequests) Error() string { + return fmt.Sprintf("[GET /sessions/{id}/route-path][%d] detailSessionRoutePathTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailSessionRoutePathTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailSessionRoutePathTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/session/list_sessions_responses.go b/rest_management_api_client/session/list_sessions_responses.go index 93f23e6a..cc3b22fa 100644 --- a/rest_management_api_client/session/list_sessions_responses.go +++ b/rest_management_api_client/session/list_sessions_responses.go @@ -65,6 +65,12 @@ func (o *ListSessionsReader) ReadResponse(response runtime.ClientResponse, consu return nil, err } return nil, result + case 429: + result := NewListSessionsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListSessionsUnauthorized) readResponse(response runtime.ClientResponse, return nil } + +// NewListSessionsTooManyRequests creates a ListSessionsTooManyRequests with default headers values +func NewListSessionsTooManyRequests() *ListSessionsTooManyRequests { + return &ListSessionsTooManyRequests{} +} + +/* ListSessionsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListSessionsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListSessionsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /sessions][%d] listSessionsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListSessionsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListSessionsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/terminator/create_terminator_responses.go b/rest_management_api_client/terminator/create_terminator_responses.go index b10afc1f..4fa4d751 100644 --- a/rest_management_api_client/terminator/create_terminator_responses.go +++ b/rest_management_api_client/terminator/create_terminator_responses.go @@ -65,6 +65,12 @@ func (o *CreateTerminatorReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewCreateTerminatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *CreateTerminatorUnauthorized) readResponse(response runtime.ClientRespo return nil } + +// NewCreateTerminatorTooManyRequests creates a CreateTerminatorTooManyRequests with default headers values +func NewCreateTerminatorTooManyRequests() *CreateTerminatorTooManyRequests { + return &CreateTerminatorTooManyRequests{} +} + +/* CreateTerminatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type CreateTerminatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *CreateTerminatorTooManyRequests) Error() string { + return fmt.Sprintf("[POST /terminators][%d] createTerminatorTooManyRequests %+v", 429, o.Payload) +} +func (o *CreateTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *CreateTerminatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/terminator/delete_terminator_responses.go b/rest_management_api_client/terminator/delete_terminator_responses.go index a8254245..1bb84366 100644 --- a/rest_management_api_client/terminator/delete_terminator_responses.go +++ b/rest_management_api_client/terminator/delete_terminator_responses.go @@ -71,6 +71,12 @@ func (o *DeleteTerminatorReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDeleteTerminatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *DeleteTerminatorConflict) readResponse(response runtime.ClientResponse, return nil } + +// NewDeleteTerminatorTooManyRequests creates a DeleteTerminatorTooManyRequests with default headers values +func NewDeleteTerminatorTooManyRequests() *DeleteTerminatorTooManyRequests { + return &DeleteTerminatorTooManyRequests{} +} + +/* DeleteTerminatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DeleteTerminatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DeleteTerminatorTooManyRequests) Error() string { + return fmt.Sprintf("[DELETE /terminators/{id}][%d] deleteTerminatorTooManyRequests %+v", 429, o.Payload) +} +func (o *DeleteTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DeleteTerminatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/terminator/detail_terminator_responses.go b/rest_management_api_client/terminator/detail_terminator_responses.go index a52ed243..d0367b64 100644 --- a/rest_management_api_client/terminator/detail_terminator_responses.go +++ b/rest_management_api_client/terminator/detail_terminator_responses.go @@ -65,6 +65,12 @@ func (o *DetailTerminatorReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewDetailTerminatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *DetailTerminatorNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewDetailTerminatorTooManyRequests creates a DetailTerminatorTooManyRequests with default headers values +func NewDetailTerminatorTooManyRequests() *DetailTerminatorTooManyRequests { + return &DetailTerminatorTooManyRequests{} +} + +/* DetailTerminatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type DetailTerminatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *DetailTerminatorTooManyRequests) Error() string { + return fmt.Sprintf("[GET /terminators/{id}][%d] detailTerminatorTooManyRequests %+v", 429, o.Payload) +} +func (o *DetailTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *DetailTerminatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/terminator/list_terminators_responses.go b/rest_management_api_client/terminator/list_terminators_responses.go index 7d4174bb..0cb3f997 100644 --- a/rest_management_api_client/terminator/list_terminators_responses.go +++ b/rest_management_api_client/terminator/list_terminators_responses.go @@ -65,6 +65,12 @@ func (o *ListTerminatorsReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewListTerminatorsTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -165,3 +171,35 @@ func (o *ListTerminatorsUnauthorized) readResponse(response runtime.ClientRespon return nil } + +// NewListTerminatorsTooManyRequests creates a ListTerminatorsTooManyRequests with default headers values +func NewListTerminatorsTooManyRequests() *ListTerminatorsTooManyRequests { + return &ListTerminatorsTooManyRequests{} +} + +/* ListTerminatorsTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type ListTerminatorsTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *ListTerminatorsTooManyRequests) Error() string { + return fmt.Sprintf("[GET /terminators][%d] listTerminatorsTooManyRequests %+v", 429, o.Payload) +} +func (o *ListTerminatorsTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *ListTerminatorsTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/terminator/patch_terminator_responses.go b/rest_management_api_client/terminator/patch_terminator_responses.go index ce8b2125..4eac7bd0 100644 --- a/rest_management_api_client/terminator/patch_terminator_responses.go +++ b/rest_management_api_client/terminator/patch_terminator_responses.go @@ -71,6 +71,12 @@ func (o *PatchTerminatorReader) ReadResponse(response runtime.ClientResponse, co return nil, err } return nil, result + case 429: + result := NewPatchTerminatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *PatchTerminatorNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewPatchTerminatorTooManyRequests creates a PatchTerminatorTooManyRequests with default headers values +func NewPatchTerminatorTooManyRequests() *PatchTerminatorTooManyRequests { + return &PatchTerminatorTooManyRequests{} +} + +/* PatchTerminatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type PatchTerminatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *PatchTerminatorTooManyRequests) Error() string { + return fmt.Sprintf("[PATCH /terminators/{id}][%d] patchTerminatorTooManyRequests %+v", 429, o.Payload) +} +func (o *PatchTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *PatchTerminatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_client/terminator/update_terminator_responses.go b/rest_management_api_client/terminator/update_terminator_responses.go index 88163b30..1cc30671 100644 --- a/rest_management_api_client/terminator/update_terminator_responses.go +++ b/rest_management_api_client/terminator/update_terminator_responses.go @@ -71,6 +71,12 @@ func (o *UpdateTerminatorReader) ReadResponse(response runtime.ClientResponse, c return nil, err } return nil, result + case 429: + result := NewUpdateTerminatorTooManyRequests() + if err := result.readResponse(response, consumer, o.formats); err != nil { + return nil, err + } + return nil, result default: return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code()) } @@ -203,3 +209,35 @@ func (o *UpdateTerminatorNotFound) readResponse(response runtime.ClientResponse, return nil } + +// NewUpdateTerminatorTooManyRequests creates a UpdateTerminatorTooManyRequests with default headers values +func NewUpdateTerminatorTooManyRequests() *UpdateTerminatorTooManyRequests { + return &UpdateTerminatorTooManyRequests{} +} + +/* UpdateTerminatorTooManyRequests describes a response with status code 429, with default header values. + +The resource requested is rate limited and the rate limit has been exceeded +*/ +type UpdateTerminatorTooManyRequests struct { + Payload *rest_model.APIErrorEnvelope +} + +func (o *UpdateTerminatorTooManyRequests) Error() string { + return fmt.Sprintf("[PUT /terminators/{id}][%d] updateTerminatorTooManyRequests %+v", 429, o.Payload) +} +func (o *UpdateTerminatorTooManyRequests) GetPayload() *rest_model.APIErrorEnvelope { + return o.Payload +} + +func (o *UpdateTerminatorTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { + + o.Payload = new(rest_model.APIErrorEnvelope) + + // response payload + if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { + return err + } + + return nil +} diff --git a/rest_management_api_server/doc.go b/rest_management_api_server/doc.go index 05b95fad..ae5ddcfc 100644 --- a/rest_management_api_server/doc.go +++ b/rest_management_api_server/doc.go @@ -30,7 +30,7 @@ // https // Host: demo.ziti.dev // BasePath: /edge/management/v1 -// Version: 0.25.32 +// Version: 0.26.0 // License: Apache 2.0 https://www.apache.org/licenses/LICENSE-2.0.html // Contact: OpenZiti https://openziti.discourse.group // diff --git a/rest_management_api_server/embedded_spec.go b/rest_management_api_server/embedded_spec.go index 77df236a..abcdac48 100644 --- a/rest_management_api_server/embedded_spec.go +++ b/rest_management_api_server/embedded_spec.go @@ -64,7 +64,7 @@ func init() { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.25.32" + "version": "0.26.0" }, "host": "demo.ziti.dev", "basePath": "/edge/management/v1", @@ -215,6 +215,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -288,6 +311,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -359,6 +405,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -474,6 +543,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -567,6 +659,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -640,6 +755,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -759,6 +897,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -841,6 +1002,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -960,6 +1144,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1259,6 +1466,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1352,6 +1582,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -1425,6 +1678,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1544,6 +1820,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1626,6 +1925,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1745,6 +2067,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1838,6 +2183,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -1953,125 +2321,9 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Creates a CA in an unverified state. Requires admin access.", - "tags": [ - "Certificate Authority" - ], - "summary": "Creates a CA", - "operationId": "createCa", - "parameters": [ - { - "description": "A CA to create", - "name": "ca", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/caCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - } - } - } - }, - "/cas/{id}": { - "get": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Retrieves a single CA by id. Requires admin access.", - "tags": [ - "Certificate Authority" - ], - "summary": "Retrieves a single CA", - "operationId": "detailCa", - "responses": { - "200": { - "description": "A singular Certificate Authority (CA) resource", - "schema": { - "$ref": "#/definitions/detailCaEnvelope" - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -2081,36 +2333,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -2122,34 +2347,246 @@ func init() { } } }, - "put": { + "post": { "security": [ { "ztSession": [] } ], - "description": "Update all fields on a CA by id. Requires admin access.", + "description": "Creates a CA in an unverified state. Requires admin access.", "tags": [ "Certificate Authority" ], - "summary": "Update all fields on a CA", - "operationId": "updateCa", + "summary": "Creates a CA", + "operationId": "createCa", "parameters": [ { - "description": "A CA update object", + "description": "A CA to create", "name": "ca", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/caUpdate" + "$ref": "#/definitions/caCreate" } } ], "responses": { - "200": { - "description": "The update request was successful and the resource has been altered", + "201": { + "description": "The create request was successful and the resource has been added at the following location", "schema": { - "$ref": "#/definitions/empty" + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + } + }, + "/cas/{id}": { + "get": { + "security": [ + { + "ztSession": [] + } + ], + "description": "Retrieves a single CA by id. Requires admin access.", + "tags": [ + "Certificate Authority" + ], + "summary": "Retrieves a single CA", + "operationId": "detailCa", + "responses": { + "200": { + "description": "A singular Certificate Authority (CA) resource", + "schema": { + "$ref": "#/definitions/detailCaEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "put": { + "security": [ + { + "ztSession": [] + } + ], + "description": "Update all fields on a CA by id. Requires admin access.", + "tags": [ + "Certificate Authority" + ], + "summary": "Update all fields on a CA", + "operationId": "updateCa", + "parameters": [ + { + "description": "A CA update object", + "name": "ca", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/caUpdate" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful and the resource has been altered", + "schema": { + "$ref": "#/definitions/empty" } }, "400": { @@ -2238,6 +2675,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2320,6 +2780,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2439,6 +2922,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2527,6 +3033,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2660,6 +3189,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2775,6 +3327,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -2867,6 +3442,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -2940,6 +3538,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3059,6 +3680,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3166,6 +3810,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3285,6 +3952,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3317,6 +4007,29 @@ func init() { "schema": { "$ref": "#/definitions/listConfigsEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3432,6 +4145,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3530,6 +4266,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -3608,83 +4367,9 @@ func init() { } } } - } - } - }, - "put": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Update all fields on a config by id. Requires admin access.", - "tags": [ - "Config" - ], - "summary": "Update all fields on a config", - "operationId": "updateConfig", - "parameters": [ - { - "description": "A config update object", - "name": "config", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/configUpdate" - } - } - ], - "responses": { - "200": { - "description": "The update request was successful and the resource has been altered", - "schema": { - "$ref": "#/definitions/empty" - } }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -3694,36 +4379,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -3735,7 +4393,7 @@ func init() { } } }, - "delete": { + "put": { "security": [ { "ztSession": [] @@ -3746,15 +4404,162 @@ func init() { ] } ], - "description": "Delete a config by id. Requires admin access.", + "description": "Update all fields on a config by id. Requires admin access.", "tags": [ "Config" ], - "summary": "Delete a config", - "operationId": "deleteConfig", + "summary": "Update all fields on a config", + "operationId": "updateConfig", + "parameters": [ + { + "description": "A config update object", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/configUpdate" + } + } + ], "responses": { "200": { - "description": "The delete request was successful and the resource has been removed", + "description": "The update request was successful and the resource has been altered", + "schema": { + "$ref": "#/definitions/empty" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "delete": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Delete a config by id. Requires admin access.", + "tags": [ + "Config" + ], + "summary": "Delete a config", + "operationId": "deleteConfig", + "responses": { + "200": { + "description": "The delete request was successful and the resource has been removed", "schema": { "$ref": "#/definitions/empty" } @@ -3844,6 +4649,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -3968,6 +4796,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -5458,6 +6309,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -5709,6 +6583,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -5807,6 +6704,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -5885,6 +6805,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6009,6 +6952,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6121,6 +7087,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6245,6 +7234,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6332,6 +7344,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6419,6 +7454,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6534,6 +7592,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -6654,6 +7735,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6747,6 +7851,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -6820,6 +7947,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -6939,6 +8089,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7046,6 +8219,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7165,6 +8361,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7247,6 +8466,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7329,6 +8571,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7411,6 +8676,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7493,6 +8781,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7575,6 +8886,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7690,6 +9024,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -7794,6 +9151,29 @@ func init() { "schema": { "$ref": "#/definitions/apiErrorEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -7872,72 +9252,9 @@ func init() { } } } - } - } - }, - "delete": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Delete an outstanding enrollment by id. Requires admin access.", - "tags": [ - "Enrollment" - ], - "summary": "Delete an outstanding enrollment", - "operationId": "deleteEnrollment", - "responses": { - "200": { - "description": "The delete request was successful and the resource has been removed", - "schema": { - "$ref": "#/definitions/empty" - } }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -7947,11 +9264,10 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -7962,18 +9278,7 @@ func init() { } } }, - "parameters": [ - { - "type": "string", - "description": "The id of the requested resource", - "name": "id", - "in": "path", - "required": true - } - ] - }, - "/enrollments/{id}/refresh": { - "post": { + "delete": { "security": [ { "ztSession": [] @@ -7984,28 +9289,17 @@ func init() { ] } ], - "description": "For expired or unexpired enrollments, reset the expiration window. A new JWT will be generated and must be used for the enrollment.", + "description": "Delete an outstanding enrollment by id. Requires admin access.", "tags": [ "Enrollment" ], - "summary": "Refreshes an enrollment record's expiration window", - "operationId": "refreshEnrollment", - "parameters": [ - { - "description": "An enrollment refresh request", - "name": "refresh", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/enrollmentRefresh" - } - } - ], + "summary": "Delete an outstanding enrollment", + "operationId": "deleteEnrollment", "responses": { "200": { - "description": "The create request was successful and the resource has been added at the following location", + "description": "The delete request was successful and the resource has been removed", "schema": { - "$ref": "#/definitions/createEnvelope" + "$ref": "#/definitions/empty" } }, "400": { @@ -8068,6 +9362,161 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "parameters": [ + { + "type": "string", + "description": "The id of the requested resource", + "name": "id", + "in": "path", + "required": true + } + ] + }, + "/enrollments/{id}/refresh": { + "post": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "For expired or unexpired enrollments, reset the expiration window. A new JWT will be generated and must be used for the enrollment.", + "tags": [ + "Enrollment" + ], + "summary": "Refreshes an enrollment record's expiration window", + "operationId": "refreshEnrollment", + "parameters": [ + { + "description": "An enrollment refresh request", + "name": "refresh", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/enrollmentRefresh" + } + } + ], + "responses": { + "200": { + "description": "The create request was successful and the resource has been added at the following location", + "schema": { + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8201,6 +9650,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8299,6 +9771,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -8377,6 +9872,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8501,6 +10019,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8588,6 +10129,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8712,6 +10276,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8841,6 +10428,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -8939,6 +10549,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -9017,6 +10650,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9141,6 +10797,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9253,6 +10932,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9377,6 +11079,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9459,6 +11184,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9552,46 +11300,9 @@ func init() { } } } - } - } - }, - "parameters": [ - { - "type": "string", - "description": "The id of the requested resource", - "name": "id", - "in": "path", - "required": true - } - ] - }, - "/identities/{id}/edge-router-policies": { - "get": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Retrieves a list of edge router policies that apply to the specified identity.", - "tags": [ - "Identity" - ], - "summary": "List the edge router policies that affect an identity", - "operationId": "listIdentitysEdgeRouterPolicies", - "responses": { - "200": { - "description": "A list of edge router policies", - "schema": { - "$ref": "#/definitions/listEdgeRouterPoliciesEnvelope" - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -9601,36 +11312,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -9652,7 +11336,7 @@ func init() { } ] }, - "/identities/{id}/edge-routers": { + "/identities/{id}/edge-router-policies": { "get": { "security": [ { @@ -9664,17 +11348,17 @@ func init() { ] } ], - "description": "Retrieves a list of edge-routers that the given identity may use to access services. Supports filtering, sorting, and pagination. Requires admin access.\n", + "description": "Retrieves a list of edge router policies that apply to the specified identity.", "tags": [ "Identity" ], - "summary": "List accessible edge-routers", - "operationId": "listIdentityEdgeRouters", + "summary": "List the edge router policies that affect an identity", + "operationId": "listIdentitysEdgeRouterPolicies", "responses": { "200": { - "description": "A list of edge routers", + "description": "A list of edge router policies", "schema": { - "$ref": "#/definitions/listEdgeRoutersEnvelope" + "$ref": "#/definitions/listEdgeRouterPoliciesEnvelope" } }, "401": { @@ -9726,6 +11410,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9739,24 +11446,29 @@ func init() { } ] }, - "/identities/{id}/enable": { - "post": { + "/identities/{id}/edge-routers": { + "get": { "security": [ { "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] } ], - "description": "Allows an admin to remove disabled statuses from an identity.\n", + "description": "Retrieves a list of edge-routers that the given identity may use to access services. Supports filtering, sorting, and pagination. Requires admin access.\n", "tags": [ "Identity" ], - "summary": "Clears all disabled state from an identity", - "operationId": "enableIdentity", + "summary": "List accessible edge-routers", + "operationId": "listIdentityEdgeRouters", "responses": { "200": { - "description": "Base empty response", + "description": "A list of edge routers", "schema": { - "$ref": "#/definitions/empty" + "$ref": "#/definitions/listEdgeRoutersEnvelope" } }, "401": { @@ -9808,6 +11520,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9821,24 +11556,24 @@ func init() { } ] }, - "/identities/{id}/enrollments": { - "get": { + "/identities/{id}/enable": { + "post": { "security": [ { "ztSession": [] } ], - "description": "Returns a list of enrollments associated to the identity specified\n", + "description": "Allows an admin to remove disabled statuses from an identity.\n", "tags": [ "Identity" ], - "summary": "Retrieve the current enrollments of a specific identity", - "operationId": "getIdentityEnrollments", + "summary": "Clears all disabled state from an identity", + "operationId": "enableIdentity", "responses": { "200": { - "description": "A list of enrollments", + "description": "Base empty response", "schema": { - "$ref": "#/definitions/listEnrollmentsEnvelope" + "$ref": "#/definitions/empty" } }, "401": { @@ -9890,6 +11625,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -9903,24 +11661,24 @@ func init() { } ] }, - "/identities/{id}/failed-service-requests": { + "/identities/{id}/enrollments": { "get": { "security": [ { "ztSession": [] } ], - "description": "Returns a list of service session requests that failed due to posture checks. The entries will contain\nevery policy that was verified against and every failed check in each policy. Each check will include\nthe historical posture data and posture check configuration.\n", + "description": "Returns a list of enrollments associated to the identity specified\n", "tags": [ "Identity" ], - "summary": "Retrieve a list of the most recent service failure requests due to posture checks", - "operationId": "getIdentityFailedServiceRequests", + "summary": "Retrieve the current enrollments of a specific identity", + "operationId": "getIdentityEnrollments", "responses": { "200": { - "description": "Returns a list of service request failures", + "description": "A list of enrollments", "schema": { - "$ref": "#/definitions/failedServiceRequestEnvelope" + "$ref": "#/definitions/listEnrollmentsEnvelope" } }, "401": { @@ -9972,42 +11730,9 @@ func init() { } } } - } - } - }, - "parameters": [ - { - "type": "string", - "description": "The id of the requested resource", - "name": "id", - "in": "path", - "required": true - } - ] - }, - "/identities/{id}/mfa": { - "delete": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Allows an admin to remove MFA enrollment from a specific identity. Requires admin.\n", - "tags": [ - "Identity", - "MFA" - ], - "summary": "Remove MFA from an identitity", - "operationId": "removeIdentityMfa", - "responses": { - "200": { - "description": "Base empty response", - "schema": { - "$ref": "#/definitions/empty" - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -10017,36 +11742,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -10068,29 +11766,24 @@ func init() { } ] }, - "/identities/{id}/policy-advice/{serviceId}": { + "/identities/{id}/failed-service-requests": { "get": { "security": [ { "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] } ], - "description": "Analyzes policies to see if the given identity should be able to dial or bind the given service. |\nWill check services policies to see if the identity can access the service. Will check edge router policies |\nto check if the identity and service have access to common edge routers so that a connnection can be made. |\nWill also check if at least one edge router is on-line. Requires admin access.\n", + "description": "Returns a list of service session requests that failed due to posture checks. The entries will contain\nevery policy that was verified against and every failed check in each policy. Each check will include\nthe historical posture data and posture check configuration.\n", "tags": [ "Identity" ], - "summary": "Analyze policies relating the given identity and service", - "operationId": "getIdentityPolicyAdvice", + "summary": "Retrieve a list of the most recent service failure requests due to posture checks", + "operationId": "getIdentityFailedServiceRequests", "responses": { "200": { - "description": "Returns the document that represents the policy advice", + "description": "Returns a list of service request failures", "schema": { - "$ref": "#/definitions/getIdentityPolicyAdviceEnvelope" + "$ref": "#/definitions/failedServiceRequestEnvelope" } }, "401": { @@ -10142,6 +11835,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10152,39 +11868,28 @@ func init() { "name": "id", "in": "path", "required": true - }, - { - "type": "string", - "description": "The id of a service", - "name": "serviceId", - "in": "path", - "required": true } ] }, - "/identities/{id}/posture-data": { - "get": { + "/identities/{id}/mfa": { + "delete": { "security": [ { "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] } ], - "description": "Returns a nested map data represeting the posture data of the identity.\nThis data should be considered volatile.\n", + "description": "Allows an admin to remove MFA enrollment from a specific identity. Requires admin.\n", "tags": [ - "Identity" + "Identity", + "MFA" ], - "summary": "Retrieve the curent posture data for a specific identity.", - "operationId": "getIdentityPostureData", + "summary": "Remove MFA from an identitity", + "operationId": "removeIdentityMfa", "responses": { "200": { - "description": "Returns the document that represents posture data", + "description": "Base empty response", "schema": { - "$ref": "#/definitions/postureDataEnvelope" + "$ref": "#/definitions/empty" } }, "401": { @@ -10236,6 +11941,256 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "parameters": [ + { + "type": "string", + "description": "The id of the requested resource", + "name": "id", + "in": "path", + "required": true + } + ] + }, + "/identities/{id}/policy-advice/{serviceId}": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Analyzes policies to see if the given identity should be able to dial or bind the given service. |\nWill check services policies to see if the identity can access the service. Will check edge router policies |\nto check if the identity and service have access to common edge routers so that a connnection can be made. |\nWill also check if at least one edge router is on-line. Requires admin access.\n", + "tags": [ + "Identity" + ], + "summary": "Analyze policies relating the given identity and service", + "operationId": "getIdentityPolicyAdvice", + "responses": { + "200": { + "description": "Returns the document that represents the policy advice", + "schema": { + "$ref": "#/definitions/getIdentityPolicyAdviceEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "parameters": [ + { + "type": "string", + "description": "The id of the requested resource", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "The id of a service", + "name": "serviceId", + "in": "path", + "required": true + } + ] + }, + "/identities/{id}/posture-data": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Returns a nested map data represeting the posture data of the identity.\nThis data should be considered volatile.\n", + "tags": [ + "Identity" + ], + "summary": "Retrieve the curent posture data for a specific identity.", + "operationId": "getIdentityPostureData", + "responses": { + "200": { + "description": "Returns the document that represents posture data", + "schema": { + "$ref": "#/definitions/postureDataEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10323,6 +12278,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10447,6 +12425,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10570,6 +12571,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10657,6 +12681,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10744,6 +12791,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10875,6 +12945,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -10985,6 +13078,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -11091,6 +13207,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -11169,6 +13308,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -11287,6 +13449,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -11365,6 +13550,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -11497,6 +13705,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -11595,6 +13826,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -11673,6 +13927,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -11797,6 +14074,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -11873,6 +14173,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -11997,6 +14320,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -12112,46 +14458,205 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Create a router resource. Requires admin access.", - "tags": [ - "Router" - ], - "summary": "Create a router resource", - "operationId": "createRouter", - "parameters": [ - { - "description": "A router to create", - "name": "router", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/routerCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "post": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Create a router resource. Requires admin access.", + "tags": [ + "Router" + ], + "summary": "Create a router resource", + "operationId": "createRouter", + "parameters": [ + { + "description": "A router to create", + "name": "router", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/routerCreate" + } + } + ], + "responses": { + "201": { + "description": "The create request was successful and the resource has been added at the following location", + "schema": { + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + } + }, + "/routers/{id}": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Retrieves a single router by id. Requires admin access.", + "tags": [ + "Router" + ], + "summary": "Retrieves a single router", + "operationId": "detailRouter", + "responses": { + "200": { + "description": "A single router", + "schema": { + "$ref": "#/definitions/detailRouterEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -12159,50 +14664,15 @@ func init() { "application/json": { "error": { "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" } }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": "", + "cause": null, "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -12210,37 +14680,9 @@ func init() { } } } - } - } - } - }, - "/routers/{id}": { - "get": { - "security": [ - { - "ztSession": [] }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Retrieves a single router by id. Requires admin access.", - "tags": [ - "Router" - ], - "summary": "Retrieves a single router", - "operationId": "detailRouter", - "responses": { - "200": { - "description": "A single router", - "schema": { - "$ref": "#/definitions/detailRouterEnvelope" - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -12250,36 +14692,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -12412,6 +14827,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -12524,6 +14962,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -12648,6 +15109,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -12763,6 +15247,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -12861,6 +15368,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -12939,6 +15469,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13063,6 +15616,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13175,6 +15751,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13299,6 +15898,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13386,6 +16008,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13448,8 +16093,167 @@ func init() { } } }, - "404": { - "description": "The requested resource does not exist", + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "parameters": [ + { + "type": "string", + "description": "The id of the requested resource", + "name": "id", + "in": "path", + "required": true + } + ] + }, + "/service-policies": { + "get": { + "security": [ + { + "ztSession": [] + } + ], + "description": "Retrieves a list of service policy resources; supports filtering, sorting, and pagination. Requires admin access.\n", + "tags": [ + "Service Policy" + ], + "summary": "List service policies", + "operationId": "listServicePolicies", + "parameters": [ + { + "type": "integer", + "name": "limit", + "in": "query" + }, + { + "type": "integer", + "name": "offset", + "in": "query" + }, + { + "type": "string", + "name": "filter", + "in": "query" + } + ], + "responses": { + "200": { + "description": "A list of service policies", + "schema": { + "$ref": "#/definitions/listServicePoliciesEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -13457,14 +16261,11 @@ func init() { "application/json": { "error": { "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } + "urlVars": {} }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -13476,51 +16277,34 @@ func init() { } } }, - "parameters": [ - { - "type": "string", - "description": "The id of the requested resource", - "name": "id", - "in": "path", - "required": true - } - ] - }, - "/service-policies": { - "get": { + "post": { "security": [ { "ztSession": [] } ], - "description": "Retrieves a list of service policy resources; supports filtering, sorting, and pagination. Requires admin access.\n", + "description": "Create a service policy resource. Requires admin access.", "tags": [ "Service Policy" ], - "summary": "List service policies", - "operationId": "listServicePolicies", + "summary": "Create a service policy resource", + "operationId": "createServicePolicy", "parameters": [ { - "type": "integer", - "name": "limit", - "in": "query" - }, - { - "type": "integer", - "name": "offset", - "in": "query" - }, - { - "type": "string", - "name": "filter", - "in": "query" + "description": "A service policy to create", + "name": "policy", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/servicePolicyCreate" + } } ], "responses": { - "200": { - "description": "A list of service policies", + "201": { + "description": "The create request was successful and the resource has been added at the following location", "schema": { - "$ref": "#/definitions/listServicePoliciesEnvelope" + "$ref": "#/definitions/createEnvelope" } }, "400": { @@ -13583,78 +16367,9 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Create a service policy resource. Requires admin access.", - "tags": [ - "Service Policy" - ], - "summary": "Create a service policy resource", - "operationId": "createServicePolicy", - "parameters": [ - { - "description": "A service policy to create", - "name": "policy", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/servicePolicyCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -13664,11 +16379,10 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -13749,6 +16463,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13868,6 +16605,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -13975,6 +16735,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -14094,6 +16877,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -14193,6 +16999,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -14292,6 +17121,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -14391,6 +17243,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -14501,6 +17376,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -14621,6 +17519,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -14719,6 +17640,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -14797,83 +17741,156 @@ func init() { } } } - } - } - }, - "put": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Update all fields on a service by id. Requires admin access.", - "tags": [ - "Service" - ], - "summary": "Update all fields on a service", - "operationId": "updateService", - "parameters": [ - { - "description": "A service update object", - "name": "service", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/serviceUpdate" - } - } - ], - "responses": { - "200": { - "description": "The update request was successful and the resource has been altered", - "schema": { - "$ref": "#/definitions/empty" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "put": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Update all fields on a service by id. Requires admin access.", + "tags": [ + "Service" + ], + "summary": "Update all fields on a service", + "operationId": "updateService", + "parameters": [ + { + "description": "A service update object", + "name": "service", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/serviceUpdate" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful and the resource has been altered", + "schema": { + "$ref": "#/definitions/empty" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -14883,36 +17900,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -15033,6 +18023,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15157,6 +18170,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15272,6 +18308,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15387,6 +18446,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15502,6 +18584,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15617,6 +18722,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15732,6 +18860,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15847,6 +18998,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -15962,6 +19136,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -16040,6 +19237,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -16152,6 +19372,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -16239,6 +19482,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -16374,6 +19640,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -16480,46 +19769,205 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Create a terminator resource. Requires admin access.", - "tags": [ - "Terminator" - ], - "summary": "Create a terminator resource", - "operationId": "createTerminator", - "parameters": [ - { - "description": "A terminator to create", - "name": "terminator", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/terminatorCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "post": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Create a terminator resource. Requires admin access.", + "tags": [ + "Terminator" + ], + "summary": "Create a terminator resource", + "operationId": "createTerminator", + "parameters": [ + { + "description": "A terminator to create", + "name": "terminator", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/terminatorCreate" + } + } + ], + "responses": { + "201": { + "description": "The create request was successful and the resource has been added at the following location", + "schema": { + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + } + }, + "/terminators/{id}": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Retrieves a single terminator by id. Requires admin access.", + "tags": [ + "Terminator" + ], + "summary": "Retrieves a single terminator", + "operationId": "detailTerminator", + "responses": { + "200": { + "description": "A single terminator", + "schema": { + "$ref": "#/definitions/detailTerminatorEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -16527,50 +19975,15 @@ func init() { "application/json": { "error": { "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" } }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": "", + "cause": null, "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -16578,37 +19991,9 @@ func init() { } } } - } - } - } - }, - "/terminators/{id}": { - "get": { - "security": [ - { - "ztSession": [] }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Retrieves a single terminator by id. Requires admin access.", - "tags": [ - "Terminator" - ], - "summary": "Retrieves a single terminator", - "operationId": "detailTerminator", - "responses": { - "200": { - "description": "A single terminator", - "schema": { - "$ref": "#/definitions/detailTerminatorEnvelope" - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -16618,36 +20003,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -16775,6 +20133,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -16882,6 +20263,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -17001,6 +20405,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -17116,6 +20543,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -17214,6 +20664,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -17292,6 +20765,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -17416,6 +20912,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -17528,6 +21047,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -17652,6 +21194,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -23973,7 +27538,7 @@ func init() { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "0.25.32" + "version": "0.26.0" }, "host": "demo.ziti.dev", "basePath": "/edge/management/v1", @@ -24124,6 +27689,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -24197,6 +27785,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -24268,6 +27879,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -24383,78 +28017,125 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Creates an Auth Policy. Requires admin access.", - "tags": [ - "Auth Policy" - ], - "summary": "Creates an Auth Policy", - "operationId": "createAuthPolicy", - "parameters": [ - { - "description": "An Auth Policy to create", - "name": "authPolicy", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/authPolicyCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "post": { + "security": [ + { + "ztSession": [] + } + ], + "description": "Creates an Auth Policy. Requires admin access.", + "tags": [ + "Auth Policy" + ], + "summary": "Creates an Auth Policy", + "operationId": "createAuthPolicy", + "parameters": [ + { + "description": "An Auth Policy to create", + "name": "authPolicy", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/authPolicyCreate" + } + } + ], + "responses": { + "201": { + "description": "The create request was successful and the resource has been added at the following location", + "schema": { + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -24464,11 +28145,10 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -24549,6 +28229,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -24668,6 +28371,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -24750,6 +28476,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -24869,6 +28618,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25168,6 +28940,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25261,6 +29056,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -25334,6 +29152,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25453,6 +29294,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25535,6 +29399,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25654,6 +29541,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25747,6 +29657,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25862,6 +29795,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -25955,6 +29911,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -26028,6 +30007,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -26122,92 +30124,139 @@ func init() { } } }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", - "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - } - } - }, - "delete": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Delete a CA by id. Deleting a CA will delete its associated certificate authenticators. This can make it\nimpossible for identities to authenticate if they no longer have any valid authenticators. Requires admin access.\n", - "tags": [ - "Certificate Authority" - ], - "summary": "Delete a CA", - "operationId": "deleteCa", - "responses": { - "200": { - "description": "The delete request was successful and the resource has been removed", - "schema": { - "$ref": "#/definitions/empty" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "delete": { + "security": [ + { + "ztSession": [] + } + ], + "description": "Delete a CA by id. Deleting a CA will delete its associated certificate authenticators. This can make it\nimpossible for identities to authenticate if they no longer have any valid authenticators. Requires admin access.\n", + "tags": [ + "Certificate Authority" + ], + "summary": "Delete a CA", + "operationId": "deleteCa", + "responses": { + "200": { + "description": "The delete request was successful and the resource has been removed", + "schema": { + "$ref": "#/definitions/empty" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -26217,11 +30266,10 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -26348,6 +30396,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -26436,6 +30507,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -26569,6 +30663,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -26684,6 +30801,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -26776,6 +30916,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -26849,6 +31012,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -26968,6 +31154,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27075,6 +31284,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27194,6 +31426,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27226,6 +31481,29 @@ func init() { "schema": { "$ref": "#/definitions/listConfigsEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27341,6 +31619,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27439,6 +31740,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -27517,6 +31841,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27641,6 +31988,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27753,6 +32123,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -27877,6 +32270,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -29367,6 +33783,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -29618,6 +34057,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -29716,6 +34178,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -29794,6 +34279,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -29918,6 +34426,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30030,6 +34561,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30154,6 +34708,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30241,6 +34818,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30328,6 +34928,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30443,6 +35066,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -30563,78 +35209,125 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Create a edge router resource. Requires admin access.", - "tags": [ - "Edge Router" - ], - "summary": "Create an edge router", - "operationId": "createEdgeRouter", - "parameters": [ - { - "description": "A edge router to create", - "name": "edgeRouter", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/edgeRouterCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "post": { + "security": [ + { + "ztSession": [] + } + ], + "description": "Create a edge router resource. Requires admin access.", + "tags": [ + "Edge Router" + ], + "summary": "Create an edge router", + "operationId": "createEdgeRouter", + "parameters": [ + { + "description": "A edge router to create", + "name": "edgeRouter", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/edgeRouterCreate" + } + } + ], + "responses": { + "201": { + "description": "The create request was successful and the resource has been added at the following location", + "schema": { + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -30644,11 +35337,10 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -30729,6 +35421,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30848,6 +35563,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -30955,6 +35693,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31074,6 +35835,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31156,6 +35940,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31238,6 +36045,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31320,6 +36150,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31402,6 +36255,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31484,6 +36360,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31599,6 +36498,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31703,6 +36625,29 @@ func init() { "schema": { "$ref": "#/definitions/apiErrorEnvelope" } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -31781,6 +36726,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31868,6 +36836,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -31977,6 +36968,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32110,6 +37124,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32208,6 +37245,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -32286,6 +37346,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32410,6 +37493,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32497,6 +37603,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32621,6 +37750,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32750,6 +37902,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -32848,6 +38023,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -32926,6 +38124,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33050,6 +38271,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33162,6 +38406,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33286,6 +38553,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33368,6 +38658,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33461,6 +38774,249 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "parameters": [ + { + "type": "string", + "description": "The id of the requested resource", + "name": "id", + "in": "path", + "required": true + } + ] + }, + "/identities/{id}/edge-router-policies": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Retrieves a list of edge router policies that apply to the specified identity.", + "tags": [ + "Identity" + ], + "summary": "List the edge router policies that affect an identity", + "operationId": "listIdentitysEdgeRouterPolicies", + "responses": { + "200": { + "description": "A list of edge router policies", + "schema": { + "$ref": "#/definitions/listEdgeRouterPoliciesEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "parameters": [ + { + "type": "string", + "description": "The id of the requested resource", + "name": "id", + "in": "path", + "required": true + } + ] + }, + "/identities/{id}/edge-routers": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Retrieves a list of edge-routers that the given identity may use to access services. Supports filtering, sorting, and pagination. Requires admin access.\n", + "tags": [ + "Identity" + ], + "summary": "List accessible edge-routers", + "operationId": "listIdentityEdgeRouters", + "responses": { + "200": { + "description": "A list of edge routers", + "schema": { + "$ref": "#/definitions/listEdgeRoutersEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33474,29 +39030,24 @@ func init() { } ] }, - "/identities/{id}/edge-router-policies": { - "get": { + "/identities/{id}/enable": { + "post": { "security": [ { "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] } ], - "description": "Retrieves a list of edge router policies that apply to the specified identity.", + "description": "Allows an admin to remove disabled statuses from an identity.\n", "tags": [ "Identity" ], - "summary": "List the edge router policies that affect an identity", - "operationId": "listIdentitysEdgeRouterPolicies", + "summary": "Clears all disabled state from an identity", + "operationId": "enableIdentity", "responses": { "200": { - "description": "A list of edge router policies", + "description": "Base empty response", "schema": { - "$ref": "#/definitions/listEdgeRouterPoliciesEnvelope" + "$ref": "#/definitions/empty" } }, "401": { @@ -33548,6 +39099,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33561,29 +39135,24 @@ func init() { } ] }, - "/identities/{id}/edge-routers": { + "/identities/{id}/enrollments": { "get": { "security": [ { "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] } ], - "description": "Retrieves a list of edge-routers that the given identity may use to access services. Supports filtering, sorting, and pagination. Requires admin access.\n", + "description": "Returns a list of enrollments associated to the identity specified\n", "tags": [ "Identity" ], - "summary": "List accessible edge-routers", - "operationId": "listIdentityEdgeRouters", + "summary": "Retrieve the current enrollments of a specific identity", + "operationId": "getIdentityEnrollments", "responses": { "200": { - "description": "A list of edge routers", + "description": "A list of enrollments", "schema": { - "$ref": "#/definitions/listEdgeRoutersEnvelope" + "$ref": "#/definitions/listEnrollmentsEnvelope" } }, "401": { @@ -33635,6 +39204,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33648,24 +39240,24 @@ func init() { } ] }, - "/identities/{id}/enable": { - "post": { + "/identities/{id}/failed-service-requests": { + "get": { "security": [ { "ztSession": [] } ], - "description": "Allows an admin to remove disabled statuses from an identity.\n", + "description": "Returns a list of service session requests that failed due to posture checks. The entries will contain\nevery policy that was verified against and every failed check in each policy. Each check will include\nthe historical posture data and posture check configuration.\n", "tags": [ "Identity" ], - "summary": "Clears all disabled state from an identity", - "operationId": "enableIdentity", + "summary": "Retrieve a list of the most recent service failure requests due to posture checks", + "operationId": "getIdentityFailedServiceRequests", "responses": { "200": { - "description": "Base empty response", + "description": "Returns a list of service request failures", "schema": { - "$ref": "#/definitions/empty" + "$ref": "#/definitions/failedServiceRequestEnvelope" } }, "401": { @@ -33717,6 +39309,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33730,24 +39345,25 @@ func init() { } ] }, - "/identities/{id}/enrollments": { - "get": { + "/identities/{id}/mfa": { + "delete": { "security": [ { "ztSession": [] } ], - "description": "Returns a list of enrollments associated to the identity specified\n", + "description": "Allows an admin to remove MFA enrollment from a specific identity. Requires admin.\n", "tags": [ - "Identity" + "Identity", + "MFA" ], - "summary": "Retrieve the current enrollments of a specific identity", - "operationId": "getIdentityEnrollments", + "summary": "Remove MFA from an identitity", + "operationId": "removeIdentityMfa", "responses": { "200": { - "description": "A list of enrollments", + "description": "Base empty response", "schema": { - "$ref": "#/definitions/listEnrollmentsEnvelope" + "$ref": "#/definitions/empty" } }, "401": { @@ -33799,6 +39415,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -33812,24 +39451,29 @@ func init() { } ] }, - "/identities/{id}/failed-service-requests": { + "/identities/{id}/policy-advice/{serviceId}": { "get": { "security": [ { "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] } ], - "description": "Returns a list of service session requests that failed due to posture checks. The entries will contain\nevery policy that was verified against and every failed check in each policy. Each check will include\nthe historical posture data and posture check configuration.\n", + "description": "Analyzes policies to see if the given identity should be able to dial or bind the given service. |\nWill check services policies to see if the identity can access the service. Will check edge router policies |\nto check if the identity and service have access to common edge routers so that a connnection can be made. |\nWill also check if at least one edge router is on-line. Requires admin access.\n", "tags": [ "Identity" ], - "summary": "Retrieve a list of the most recent service failure requests due to posture checks", - "operationId": "getIdentityFailedServiceRequests", + "summary": "Analyze policies relating the given identity and service", + "operationId": "getIdentityPolicyAdvice", "responses": { "200": { - "description": "Returns a list of service request failures", + "description": "Returns the document that represents the policy advice", "schema": { - "$ref": "#/definitions/failedServiceRequestEnvelope" + "$ref": "#/definitions/getIdentityPolicyAdviceEnvelope" } }, "401": { @@ -33881,42 +39525,9 @@ func init() { } } } - } - } - }, - "parameters": [ - { - "type": "string", - "description": "The id of the requested resource", - "name": "id", - "in": "path", - "required": true - } - ] - }, - "/identities/{id}/mfa": { - "delete": { - "security": [ - { - "ztSession": [] - } - ], - "description": "Allows an admin to remove MFA enrollment from a specific identity. Requires admin.\n", - "tags": [ - "Identity", - "MFA" - ], - "summary": "Remove MFA from an identitity", - "operationId": "removeIdentityMfa", - "responses": { - "200": { - "description": "Base empty response", - "schema": { - "$ref": "#/definitions/empty" - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -33926,36 +39537,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -33974,10 +39558,17 @@ func init() { "name": "id", "in": "path", "required": true + }, + { + "type": "string", + "description": "The id of a service", + "name": "serviceId", + "in": "path", + "required": true } ] }, - "/identities/{id}/policy-advice/{serviceId}": { + "/identities/{id}/posture-data": { "get": { "security": [ { @@ -33989,17 +39580,17 @@ func init() { ] } ], - "description": "Analyzes policies to see if the given identity should be able to dial or bind the given service. |\nWill check services policies to see if the identity can access the service. Will check edge router policies |\nto check if the identity and service have access to common edge routers so that a connnection can be made. |\nWill also check if at least one edge router is on-line. Requires admin access.\n", + "description": "Returns a nested map data represeting the posture data of the identity.\nThis data should be considered volatile.\n", "tags": [ "Identity" ], - "summary": "Analyze policies relating the given identity and service", - "operationId": "getIdentityPolicyAdvice", + "summary": "Retrieve the curent posture data for a specific identity.", + "operationId": "getIdentityPostureData", "responses": { "200": { - "description": "Returns the document that represents the policy advice", + "description": "Returns the document that represents posture data", "schema": { - "$ref": "#/definitions/getIdentityPolicyAdviceEnvelope" + "$ref": "#/definitions/postureDataEnvelope" } }, "401": { @@ -34051,53 +39642,9 @@ func init() { } } } - } - } - }, - "parameters": [ - { - "type": "string", - "description": "The id of the requested resource", - "name": "id", - "in": "path", - "required": true - }, - { - "type": "string", - "description": "The id of a service", - "name": "serviceId", - "in": "path", - "required": true - } - ] - }, - "/identities/{id}/posture-data": { - "get": { - "security": [ - { - "ztSession": [] }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Returns a nested map data represeting the posture data of the identity.\nThis data should be considered volatile.\n", - "tags": [ - "Identity" - ], - "summary": "Retrieve the curent posture data for a specific identity.", - "operationId": "getIdentityPostureData", - "responses": { - "200": { - "description": "Returns the document that represents posture data", - "schema": { - "$ref": "#/definitions/postureDataEnvelope" - } - }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -34107,36 +39654,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -34232,6 +39752,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -34356,6 +39899,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -34479,6 +40045,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -34566,6 +40155,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -34653,6 +40265,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -34784,6 +40419,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -34894,6 +40552,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -35000,6 +40681,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -35078,6 +40782,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -35196,6 +40923,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -35274,6 +41024,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -35406,6 +41179,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -35504,6 +41300,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -35582,83 +41401,156 @@ func init() { } } } - } - } - }, - "put": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Update all fields on a Posture Checks by id", - "tags": [ - "Posture Checks" - ], - "summary": "Update all fields on a Posture Checks", - "operationId": "updatePostureCheck", - "parameters": [ - { - "description": "A Posture Check update object", - "name": "postureCheck", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/postureCheckUpdate" - } - } - ], - "responses": { - "200": { - "description": "The update request was successful and the resource has been altered", - "schema": { - "$ref": "#/definitions/empty" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "put": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Update all fields on a Posture Checks by id", + "tags": [ + "Posture Checks" + ], + "summary": "Update all fields on a Posture Checks", + "operationId": "updatePostureCheck", + "parameters": [ + { + "description": "A Posture Check update object", + "name": "postureCheck", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/postureCheckUpdate" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful and the resource has been altered", + "schema": { + "$ref": "#/definitions/empty" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -35668,36 +41560,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -35782,6 +41647,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -35906,6 +41794,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36021,6 +41932,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36119,6 +42053,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -36197,6 +42154,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36321,6 +42301,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36433,6 +42436,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36557,6 +42583,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36672,6 +42721,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36770,6 +42842,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -36848,6 +42943,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -36972,6 +43090,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -37060,8 +43201,154 @@ func init() { } } }, - "409": { - "description": "The resource requested to be removed/altered cannot be as it is referenced by another object.", + "409": { + "description": "The resource requested to be removed/altered cannot be as it is referenced by another object.", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } + }, + "causeMessage": "referenced by /some-resource/05f4f710-c155-4a74-86d5-77558eb9cb42", + "code": "CONFLICT_CANNOT_MODIFY_REFERENCED", + "message": "The resource cannot be deleted/modified. Remove all referencing resources first.", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "patch": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Update the supplied fields on a service edge policy. Requires admin access.", + "tags": [ + "Service Edge Router Policy" + ], + "summary": "Update the supplied fields on a service edge policy", + "operationId": "patchServiceEdgeRouterPolicy", + "parameters": [ + { + "description": "A service edge router policy patch object", + "name": "policy", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/serviceEdgeRouterPolicyPatch" + } + } + ], + "responses": { + "200": { + "description": "The patch request was successful and the resource has been altered", + "schema": { + "$ref": "#/definitions/empty" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -37073,9 +43360,10 @@ func init() { "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" } }, - "causeMessage": "referenced by /some-resource/05f4f710-c155-4a74-86d5-77558eb9cb42", - "code": "CONFLICT_CANNOT_MODIFY_REFERENCED", - "message": "The resource cannot be deleted/modified. Remove all referencing resources first.", + "cause": null, + "causeMessage": "", + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -37084,83 +43372,9 @@ func init() { } } } - } - } - }, - "patch": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Update the supplied fields on a service edge policy. Requires admin access.", - "tags": [ - "Service Edge Router Policy" - ], - "summary": "Update the supplied fields on a service edge policy", - "operationId": "patchServiceEdgeRouterPolicy", - "parameters": [ - { - "description": "A service edge router policy patch object", - "name": "policy", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/serviceEdgeRouterPolicyPatch" - } - } - ], - "responses": { - "200": { - "description": "The patch request was successful and the resource has been altered", - "schema": { - "$ref": "#/definitions/empty" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -37170,36 +43384,9 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } - }, - "404": { - "description": "The requested resource does not exist", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } - }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -37295,6 +43482,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -37382,6 +43592,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -37492,6 +43725,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -37585,6 +43841,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -37658,6 +43937,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -37777,6 +44079,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -37884,6 +44209,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38003,6 +44351,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38102,6 +44473,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38201,6 +44595,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38300,6 +44717,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38410,6 +44850,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -38530,83 +44993,130 @@ func init() { } } } - } - } - }, - "post": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Create a services resource. Requires admin access.", - "tags": [ - "Service" - ], - "summary": "Create a services resource", - "operationId": "createService", - "parameters": [ - { - "description": "A service to create", - "name": "service", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/serviceCreate" - } - } - ], - "responses": { - "201": { - "description": "The create request was successful and the resource has been added at the following location", - "schema": { - "$ref": "#/definitions/createEnvelope" - } - }, - "400": { - "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", - "schema": { - "$ref": "#/definitions/apiErrorEnvelope" - }, - "examples": { - "application/json": { - "error": { - "args": { - "urlVars": {} - }, - "cause": { - "details": { - "context": "(root)", - "field": "(root)", - "property": "fooField3" - }, - "field": "(root)", - "message": "(root): fooField3 is required", - "type": "required", - "value": { - "fooField": "abc", - "fooField2": "def" - } - }, - "causeMessage": "schema validation failed", - "code": "COULD_NOT_VALIDATE", - "message": "The supplied request contains an invalid document", - "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" - }, - "meta": { - "apiEnrollmentVersion": "0.0.1", - "apiVersion": "0.0.1" - } - } - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + }, + "post": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Create a services resource. Requires admin access.", + "tags": [ + "Service" + ], + "summary": "Create a services resource", + "operationId": "createService", + "parameters": [ + { + "description": "A service to create", + "name": "service", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/serviceCreate" + } + } + ], + "responses": { + "201": { + "description": "The create request was successful and the resource has been added at the following location", + "schema": { + "$ref": "#/definitions/createEnvelope" + } + }, + "400": { + "description": "The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": { + "details": { + "context": "(root)", + "field": "(root)", + "property": "fooField3" + }, + "field": "(root)", + "message": "(root): fooField3 is required", + "type": "required", + "value": { + "fooField": "abc", + "fooField2": "def" + } + }, + "causeMessage": "schema validation failed", + "code": "COULD_NOT_VALIDATE", + "message": "The supplied request contains an invalid document", + "requestId": "ac6766d6-3a09-44b3-8d8a-1b541d97fdd9" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -38616,11 +45126,10 @@ func init() { "args": { "urlVars": {} }, - "cause": "", - "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -38706,6 +45215,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38830,6 +45362,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -38942,6 +45497,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39066,6 +45644,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39181,6 +45782,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39296,6 +45920,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39411,6 +46058,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39526,6 +46196,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39641,6 +46334,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39756,6 +46472,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -39871,6 +46610,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -39949,6 +46711,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -40061,6 +46846,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -40148,6 +46956,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -40283,6 +47114,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -40389,6 +47243,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -40487,37 +47364,84 @@ func init() { } } } - } - } - } - }, - "/terminators/{id}": { - "get": { - "security": [ - { - "ztSession": [] - }, - { - "oauth2": [ - "openid" - ] - } - ], - "description": "Retrieves a single terminator by id. Requires admin access.", - "tags": [ - "Terminator" - ], - "summary": "Retrieves a single terminator", - "operationId": "detailTerminator", - "responses": { - "200": { - "description": "A single terminator", - "schema": { - "$ref": "#/definitions/detailTerminatorEnvelope" - } }, - "401": { - "description": "The currently supplied session does not have the correct access rights to request this resource", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + } + } + } + }, + "/terminators/{id}": { + "get": { + "security": [ + { + "ztSession": [] + }, + { + "oauth2": [ + "openid" + ] + } + ], + "description": "Retrieves a single terminator by id. Requires admin access.", + "tags": [ + "Terminator" + ], + "summary": "Retrieves a single terminator", + "operationId": "detailTerminator", + "responses": { + "200": { + "description": "A single terminator", + "schema": { + "$ref": "#/definitions/detailTerminatorEnvelope" + } + }, + "401": { + "description": "The currently supplied session does not have the correct access rights to request this resource", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "cause": "", + "causeMessage": "", + "code": "UNAUTHORIZED", + "message": "The request could not be completed. The session is not authorized or the credentials are invalid", + "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } + }, + "404": { + "description": "The requested resource does not exist", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -40525,13 +47449,15 @@ func init() { "application/json": { "error": { "args": { - "urlVars": {} + "urlVars": { + "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" + } }, - "cause": "", + "cause": null, "causeMessage": "", - "code": "UNAUTHORIZED", - "message": "The request could not be completed. The session is not authorized or the credentials are invalid", - "requestId": "0bfe7a04-9229-4b7a-812c-9eb3cc0eac0f" + "code": "NOT_FOUND", + "message": "The resource requested was not found or is no longer available", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { "apiEnrollmentVersion": "0.0.1", @@ -40540,8 +47466,8 @@ func init() { } } }, - "404": { - "description": "The requested resource does not exist", + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", "schema": { "$ref": "#/definitions/apiErrorEnvelope" }, @@ -40549,14 +47475,11 @@ func init() { "application/json": { "error": { "args": { - "urlVars": { - "id": "71a3000f-7dda-491a-9b90-a19f4ee6c406" - } + "urlVars": {} }, - "cause": null, - "causeMessage": "", - "code": "NOT_FOUND", - "message": "The resource requested was not found or is no longer available", + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" }, "meta": { @@ -40684,6 +47607,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -40791,6 +47737,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -40910,6 +47879,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -41025,6 +48017,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -41123,6 +48138,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } } @@ -41201,6 +48239,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -41325,6 +48386,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -41437,6 +48521,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, @@ -41561,6 +48668,29 @@ func init() { } } } + }, + "429": { + "description": "The resource requested is rate limited and the rate limit has been exceeded", + "schema": { + "$ref": "#/definitions/apiErrorEnvelope" + }, + "examples": { + "application/json": { + "error": { + "args": { + "urlVars": {} + }, + "causeMessage": "you have hit a rate limit in the requested operation", + "code": "RATE_LIMITED", + "message": "The resource is rate limited and the rate limit has been exceeded. Please try again later", + "requestId": "270908d6-f2ef-4577-b973-67bec18ae376" + }, + "meta": { + "apiEnrollmentVersion": "0.0.1", + "apiVersion": "0.0.1" + } + } + } } } }, diff --git a/rest_management_api_server/operations/api_session/delete_api_sessions_responses.go b/rest_management_api_server/operations/api_session/delete_api_sessions_responses.go index b2e46994..a8bfab0a 100644 --- a/rest_management_api_server/operations/api_session/delete_api_sessions_responses.go +++ b/rest_management_api_server/operations/api_session/delete_api_sessions_responses.go @@ -168,3 +168,47 @@ func (o *DeleteAPISessionsNotFound) WriteResponse(rw http.ResponseWriter, produc } } } + +// DeleteAPISessionsTooManyRequestsCode is the HTTP code returned for type DeleteAPISessionsTooManyRequests +const DeleteAPISessionsTooManyRequestsCode int = 429 + +/*DeleteAPISessionsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteApiSessionsTooManyRequests +*/ +type DeleteAPISessionsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteAPISessionsTooManyRequests creates DeleteAPISessionsTooManyRequests with default headers values +func NewDeleteAPISessionsTooManyRequests() *DeleteAPISessionsTooManyRequests { + + return &DeleteAPISessionsTooManyRequests{} +} + +// WithPayload adds the payload to the delete Api sessions too many requests response +func (o *DeleteAPISessionsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAPISessionsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete Api sessions too many requests response +func (o *DeleteAPISessionsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteAPISessionsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/api_session/detail_api_sessions_responses.go b/rest_management_api_server/operations/api_session/detail_api_sessions_responses.go index 107ea209..b9c59572 100644 --- a/rest_management_api_server/operations/api_session/detail_api_sessions_responses.go +++ b/rest_management_api_server/operations/api_session/detail_api_sessions_responses.go @@ -168,3 +168,47 @@ func (o *DetailAPISessionsNotFound) WriteResponse(rw http.ResponseWriter, produc } } } + +// DetailAPISessionsTooManyRequestsCode is the HTTP code returned for type DetailAPISessionsTooManyRequests +const DetailAPISessionsTooManyRequestsCode int = 429 + +/*DetailAPISessionsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailApiSessionsTooManyRequests +*/ +type DetailAPISessionsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailAPISessionsTooManyRequests creates DetailAPISessionsTooManyRequests with default headers values +func NewDetailAPISessionsTooManyRequests() *DetailAPISessionsTooManyRequests { + + return &DetailAPISessionsTooManyRequests{} +} + +// WithPayload adds the payload to the detail Api sessions too many requests response +func (o *DetailAPISessionsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAPISessionsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail Api sessions too many requests response +func (o *DetailAPISessionsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailAPISessionsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/api_session/list_api_sessions_responses.go b/rest_management_api_server/operations/api_session/list_api_sessions_responses.go index 72e32ed5..afc69075 100644 --- a/rest_management_api_server/operations/api_session/list_api_sessions_responses.go +++ b/rest_management_api_server/operations/api_session/list_api_sessions_responses.go @@ -168,3 +168,47 @@ func (o *ListAPISessionsUnauthorized) WriteResponse(rw http.ResponseWriter, prod } } } + +// ListAPISessionsTooManyRequestsCode is the HTTP code returned for type ListAPISessionsTooManyRequests +const ListAPISessionsTooManyRequestsCode int = 429 + +/*ListAPISessionsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listApiSessionsTooManyRequests +*/ +type ListAPISessionsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListAPISessionsTooManyRequests creates ListAPISessionsTooManyRequests with default headers values +func NewListAPISessionsTooManyRequests() *ListAPISessionsTooManyRequests { + + return &ListAPISessionsTooManyRequests{} +} + +// WithPayload adds the payload to the list Api sessions too many requests response +func (o *ListAPISessionsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAPISessionsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list Api sessions too many requests response +func (o *ListAPISessionsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListAPISessionsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/auth_policy/create_auth_policy_responses.go b/rest_management_api_server/operations/auth_policy/create_auth_policy_responses.go index e1338e16..8ac312b9 100644 --- a/rest_management_api_server/operations/auth_policy/create_auth_policy_responses.go +++ b/rest_management_api_server/operations/auth_policy/create_auth_policy_responses.go @@ -168,3 +168,47 @@ func (o *CreateAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// CreateAuthPolicyTooManyRequestsCode is the HTTP code returned for type CreateAuthPolicyTooManyRequests +const CreateAuthPolicyTooManyRequestsCode int = 429 + +/*CreateAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createAuthPolicyTooManyRequests +*/ +type CreateAuthPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateAuthPolicyTooManyRequests creates CreateAuthPolicyTooManyRequests with default headers values +func NewCreateAuthPolicyTooManyRequests() *CreateAuthPolicyTooManyRequests { + + return &CreateAuthPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the create auth policy too many requests response +func (o *CreateAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create auth policy too many requests response +func (o *CreateAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/auth_policy/delete_auth_policy_responses.go b/rest_management_api_server/operations/auth_policy/delete_auth_policy_responses.go index 8a67f41d..6d78773c 100644 --- a/rest_management_api_server/operations/auth_policy/delete_auth_policy_responses.go +++ b/rest_management_api_server/operations/auth_policy/delete_auth_policy_responses.go @@ -168,3 +168,47 @@ func (o *DeleteAuthPolicyUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// DeleteAuthPolicyTooManyRequestsCode is the HTTP code returned for type DeleteAuthPolicyTooManyRequests +const DeleteAuthPolicyTooManyRequestsCode int = 429 + +/*DeleteAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteAuthPolicyTooManyRequests +*/ +type DeleteAuthPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteAuthPolicyTooManyRequests creates DeleteAuthPolicyTooManyRequests with default headers values +func NewDeleteAuthPolicyTooManyRequests() *DeleteAuthPolicyTooManyRequests { + + return &DeleteAuthPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the delete auth policy too many requests response +func (o *DeleteAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete auth policy too many requests response +func (o *DeleteAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/auth_policy/detail_auth_policy_responses.go b/rest_management_api_server/operations/auth_policy/detail_auth_policy_responses.go index 1706c33b..bbc6e6a9 100644 --- a/rest_management_api_server/operations/auth_policy/detail_auth_policy_responses.go +++ b/rest_management_api_server/operations/auth_policy/detail_auth_policy_responses.go @@ -168,3 +168,47 @@ func (o *DetailAuthPolicyNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// DetailAuthPolicyTooManyRequestsCode is the HTTP code returned for type DetailAuthPolicyTooManyRequests +const DetailAuthPolicyTooManyRequestsCode int = 429 + +/*DetailAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailAuthPolicyTooManyRequests +*/ +type DetailAuthPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailAuthPolicyTooManyRequests creates DetailAuthPolicyTooManyRequests with default headers values +func NewDetailAuthPolicyTooManyRequests() *DetailAuthPolicyTooManyRequests { + + return &DetailAuthPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the detail auth policy too many requests response +func (o *DetailAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail auth policy too many requests response +func (o *DetailAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/auth_policy/list_auth_policies_responses.go b/rest_management_api_server/operations/auth_policy/list_auth_policies_responses.go index 71bee00b..f4febdd3 100644 --- a/rest_management_api_server/operations/auth_policy/list_auth_policies_responses.go +++ b/rest_management_api_server/operations/auth_policy/list_auth_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListAuthPoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// ListAuthPoliciesTooManyRequestsCode is the HTTP code returned for type ListAuthPoliciesTooManyRequests +const ListAuthPoliciesTooManyRequestsCode int = 429 + +/*ListAuthPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listAuthPoliciesTooManyRequests +*/ +type ListAuthPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListAuthPoliciesTooManyRequests creates ListAuthPoliciesTooManyRequests with default headers values +func NewListAuthPoliciesTooManyRequests() *ListAuthPoliciesTooManyRequests { + + return &ListAuthPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list auth policies too many requests response +func (o *ListAuthPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list auth policies too many requests response +func (o *ListAuthPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListAuthPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/auth_policy/patch_auth_policy_responses.go b/rest_management_api_server/operations/auth_policy/patch_auth_policy_responses.go index aba6ddf7..6dbfc3aa 100644 --- a/rest_management_api_server/operations/auth_policy/patch_auth_policy_responses.go +++ b/rest_management_api_server/operations/auth_policy/patch_auth_policy_responses.go @@ -212,3 +212,47 @@ func (o *PatchAuthPolicyNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// PatchAuthPolicyTooManyRequestsCode is the HTTP code returned for type PatchAuthPolicyTooManyRequests +const PatchAuthPolicyTooManyRequestsCode int = 429 + +/*PatchAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchAuthPolicyTooManyRequests +*/ +type PatchAuthPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchAuthPolicyTooManyRequests creates PatchAuthPolicyTooManyRequests with default headers values +func NewPatchAuthPolicyTooManyRequests() *PatchAuthPolicyTooManyRequests { + + return &PatchAuthPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the patch auth policy too many requests response +func (o *PatchAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch auth policy too many requests response +func (o *PatchAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/auth_policy/update_auth_policy_responses.go b/rest_management_api_server/operations/auth_policy/update_auth_policy_responses.go index ee12699e..eb650624 100644 --- a/rest_management_api_server/operations/auth_policy/update_auth_policy_responses.go +++ b/rest_management_api_server/operations/auth_policy/update_auth_policy_responses.go @@ -212,3 +212,47 @@ func (o *UpdateAuthPolicyNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// UpdateAuthPolicyTooManyRequestsCode is the HTTP code returned for type UpdateAuthPolicyTooManyRequests +const UpdateAuthPolicyTooManyRequestsCode int = 429 + +/*UpdateAuthPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateAuthPolicyTooManyRequests +*/ +type UpdateAuthPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateAuthPolicyTooManyRequests creates UpdateAuthPolicyTooManyRequests with default headers values +func NewUpdateAuthPolicyTooManyRequests() *UpdateAuthPolicyTooManyRequests { + + return &UpdateAuthPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the update auth policy too many requests response +func (o *UpdateAuthPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update auth policy too many requests response +func (o *UpdateAuthPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateAuthPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/create_authenticator_responses.go b/rest_management_api_server/operations/authenticator/create_authenticator_responses.go index 0b071522..5c22dfd8 100644 --- a/rest_management_api_server/operations/authenticator/create_authenticator_responses.go +++ b/rest_management_api_server/operations/authenticator/create_authenticator_responses.go @@ -168,3 +168,47 @@ func (o *CreateAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, } } } + +// CreateAuthenticatorTooManyRequestsCode is the HTTP code returned for type CreateAuthenticatorTooManyRequests +const CreateAuthenticatorTooManyRequestsCode int = 429 + +/*CreateAuthenticatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createAuthenticatorTooManyRequests +*/ +type CreateAuthenticatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateAuthenticatorTooManyRequests creates CreateAuthenticatorTooManyRequests with default headers values +func NewCreateAuthenticatorTooManyRequests() *CreateAuthenticatorTooManyRequests { + + return &CreateAuthenticatorTooManyRequests{} +} + +// WithPayload adds the payload to the create authenticator too many requests response +func (o *CreateAuthenticatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateAuthenticatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create authenticator too many requests response +func (o *CreateAuthenticatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateAuthenticatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/delete_authenticator_responses.go b/rest_management_api_server/operations/authenticator/delete_authenticator_responses.go index 82caea55..f3f6a3fe 100644 --- a/rest_management_api_server/operations/authenticator/delete_authenticator_responses.go +++ b/rest_management_api_server/operations/authenticator/delete_authenticator_responses.go @@ -168,3 +168,47 @@ func (o *DeleteAuthenticatorUnauthorized) WriteResponse(rw http.ResponseWriter, } } } + +// DeleteAuthenticatorTooManyRequestsCode is the HTTP code returned for type DeleteAuthenticatorTooManyRequests +const DeleteAuthenticatorTooManyRequestsCode int = 429 + +/*DeleteAuthenticatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteAuthenticatorTooManyRequests +*/ +type DeleteAuthenticatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteAuthenticatorTooManyRequests creates DeleteAuthenticatorTooManyRequests with default headers values +func NewDeleteAuthenticatorTooManyRequests() *DeleteAuthenticatorTooManyRequests { + + return &DeleteAuthenticatorTooManyRequests{} +} + +// WithPayload adds the payload to the delete authenticator too many requests response +func (o *DeleteAuthenticatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteAuthenticatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete authenticator too many requests response +func (o *DeleteAuthenticatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteAuthenticatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/detail_authenticator_responses.go b/rest_management_api_server/operations/authenticator/detail_authenticator_responses.go index a5bfeda3..8b97484e 100644 --- a/rest_management_api_server/operations/authenticator/detail_authenticator_responses.go +++ b/rest_management_api_server/operations/authenticator/detail_authenticator_responses.go @@ -168,3 +168,47 @@ func (o *DetailAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, prod } } } + +// DetailAuthenticatorTooManyRequestsCode is the HTTP code returned for type DetailAuthenticatorTooManyRequests +const DetailAuthenticatorTooManyRequestsCode int = 429 + +/*DetailAuthenticatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailAuthenticatorTooManyRequests +*/ +type DetailAuthenticatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailAuthenticatorTooManyRequests creates DetailAuthenticatorTooManyRequests with default headers values +func NewDetailAuthenticatorTooManyRequests() *DetailAuthenticatorTooManyRequests { + + return &DetailAuthenticatorTooManyRequests{} +} + +// WithPayload adds the payload to the detail authenticator too many requests response +func (o *DetailAuthenticatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailAuthenticatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail authenticator too many requests response +func (o *DetailAuthenticatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailAuthenticatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/list_authenticators_responses.go b/rest_management_api_server/operations/authenticator/list_authenticators_responses.go index 2c481275..baaa6cab 100644 --- a/rest_management_api_server/operations/authenticator/list_authenticators_responses.go +++ b/rest_management_api_server/operations/authenticator/list_authenticators_responses.go @@ -168,3 +168,47 @@ func (o *ListAuthenticatorsUnauthorized) WriteResponse(rw http.ResponseWriter, p } } } + +// ListAuthenticatorsTooManyRequestsCode is the HTTP code returned for type ListAuthenticatorsTooManyRequests +const ListAuthenticatorsTooManyRequestsCode int = 429 + +/*ListAuthenticatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listAuthenticatorsTooManyRequests +*/ +type ListAuthenticatorsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListAuthenticatorsTooManyRequests creates ListAuthenticatorsTooManyRequests with default headers values +func NewListAuthenticatorsTooManyRequests() *ListAuthenticatorsTooManyRequests { + + return &ListAuthenticatorsTooManyRequests{} +} + +// WithPayload adds the payload to the list authenticators too many requests response +func (o *ListAuthenticatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListAuthenticatorsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list authenticators too many requests response +func (o *ListAuthenticatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListAuthenticatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/patch_authenticator_responses.go b/rest_management_api_server/operations/authenticator/patch_authenticator_responses.go index a26bb655..8d7b5ff1 100644 --- a/rest_management_api_server/operations/authenticator/patch_authenticator_responses.go +++ b/rest_management_api_server/operations/authenticator/patch_authenticator_responses.go @@ -212,3 +212,47 @@ func (o *PatchAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// PatchAuthenticatorTooManyRequestsCode is the HTTP code returned for type PatchAuthenticatorTooManyRequests +const PatchAuthenticatorTooManyRequestsCode int = 429 + +/*PatchAuthenticatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchAuthenticatorTooManyRequests +*/ +type PatchAuthenticatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchAuthenticatorTooManyRequests creates PatchAuthenticatorTooManyRequests with default headers values +func NewPatchAuthenticatorTooManyRequests() *PatchAuthenticatorTooManyRequests { + + return &PatchAuthenticatorTooManyRequests{} +} + +// WithPayload adds the payload to the patch authenticator too many requests response +func (o *PatchAuthenticatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchAuthenticatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch authenticator too many requests response +func (o *PatchAuthenticatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchAuthenticatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/re_enroll_authenticator_responses.go b/rest_management_api_server/operations/authenticator/re_enroll_authenticator_responses.go index 1b8f085a..daf323de 100644 --- a/rest_management_api_server/operations/authenticator/re_enroll_authenticator_responses.go +++ b/rest_management_api_server/operations/authenticator/re_enroll_authenticator_responses.go @@ -168,3 +168,47 @@ func (o *ReEnrollAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, pr } } } + +// ReEnrollAuthenticatorTooManyRequestsCode is the HTTP code returned for type ReEnrollAuthenticatorTooManyRequests +const ReEnrollAuthenticatorTooManyRequestsCode int = 429 + +/*ReEnrollAuthenticatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response reEnrollAuthenticatorTooManyRequests +*/ +type ReEnrollAuthenticatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewReEnrollAuthenticatorTooManyRequests creates ReEnrollAuthenticatorTooManyRequests with default headers values +func NewReEnrollAuthenticatorTooManyRequests() *ReEnrollAuthenticatorTooManyRequests { + + return &ReEnrollAuthenticatorTooManyRequests{} +} + +// WithPayload adds the payload to the re enroll authenticator too many requests response +func (o *ReEnrollAuthenticatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ReEnrollAuthenticatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the re enroll authenticator too many requests response +func (o *ReEnrollAuthenticatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ReEnrollAuthenticatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/authenticator/update_authenticator_responses.go b/rest_management_api_server/operations/authenticator/update_authenticator_responses.go index 51546615..bcaab2f3 100644 --- a/rest_management_api_server/operations/authenticator/update_authenticator_responses.go +++ b/rest_management_api_server/operations/authenticator/update_authenticator_responses.go @@ -212,3 +212,47 @@ func (o *UpdateAuthenticatorNotFound) WriteResponse(rw http.ResponseWriter, prod } } } + +// UpdateAuthenticatorTooManyRequestsCode is the HTTP code returned for type UpdateAuthenticatorTooManyRequests +const UpdateAuthenticatorTooManyRequestsCode int = 429 + +/*UpdateAuthenticatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateAuthenticatorTooManyRequests +*/ +type UpdateAuthenticatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateAuthenticatorTooManyRequests creates UpdateAuthenticatorTooManyRequests with default headers values +func NewUpdateAuthenticatorTooManyRequests() *UpdateAuthenticatorTooManyRequests { + + return &UpdateAuthenticatorTooManyRequests{} +} + +// WithPayload adds the payload to the update authenticator too many requests response +func (o *UpdateAuthenticatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateAuthenticatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update authenticator too many requests response +func (o *UpdateAuthenticatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateAuthenticatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/create_ca_responses.go b/rest_management_api_server/operations/certificate_authority/create_ca_responses.go index bc8e0c68..58f91745 100644 --- a/rest_management_api_server/operations/certificate_authority/create_ca_responses.go +++ b/rest_management_api_server/operations/certificate_authority/create_ca_responses.go @@ -168,3 +168,47 @@ func (o *CreateCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// CreateCaTooManyRequestsCode is the HTTP code returned for type CreateCaTooManyRequests +const CreateCaTooManyRequestsCode int = 429 + +/*CreateCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createCaTooManyRequests +*/ +type CreateCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateCaTooManyRequests creates CreateCaTooManyRequests with default headers values +func NewCreateCaTooManyRequests() *CreateCaTooManyRequests { + + return &CreateCaTooManyRequests{} +} + +// WithPayload adds the payload to the create ca too many requests response +func (o *CreateCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create ca too many requests response +func (o *CreateCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/delete_ca_responses.go b/rest_management_api_server/operations/certificate_authority/delete_ca_responses.go index dfb217f1..cfb1e3d3 100644 --- a/rest_management_api_server/operations/certificate_authority/delete_ca_responses.go +++ b/rest_management_api_server/operations/certificate_authority/delete_ca_responses.go @@ -168,3 +168,47 @@ func (o *DeleteCaUnauthorized) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// DeleteCaTooManyRequestsCode is the HTTP code returned for type DeleteCaTooManyRequests +const DeleteCaTooManyRequestsCode int = 429 + +/*DeleteCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteCaTooManyRequests +*/ +type DeleteCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteCaTooManyRequests creates DeleteCaTooManyRequests with default headers values +func NewDeleteCaTooManyRequests() *DeleteCaTooManyRequests { + + return &DeleteCaTooManyRequests{} +} + +// WithPayload adds the payload to the delete ca too many requests response +func (o *DeleteCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete ca too many requests response +func (o *DeleteCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/detail_ca_responses.go b/rest_management_api_server/operations/certificate_authority/detail_ca_responses.go index b2a0fa69..6fb7bfdf 100644 --- a/rest_management_api_server/operations/certificate_authority/detail_ca_responses.go +++ b/rest_management_api_server/operations/certificate_authority/detail_ca_responses.go @@ -168,3 +168,47 @@ func (o *DetailCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtim } } } + +// DetailCaTooManyRequestsCode is the HTTP code returned for type DetailCaTooManyRequests +const DetailCaTooManyRequestsCode int = 429 + +/*DetailCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailCaTooManyRequests +*/ +type DetailCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailCaTooManyRequests creates DetailCaTooManyRequests with default headers values +func NewDetailCaTooManyRequests() *DetailCaTooManyRequests { + + return &DetailCaTooManyRequests{} +} + +// WithPayload adds the payload to the detail ca too many requests response +func (o *DetailCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail ca too many requests response +func (o *DetailCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/get_ca_jwt_responses.go b/rest_management_api_server/operations/certificate_authority/get_ca_jwt_responses.go index 29a50fae..f876d733 100644 --- a/rest_management_api_server/operations/certificate_authority/get_ca_jwt_responses.go +++ b/rest_management_api_server/operations/certificate_authority/get_ca_jwt_responses.go @@ -166,3 +166,47 @@ func (o *GetCaJWTNotFound) WriteResponse(rw http.ResponseWriter, producer runtim } } } + +// GetCaJWTTooManyRequestsCode is the HTTP code returned for type GetCaJWTTooManyRequests +const GetCaJWTTooManyRequestsCode int = 429 + +/*GetCaJWTTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getCaJwtTooManyRequests +*/ +type GetCaJWTTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetCaJWTTooManyRequests creates GetCaJWTTooManyRequests with default headers values +func NewGetCaJWTTooManyRequests() *GetCaJWTTooManyRequests { + + return &GetCaJWTTooManyRequests{} +} + +// WithPayload adds the payload to the get ca Jwt too many requests response +func (o *GetCaJWTTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetCaJWTTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get ca Jwt too many requests response +func (o *GetCaJWTTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetCaJWTTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/list_cas_responses.go b/rest_management_api_server/operations/certificate_authority/list_cas_responses.go index 08a66d6c..261871ee 100644 --- a/rest_management_api_server/operations/certificate_authority/list_cas_responses.go +++ b/rest_management_api_server/operations/certificate_authority/list_cas_responses.go @@ -168,3 +168,47 @@ func (o *ListCasUnauthorized) WriteResponse(rw http.ResponseWriter, producer run } } } + +// ListCasTooManyRequestsCode is the HTTP code returned for type ListCasTooManyRequests +const ListCasTooManyRequestsCode int = 429 + +/*ListCasTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listCasTooManyRequests +*/ +type ListCasTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListCasTooManyRequests creates ListCasTooManyRequests with default headers values +func NewListCasTooManyRequests() *ListCasTooManyRequests { + + return &ListCasTooManyRequests{} +} + +// WithPayload adds the payload to the list cas too many requests response +func (o *ListCasTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListCasTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list cas too many requests response +func (o *ListCasTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListCasTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/patch_ca_responses.go b/rest_management_api_server/operations/certificate_authority/patch_ca_responses.go index 6daed526..2a99bfcb 100644 --- a/rest_management_api_server/operations/certificate_authority/patch_ca_responses.go +++ b/rest_management_api_server/operations/certificate_authority/patch_ca_responses.go @@ -212,3 +212,47 @@ func (o *PatchCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtime } } } + +// PatchCaTooManyRequestsCode is the HTTP code returned for type PatchCaTooManyRequests +const PatchCaTooManyRequestsCode int = 429 + +/*PatchCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchCaTooManyRequests +*/ +type PatchCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchCaTooManyRequests creates PatchCaTooManyRequests with default headers values +func NewPatchCaTooManyRequests() *PatchCaTooManyRequests { + + return &PatchCaTooManyRequests{} +} + +// WithPayload adds the payload to the patch ca too many requests response +func (o *PatchCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch ca too many requests response +func (o *PatchCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/update_ca_responses.go b/rest_management_api_server/operations/certificate_authority/update_ca_responses.go index 45270fe8..8471ccad 100644 --- a/rest_management_api_server/operations/certificate_authority/update_ca_responses.go +++ b/rest_management_api_server/operations/certificate_authority/update_ca_responses.go @@ -212,3 +212,47 @@ func (o *UpdateCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtim } } } + +// UpdateCaTooManyRequestsCode is the HTTP code returned for type UpdateCaTooManyRequests +const UpdateCaTooManyRequestsCode int = 429 + +/*UpdateCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateCaTooManyRequests +*/ +type UpdateCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateCaTooManyRequests creates UpdateCaTooManyRequests with default headers values +func NewUpdateCaTooManyRequests() *UpdateCaTooManyRequests { + + return &UpdateCaTooManyRequests{} +} + +// WithPayload adds the payload to the update ca too many requests response +func (o *UpdateCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update ca too many requests response +func (o *UpdateCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/certificate_authority/verify_ca_responses.go b/rest_management_api_server/operations/certificate_authority/verify_ca_responses.go index 2a7e802e..6f16322f 100644 --- a/rest_management_api_server/operations/certificate_authority/verify_ca_responses.go +++ b/rest_management_api_server/operations/certificate_authority/verify_ca_responses.go @@ -212,3 +212,47 @@ func (o *VerifyCaNotFound) WriteResponse(rw http.ResponseWriter, producer runtim } } } + +// VerifyCaTooManyRequestsCode is the HTTP code returned for type VerifyCaTooManyRequests +const VerifyCaTooManyRequestsCode int = 429 + +/*VerifyCaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response verifyCaTooManyRequests +*/ +type VerifyCaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewVerifyCaTooManyRequests creates VerifyCaTooManyRequests with default headers values +func NewVerifyCaTooManyRequests() *VerifyCaTooManyRequests { + + return &VerifyCaTooManyRequests{} +} + +// WithPayload adds the payload to the verify ca too many requests response +func (o *VerifyCaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *VerifyCaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the verify ca too many requests response +func (o *VerifyCaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *VerifyCaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/create_config_responses.go b/rest_management_api_server/operations/config/create_config_responses.go index 406e409b..a6ece867 100644 --- a/rest_management_api_server/operations/config/create_config_responses.go +++ b/rest_management_api_server/operations/config/create_config_responses.go @@ -168,3 +168,47 @@ func (o *CreateConfigUnauthorized) WriteResponse(rw http.ResponseWriter, produce } } } + +// CreateConfigTooManyRequestsCode is the HTTP code returned for type CreateConfigTooManyRequests +const CreateConfigTooManyRequestsCode int = 429 + +/*CreateConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createConfigTooManyRequests +*/ +type CreateConfigTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateConfigTooManyRequests creates CreateConfigTooManyRequests with default headers values +func NewCreateConfigTooManyRequests() *CreateConfigTooManyRequests { + + return &CreateConfigTooManyRequests{} +} + +// WithPayload adds the payload to the create config too many requests response +func (o *CreateConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create config too many requests response +func (o *CreateConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/create_config_type_responses.go b/rest_management_api_server/operations/config/create_config_type_responses.go index e5907e65..cfcd742a 100644 --- a/rest_management_api_server/operations/config/create_config_type_responses.go +++ b/rest_management_api_server/operations/config/create_config_type_responses.go @@ -168,3 +168,47 @@ func (o *CreateConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// CreateConfigTypeTooManyRequestsCode is the HTTP code returned for type CreateConfigTypeTooManyRequests +const CreateConfigTypeTooManyRequestsCode int = 429 + +/*CreateConfigTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createConfigTypeTooManyRequests +*/ +type CreateConfigTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateConfigTypeTooManyRequests creates CreateConfigTypeTooManyRequests with default headers values +func NewCreateConfigTypeTooManyRequests() *CreateConfigTypeTooManyRequests { + + return &CreateConfigTypeTooManyRequests{} +} + +// WithPayload adds the payload to the create config type too many requests response +func (o *CreateConfigTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create config type too many requests response +func (o *CreateConfigTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateConfigTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/delete_config_responses.go b/rest_management_api_server/operations/config/delete_config_responses.go index 42d7d440..6df1f40b 100644 --- a/rest_management_api_server/operations/config/delete_config_responses.go +++ b/rest_management_api_server/operations/config/delete_config_responses.go @@ -212,3 +212,47 @@ func (o *DeleteConfigConflict) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// DeleteConfigTooManyRequestsCode is the HTTP code returned for type DeleteConfigTooManyRequests +const DeleteConfigTooManyRequestsCode int = 429 + +/*DeleteConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteConfigTooManyRequests +*/ +type DeleteConfigTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteConfigTooManyRequests creates DeleteConfigTooManyRequests with default headers values +func NewDeleteConfigTooManyRequests() *DeleteConfigTooManyRequests { + + return &DeleteConfigTooManyRequests{} +} + +// WithPayload adds the payload to the delete config too many requests response +func (o *DeleteConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete config too many requests response +func (o *DeleteConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/delete_config_type_responses.go b/rest_management_api_server/operations/config/delete_config_type_responses.go index e72c1f67..7420fa83 100644 --- a/rest_management_api_server/operations/config/delete_config_type_responses.go +++ b/rest_management_api_server/operations/config/delete_config_type_responses.go @@ -212,3 +212,47 @@ func (o *DeleteConfigTypeConflict) WriteResponse(rw http.ResponseWriter, produce } } } + +// DeleteConfigTypeTooManyRequestsCode is the HTTP code returned for type DeleteConfigTypeTooManyRequests +const DeleteConfigTypeTooManyRequestsCode int = 429 + +/*DeleteConfigTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteConfigTypeTooManyRequests +*/ +type DeleteConfigTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteConfigTypeTooManyRequests creates DeleteConfigTypeTooManyRequests with default headers values +func NewDeleteConfigTypeTooManyRequests() *DeleteConfigTypeTooManyRequests { + + return &DeleteConfigTypeTooManyRequests{} +} + +// WithPayload adds the payload to the delete config type too many requests response +func (o *DeleteConfigTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete config type too many requests response +func (o *DeleteConfigTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteConfigTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/detail_config_responses.go b/rest_management_api_server/operations/config/detail_config_responses.go index 9105c890..73db26ed 100644 --- a/rest_management_api_server/operations/config/detail_config_responses.go +++ b/rest_management_api_server/operations/config/detail_config_responses.go @@ -168,3 +168,47 @@ func (o *DetailConfigNotFound) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// DetailConfigTooManyRequestsCode is the HTTP code returned for type DetailConfigTooManyRequests +const DetailConfigTooManyRequestsCode int = 429 + +/*DetailConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailConfigTooManyRequests +*/ +type DetailConfigTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailConfigTooManyRequests creates DetailConfigTooManyRequests with default headers values +func NewDetailConfigTooManyRequests() *DetailConfigTooManyRequests { + + return &DetailConfigTooManyRequests{} +} + +// WithPayload adds the payload to the detail config too many requests response +func (o *DetailConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail config too many requests response +func (o *DetailConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/detail_config_type_responses.go b/rest_management_api_server/operations/config/detail_config_type_responses.go index 6538be1a..749556bf 100644 --- a/rest_management_api_server/operations/config/detail_config_type_responses.go +++ b/rest_management_api_server/operations/config/detail_config_type_responses.go @@ -168,3 +168,47 @@ func (o *DetailConfigTypeNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// DetailConfigTypeTooManyRequestsCode is the HTTP code returned for type DetailConfigTypeTooManyRequests +const DetailConfigTypeTooManyRequestsCode int = 429 + +/*DetailConfigTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailConfigTypeTooManyRequests +*/ +type DetailConfigTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailConfigTypeTooManyRequests creates DetailConfigTypeTooManyRequests with default headers values +func NewDetailConfigTypeTooManyRequests() *DetailConfigTypeTooManyRequests { + + return &DetailConfigTypeTooManyRequests{} +} + +// WithPayload adds the payload to the detail config type too many requests response +func (o *DetailConfigTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail config type too many requests response +func (o *DetailConfigTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailConfigTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/list_config_types_responses.go b/rest_management_api_server/operations/config/list_config_types_responses.go index 856af142..148fc0a8 100644 --- a/rest_management_api_server/operations/config/list_config_types_responses.go +++ b/rest_management_api_server/operations/config/list_config_types_responses.go @@ -168,3 +168,47 @@ func (o *ListConfigTypesUnauthorized) WriteResponse(rw http.ResponseWriter, prod } } } + +// ListConfigTypesTooManyRequestsCode is the HTTP code returned for type ListConfigTypesTooManyRequests +const ListConfigTypesTooManyRequestsCode int = 429 + +/*ListConfigTypesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listConfigTypesTooManyRequests +*/ +type ListConfigTypesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListConfigTypesTooManyRequests creates ListConfigTypesTooManyRequests with default headers values +func NewListConfigTypesTooManyRequests() *ListConfigTypesTooManyRequests { + + return &ListConfigTypesTooManyRequests{} +} + +// WithPayload adds the payload to the list config types too many requests response +func (o *ListConfigTypesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigTypesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list config types too many requests response +func (o *ListConfigTypesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListConfigTypesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/list_configs_for_config_type_responses.go b/rest_management_api_server/operations/config/list_configs_for_config_type_responses.go index 1d80014b..8a3ecf56 100644 --- a/rest_management_api_server/operations/config/list_configs_for_config_type_responses.go +++ b/rest_management_api_server/operations/config/list_configs_for_config_type_responses.go @@ -80,3 +80,47 @@ func (o *ListConfigsForConfigTypeOK) WriteResponse(rw http.ResponseWriter, produ } } } + +// ListConfigsForConfigTypeTooManyRequestsCode is the HTTP code returned for type ListConfigsForConfigTypeTooManyRequests +const ListConfigsForConfigTypeTooManyRequestsCode int = 429 + +/*ListConfigsForConfigTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listConfigsForConfigTypeTooManyRequests +*/ +type ListConfigsForConfigTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListConfigsForConfigTypeTooManyRequests creates ListConfigsForConfigTypeTooManyRequests with default headers values +func NewListConfigsForConfigTypeTooManyRequests() *ListConfigsForConfigTypeTooManyRequests { + + return &ListConfigsForConfigTypeTooManyRequests{} +} + +// WithPayload adds the payload to the list configs for config type too many requests response +func (o *ListConfigsForConfigTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigsForConfigTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list configs for config type too many requests response +func (o *ListConfigsForConfigTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListConfigsForConfigTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/list_configs_responses.go b/rest_management_api_server/operations/config/list_configs_responses.go index 8959afd8..df0e4d50 100644 --- a/rest_management_api_server/operations/config/list_configs_responses.go +++ b/rest_management_api_server/operations/config/list_configs_responses.go @@ -168,3 +168,47 @@ func (o *ListConfigsUnauthorized) WriteResponse(rw http.ResponseWriter, producer } } } + +// ListConfigsTooManyRequestsCode is the HTTP code returned for type ListConfigsTooManyRequests +const ListConfigsTooManyRequestsCode int = 429 + +/*ListConfigsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listConfigsTooManyRequests +*/ +type ListConfigsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListConfigsTooManyRequests creates ListConfigsTooManyRequests with default headers values +func NewListConfigsTooManyRequests() *ListConfigsTooManyRequests { + + return &ListConfigsTooManyRequests{} +} + +// WithPayload adds the payload to the list configs too many requests response +func (o *ListConfigsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list configs too many requests response +func (o *ListConfigsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListConfigsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/patch_config_responses.go b/rest_management_api_server/operations/config/patch_config_responses.go index 6439aa6b..27c6064e 100644 --- a/rest_management_api_server/operations/config/patch_config_responses.go +++ b/rest_management_api_server/operations/config/patch_config_responses.go @@ -212,3 +212,47 @@ func (o *PatchConfigNotFound) WriteResponse(rw http.ResponseWriter, producer run } } } + +// PatchConfigTooManyRequestsCode is the HTTP code returned for type PatchConfigTooManyRequests +const PatchConfigTooManyRequestsCode int = 429 + +/*PatchConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchConfigTooManyRequests +*/ +type PatchConfigTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchConfigTooManyRequests creates PatchConfigTooManyRequests with default headers values +func NewPatchConfigTooManyRequests() *PatchConfigTooManyRequests { + + return &PatchConfigTooManyRequests{} +} + +// WithPayload adds the payload to the patch config too many requests response +func (o *PatchConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch config too many requests response +func (o *PatchConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/patch_config_type_responses.go b/rest_management_api_server/operations/config/patch_config_type_responses.go index 156bc636..de927ecc 100644 --- a/rest_management_api_server/operations/config/patch_config_type_responses.go +++ b/rest_management_api_server/operations/config/patch_config_type_responses.go @@ -212,3 +212,47 @@ func (o *PatchConfigTypeNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// PatchConfigTypeTooManyRequestsCode is the HTTP code returned for type PatchConfigTypeTooManyRequests +const PatchConfigTypeTooManyRequestsCode int = 429 + +/*PatchConfigTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchConfigTypeTooManyRequests +*/ +type PatchConfigTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchConfigTypeTooManyRequests creates PatchConfigTypeTooManyRequests with default headers values +func NewPatchConfigTypeTooManyRequests() *PatchConfigTypeTooManyRequests { + + return &PatchConfigTypeTooManyRequests{} +} + +// WithPayload adds the payload to the patch config type too many requests response +func (o *PatchConfigTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch config type too many requests response +func (o *PatchConfigTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchConfigTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/update_config_responses.go b/rest_management_api_server/operations/config/update_config_responses.go index 39a0c577..55b8f404 100644 --- a/rest_management_api_server/operations/config/update_config_responses.go +++ b/rest_management_api_server/operations/config/update_config_responses.go @@ -212,3 +212,47 @@ func (o *UpdateConfigNotFound) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// UpdateConfigTooManyRequestsCode is the HTTP code returned for type UpdateConfigTooManyRequests +const UpdateConfigTooManyRequestsCode int = 429 + +/*UpdateConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateConfigTooManyRequests +*/ +type UpdateConfigTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateConfigTooManyRequests creates UpdateConfigTooManyRequests with default headers values +func NewUpdateConfigTooManyRequests() *UpdateConfigTooManyRequests { + + return &UpdateConfigTooManyRequests{} +} + +// WithPayload adds the payload to the update config too many requests response +func (o *UpdateConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update config too many requests response +func (o *UpdateConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/config/update_config_type_responses.go b/rest_management_api_server/operations/config/update_config_type_responses.go index 46234337..2356f4d3 100644 --- a/rest_management_api_server/operations/config/update_config_type_responses.go +++ b/rest_management_api_server/operations/config/update_config_type_responses.go @@ -212,3 +212,47 @@ func (o *UpdateConfigTypeNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// UpdateConfigTypeTooManyRequestsCode is the HTTP code returned for type UpdateConfigTypeTooManyRequests +const UpdateConfigTypeTooManyRequestsCode int = 429 + +/*UpdateConfigTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateConfigTypeTooManyRequests +*/ +type UpdateConfigTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateConfigTypeTooManyRequests creates UpdateConfigTypeTooManyRequests with default headers values +func NewUpdateConfigTypeTooManyRequests() *UpdateConfigTypeTooManyRequests { + + return &UpdateConfigTypeTooManyRequests{} +} + +// WithPayload adds the payload to the update config type too many requests response +func (o *UpdateConfigTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update config type too many requests response +func (o *UpdateConfigTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateConfigTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/database/data_integrity_results_responses.go b/rest_management_api_server/operations/database/data_integrity_results_responses.go index 9317a1d8..db727608 100644 --- a/rest_management_api_server/operations/database/data_integrity_results_responses.go +++ b/rest_management_api_server/operations/database/data_integrity_results_responses.go @@ -124,3 +124,47 @@ func (o *DataIntegrityResultsUnauthorized) WriteResponse(rw http.ResponseWriter, } } } + +// DataIntegrityResultsTooManyRequestsCode is the HTTP code returned for type DataIntegrityResultsTooManyRequests +const DataIntegrityResultsTooManyRequestsCode int = 429 + +/*DataIntegrityResultsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response dataIntegrityResultsTooManyRequests +*/ +type DataIntegrityResultsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDataIntegrityResultsTooManyRequests creates DataIntegrityResultsTooManyRequests with default headers values +func NewDataIntegrityResultsTooManyRequests() *DataIntegrityResultsTooManyRequests { + + return &DataIntegrityResultsTooManyRequests{} +} + +// WithPayload adds the payload to the data integrity results too many requests response +func (o *DataIntegrityResultsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DataIntegrityResultsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the data integrity results too many requests response +func (o *DataIntegrityResultsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DataIntegrityResultsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/create_edge_router_responses.go b/rest_management_api_server/operations/edge_router/create_edge_router_responses.go index 4227d492..bdacdd08 100644 --- a/rest_management_api_server/operations/edge_router/create_edge_router_responses.go +++ b/rest_management_api_server/operations/edge_router/create_edge_router_responses.go @@ -168,3 +168,47 @@ func (o *CreateEdgeRouterUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// CreateEdgeRouterTooManyRequestsCode is the HTTP code returned for type CreateEdgeRouterTooManyRequests +const CreateEdgeRouterTooManyRequestsCode int = 429 + +/*CreateEdgeRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createEdgeRouterTooManyRequests +*/ +type CreateEdgeRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateEdgeRouterTooManyRequests creates CreateEdgeRouterTooManyRequests with default headers values +func NewCreateEdgeRouterTooManyRequests() *CreateEdgeRouterTooManyRequests { + + return &CreateEdgeRouterTooManyRequests{} +} + +// WithPayload adds the payload to the create edge router too many requests response +func (o *CreateEdgeRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create edge router too many requests response +func (o *CreateEdgeRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateEdgeRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/delete_edge_router_responses.go b/rest_management_api_server/operations/edge_router/delete_edge_router_responses.go index 8068cadb..1889586d 100644 --- a/rest_management_api_server/operations/edge_router/delete_edge_router_responses.go +++ b/rest_management_api_server/operations/edge_router/delete_edge_router_responses.go @@ -212,3 +212,47 @@ func (o *DeleteEdgeRouterConflict) WriteResponse(rw http.ResponseWriter, produce } } } + +// DeleteEdgeRouterTooManyRequestsCode is the HTTP code returned for type DeleteEdgeRouterTooManyRequests +const DeleteEdgeRouterTooManyRequestsCode int = 429 + +/*DeleteEdgeRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteEdgeRouterTooManyRequests +*/ +type DeleteEdgeRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteEdgeRouterTooManyRequests creates DeleteEdgeRouterTooManyRequests with default headers values +func NewDeleteEdgeRouterTooManyRequests() *DeleteEdgeRouterTooManyRequests { + + return &DeleteEdgeRouterTooManyRequests{} +} + +// WithPayload adds the payload to the delete edge router too many requests response +func (o *DeleteEdgeRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete edge router too many requests response +func (o *DeleteEdgeRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteEdgeRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/detail_edge_router_responses.go b/rest_management_api_server/operations/edge_router/detail_edge_router_responses.go index c20af03e..0ef8ed12 100644 --- a/rest_management_api_server/operations/edge_router/detail_edge_router_responses.go +++ b/rest_management_api_server/operations/edge_router/detail_edge_router_responses.go @@ -168,3 +168,47 @@ func (o *DetailEdgeRouterNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// DetailEdgeRouterTooManyRequestsCode is the HTTP code returned for type DetailEdgeRouterTooManyRequests +const DetailEdgeRouterTooManyRequestsCode int = 429 + +/*DetailEdgeRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailEdgeRouterTooManyRequests +*/ +type DetailEdgeRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailEdgeRouterTooManyRequests creates DetailEdgeRouterTooManyRequests with default headers values +func NewDetailEdgeRouterTooManyRequests() *DetailEdgeRouterTooManyRequests { + + return &DetailEdgeRouterTooManyRequests{} +} + +// WithPayload adds the payload to the detail edge router too many requests response +func (o *DetailEdgeRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail edge router too many requests response +func (o *DetailEdgeRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailEdgeRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/list_edge_router_edge_router_policies_responses.go b/rest_management_api_server/operations/edge_router/list_edge_router_edge_router_policies_responses.go index 12dbfa57..958ccd65 100644 --- a/rest_management_api_server/operations/edge_router/list_edge_router_edge_router_policies_responses.go +++ b/rest_management_api_server/operations/edge_router/list_edge_router_edge_router_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterEdgeRouterPoliciesNotFound) WriteResponse(rw http.Respons } } } + +// ListEdgeRouterEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterEdgeRouterPoliciesTooManyRequests +const ListEdgeRouterEdgeRouterPoliciesTooManyRequestsCode int = 429 + +/*ListEdgeRouterEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterEdgeRouterPoliciesTooManyRequests +*/ +type ListEdgeRouterEdgeRouterPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterEdgeRouterPoliciesTooManyRequests creates ListEdgeRouterEdgeRouterPoliciesTooManyRequests with default headers values +func NewListEdgeRouterEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterEdgeRouterPoliciesTooManyRequests { + + return &ListEdgeRouterEdgeRouterPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router edge router policies too many requests response +func (o *ListEdgeRouterEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterEdgeRouterPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router edge router policies too many requests response +func (o *ListEdgeRouterEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/list_edge_router_identities_responses.go b/rest_management_api_server/operations/edge_router/list_edge_router_identities_responses.go index 86ddd567..db725d4a 100644 --- a/rest_management_api_server/operations/edge_router/list_edge_router_identities_responses.go +++ b/rest_management_api_server/operations/edge_router/list_edge_router_identities_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterIdentitiesNotFound) WriteResponse(rw http.ResponseWriter, } } } + +// ListEdgeRouterIdentitiesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterIdentitiesTooManyRequests +const ListEdgeRouterIdentitiesTooManyRequestsCode int = 429 + +/*ListEdgeRouterIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterIdentitiesTooManyRequests +*/ +type ListEdgeRouterIdentitiesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterIdentitiesTooManyRequests creates ListEdgeRouterIdentitiesTooManyRequests with default headers values +func NewListEdgeRouterIdentitiesTooManyRequests() *ListEdgeRouterIdentitiesTooManyRequests { + + return &ListEdgeRouterIdentitiesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router identities too many requests response +func (o *ListEdgeRouterIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterIdentitiesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router identities too many requests response +func (o *ListEdgeRouterIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/list_edge_router_service_edge_router_policies_responses.go b/rest_management_api_server/operations/edge_router/list_edge_router_service_edge_router_policies_responses.go index 2868b1fc..2d8a9465 100644 --- a/rest_management_api_server/operations/edge_router/list_edge_router_service_edge_router_policies_responses.go +++ b/rest_management_api_server/operations/edge_router/list_edge_router_service_edge_router_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterServiceEdgeRouterPoliciesNotFound) WriteResponse(rw http. } } } + +// ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests +const ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequestsCode int = 429 + +/*ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterServiceEdgeRouterPoliciesTooManyRequests +*/ +type ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests creates ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests with default headers values +func NewListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests { + + return &ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router service edge router policies too many requests response +func (o *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router service edge router policies too many requests response +func (o *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterServiceEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/list_edge_router_services_responses.go b/rest_management_api_server/operations/edge_router/list_edge_router_services_responses.go index 2fd35f74..76d24b27 100644 --- a/rest_management_api_server/operations/edge_router/list_edge_router_services_responses.go +++ b/rest_management_api_server/operations/edge_router/list_edge_router_services_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterServicesNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// ListEdgeRouterServicesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterServicesTooManyRequests +const ListEdgeRouterServicesTooManyRequestsCode int = 429 + +/*ListEdgeRouterServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterServicesTooManyRequests +*/ +type ListEdgeRouterServicesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterServicesTooManyRequests creates ListEdgeRouterServicesTooManyRequests with default headers values +func NewListEdgeRouterServicesTooManyRequests() *ListEdgeRouterServicesTooManyRequests { + + return &ListEdgeRouterServicesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router services too many requests response +func (o *ListEdgeRouterServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterServicesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router services too many requests response +func (o *ListEdgeRouterServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/list_edge_routers_responses.go b/rest_management_api_server/operations/edge_router/list_edge_routers_responses.go index 3c03c3b4..4d4c7ac0 100644 --- a/rest_management_api_server/operations/edge_router/list_edge_routers_responses.go +++ b/rest_management_api_server/operations/edge_router/list_edge_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, prod } } } + +// ListEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListEdgeRoutersTooManyRequests +const ListEdgeRoutersTooManyRequestsCode int = 429 + +/*ListEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRoutersTooManyRequests +*/ +type ListEdgeRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRoutersTooManyRequests creates ListEdgeRoutersTooManyRequests with default headers values +func NewListEdgeRoutersTooManyRequests() *ListEdgeRoutersTooManyRequests { + + return &ListEdgeRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list edge routers too many requests response +func (o *ListEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge routers too many requests response +func (o *ListEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/patch_edge_router_responses.go b/rest_management_api_server/operations/edge_router/patch_edge_router_responses.go index ae152f7c..a95db918 100644 --- a/rest_management_api_server/operations/edge_router/patch_edge_router_responses.go +++ b/rest_management_api_server/operations/edge_router/patch_edge_router_responses.go @@ -212,3 +212,47 @@ func (o *PatchEdgeRouterNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// PatchEdgeRouterTooManyRequestsCode is the HTTP code returned for type PatchEdgeRouterTooManyRequests +const PatchEdgeRouterTooManyRequestsCode int = 429 + +/*PatchEdgeRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchEdgeRouterTooManyRequests +*/ +type PatchEdgeRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchEdgeRouterTooManyRequests creates PatchEdgeRouterTooManyRequests with default headers values +func NewPatchEdgeRouterTooManyRequests() *PatchEdgeRouterTooManyRequests { + + return &PatchEdgeRouterTooManyRequests{} +} + +// WithPayload adds the payload to the patch edge router too many requests response +func (o *PatchEdgeRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch edge router too many requests response +func (o *PatchEdgeRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchEdgeRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/re_enroll_edge_router_responses.go b/rest_management_api_server/operations/edge_router/re_enroll_edge_router_responses.go index d04295c3..147aaa43 100644 --- a/rest_management_api_server/operations/edge_router/re_enroll_edge_router_responses.go +++ b/rest_management_api_server/operations/edge_router/re_enroll_edge_router_responses.go @@ -168,3 +168,47 @@ func (o *ReEnrollEdgeRouterNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// ReEnrollEdgeRouterTooManyRequestsCode is the HTTP code returned for type ReEnrollEdgeRouterTooManyRequests +const ReEnrollEdgeRouterTooManyRequestsCode int = 429 + +/*ReEnrollEdgeRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response reEnrollEdgeRouterTooManyRequests +*/ +type ReEnrollEdgeRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewReEnrollEdgeRouterTooManyRequests creates ReEnrollEdgeRouterTooManyRequests with default headers values +func NewReEnrollEdgeRouterTooManyRequests() *ReEnrollEdgeRouterTooManyRequests { + + return &ReEnrollEdgeRouterTooManyRequests{} +} + +// WithPayload adds the payload to the re enroll edge router too many requests response +func (o *ReEnrollEdgeRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ReEnrollEdgeRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the re enroll edge router too many requests response +func (o *ReEnrollEdgeRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ReEnrollEdgeRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router/update_edge_router_responses.go b/rest_management_api_server/operations/edge_router/update_edge_router_responses.go index 76e1c688..528c61b9 100644 --- a/rest_management_api_server/operations/edge_router/update_edge_router_responses.go +++ b/rest_management_api_server/operations/edge_router/update_edge_router_responses.go @@ -212,3 +212,47 @@ func (o *UpdateEdgeRouterNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// UpdateEdgeRouterTooManyRequestsCode is the HTTP code returned for type UpdateEdgeRouterTooManyRequests +const UpdateEdgeRouterTooManyRequestsCode int = 429 + +/*UpdateEdgeRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateEdgeRouterTooManyRequests +*/ +type UpdateEdgeRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateEdgeRouterTooManyRequests creates UpdateEdgeRouterTooManyRequests with default headers values +func NewUpdateEdgeRouterTooManyRequests() *UpdateEdgeRouterTooManyRequests { + + return &UpdateEdgeRouterTooManyRequests{} +} + +// WithPayload adds the payload to the update edge router too many requests response +func (o *UpdateEdgeRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update edge router too many requests response +func (o *UpdateEdgeRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateEdgeRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/create_edge_router_policy_responses.go b/rest_management_api_server/operations/edge_router_policy/create_edge_router_policy_responses.go index 82672e63..89a7b1e9 100644 --- a/rest_management_api_server/operations/edge_router_policy/create_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/create_edge_router_policy_responses.go @@ -168,3 +168,47 @@ func (o *CreateEdgeRouterPolicyUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// CreateEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type CreateEdgeRouterPolicyTooManyRequests +const CreateEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*CreateEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createEdgeRouterPolicyTooManyRequests +*/ +type CreateEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateEdgeRouterPolicyTooManyRequests creates CreateEdgeRouterPolicyTooManyRequests with default headers values +func NewCreateEdgeRouterPolicyTooManyRequests() *CreateEdgeRouterPolicyTooManyRequests { + + return &CreateEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the create edge router policy too many requests response +func (o *CreateEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create edge router policy too many requests response +func (o *CreateEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/delete_edge_router_policy_responses.go b/rest_management_api_server/operations/edge_router_policy/delete_edge_router_policy_responses.go index 64e4293b..13381915 100644 --- a/rest_management_api_server/operations/edge_router_policy/delete_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/delete_edge_router_policy_responses.go @@ -212,3 +212,47 @@ func (o *DeleteEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWriter, p } } } + +// DeleteEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type DeleteEdgeRouterPolicyTooManyRequests +const DeleteEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*DeleteEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteEdgeRouterPolicyTooManyRequests +*/ +type DeleteEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteEdgeRouterPolicyTooManyRequests creates DeleteEdgeRouterPolicyTooManyRequests with default headers values +func NewDeleteEdgeRouterPolicyTooManyRequests() *DeleteEdgeRouterPolicyTooManyRequests { + + return &DeleteEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the delete edge router policy too many requests response +func (o *DeleteEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete edge router policy too many requests response +func (o *DeleteEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/detail_edge_router_policy_responses.go b/rest_management_api_server/operations/edge_router_policy/detail_edge_router_policy_responses.go index b9dab4b6..0f75f367 100644 --- a/rest_management_api_server/operations/edge_router_policy/detail_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/detail_edge_router_policy_responses.go @@ -168,3 +168,47 @@ func (o *DetailEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// DetailEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type DetailEdgeRouterPolicyTooManyRequests +const DetailEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*DetailEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailEdgeRouterPolicyTooManyRequests +*/ +type DetailEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailEdgeRouterPolicyTooManyRequests creates DetailEdgeRouterPolicyTooManyRequests with default headers values +func NewDetailEdgeRouterPolicyTooManyRequests() *DetailEdgeRouterPolicyTooManyRequests { + + return &DetailEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the detail edge router policy too many requests response +func (o *DetailEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail edge router policy too many requests response +func (o *DetailEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/list_edge_router_policies_responses.go b/rest_management_api_server/operations/edge_router_policy/list_edge_router_policies_responses.go index b2c9793b..90e8f392 100644 --- a/rest_management_api_server/operations/edge_router_policy/list_edge_router_policies_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/list_edge_router_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ListEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterPoliciesTooManyRequests +const ListEdgeRouterPoliciesTooManyRequestsCode int = 429 + +/*ListEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterPoliciesTooManyRequests +*/ +type ListEdgeRouterPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterPoliciesTooManyRequests creates ListEdgeRouterPoliciesTooManyRequests with default headers values +func NewListEdgeRouterPoliciesTooManyRequests() *ListEdgeRouterPoliciesTooManyRequests { + + return &ListEdgeRouterPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router policies too many requests response +func (o *ListEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router policies too many requests response +func (o *ListEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_responses.go b/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_responses.go index 6f3428b3..7d82c4cd 100644 --- a/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_edge_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse(rw http.Response } } } + +// ListEdgeRouterPolicyEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterPolicyEdgeRoutersTooManyRequests +const ListEdgeRouterPolicyEdgeRoutersTooManyRequestsCode int = 429 + +/*ListEdgeRouterPolicyEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterPolicyEdgeRoutersTooManyRequests +*/ +type ListEdgeRouterPolicyEdgeRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterPolicyEdgeRoutersTooManyRequests creates ListEdgeRouterPolicyEdgeRoutersTooManyRequests with default headers values +func NewListEdgeRouterPolicyEdgeRoutersTooManyRequests() *ListEdgeRouterPolicyEdgeRoutersTooManyRequests { + + return &ListEdgeRouterPolicyEdgeRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router policy edge routers too many requests response +func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyEdgeRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router policy edge routers too many requests response +func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterPolicyEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_identities_responses.go b/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_identities_responses.go index cf66aa67..5b009f0e 100644 --- a/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_identities_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/list_edge_router_policy_identities_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterPolicyIdentitiesNotFound) WriteResponse(rw http.ResponseW } } } + +// ListEdgeRouterPolicyIdentitiesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterPolicyIdentitiesTooManyRequests +const ListEdgeRouterPolicyIdentitiesTooManyRequestsCode int = 429 + +/*ListEdgeRouterPolicyIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterPolicyIdentitiesTooManyRequests +*/ +type ListEdgeRouterPolicyIdentitiesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterPolicyIdentitiesTooManyRequests creates ListEdgeRouterPolicyIdentitiesTooManyRequests with default headers values +func NewListEdgeRouterPolicyIdentitiesTooManyRequests() *ListEdgeRouterPolicyIdentitiesTooManyRequests { + + return &ListEdgeRouterPolicyIdentitiesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router policy identities too many requests response +func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterPolicyIdentitiesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router policy identities too many requests response +func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterPolicyIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/patch_edge_router_policy_responses.go b/rest_management_api_server/operations/edge_router_policy/patch_edge_router_policy_responses.go index 7a12fb3b..af96c719 100644 --- a/rest_management_api_server/operations/edge_router_policy/patch_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/patch_edge_router_policy_responses.go @@ -212,3 +212,47 @@ func (o *PatchEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, pr } } } + +// PatchEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type PatchEdgeRouterPolicyTooManyRequests +const PatchEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*PatchEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchEdgeRouterPolicyTooManyRequests +*/ +type PatchEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchEdgeRouterPolicyTooManyRequests creates PatchEdgeRouterPolicyTooManyRequests with default headers values +func NewPatchEdgeRouterPolicyTooManyRequests() *PatchEdgeRouterPolicyTooManyRequests { + + return &PatchEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the patch edge router policy too many requests response +func (o *PatchEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch edge router policy too many requests response +func (o *PatchEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/edge_router_policy/update_edge_router_policy_responses.go b/rest_management_api_server/operations/edge_router_policy/update_edge_router_policy_responses.go index 06059a39..9af088d0 100644 --- a/rest_management_api_server/operations/edge_router_policy/update_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/edge_router_policy/update_edge_router_policy_responses.go @@ -212,3 +212,47 @@ func (o *UpdateEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// UpdateEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type UpdateEdgeRouterPolicyTooManyRequests +const UpdateEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*UpdateEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateEdgeRouterPolicyTooManyRequests +*/ +type UpdateEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateEdgeRouterPolicyTooManyRequests creates UpdateEdgeRouterPolicyTooManyRequests with default headers values +func NewUpdateEdgeRouterPolicyTooManyRequests() *UpdateEdgeRouterPolicyTooManyRequests { + + return &UpdateEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the update edge router policy too many requests response +func (o *UpdateEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update edge router policy too many requests response +func (o *UpdateEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/enrollment/create_enrollment_responses.go b/rest_management_api_server/operations/enrollment/create_enrollment_responses.go index 4ea95022..374f3543 100644 --- a/rest_management_api_server/operations/enrollment/create_enrollment_responses.go +++ b/rest_management_api_server/operations/enrollment/create_enrollment_responses.go @@ -212,3 +212,47 @@ func (o *CreateEnrollmentConflict) WriteResponse(rw http.ResponseWriter, produce } } } + +// CreateEnrollmentTooManyRequestsCode is the HTTP code returned for type CreateEnrollmentTooManyRequests +const CreateEnrollmentTooManyRequestsCode int = 429 + +/*CreateEnrollmentTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createEnrollmentTooManyRequests +*/ +type CreateEnrollmentTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateEnrollmentTooManyRequests creates CreateEnrollmentTooManyRequests with default headers values +func NewCreateEnrollmentTooManyRequests() *CreateEnrollmentTooManyRequests { + + return &CreateEnrollmentTooManyRequests{} +} + +// WithPayload adds the payload to the create enrollment too many requests response +func (o *CreateEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateEnrollmentTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create enrollment too many requests response +func (o *CreateEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/enrollment/delete_enrollment_responses.go b/rest_management_api_server/operations/enrollment/delete_enrollment_responses.go index 33c6f81e..29f642d6 100644 --- a/rest_management_api_server/operations/enrollment/delete_enrollment_responses.go +++ b/rest_management_api_server/operations/enrollment/delete_enrollment_responses.go @@ -168,3 +168,47 @@ func (o *DeleteEnrollmentUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// DeleteEnrollmentTooManyRequestsCode is the HTTP code returned for type DeleteEnrollmentTooManyRequests +const DeleteEnrollmentTooManyRequestsCode int = 429 + +/*DeleteEnrollmentTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteEnrollmentTooManyRequests +*/ +type DeleteEnrollmentTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteEnrollmentTooManyRequests creates DeleteEnrollmentTooManyRequests with default headers values +func NewDeleteEnrollmentTooManyRequests() *DeleteEnrollmentTooManyRequests { + + return &DeleteEnrollmentTooManyRequests{} +} + +// WithPayload adds the payload to the delete enrollment too many requests response +func (o *DeleteEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteEnrollmentTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete enrollment too many requests response +func (o *DeleteEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/enrollment/detail_enrollment_responses.go b/rest_management_api_server/operations/enrollment/detail_enrollment_responses.go index 445637d5..94c73464 100644 --- a/rest_management_api_server/operations/enrollment/detail_enrollment_responses.go +++ b/rest_management_api_server/operations/enrollment/detail_enrollment_responses.go @@ -168,3 +168,47 @@ func (o *DetailEnrollmentNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// DetailEnrollmentTooManyRequestsCode is the HTTP code returned for type DetailEnrollmentTooManyRequests +const DetailEnrollmentTooManyRequestsCode int = 429 + +/*DetailEnrollmentTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailEnrollmentTooManyRequests +*/ +type DetailEnrollmentTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailEnrollmentTooManyRequests creates DetailEnrollmentTooManyRequests with default headers values +func NewDetailEnrollmentTooManyRequests() *DetailEnrollmentTooManyRequests { + + return &DetailEnrollmentTooManyRequests{} +} + +// WithPayload adds the payload to the detail enrollment too many requests response +func (o *DetailEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailEnrollmentTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail enrollment too many requests response +func (o *DetailEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/enrollment/list_enrollments_responses.go b/rest_management_api_server/operations/enrollment/list_enrollments_responses.go index d313bdb1..aa2b138f 100644 --- a/rest_management_api_server/operations/enrollment/list_enrollments_responses.go +++ b/rest_management_api_server/operations/enrollment/list_enrollments_responses.go @@ -168,3 +168,47 @@ func (o *ListEnrollmentsUnauthorized) WriteResponse(rw http.ResponseWriter, prod } } } + +// ListEnrollmentsTooManyRequestsCode is the HTTP code returned for type ListEnrollmentsTooManyRequests +const ListEnrollmentsTooManyRequestsCode int = 429 + +/*ListEnrollmentsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEnrollmentsTooManyRequests +*/ +type ListEnrollmentsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEnrollmentsTooManyRequests creates ListEnrollmentsTooManyRequests with default headers values +func NewListEnrollmentsTooManyRequests() *ListEnrollmentsTooManyRequests { + + return &ListEnrollmentsTooManyRequests{} +} + +// WithPayload adds the payload to the list enrollments too many requests response +func (o *ListEnrollmentsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEnrollmentsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list enrollments too many requests response +func (o *ListEnrollmentsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEnrollmentsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/enrollment/refresh_enrollment_responses.go b/rest_management_api_server/operations/enrollment/refresh_enrollment_responses.go index c8dc5ce8..06bb7c58 100644 --- a/rest_management_api_server/operations/enrollment/refresh_enrollment_responses.go +++ b/rest_management_api_server/operations/enrollment/refresh_enrollment_responses.go @@ -168,3 +168,47 @@ func (o *RefreshEnrollmentUnauthorized) WriteResponse(rw http.ResponseWriter, pr } } } + +// RefreshEnrollmentTooManyRequestsCode is the HTTP code returned for type RefreshEnrollmentTooManyRequests +const RefreshEnrollmentTooManyRequestsCode int = 429 + +/*RefreshEnrollmentTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response refreshEnrollmentTooManyRequests +*/ +type RefreshEnrollmentTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewRefreshEnrollmentTooManyRequests creates RefreshEnrollmentTooManyRequests with default headers values +func NewRefreshEnrollmentTooManyRequests() *RefreshEnrollmentTooManyRequests { + + return &RefreshEnrollmentTooManyRequests{} +} + +// WithPayload adds the payload to the refresh enrollment too many requests response +func (o *RefreshEnrollmentTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RefreshEnrollmentTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the refresh enrollment too many requests response +func (o *RefreshEnrollmentTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *RefreshEnrollmentTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/external_jwt_signer/create_external_jwt_signer_responses.go b/rest_management_api_server/operations/external_jwt_signer/create_external_jwt_signer_responses.go index 3bb57ce2..9b04b876 100644 --- a/rest_management_api_server/operations/external_jwt_signer/create_external_jwt_signer_responses.go +++ b/rest_management_api_server/operations/external_jwt_signer/create_external_jwt_signer_responses.go @@ -168,3 +168,47 @@ func (o *CreateExternalJWTSignerUnauthorized) WriteResponse(rw http.ResponseWrit } } } + +// CreateExternalJWTSignerTooManyRequestsCode is the HTTP code returned for type CreateExternalJWTSignerTooManyRequests +const CreateExternalJWTSignerTooManyRequestsCode int = 429 + +/*CreateExternalJWTSignerTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createExternalJwtSignerTooManyRequests +*/ +type CreateExternalJWTSignerTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateExternalJWTSignerTooManyRequests creates CreateExternalJWTSignerTooManyRequests with default headers values +func NewCreateExternalJWTSignerTooManyRequests() *CreateExternalJWTSignerTooManyRequests { + + return &CreateExternalJWTSignerTooManyRequests{} +} + +// WithPayload adds the payload to the create external Jwt signer too many requests response +func (o *CreateExternalJWTSignerTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateExternalJWTSignerTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create external Jwt signer too many requests response +func (o *CreateExternalJWTSignerTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateExternalJWTSignerTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/external_jwt_signer/delete_external_jwt_signer_responses.go b/rest_management_api_server/operations/external_jwt_signer/delete_external_jwt_signer_responses.go index 4c7746b8..04175118 100644 --- a/rest_management_api_server/operations/external_jwt_signer/delete_external_jwt_signer_responses.go +++ b/rest_management_api_server/operations/external_jwt_signer/delete_external_jwt_signer_responses.go @@ -168,3 +168,47 @@ func (o *DeleteExternalJWTSignerUnauthorized) WriteResponse(rw http.ResponseWrit } } } + +// DeleteExternalJWTSignerTooManyRequestsCode is the HTTP code returned for type DeleteExternalJWTSignerTooManyRequests +const DeleteExternalJWTSignerTooManyRequestsCode int = 429 + +/*DeleteExternalJWTSignerTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteExternalJwtSignerTooManyRequests +*/ +type DeleteExternalJWTSignerTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteExternalJWTSignerTooManyRequests creates DeleteExternalJWTSignerTooManyRequests with default headers values +func NewDeleteExternalJWTSignerTooManyRequests() *DeleteExternalJWTSignerTooManyRequests { + + return &DeleteExternalJWTSignerTooManyRequests{} +} + +// WithPayload adds the payload to the delete external Jwt signer too many requests response +func (o *DeleteExternalJWTSignerTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteExternalJWTSignerTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete external Jwt signer too many requests response +func (o *DeleteExternalJWTSignerTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteExternalJWTSignerTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/external_jwt_signer/detail_external_jwt_signer_responses.go b/rest_management_api_server/operations/external_jwt_signer/detail_external_jwt_signer_responses.go index 433d4c07..15201a77 100644 --- a/rest_management_api_server/operations/external_jwt_signer/detail_external_jwt_signer_responses.go +++ b/rest_management_api_server/operations/external_jwt_signer/detail_external_jwt_signer_responses.go @@ -168,3 +168,47 @@ func (o *DetailExternalJWTSignerNotFound) WriteResponse(rw http.ResponseWriter, } } } + +// DetailExternalJWTSignerTooManyRequestsCode is the HTTP code returned for type DetailExternalJWTSignerTooManyRequests +const DetailExternalJWTSignerTooManyRequestsCode int = 429 + +/*DetailExternalJWTSignerTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailExternalJwtSignerTooManyRequests +*/ +type DetailExternalJWTSignerTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailExternalJWTSignerTooManyRequests creates DetailExternalJWTSignerTooManyRequests with default headers values +func NewDetailExternalJWTSignerTooManyRequests() *DetailExternalJWTSignerTooManyRequests { + + return &DetailExternalJWTSignerTooManyRequests{} +} + +// WithPayload adds the payload to the detail external Jwt signer too many requests response +func (o *DetailExternalJWTSignerTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailExternalJWTSignerTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail external Jwt signer too many requests response +func (o *DetailExternalJWTSignerTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailExternalJWTSignerTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go b/rest_management_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go index 99311266..f55bbd39 100644 --- a/rest_management_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go +++ b/rest_management_api_server/operations/external_jwt_signer/list_external_jwt_signers_responses.go @@ -168,3 +168,47 @@ func (o *ListExternalJWTSignersUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ListExternalJWTSignersTooManyRequestsCode is the HTTP code returned for type ListExternalJWTSignersTooManyRequests +const ListExternalJWTSignersTooManyRequestsCode int = 429 + +/*ListExternalJWTSignersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listExternalJwtSignersTooManyRequests +*/ +type ListExternalJWTSignersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListExternalJWTSignersTooManyRequests creates ListExternalJWTSignersTooManyRequests with default headers values +func NewListExternalJWTSignersTooManyRequests() *ListExternalJWTSignersTooManyRequests { + + return &ListExternalJWTSignersTooManyRequests{} +} + +// WithPayload adds the payload to the list external Jwt signers too many requests response +func (o *ListExternalJWTSignersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListExternalJWTSignersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list external Jwt signers too many requests response +func (o *ListExternalJWTSignersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListExternalJWTSignersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/external_jwt_signer/patch_external_jwt_signer_responses.go b/rest_management_api_server/operations/external_jwt_signer/patch_external_jwt_signer_responses.go index 143dce7f..0751a28e 100644 --- a/rest_management_api_server/operations/external_jwt_signer/patch_external_jwt_signer_responses.go +++ b/rest_management_api_server/operations/external_jwt_signer/patch_external_jwt_signer_responses.go @@ -212,3 +212,47 @@ func (o *PatchExternalJWTSignerNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// PatchExternalJWTSignerTooManyRequestsCode is the HTTP code returned for type PatchExternalJWTSignerTooManyRequests +const PatchExternalJWTSignerTooManyRequestsCode int = 429 + +/*PatchExternalJWTSignerTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchExternalJwtSignerTooManyRequests +*/ +type PatchExternalJWTSignerTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchExternalJWTSignerTooManyRequests creates PatchExternalJWTSignerTooManyRequests with default headers values +func NewPatchExternalJWTSignerTooManyRequests() *PatchExternalJWTSignerTooManyRequests { + + return &PatchExternalJWTSignerTooManyRequests{} +} + +// WithPayload adds the payload to the patch external Jwt signer too many requests response +func (o *PatchExternalJWTSignerTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchExternalJWTSignerTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch external Jwt signer too many requests response +func (o *PatchExternalJWTSignerTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchExternalJWTSignerTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/external_jwt_signer/update_external_jwt_signer_responses.go b/rest_management_api_server/operations/external_jwt_signer/update_external_jwt_signer_responses.go index a835c8ae..6e66606c 100644 --- a/rest_management_api_server/operations/external_jwt_signer/update_external_jwt_signer_responses.go +++ b/rest_management_api_server/operations/external_jwt_signer/update_external_jwt_signer_responses.go @@ -212,3 +212,47 @@ func (o *UpdateExternalJWTSignerNotFound) WriteResponse(rw http.ResponseWriter, } } } + +// UpdateExternalJWTSignerTooManyRequestsCode is the HTTP code returned for type UpdateExternalJWTSignerTooManyRequests +const UpdateExternalJWTSignerTooManyRequestsCode int = 429 + +/*UpdateExternalJWTSignerTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateExternalJwtSignerTooManyRequests +*/ +type UpdateExternalJWTSignerTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateExternalJWTSignerTooManyRequests creates UpdateExternalJWTSignerTooManyRequests with default headers values +func NewUpdateExternalJWTSignerTooManyRequests() *UpdateExternalJWTSignerTooManyRequests { + + return &UpdateExternalJWTSignerTooManyRequests{} +} + +// WithPayload adds the payload to the update external Jwt signer too many requests response +func (o *UpdateExternalJWTSignerTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateExternalJWTSignerTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update external Jwt signer too many requests response +func (o *UpdateExternalJWTSignerTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateExternalJWTSignerTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/associate_identitys_service_configs_responses.go b/rest_management_api_server/operations/identity/associate_identitys_service_configs_responses.go index b796d5b5..e893ece0 100644 --- a/rest_management_api_server/operations/identity/associate_identitys_service_configs_responses.go +++ b/rest_management_api_server/operations/identity/associate_identitys_service_configs_responses.go @@ -212,3 +212,47 @@ func (o *AssociateIdentitysServiceConfigsNotFound) WriteResponse(rw http.Respons } } } + +// AssociateIdentitysServiceConfigsTooManyRequestsCode is the HTTP code returned for type AssociateIdentitysServiceConfigsTooManyRequests +const AssociateIdentitysServiceConfigsTooManyRequestsCode int = 429 + +/*AssociateIdentitysServiceConfigsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response associateIdentitysServiceConfigsTooManyRequests +*/ +type AssociateIdentitysServiceConfigsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewAssociateIdentitysServiceConfigsTooManyRequests creates AssociateIdentitysServiceConfigsTooManyRequests with default headers values +func NewAssociateIdentitysServiceConfigsTooManyRequests() *AssociateIdentitysServiceConfigsTooManyRequests { + + return &AssociateIdentitysServiceConfigsTooManyRequests{} +} + +// WithPayload adds the payload to the associate identitys service configs too many requests response +func (o *AssociateIdentitysServiceConfigsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *AssociateIdentitysServiceConfigsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the associate identitys service configs too many requests response +func (o *AssociateIdentitysServiceConfigsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *AssociateIdentitysServiceConfigsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/create_identity_responses.go b/rest_management_api_server/operations/identity/create_identity_responses.go index 94569897..eb812a2e 100644 --- a/rest_management_api_server/operations/identity/create_identity_responses.go +++ b/rest_management_api_server/operations/identity/create_identity_responses.go @@ -168,3 +168,47 @@ func (o *CreateIdentityUnauthorized) WriteResponse(rw http.ResponseWriter, produ } } } + +// CreateIdentityTooManyRequestsCode is the HTTP code returned for type CreateIdentityTooManyRequests +const CreateIdentityTooManyRequestsCode int = 429 + +/*CreateIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createIdentityTooManyRequests +*/ +type CreateIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateIdentityTooManyRequests creates CreateIdentityTooManyRequests with default headers values +func NewCreateIdentityTooManyRequests() *CreateIdentityTooManyRequests { + + return &CreateIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the create identity too many requests response +func (o *CreateIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create identity too many requests response +func (o *CreateIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/delete_identity_responses.go b/rest_management_api_server/operations/identity/delete_identity_responses.go index 89cbb17d..ceb107a5 100644 --- a/rest_management_api_server/operations/identity/delete_identity_responses.go +++ b/rest_management_api_server/operations/identity/delete_identity_responses.go @@ -212,3 +212,47 @@ func (o *DeleteIdentityConflict) WriteResponse(rw http.ResponseWriter, producer } } } + +// DeleteIdentityTooManyRequestsCode is the HTTP code returned for type DeleteIdentityTooManyRequests +const DeleteIdentityTooManyRequestsCode int = 429 + +/*DeleteIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteIdentityTooManyRequests +*/ +type DeleteIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteIdentityTooManyRequests creates DeleteIdentityTooManyRequests with default headers values +func NewDeleteIdentityTooManyRequests() *DeleteIdentityTooManyRequests { + + return &DeleteIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the delete identity too many requests response +func (o *DeleteIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete identity too many requests response +func (o *DeleteIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/detail_identity_responses.go b/rest_management_api_server/operations/identity/detail_identity_responses.go index 28797372..afc03991 100644 --- a/rest_management_api_server/operations/identity/detail_identity_responses.go +++ b/rest_management_api_server/operations/identity/detail_identity_responses.go @@ -168,3 +168,47 @@ func (o *DetailIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// DetailIdentityTooManyRequestsCode is the HTTP code returned for type DetailIdentityTooManyRequests +const DetailIdentityTooManyRequestsCode int = 429 + +/*DetailIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailIdentityTooManyRequests +*/ +type DetailIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailIdentityTooManyRequests creates DetailIdentityTooManyRequests with default headers values +func NewDetailIdentityTooManyRequests() *DetailIdentityTooManyRequests { + + return &DetailIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the detail identity too many requests response +func (o *DetailIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail identity too many requests response +func (o *DetailIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/detail_identity_type_responses.go b/rest_management_api_server/operations/identity/detail_identity_type_responses.go index e3565028..40897f27 100644 --- a/rest_management_api_server/operations/identity/detail_identity_type_responses.go +++ b/rest_management_api_server/operations/identity/detail_identity_type_responses.go @@ -168,3 +168,47 @@ func (o *DetailIdentityTypeNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// DetailIdentityTypeTooManyRequestsCode is the HTTP code returned for type DetailIdentityTypeTooManyRequests +const DetailIdentityTypeTooManyRequestsCode int = 429 + +/*DetailIdentityTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailIdentityTypeTooManyRequests +*/ +type DetailIdentityTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailIdentityTypeTooManyRequests creates DetailIdentityTypeTooManyRequests with default headers values +func NewDetailIdentityTypeTooManyRequests() *DetailIdentityTypeTooManyRequests { + + return &DetailIdentityTypeTooManyRequests{} +} + +// WithPayload adds the payload to the detail identity type too many requests response +func (o *DetailIdentityTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailIdentityTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail identity type too many requests response +func (o *DetailIdentityTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailIdentityTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/disable_identity_responses.go b/rest_management_api_server/operations/identity/disable_identity_responses.go index 3286d687..444d8075 100644 --- a/rest_management_api_server/operations/identity/disable_identity_responses.go +++ b/rest_management_api_server/operations/identity/disable_identity_responses.go @@ -168,3 +168,47 @@ func (o *DisableIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// DisableIdentityTooManyRequestsCode is the HTTP code returned for type DisableIdentityTooManyRequests +const DisableIdentityTooManyRequestsCode int = 429 + +/*DisableIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response disableIdentityTooManyRequests +*/ +type DisableIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDisableIdentityTooManyRequests creates DisableIdentityTooManyRequests with default headers values +func NewDisableIdentityTooManyRequests() *DisableIdentityTooManyRequests { + + return &DisableIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the disable identity too many requests response +func (o *DisableIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DisableIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the disable identity too many requests response +func (o *DisableIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DisableIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/disassociate_identitys_service_configs_responses.go b/rest_management_api_server/operations/identity/disassociate_identitys_service_configs_responses.go index 15f8b9ee..e6707dcf 100644 --- a/rest_management_api_server/operations/identity/disassociate_identitys_service_configs_responses.go +++ b/rest_management_api_server/operations/identity/disassociate_identitys_service_configs_responses.go @@ -212,3 +212,47 @@ func (o *DisassociateIdentitysServiceConfigsNotFound) WriteResponse(rw http.Resp } } } + +// DisassociateIdentitysServiceConfigsTooManyRequestsCode is the HTTP code returned for type DisassociateIdentitysServiceConfigsTooManyRequests +const DisassociateIdentitysServiceConfigsTooManyRequestsCode int = 429 + +/*DisassociateIdentitysServiceConfigsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response disassociateIdentitysServiceConfigsTooManyRequests +*/ +type DisassociateIdentitysServiceConfigsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDisassociateIdentitysServiceConfigsTooManyRequests creates DisassociateIdentitysServiceConfigsTooManyRequests with default headers values +func NewDisassociateIdentitysServiceConfigsTooManyRequests() *DisassociateIdentitysServiceConfigsTooManyRequests { + + return &DisassociateIdentitysServiceConfigsTooManyRequests{} +} + +// WithPayload adds the payload to the disassociate identitys service configs too many requests response +func (o *DisassociateIdentitysServiceConfigsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DisassociateIdentitysServiceConfigsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the disassociate identitys service configs too many requests response +func (o *DisassociateIdentitysServiceConfigsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DisassociateIdentitysServiceConfigsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/enable_identity_responses.go b/rest_management_api_server/operations/identity/enable_identity_responses.go index 8cb6c83e..01098f04 100644 --- a/rest_management_api_server/operations/identity/enable_identity_responses.go +++ b/rest_management_api_server/operations/identity/enable_identity_responses.go @@ -168,3 +168,47 @@ func (o *EnableIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// EnableIdentityTooManyRequestsCode is the HTTP code returned for type EnableIdentityTooManyRequests +const EnableIdentityTooManyRequestsCode int = 429 + +/*EnableIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response enableIdentityTooManyRequests +*/ +type EnableIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewEnableIdentityTooManyRequests creates EnableIdentityTooManyRequests with default headers values +func NewEnableIdentityTooManyRequests() *EnableIdentityTooManyRequests { + + return &EnableIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the enable identity too many requests response +func (o *EnableIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *EnableIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the enable identity too many requests response +func (o *EnableIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *EnableIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/get_identity_authenticators_responses.go b/rest_management_api_server/operations/identity/get_identity_authenticators_responses.go index f7f2ff08..4f84085c 100644 --- a/rest_management_api_server/operations/identity/get_identity_authenticators_responses.go +++ b/rest_management_api_server/operations/identity/get_identity_authenticators_responses.go @@ -168,3 +168,47 @@ func (o *GetIdentityAuthenticatorsNotFound) WriteResponse(rw http.ResponseWriter } } } + +// GetIdentityAuthenticatorsTooManyRequestsCode is the HTTP code returned for type GetIdentityAuthenticatorsTooManyRequests +const GetIdentityAuthenticatorsTooManyRequestsCode int = 429 + +/*GetIdentityAuthenticatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getIdentityAuthenticatorsTooManyRequests +*/ +type GetIdentityAuthenticatorsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetIdentityAuthenticatorsTooManyRequests creates GetIdentityAuthenticatorsTooManyRequests with default headers values +func NewGetIdentityAuthenticatorsTooManyRequests() *GetIdentityAuthenticatorsTooManyRequests { + + return &GetIdentityAuthenticatorsTooManyRequests{} +} + +// WithPayload adds the payload to the get identity authenticators too many requests response +func (o *GetIdentityAuthenticatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetIdentityAuthenticatorsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get identity authenticators too many requests response +func (o *GetIdentityAuthenticatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetIdentityAuthenticatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/get_identity_enrollments_responses.go b/rest_management_api_server/operations/identity/get_identity_enrollments_responses.go index 34d0d383..b4a2dd9f 100644 --- a/rest_management_api_server/operations/identity/get_identity_enrollments_responses.go +++ b/rest_management_api_server/operations/identity/get_identity_enrollments_responses.go @@ -168,3 +168,47 @@ func (o *GetIdentityEnrollmentsNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// GetIdentityEnrollmentsTooManyRequestsCode is the HTTP code returned for type GetIdentityEnrollmentsTooManyRequests +const GetIdentityEnrollmentsTooManyRequestsCode int = 429 + +/*GetIdentityEnrollmentsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getIdentityEnrollmentsTooManyRequests +*/ +type GetIdentityEnrollmentsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetIdentityEnrollmentsTooManyRequests creates GetIdentityEnrollmentsTooManyRequests with default headers values +func NewGetIdentityEnrollmentsTooManyRequests() *GetIdentityEnrollmentsTooManyRequests { + + return &GetIdentityEnrollmentsTooManyRequests{} +} + +// WithPayload adds the payload to the get identity enrollments too many requests response +func (o *GetIdentityEnrollmentsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetIdentityEnrollmentsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get identity enrollments too many requests response +func (o *GetIdentityEnrollmentsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetIdentityEnrollmentsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/get_identity_failed_service_requests_responses.go b/rest_management_api_server/operations/identity/get_identity_failed_service_requests_responses.go index 7257019a..4a100ba0 100644 --- a/rest_management_api_server/operations/identity/get_identity_failed_service_requests_responses.go +++ b/rest_management_api_server/operations/identity/get_identity_failed_service_requests_responses.go @@ -168,3 +168,47 @@ func (o *GetIdentityFailedServiceRequestsNotFound) WriteResponse(rw http.Respons } } } + +// GetIdentityFailedServiceRequestsTooManyRequestsCode is the HTTP code returned for type GetIdentityFailedServiceRequestsTooManyRequests +const GetIdentityFailedServiceRequestsTooManyRequestsCode int = 429 + +/*GetIdentityFailedServiceRequestsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getIdentityFailedServiceRequestsTooManyRequests +*/ +type GetIdentityFailedServiceRequestsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetIdentityFailedServiceRequestsTooManyRequests creates GetIdentityFailedServiceRequestsTooManyRequests with default headers values +func NewGetIdentityFailedServiceRequestsTooManyRequests() *GetIdentityFailedServiceRequestsTooManyRequests { + + return &GetIdentityFailedServiceRequestsTooManyRequests{} +} + +// WithPayload adds the payload to the get identity failed service requests too many requests response +func (o *GetIdentityFailedServiceRequestsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetIdentityFailedServiceRequestsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get identity failed service requests too many requests response +func (o *GetIdentityFailedServiceRequestsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetIdentityFailedServiceRequestsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/get_identity_policy_advice_responses.go b/rest_management_api_server/operations/identity/get_identity_policy_advice_responses.go index eb4a1c16..81f3785b 100644 --- a/rest_management_api_server/operations/identity/get_identity_policy_advice_responses.go +++ b/rest_management_api_server/operations/identity/get_identity_policy_advice_responses.go @@ -168,3 +168,47 @@ func (o *GetIdentityPolicyAdviceNotFound) WriteResponse(rw http.ResponseWriter, } } } + +// GetIdentityPolicyAdviceTooManyRequestsCode is the HTTP code returned for type GetIdentityPolicyAdviceTooManyRequests +const GetIdentityPolicyAdviceTooManyRequestsCode int = 429 + +/*GetIdentityPolicyAdviceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getIdentityPolicyAdviceTooManyRequests +*/ +type GetIdentityPolicyAdviceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetIdentityPolicyAdviceTooManyRequests creates GetIdentityPolicyAdviceTooManyRequests with default headers values +func NewGetIdentityPolicyAdviceTooManyRequests() *GetIdentityPolicyAdviceTooManyRequests { + + return &GetIdentityPolicyAdviceTooManyRequests{} +} + +// WithPayload adds the payload to the get identity policy advice too many requests response +func (o *GetIdentityPolicyAdviceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetIdentityPolicyAdviceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get identity policy advice too many requests response +func (o *GetIdentityPolicyAdviceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetIdentityPolicyAdviceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/get_identity_posture_data_responses.go b/rest_management_api_server/operations/identity/get_identity_posture_data_responses.go index 2d800382..9821eb79 100644 --- a/rest_management_api_server/operations/identity/get_identity_posture_data_responses.go +++ b/rest_management_api_server/operations/identity/get_identity_posture_data_responses.go @@ -168,3 +168,47 @@ func (o *GetIdentityPostureDataNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// GetIdentityPostureDataTooManyRequestsCode is the HTTP code returned for type GetIdentityPostureDataTooManyRequests +const GetIdentityPostureDataTooManyRequestsCode int = 429 + +/*GetIdentityPostureDataTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response getIdentityPostureDataTooManyRequests +*/ +type GetIdentityPostureDataTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewGetIdentityPostureDataTooManyRequests creates GetIdentityPostureDataTooManyRequests with default headers values +func NewGetIdentityPostureDataTooManyRequests() *GetIdentityPostureDataTooManyRequests { + + return &GetIdentityPostureDataTooManyRequests{} +} + +// WithPayload adds the payload to the get identity posture data too many requests response +func (o *GetIdentityPostureDataTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *GetIdentityPostureDataTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the get identity posture data too many requests response +func (o *GetIdentityPostureDataTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *GetIdentityPostureDataTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identities_responses.go b/rest_management_api_server/operations/identity/list_identities_responses.go index 5c4c12bb..e50304de 100644 --- a/rest_management_api_server/operations/identity/list_identities_responses.go +++ b/rest_management_api_server/operations/identity/list_identities_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter, produ } } } + +// ListIdentitiesTooManyRequestsCode is the HTTP code returned for type ListIdentitiesTooManyRequests +const ListIdentitiesTooManyRequestsCode int = 429 + +/*ListIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentitiesTooManyRequests +*/ +type ListIdentitiesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentitiesTooManyRequests creates ListIdentitiesTooManyRequests with default headers values +func NewListIdentitiesTooManyRequests() *ListIdentitiesTooManyRequests { + + return &ListIdentitiesTooManyRequests{} +} + +// WithPayload adds the payload to the list identities too many requests response +func (o *ListIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentitiesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identities too many requests response +func (o *ListIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identity_edge_routers_responses.go b/rest_management_api_server/operations/identity/list_identity_edge_routers_responses.go index d737d7d1..fa888bf6 100644 --- a/rest_management_api_server/operations/identity/list_identity_edge_routers_responses.go +++ b/rest_management_api_server/operations/identity/list_identity_edge_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentityEdgeRoutersNotFound) WriteResponse(rw http.ResponseWriter, } } } + +// ListIdentityEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListIdentityEdgeRoutersTooManyRequests +const ListIdentityEdgeRoutersTooManyRequestsCode int = 429 + +/*ListIdentityEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentityEdgeRoutersTooManyRequests +*/ +type ListIdentityEdgeRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentityEdgeRoutersTooManyRequests creates ListIdentityEdgeRoutersTooManyRequests with default headers values +func NewListIdentityEdgeRoutersTooManyRequests() *ListIdentityEdgeRoutersTooManyRequests { + + return &ListIdentityEdgeRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list identity edge routers too many requests response +func (o *ListIdentityEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentityEdgeRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identity edge routers too many requests response +func (o *ListIdentityEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentityEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identity_service_policies_responses.go b/rest_management_api_server/operations/identity/list_identity_service_policies_responses.go index e3f22d35..c05c76b4 100644 --- a/rest_management_api_server/operations/identity/list_identity_service_policies_responses.go +++ b/rest_management_api_server/operations/identity/list_identity_service_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentityServicePoliciesNotFound) WriteResponse(rw http.ResponseWrit } } } + +// ListIdentityServicePoliciesTooManyRequestsCode is the HTTP code returned for type ListIdentityServicePoliciesTooManyRequests +const ListIdentityServicePoliciesTooManyRequestsCode int = 429 + +/*ListIdentityServicePoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentityServicePoliciesTooManyRequests +*/ +type ListIdentityServicePoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentityServicePoliciesTooManyRequests creates ListIdentityServicePoliciesTooManyRequests with default headers values +func NewListIdentityServicePoliciesTooManyRequests() *ListIdentityServicePoliciesTooManyRequests { + + return &ListIdentityServicePoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list identity service policies too many requests response +func (o *ListIdentityServicePoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentityServicePoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identity service policies too many requests response +func (o *ListIdentityServicePoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentityServicePoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identity_services_responses.go b/rest_management_api_server/operations/identity/list_identity_services_responses.go index cb6cdad5..5df1f769 100644 --- a/rest_management_api_server/operations/identity/list_identity_services_responses.go +++ b/rest_management_api_server/operations/identity/list_identity_services_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentityServicesNotFound) WriteResponse(rw http.ResponseWriter, pro } } } + +// ListIdentityServicesTooManyRequestsCode is the HTTP code returned for type ListIdentityServicesTooManyRequests +const ListIdentityServicesTooManyRequestsCode int = 429 + +/*ListIdentityServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentityServicesTooManyRequests +*/ +type ListIdentityServicesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentityServicesTooManyRequests creates ListIdentityServicesTooManyRequests with default headers values +func NewListIdentityServicesTooManyRequests() *ListIdentityServicesTooManyRequests { + + return &ListIdentityServicesTooManyRequests{} +} + +// WithPayload adds the payload to the list identity services too many requests response +func (o *ListIdentityServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentityServicesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identity services too many requests response +func (o *ListIdentityServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentityServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identity_types_responses.go b/rest_management_api_server/operations/identity/list_identity_types_responses.go index f76a6372..72d72876 100644 --- a/rest_management_api_server/operations/identity/list_identity_types_responses.go +++ b/rest_management_api_server/operations/identity/list_identity_types_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentityTypesUnauthorized) WriteResponse(rw http.ResponseWriter, pr } } } + +// ListIdentityTypesTooManyRequestsCode is the HTTP code returned for type ListIdentityTypesTooManyRequests +const ListIdentityTypesTooManyRequestsCode int = 429 + +/*ListIdentityTypesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentityTypesTooManyRequests +*/ +type ListIdentityTypesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentityTypesTooManyRequests creates ListIdentityTypesTooManyRequests with default headers values +func NewListIdentityTypesTooManyRequests() *ListIdentityTypesTooManyRequests { + + return &ListIdentityTypesTooManyRequests{} +} + +// WithPayload adds the payload to the list identity types too many requests response +func (o *ListIdentityTypesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentityTypesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identity types too many requests response +func (o *ListIdentityTypesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentityTypesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identitys_edge_router_policies_responses.go b/rest_management_api_server/operations/identity/list_identitys_edge_router_policies_responses.go index 76a3e1e3..f0331249 100644 --- a/rest_management_api_server/operations/identity/list_identitys_edge_router_policies_responses.go +++ b/rest_management_api_server/operations/identity/list_identitys_edge_router_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentitysEdgeRouterPoliciesNotFound) WriteResponse(rw http.Response } } } + +// ListIdentitysEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListIdentitysEdgeRouterPoliciesTooManyRequests +const ListIdentitysEdgeRouterPoliciesTooManyRequestsCode int = 429 + +/*ListIdentitysEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentitysEdgeRouterPoliciesTooManyRequests +*/ +type ListIdentitysEdgeRouterPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentitysEdgeRouterPoliciesTooManyRequests creates ListIdentitysEdgeRouterPoliciesTooManyRequests with default headers values +func NewListIdentitysEdgeRouterPoliciesTooManyRequests() *ListIdentitysEdgeRouterPoliciesTooManyRequests { + + return &ListIdentitysEdgeRouterPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list identitys edge router policies too many requests response +func (o *ListIdentitysEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentitysEdgeRouterPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identitys edge router policies too many requests response +func (o *ListIdentitysEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentitysEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/list_identitys_service_configs_responses.go b/rest_management_api_server/operations/identity/list_identitys_service_configs_responses.go index 0143687f..def3e64e 100644 --- a/rest_management_api_server/operations/identity/list_identitys_service_configs_responses.go +++ b/rest_management_api_server/operations/identity/list_identitys_service_configs_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentitysServiceConfigsNotFound) WriteResponse(rw http.ResponseWrit } } } + +// ListIdentitysServiceConfigsTooManyRequestsCode is the HTTP code returned for type ListIdentitysServiceConfigsTooManyRequests +const ListIdentitysServiceConfigsTooManyRequestsCode int = 429 + +/*ListIdentitysServiceConfigsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentitysServiceConfigsTooManyRequests +*/ +type ListIdentitysServiceConfigsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentitysServiceConfigsTooManyRequests creates ListIdentitysServiceConfigsTooManyRequests with default headers values +func NewListIdentitysServiceConfigsTooManyRequests() *ListIdentitysServiceConfigsTooManyRequests { + + return &ListIdentitysServiceConfigsTooManyRequests{} +} + +// WithPayload adds the payload to the list identitys service configs too many requests response +func (o *ListIdentitysServiceConfigsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentitysServiceConfigsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identitys service configs too many requests response +func (o *ListIdentitysServiceConfigsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentitysServiceConfigsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/patch_identity_responses.go b/rest_management_api_server/operations/identity/patch_identity_responses.go index cae681c3..b5c2aa68 100644 --- a/rest_management_api_server/operations/identity/patch_identity_responses.go +++ b/rest_management_api_server/operations/identity/patch_identity_responses.go @@ -212,3 +212,47 @@ func (o *PatchIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// PatchIdentityTooManyRequestsCode is the HTTP code returned for type PatchIdentityTooManyRequests +const PatchIdentityTooManyRequestsCode int = 429 + +/*PatchIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchIdentityTooManyRequests +*/ +type PatchIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchIdentityTooManyRequests creates PatchIdentityTooManyRequests with default headers values +func NewPatchIdentityTooManyRequests() *PatchIdentityTooManyRequests { + + return &PatchIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the patch identity too many requests response +func (o *PatchIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch identity too many requests response +func (o *PatchIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/remove_identity_mfa_responses.go b/rest_management_api_server/operations/identity/remove_identity_mfa_responses.go index 300b2c1c..cea2fa69 100644 --- a/rest_management_api_server/operations/identity/remove_identity_mfa_responses.go +++ b/rest_management_api_server/operations/identity/remove_identity_mfa_responses.go @@ -168,3 +168,47 @@ func (o *RemoveIdentityMfaNotFound) WriteResponse(rw http.ResponseWriter, produc } } } + +// RemoveIdentityMfaTooManyRequestsCode is the HTTP code returned for type RemoveIdentityMfaTooManyRequests +const RemoveIdentityMfaTooManyRequestsCode int = 429 + +/*RemoveIdentityMfaTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response removeIdentityMfaTooManyRequests +*/ +type RemoveIdentityMfaTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewRemoveIdentityMfaTooManyRequests creates RemoveIdentityMfaTooManyRequests with default headers values +func NewRemoveIdentityMfaTooManyRequests() *RemoveIdentityMfaTooManyRequests { + + return &RemoveIdentityMfaTooManyRequests{} +} + +// WithPayload adds the payload to the remove identity mfa too many requests response +func (o *RemoveIdentityMfaTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *RemoveIdentityMfaTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the remove identity mfa too many requests response +func (o *RemoveIdentityMfaTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *RemoveIdentityMfaTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/update_identity_responses.go b/rest_management_api_server/operations/identity/update_identity_responses.go index 611d0da5..89741d80 100644 --- a/rest_management_api_server/operations/identity/update_identity_responses.go +++ b/rest_management_api_server/operations/identity/update_identity_responses.go @@ -212,3 +212,47 @@ func (o *UpdateIdentityNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// UpdateIdentityTooManyRequestsCode is the HTTP code returned for type UpdateIdentityTooManyRequests +const UpdateIdentityTooManyRequestsCode int = 429 + +/*UpdateIdentityTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateIdentityTooManyRequests +*/ +type UpdateIdentityTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateIdentityTooManyRequests creates UpdateIdentityTooManyRequests with default headers values +func NewUpdateIdentityTooManyRequests() *UpdateIdentityTooManyRequests { + + return &UpdateIdentityTooManyRequests{} +} + +// WithPayload adds the payload to the update identity too many requests response +func (o *UpdateIdentityTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateIdentityTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update identity too many requests response +func (o *UpdateIdentityTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateIdentityTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/identity/update_identity_tracing_responses.go b/rest_management_api_server/operations/identity/update_identity_tracing_responses.go index bdd096d9..bd955628 100644 --- a/rest_management_api_server/operations/identity/update_identity_tracing_responses.go +++ b/rest_management_api_server/operations/identity/update_identity_tracing_responses.go @@ -212,3 +212,47 @@ func (o *UpdateIdentityTracingNotFound) WriteResponse(rw http.ResponseWriter, pr } } } + +// UpdateIdentityTracingTooManyRequestsCode is the HTTP code returned for type UpdateIdentityTracingTooManyRequests +const UpdateIdentityTracingTooManyRequestsCode int = 429 + +/*UpdateIdentityTracingTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateIdentityTracingTooManyRequests +*/ +type UpdateIdentityTracingTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateIdentityTracingTooManyRequests creates UpdateIdentityTracingTooManyRequests with default headers values +func NewUpdateIdentityTracingTooManyRequests() *UpdateIdentityTracingTooManyRequests { + + return &UpdateIdentityTracingTooManyRequests{} +} + +// WithPayload adds the payload to the update identity tracing too many requests response +func (o *UpdateIdentityTracingTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateIdentityTracingTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update identity tracing too many requests response +func (o *UpdateIdentityTracingTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateIdentityTracingTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/informational/list_summary_responses.go b/rest_management_api_server/operations/informational/list_summary_responses.go index ac4c1f37..092b2669 100644 --- a/rest_management_api_server/operations/informational/list_summary_responses.go +++ b/rest_management_api_server/operations/informational/list_summary_responses.go @@ -124,3 +124,47 @@ func (o *ListSummaryUnauthorized) WriteResponse(rw http.ResponseWriter, producer } } } + +// ListSummaryTooManyRequestsCode is the HTTP code returned for type ListSummaryTooManyRequests +const ListSummaryTooManyRequestsCode int = 429 + +/*ListSummaryTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listSummaryTooManyRequests +*/ +type ListSummaryTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListSummaryTooManyRequests creates ListSummaryTooManyRequests with default headers values +func NewListSummaryTooManyRequests() *ListSummaryTooManyRequests { + + return &ListSummaryTooManyRequests{} +} + +// WithPayload adds the payload to the list summary too many requests response +func (o *ListSummaryTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListSummaryTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list summary too many requests response +func (o *ListSummaryTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListSummaryTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/create_posture_check_responses.go b/rest_management_api_server/operations/posture_checks/create_posture_check_responses.go index 873e5948..7a8575e8 100644 --- a/rest_management_api_server/operations/posture_checks/create_posture_check_responses.go +++ b/rest_management_api_server/operations/posture_checks/create_posture_check_responses.go @@ -168,3 +168,47 @@ func (o *CreatePostureCheckUnauthorized) WriteResponse(rw http.ResponseWriter, p } } } + +// CreatePostureCheckTooManyRequestsCode is the HTTP code returned for type CreatePostureCheckTooManyRequests +const CreatePostureCheckTooManyRequestsCode int = 429 + +/*CreatePostureCheckTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createPostureCheckTooManyRequests +*/ +type CreatePostureCheckTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreatePostureCheckTooManyRequests creates CreatePostureCheckTooManyRequests with default headers values +func NewCreatePostureCheckTooManyRequests() *CreatePostureCheckTooManyRequests { + + return &CreatePostureCheckTooManyRequests{} +} + +// WithPayload adds the payload to the create posture check too many requests response +func (o *CreatePostureCheckTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreatePostureCheckTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create posture check too many requests response +func (o *CreatePostureCheckTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreatePostureCheckTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/delete_posture_check_responses.go b/rest_management_api_server/operations/posture_checks/delete_posture_check_responses.go index 63ec711b..b408da0b 100644 --- a/rest_management_api_server/operations/posture_checks/delete_posture_check_responses.go +++ b/rest_management_api_server/operations/posture_checks/delete_posture_check_responses.go @@ -168,3 +168,47 @@ func (o *DeletePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// DeletePostureCheckTooManyRequestsCode is the HTTP code returned for type DeletePostureCheckTooManyRequests +const DeletePostureCheckTooManyRequestsCode int = 429 + +/*DeletePostureCheckTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deletePostureCheckTooManyRequests +*/ +type DeletePostureCheckTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeletePostureCheckTooManyRequests creates DeletePostureCheckTooManyRequests with default headers values +func NewDeletePostureCheckTooManyRequests() *DeletePostureCheckTooManyRequests { + + return &DeletePostureCheckTooManyRequests{} +} + +// WithPayload adds the payload to the delete posture check too many requests response +func (o *DeletePostureCheckTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeletePostureCheckTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete posture check too many requests response +func (o *DeletePostureCheckTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeletePostureCheckTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/detail_posture_check_responses.go b/rest_management_api_server/operations/posture_checks/detail_posture_check_responses.go index 90683af7..7d13d897 100644 --- a/rest_management_api_server/operations/posture_checks/detail_posture_check_responses.go +++ b/rest_management_api_server/operations/posture_checks/detail_posture_check_responses.go @@ -168,3 +168,47 @@ func (o *DetailPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// DetailPostureCheckTooManyRequestsCode is the HTTP code returned for type DetailPostureCheckTooManyRequests +const DetailPostureCheckTooManyRequestsCode int = 429 + +/*DetailPostureCheckTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailPostureCheckTooManyRequests +*/ +type DetailPostureCheckTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailPostureCheckTooManyRequests creates DetailPostureCheckTooManyRequests with default headers values +func NewDetailPostureCheckTooManyRequests() *DetailPostureCheckTooManyRequests { + + return &DetailPostureCheckTooManyRequests{} +} + +// WithPayload adds the payload to the detail posture check too many requests response +func (o *DetailPostureCheckTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail posture check too many requests response +func (o *DetailPostureCheckTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailPostureCheckTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/detail_posture_check_type_responses.go b/rest_management_api_server/operations/posture_checks/detail_posture_check_type_responses.go index 98dc408c..e803dad5 100644 --- a/rest_management_api_server/operations/posture_checks/detail_posture_check_type_responses.go +++ b/rest_management_api_server/operations/posture_checks/detail_posture_check_type_responses.go @@ -168,3 +168,47 @@ func (o *DetailPostureCheckTypeNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// DetailPostureCheckTypeTooManyRequestsCode is the HTTP code returned for type DetailPostureCheckTypeTooManyRequests +const DetailPostureCheckTypeTooManyRequestsCode int = 429 + +/*DetailPostureCheckTypeTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailPostureCheckTypeTooManyRequests +*/ +type DetailPostureCheckTypeTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailPostureCheckTypeTooManyRequests creates DetailPostureCheckTypeTooManyRequests with default headers values +func NewDetailPostureCheckTypeTooManyRequests() *DetailPostureCheckTypeTooManyRequests { + + return &DetailPostureCheckTypeTooManyRequests{} +} + +// WithPayload adds the payload to the detail posture check type too many requests response +func (o *DetailPostureCheckTypeTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailPostureCheckTypeTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail posture check type too many requests response +func (o *DetailPostureCheckTypeTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailPostureCheckTypeTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/list_posture_check_types_responses.go b/rest_management_api_server/operations/posture_checks/list_posture_check_types_responses.go index 5e0a5434..2a72f803 100644 --- a/rest_management_api_server/operations/posture_checks/list_posture_check_types_responses.go +++ b/rest_management_api_server/operations/posture_checks/list_posture_check_types_responses.go @@ -168,3 +168,47 @@ func (o *ListPostureCheckTypesUnauthorized) WriteResponse(rw http.ResponseWriter } } } + +// ListPostureCheckTypesTooManyRequestsCode is the HTTP code returned for type ListPostureCheckTypesTooManyRequests +const ListPostureCheckTypesTooManyRequestsCode int = 429 + +/*ListPostureCheckTypesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listPostureCheckTypesTooManyRequests +*/ +type ListPostureCheckTypesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListPostureCheckTypesTooManyRequests creates ListPostureCheckTypesTooManyRequests with default headers values +func NewListPostureCheckTypesTooManyRequests() *ListPostureCheckTypesTooManyRequests { + + return &ListPostureCheckTypesTooManyRequests{} +} + +// WithPayload adds the payload to the list posture check types too many requests response +func (o *ListPostureCheckTypesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListPostureCheckTypesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list posture check types too many requests response +func (o *ListPostureCheckTypesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListPostureCheckTypesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/list_posture_checks_responses.go b/rest_management_api_server/operations/posture_checks/list_posture_checks_responses.go index 4daf6ec9..0a2018fd 100644 --- a/rest_management_api_server/operations/posture_checks/list_posture_checks_responses.go +++ b/rest_management_api_server/operations/posture_checks/list_posture_checks_responses.go @@ -168,3 +168,47 @@ func (o *ListPostureChecksUnauthorized) WriteResponse(rw http.ResponseWriter, pr } } } + +// ListPostureChecksTooManyRequestsCode is the HTTP code returned for type ListPostureChecksTooManyRequests +const ListPostureChecksTooManyRequestsCode int = 429 + +/*ListPostureChecksTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listPostureChecksTooManyRequests +*/ +type ListPostureChecksTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListPostureChecksTooManyRequests creates ListPostureChecksTooManyRequests with default headers values +func NewListPostureChecksTooManyRequests() *ListPostureChecksTooManyRequests { + + return &ListPostureChecksTooManyRequests{} +} + +// WithPayload adds the payload to the list posture checks too many requests response +func (o *ListPostureChecksTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListPostureChecksTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list posture checks too many requests response +func (o *ListPostureChecksTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListPostureChecksTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/patch_posture_check_responses.go b/rest_management_api_server/operations/posture_checks/patch_posture_check_responses.go index b987ba36..420eaad1 100644 --- a/rest_management_api_server/operations/posture_checks/patch_posture_check_responses.go +++ b/rest_management_api_server/operations/posture_checks/patch_posture_check_responses.go @@ -212,3 +212,47 @@ func (o *PatchPostureCheckNotFound) WriteResponse(rw http.ResponseWriter, produc } } } + +// PatchPostureCheckTooManyRequestsCode is the HTTP code returned for type PatchPostureCheckTooManyRequests +const PatchPostureCheckTooManyRequestsCode int = 429 + +/*PatchPostureCheckTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchPostureCheckTooManyRequests +*/ +type PatchPostureCheckTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchPostureCheckTooManyRequests creates PatchPostureCheckTooManyRequests with default headers values +func NewPatchPostureCheckTooManyRequests() *PatchPostureCheckTooManyRequests { + + return &PatchPostureCheckTooManyRequests{} +} + +// WithPayload adds the payload to the patch posture check too many requests response +func (o *PatchPostureCheckTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchPostureCheckTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch posture check too many requests response +func (o *PatchPostureCheckTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchPostureCheckTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/posture_checks/update_posture_check_responses.go b/rest_management_api_server/operations/posture_checks/update_posture_check_responses.go index 77f93c11..cb6d6817 100644 --- a/rest_management_api_server/operations/posture_checks/update_posture_check_responses.go +++ b/rest_management_api_server/operations/posture_checks/update_posture_check_responses.go @@ -212,3 +212,47 @@ func (o *UpdatePostureCheckNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// UpdatePostureCheckTooManyRequestsCode is the HTTP code returned for type UpdatePostureCheckTooManyRequests +const UpdatePostureCheckTooManyRequestsCode int = 429 + +/*UpdatePostureCheckTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updatePostureCheckTooManyRequests +*/ +type UpdatePostureCheckTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdatePostureCheckTooManyRequests creates UpdatePostureCheckTooManyRequests with default headers values +func NewUpdatePostureCheckTooManyRequests() *UpdatePostureCheckTooManyRequests { + + return &UpdatePostureCheckTooManyRequests{} +} + +// WithPayload adds the payload to the update posture check too many requests response +func (o *UpdatePostureCheckTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdatePostureCheckTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update posture check too many requests response +func (o *UpdatePostureCheckTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdatePostureCheckTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/role_attributes/list_edge_router_role_attributes_responses.go b/rest_management_api_server/operations/role_attributes/list_edge_router_role_attributes_responses.go index 4f3aaaa4..42331057 100644 --- a/rest_management_api_server/operations/role_attributes/list_edge_router_role_attributes_responses.go +++ b/rest_management_api_server/operations/role_attributes/list_edge_router_role_attributes_responses.go @@ -168,3 +168,47 @@ func (o *ListEdgeRouterRoleAttributesUnauthorized) WriteResponse(rw http.Respons } } } + +// ListEdgeRouterRoleAttributesTooManyRequestsCode is the HTTP code returned for type ListEdgeRouterRoleAttributesTooManyRequests +const ListEdgeRouterRoleAttributesTooManyRequestsCode int = 429 + +/*ListEdgeRouterRoleAttributesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listEdgeRouterRoleAttributesTooManyRequests +*/ +type ListEdgeRouterRoleAttributesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListEdgeRouterRoleAttributesTooManyRequests creates ListEdgeRouterRoleAttributesTooManyRequests with default headers values +func NewListEdgeRouterRoleAttributesTooManyRequests() *ListEdgeRouterRoleAttributesTooManyRequests { + + return &ListEdgeRouterRoleAttributesTooManyRequests{} +} + +// WithPayload adds the payload to the list edge router role attributes too many requests response +func (o *ListEdgeRouterRoleAttributesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListEdgeRouterRoleAttributesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list edge router role attributes too many requests response +func (o *ListEdgeRouterRoleAttributesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListEdgeRouterRoleAttributesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/role_attributes/list_identity_role_attributes_responses.go b/rest_management_api_server/operations/role_attributes/list_identity_role_attributes_responses.go index bec8ceda..fc64bb5e 100644 --- a/rest_management_api_server/operations/role_attributes/list_identity_role_attributes_responses.go +++ b/rest_management_api_server/operations/role_attributes/list_identity_role_attributes_responses.go @@ -168,3 +168,47 @@ func (o *ListIdentityRoleAttributesUnauthorized) WriteResponse(rw http.ResponseW } } } + +// ListIdentityRoleAttributesTooManyRequestsCode is the HTTP code returned for type ListIdentityRoleAttributesTooManyRequests +const ListIdentityRoleAttributesTooManyRequestsCode int = 429 + +/*ListIdentityRoleAttributesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listIdentityRoleAttributesTooManyRequests +*/ +type ListIdentityRoleAttributesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListIdentityRoleAttributesTooManyRequests creates ListIdentityRoleAttributesTooManyRequests with default headers values +func NewListIdentityRoleAttributesTooManyRequests() *ListIdentityRoleAttributesTooManyRequests { + + return &ListIdentityRoleAttributesTooManyRequests{} +} + +// WithPayload adds the payload to the list identity role attributes too many requests response +func (o *ListIdentityRoleAttributesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListIdentityRoleAttributesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list identity role attributes too many requests response +func (o *ListIdentityRoleAttributesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListIdentityRoleAttributesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/role_attributes/list_service_role_attributes_responses.go b/rest_management_api_server/operations/role_attributes/list_service_role_attributes_responses.go index 426c06c1..14a00c0a 100644 --- a/rest_management_api_server/operations/role_attributes/list_service_role_attributes_responses.go +++ b/rest_management_api_server/operations/role_attributes/list_service_role_attributes_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceRoleAttributesUnauthorized) WriteResponse(rw http.ResponseWr } } } + +// ListServiceRoleAttributesTooManyRequestsCode is the HTTP code returned for type ListServiceRoleAttributesTooManyRequests +const ListServiceRoleAttributesTooManyRequestsCode int = 429 + +/*ListServiceRoleAttributesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceRoleAttributesTooManyRequests +*/ +type ListServiceRoleAttributesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceRoleAttributesTooManyRequests creates ListServiceRoleAttributesTooManyRequests with default headers values +func NewListServiceRoleAttributesTooManyRequests() *ListServiceRoleAttributesTooManyRequests { + + return &ListServiceRoleAttributesTooManyRequests{} +} + +// WithPayload adds the payload to the list service role attributes too many requests response +func (o *ListServiceRoleAttributesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceRoleAttributesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service role attributes too many requests response +func (o *ListServiceRoleAttributesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceRoleAttributesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/create_router_responses.go b/rest_management_api_server/operations/router/create_router_responses.go index e2ca8620..e0f67987 100644 --- a/rest_management_api_server/operations/router/create_router_responses.go +++ b/rest_management_api_server/operations/router/create_router_responses.go @@ -168,3 +168,47 @@ func (o *CreateRouterUnauthorized) WriteResponse(rw http.ResponseWriter, produce } } } + +// CreateRouterTooManyRequestsCode is the HTTP code returned for type CreateRouterTooManyRequests +const CreateRouterTooManyRequestsCode int = 429 + +/*CreateRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createRouterTooManyRequests +*/ +type CreateRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateRouterTooManyRequests creates CreateRouterTooManyRequests with default headers values +func NewCreateRouterTooManyRequests() *CreateRouterTooManyRequests { + + return &CreateRouterTooManyRequests{} +} + +// WithPayload adds the payload to the create router too many requests response +func (o *CreateRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create router too many requests response +func (o *CreateRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/create_transit_router_responses.go b/rest_management_api_server/operations/router/create_transit_router_responses.go index e6853d8e..3c57e605 100644 --- a/rest_management_api_server/operations/router/create_transit_router_responses.go +++ b/rest_management_api_server/operations/router/create_transit_router_responses.go @@ -168,3 +168,47 @@ func (o *CreateTransitRouterUnauthorized) WriteResponse(rw http.ResponseWriter, } } } + +// CreateTransitRouterTooManyRequestsCode is the HTTP code returned for type CreateTransitRouterTooManyRequests +const CreateTransitRouterTooManyRequestsCode int = 429 + +/*CreateTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createTransitRouterTooManyRequests +*/ +type CreateTransitRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateTransitRouterTooManyRequests creates CreateTransitRouterTooManyRequests with default headers values +func NewCreateTransitRouterTooManyRequests() *CreateTransitRouterTooManyRequests { + + return &CreateTransitRouterTooManyRequests{} +} + +// WithPayload adds the payload to the create transit router too many requests response +func (o *CreateTransitRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateTransitRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create transit router too many requests response +func (o *CreateTransitRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateTransitRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/delete_router_responses.go b/rest_management_api_server/operations/router/delete_router_responses.go index 5f25472b..82455e8c 100644 --- a/rest_management_api_server/operations/router/delete_router_responses.go +++ b/rest_management_api_server/operations/router/delete_router_responses.go @@ -212,3 +212,47 @@ func (o *DeleteRouterConflict) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// DeleteRouterTooManyRequestsCode is the HTTP code returned for type DeleteRouterTooManyRequests +const DeleteRouterTooManyRequestsCode int = 429 + +/*DeleteRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteRouterTooManyRequests +*/ +type DeleteRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteRouterTooManyRequests creates DeleteRouterTooManyRequests with default headers values +func NewDeleteRouterTooManyRequests() *DeleteRouterTooManyRequests { + + return &DeleteRouterTooManyRequests{} +} + +// WithPayload adds the payload to the delete router too many requests response +func (o *DeleteRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete router too many requests response +func (o *DeleteRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/delete_transit_router_responses.go b/rest_management_api_server/operations/router/delete_transit_router_responses.go index f334be9d..26ebd4a2 100644 --- a/rest_management_api_server/operations/router/delete_transit_router_responses.go +++ b/rest_management_api_server/operations/router/delete_transit_router_responses.go @@ -212,3 +212,47 @@ func (o *DeleteTransitRouterConflict) WriteResponse(rw http.ResponseWriter, prod } } } + +// DeleteTransitRouterTooManyRequestsCode is the HTTP code returned for type DeleteTransitRouterTooManyRequests +const DeleteTransitRouterTooManyRequestsCode int = 429 + +/*DeleteTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteTransitRouterTooManyRequests +*/ +type DeleteTransitRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteTransitRouterTooManyRequests creates DeleteTransitRouterTooManyRequests with default headers values +func NewDeleteTransitRouterTooManyRequests() *DeleteTransitRouterTooManyRequests { + + return &DeleteTransitRouterTooManyRequests{} +} + +// WithPayload adds the payload to the delete transit router too many requests response +func (o *DeleteTransitRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteTransitRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete transit router too many requests response +func (o *DeleteTransitRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteTransitRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/detail_router_responses.go b/rest_management_api_server/operations/router/detail_router_responses.go index 6fad426b..92641b27 100644 --- a/rest_management_api_server/operations/router/detail_router_responses.go +++ b/rest_management_api_server/operations/router/detail_router_responses.go @@ -168,3 +168,47 @@ func (o *DetailRouterNotFound) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// DetailRouterTooManyRequestsCode is the HTTP code returned for type DetailRouterTooManyRequests +const DetailRouterTooManyRequestsCode int = 429 + +/*DetailRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailRouterTooManyRequests +*/ +type DetailRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailRouterTooManyRequests creates DetailRouterTooManyRequests with default headers values +func NewDetailRouterTooManyRequests() *DetailRouterTooManyRequests { + + return &DetailRouterTooManyRequests{} +} + +// WithPayload adds the payload to the detail router too many requests response +func (o *DetailRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail router too many requests response +func (o *DetailRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/detail_transit_router_responses.go b/rest_management_api_server/operations/router/detail_transit_router_responses.go index 2ff09561..63f734f5 100644 --- a/rest_management_api_server/operations/router/detail_transit_router_responses.go +++ b/rest_management_api_server/operations/router/detail_transit_router_responses.go @@ -168,3 +168,47 @@ func (o *DetailTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, prod } } } + +// DetailTransitRouterTooManyRequestsCode is the HTTP code returned for type DetailTransitRouterTooManyRequests +const DetailTransitRouterTooManyRequestsCode int = 429 + +/*DetailTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailTransitRouterTooManyRequests +*/ +type DetailTransitRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailTransitRouterTooManyRequests creates DetailTransitRouterTooManyRequests with default headers values +func NewDetailTransitRouterTooManyRequests() *DetailTransitRouterTooManyRequests { + + return &DetailTransitRouterTooManyRequests{} +} + +// WithPayload adds the payload to the detail transit router too many requests response +func (o *DetailTransitRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailTransitRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail transit router too many requests response +func (o *DetailTransitRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailTransitRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/list_routers_responses.go b/rest_management_api_server/operations/router/list_routers_responses.go index 99210cb5..ca52aa1e 100644 --- a/rest_management_api_server/operations/router/list_routers_responses.go +++ b/rest_management_api_server/operations/router/list_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, producer } } } + +// ListRoutersTooManyRequestsCode is the HTTP code returned for type ListRoutersTooManyRequests +const ListRoutersTooManyRequestsCode int = 429 + +/*ListRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listRoutersTooManyRequests +*/ +type ListRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListRoutersTooManyRequests creates ListRoutersTooManyRequests with default headers values +func NewListRoutersTooManyRequests() *ListRoutersTooManyRequests { + + return &ListRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list routers too many requests response +func (o *ListRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list routers too many requests response +func (o *ListRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/list_transit_routers_responses.go b/rest_management_api_server/operations/router/list_transit_routers_responses.go index 217422d0..87c2ea7a 100644 --- a/rest_management_api_server/operations/router/list_transit_routers_responses.go +++ b/rest_management_api_server/operations/router/list_transit_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListTransitRoutersUnauthorized) WriteResponse(rw http.ResponseWriter, p } } } + +// ListTransitRoutersTooManyRequestsCode is the HTTP code returned for type ListTransitRoutersTooManyRequests +const ListTransitRoutersTooManyRequestsCode int = 429 + +/*ListTransitRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listTransitRoutersTooManyRequests +*/ +type ListTransitRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListTransitRoutersTooManyRequests creates ListTransitRoutersTooManyRequests with default headers values +func NewListTransitRoutersTooManyRequests() *ListTransitRoutersTooManyRequests { + + return &ListTransitRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list transit routers too many requests response +func (o *ListTransitRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListTransitRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list transit routers too many requests response +func (o *ListTransitRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListTransitRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/patch_router_responses.go b/rest_management_api_server/operations/router/patch_router_responses.go index 4c2265d9..4c7f86ce 100644 --- a/rest_management_api_server/operations/router/patch_router_responses.go +++ b/rest_management_api_server/operations/router/patch_router_responses.go @@ -212,3 +212,47 @@ func (o *PatchRouterNotFound) WriteResponse(rw http.ResponseWriter, producer run } } } + +// PatchRouterTooManyRequestsCode is the HTTP code returned for type PatchRouterTooManyRequests +const PatchRouterTooManyRequestsCode int = 429 + +/*PatchRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchRouterTooManyRequests +*/ +type PatchRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchRouterTooManyRequests creates PatchRouterTooManyRequests with default headers values +func NewPatchRouterTooManyRequests() *PatchRouterTooManyRequests { + + return &PatchRouterTooManyRequests{} +} + +// WithPayload adds the payload to the patch router too many requests response +func (o *PatchRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch router too many requests response +func (o *PatchRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/patch_transit_router_responses.go b/rest_management_api_server/operations/router/patch_transit_router_responses.go index ed772523..584c55bc 100644 --- a/rest_management_api_server/operations/router/patch_transit_router_responses.go +++ b/rest_management_api_server/operations/router/patch_transit_router_responses.go @@ -212,3 +212,47 @@ func (o *PatchTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// PatchTransitRouterTooManyRequestsCode is the HTTP code returned for type PatchTransitRouterTooManyRequests +const PatchTransitRouterTooManyRequestsCode int = 429 + +/*PatchTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchTransitRouterTooManyRequests +*/ +type PatchTransitRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchTransitRouterTooManyRequests creates PatchTransitRouterTooManyRequests with default headers values +func NewPatchTransitRouterTooManyRequests() *PatchTransitRouterTooManyRequests { + + return &PatchTransitRouterTooManyRequests{} +} + +// WithPayload adds the payload to the patch transit router too many requests response +func (o *PatchTransitRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchTransitRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch transit router too many requests response +func (o *PatchTransitRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchTransitRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/update_router_responses.go b/rest_management_api_server/operations/router/update_router_responses.go index ee782a41..73a7457b 100644 --- a/rest_management_api_server/operations/router/update_router_responses.go +++ b/rest_management_api_server/operations/router/update_router_responses.go @@ -212,3 +212,47 @@ func (o *UpdateRouterNotFound) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// UpdateRouterTooManyRequestsCode is the HTTP code returned for type UpdateRouterTooManyRequests +const UpdateRouterTooManyRequestsCode int = 429 + +/*UpdateRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateRouterTooManyRequests +*/ +type UpdateRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateRouterTooManyRequests creates UpdateRouterTooManyRequests with default headers values +func NewUpdateRouterTooManyRequests() *UpdateRouterTooManyRequests { + + return &UpdateRouterTooManyRequests{} +} + +// WithPayload adds the payload to the update router too many requests response +func (o *UpdateRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update router too many requests response +func (o *UpdateRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/router/update_transit_router_responses.go b/rest_management_api_server/operations/router/update_transit_router_responses.go index 2df14a39..b67d8548 100644 --- a/rest_management_api_server/operations/router/update_transit_router_responses.go +++ b/rest_management_api_server/operations/router/update_transit_router_responses.go @@ -212,3 +212,47 @@ func (o *UpdateTransitRouterNotFound) WriteResponse(rw http.ResponseWriter, prod } } } + +// UpdateTransitRouterTooManyRequestsCode is the HTTP code returned for type UpdateTransitRouterTooManyRequests +const UpdateTransitRouterTooManyRequestsCode int = 429 + +/*UpdateTransitRouterTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateTransitRouterTooManyRequests +*/ +type UpdateTransitRouterTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateTransitRouterTooManyRequests creates UpdateTransitRouterTooManyRequests with default headers values +func NewUpdateTransitRouterTooManyRequests() *UpdateTransitRouterTooManyRequests { + + return &UpdateTransitRouterTooManyRequests{} +} + +// WithPayload adds the payload to the update transit router too many requests response +func (o *UpdateTransitRouterTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateTransitRouterTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update transit router too many requests response +func (o *UpdateTransitRouterTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateTransitRouterTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/create_service_responses.go b/rest_management_api_server/operations/service/create_service_responses.go index fbc413dc..3bf9536c 100644 --- a/rest_management_api_server/operations/service/create_service_responses.go +++ b/rest_management_api_server/operations/service/create_service_responses.go @@ -168,3 +168,47 @@ func (o *CreateServiceUnauthorized) WriteResponse(rw http.ResponseWriter, produc } } } + +// CreateServiceTooManyRequestsCode is the HTTP code returned for type CreateServiceTooManyRequests +const CreateServiceTooManyRequestsCode int = 429 + +/*CreateServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createServiceTooManyRequests +*/ +type CreateServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateServiceTooManyRequests creates CreateServiceTooManyRequests with default headers values +func NewCreateServiceTooManyRequests() *CreateServiceTooManyRequests { + + return &CreateServiceTooManyRequests{} +} + +// WithPayload adds the payload to the create service too many requests response +func (o *CreateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create service too many requests response +func (o *CreateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/delete_service_responses.go b/rest_management_api_server/operations/service/delete_service_responses.go index 3b7401ea..f2663523 100644 --- a/rest_management_api_server/operations/service/delete_service_responses.go +++ b/rest_management_api_server/operations/service/delete_service_responses.go @@ -212,3 +212,47 @@ func (o *DeleteServiceConflict) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DeleteServiceTooManyRequestsCode is the HTTP code returned for type DeleteServiceTooManyRequests +const DeleteServiceTooManyRequestsCode int = 429 + +/*DeleteServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteServiceTooManyRequests +*/ +type DeleteServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteServiceTooManyRequests creates DeleteServiceTooManyRequests with default headers values +func NewDeleteServiceTooManyRequests() *DeleteServiceTooManyRequests { + + return &DeleteServiceTooManyRequests{} +} + +// WithPayload adds the payload to the delete service too many requests response +func (o *DeleteServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete service too many requests response +func (o *DeleteServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/detail_service_responses.go b/rest_management_api_server/operations/service/detail_service_responses.go index 884ff7c8..df8da7b5 100644 --- a/rest_management_api_server/operations/service/detail_service_responses.go +++ b/rest_management_api_server/operations/service/detail_service_responses.go @@ -168,3 +168,47 @@ func (o *DetailServiceNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DetailServiceTooManyRequestsCode is the HTTP code returned for type DetailServiceTooManyRequests +const DetailServiceTooManyRequestsCode int = 429 + +/*DetailServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailServiceTooManyRequests +*/ +type DetailServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailServiceTooManyRequests creates DetailServiceTooManyRequests with default headers values +func NewDetailServiceTooManyRequests() *DetailServiceTooManyRequests { + + return &DetailServiceTooManyRequests{} +} + +// WithPayload adds the payload to the detail service too many requests response +func (o *DetailServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail service too many requests response +func (o *DetailServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_service_config_responses.go b/rest_management_api_server/operations/service/list_service_config_responses.go index 0353dabc..19b307ca 100644 --- a/rest_management_api_server/operations/service/list_service_config_responses.go +++ b/rest_management_api_server/operations/service/list_service_config_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceConfigUnauthorized) WriteResponse(rw http.ResponseWriter, pr } } } + +// ListServiceConfigTooManyRequestsCode is the HTTP code returned for type ListServiceConfigTooManyRequests +const ListServiceConfigTooManyRequestsCode int = 429 + +/*ListServiceConfigTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceConfigTooManyRequests +*/ +type ListServiceConfigTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceConfigTooManyRequests creates ListServiceConfigTooManyRequests with default headers values +func NewListServiceConfigTooManyRequests() *ListServiceConfigTooManyRequests { + + return &ListServiceConfigTooManyRequests{} +} + +// WithPayload adds the payload to the list service config too many requests response +func (o *ListServiceConfigTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceConfigTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service config too many requests response +func (o *ListServiceConfigTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceConfigTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_service_edge_routers_responses.go b/rest_management_api_server/operations/service/list_service_edge_routers_responses.go index bf9b7cef..4367e72d 100644 --- a/rest_management_api_server/operations/service/list_service_edge_routers_responses.go +++ b/rest_management_api_server/operations/service/list_service_edge_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceEdgeRoutersUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ListServiceEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListServiceEdgeRoutersTooManyRequests +const ListServiceEdgeRoutersTooManyRequestsCode int = 429 + +/*ListServiceEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceEdgeRoutersTooManyRequests +*/ +type ListServiceEdgeRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceEdgeRoutersTooManyRequests creates ListServiceEdgeRoutersTooManyRequests with default headers values +func NewListServiceEdgeRoutersTooManyRequests() *ListServiceEdgeRoutersTooManyRequests { + + return &ListServiceEdgeRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list service edge routers too many requests response +func (o *ListServiceEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service edge routers too many requests response +func (o *ListServiceEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_service_identities_responses.go b/rest_management_api_server/operations/service/list_service_identities_responses.go index 00d019fe..7232f95f 100644 --- a/rest_management_api_server/operations/service/list_service_identities_responses.go +++ b/rest_management_api_server/operations/service/list_service_identities_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceIdentitiesUnauthorized) WriteResponse(rw http.ResponseWriter } } } + +// ListServiceIdentitiesTooManyRequestsCode is the HTTP code returned for type ListServiceIdentitiesTooManyRequests +const ListServiceIdentitiesTooManyRequestsCode int = 429 + +/*ListServiceIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceIdentitiesTooManyRequests +*/ +type ListServiceIdentitiesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceIdentitiesTooManyRequests creates ListServiceIdentitiesTooManyRequests with default headers values +func NewListServiceIdentitiesTooManyRequests() *ListServiceIdentitiesTooManyRequests { + + return &ListServiceIdentitiesTooManyRequests{} +} + +// WithPayload adds the payload to the list service identities too many requests response +func (o *ListServiceIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceIdentitiesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service identities too many requests response +func (o *ListServiceIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_service_service_edge_router_policies_responses.go b/rest_management_api_server/operations/service/list_service_service_edge_router_policies_responses.go index 3cb37c45..8066d1f6 100644 --- a/rest_management_api_server/operations/service/list_service_service_edge_router_policies_responses.go +++ b/rest_management_api_server/operations/service/list_service_service_edge_router_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceServiceEdgeRouterPoliciesUnauthorized) WriteResponse(rw http } } } + +// ListServiceServiceEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListServiceServiceEdgeRouterPoliciesTooManyRequests +const ListServiceServiceEdgeRouterPoliciesTooManyRequestsCode int = 429 + +/*ListServiceServiceEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceServiceEdgeRouterPoliciesTooManyRequests +*/ +type ListServiceServiceEdgeRouterPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceServiceEdgeRouterPoliciesTooManyRequests creates ListServiceServiceEdgeRouterPoliciesTooManyRequests with default headers values +func NewListServiceServiceEdgeRouterPoliciesTooManyRequests() *ListServiceServiceEdgeRouterPoliciesTooManyRequests { + + return &ListServiceServiceEdgeRouterPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list service service edge router policies too many requests response +func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServiceEdgeRouterPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service service edge router policies too many requests response +func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceServiceEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_service_service_policies_responses.go b/rest_management_api_server/operations/service/list_service_service_policies_responses.go index 114c180c..1565f16f 100644 --- a/rest_management_api_server/operations/service/list_service_service_policies_responses.go +++ b/rest_management_api_server/operations/service/list_service_service_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceServicePoliciesUnauthorized) WriteResponse(rw http.ResponseW } } } + +// ListServiceServicePoliciesTooManyRequestsCode is the HTTP code returned for type ListServiceServicePoliciesTooManyRequests +const ListServiceServicePoliciesTooManyRequestsCode int = 429 + +/*ListServiceServicePoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceServicePoliciesTooManyRequests +*/ +type ListServiceServicePoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceServicePoliciesTooManyRequests creates ListServiceServicePoliciesTooManyRequests with default headers values +func NewListServiceServicePoliciesTooManyRequests() *ListServiceServicePoliciesTooManyRequests { + + return &ListServiceServicePoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list service service policies too many requests response +func (o *ListServiceServicePoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceServicePoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service service policies too many requests response +func (o *ListServiceServicePoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceServicePoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_service_terminators_responses.go b/rest_management_api_server/operations/service/list_service_terminators_responses.go index a90ae8d7..e4f713e7 100644 --- a/rest_management_api_server/operations/service/list_service_terminators_responses.go +++ b/rest_management_api_server/operations/service/list_service_terminators_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceTerminatorsUnauthorized) WriteResponse(rw http.ResponseWrite } } } + +// ListServiceTerminatorsTooManyRequestsCode is the HTTP code returned for type ListServiceTerminatorsTooManyRequests +const ListServiceTerminatorsTooManyRequestsCode int = 429 + +/*ListServiceTerminatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceTerminatorsTooManyRequests +*/ +type ListServiceTerminatorsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceTerminatorsTooManyRequests creates ListServiceTerminatorsTooManyRequests with default headers values +func NewListServiceTerminatorsTooManyRequests() *ListServiceTerminatorsTooManyRequests { + + return &ListServiceTerminatorsTooManyRequests{} +} + +// WithPayload adds the payload to the list service terminators too many requests response +func (o *ListServiceTerminatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceTerminatorsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service terminators too many requests response +func (o *ListServiceTerminatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceTerminatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/list_services_responses.go b/rest_management_api_server/operations/service/list_services_responses.go index 9275cb44..ece9997f 100644 --- a/rest_management_api_server/operations/service/list_services_responses.go +++ b/rest_management_api_server/operations/service/list_services_responses.go @@ -168,3 +168,47 @@ func (o *ListServicesUnauthorized) WriteResponse(rw http.ResponseWriter, produce } } } + +// ListServicesTooManyRequestsCode is the HTTP code returned for type ListServicesTooManyRequests +const ListServicesTooManyRequestsCode int = 429 + +/*ListServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServicesTooManyRequests +*/ +type ListServicesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServicesTooManyRequests creates ListServicesTooManyRequests with default headers values +func NewListServicesTooManyRequests() *ListServicesTooManyRequests { + + return &ListServicesTooManyRequests{} +} + +// WithPayload adds the payload to the list services too many requests response +func (o *ListServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list services too many requests response +func (o *ListServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/patch_service_responses.go b/rest_management_api_server/operations/service/patch_service_responses.go index 029a5f37..408aa051 100644 --- a/rest_management_api_server/operations/service/patch_service_responses.go +++ b/rest_management_api_server/operations/service/patch_service_responses.go @@ -212,3 +212,47 @@ func (o *PatchServiceNotFound) WriteResponse(rw http.ResponseWriter, producer ru } } } + +// PatchServiceTooManyRequestsCode is the HTTP code returned for type PatchServiceTooManyRequests +const PatchServiceTooManyRequestsCode int = 429 + +/*PatchServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchServiceTooManyRequests +*/ +type PatchServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchServiceTooManyRequests creates PatchServiceTooManyRequests with default headers values +func NewPatchServiceTooManyRequests() *PatchServiceTooManyRequests { + + return &PatchServiceTooManyRequests{} +} + +// WithPayload adds the payload to the patch service too many requests response +func (o *PatchServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch service too many requests response +func (o *PatchServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service/update_service_responses.go b/rest_management_api_server/operations/service/update_service_responses.go index 64d4edfa..4bf43513 100644 --- a/rest_management_api_server/operations/service/update_service_responses.go +++ b/rest_management_api_server/operations/service/update_service_responses.go @@ -212,3 +212,47 @@ func (o *UpdateServiceNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// UpdateServiceTooManyRequestsCode is the HTTP code returned for type UpdateServiceTooManyRequests +const UpdateServiceTooManyRequestsCode int = 429 + +/*UpdateServiceTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateServiceTooManyRequests +*/ +type UpdateServiceTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateServiceTooManyRequests creates UpdateServiceTooManyRequests with default headers values +func NewUpdateServiceTooManyRequests() *UpdateServiceTooManyRequests { + + return &UpdateServiceTooManyRequests{} +} + +// WithPayload adds the payload to the update service too many requests response +func (o *UpdateServiceTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update service too many requests response +func (o *UpdateServiceTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateServiceTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/create_service_edge_router_policy_responses.go b/rest_management_api_server/operations/service_edge_router_policy/create_service_edge_router_policy_responses.go index 60f5332b..cbd86990 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/create_service_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/create_service_edge_router_policy_responses.go @@ -168,3 +168,47 @@ func (o *CreateServiceEdgeRouterPolicyUnauthorized) WriteResponse(rw http.Respon } } } + +// CreateServiceEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type CreateServiceEdgeRouterPolicyTooManyRequests +const CreateServiceEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*CreateServiceEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createServiceEdgeRouterPolicyTooManyRequests +*/ +type CreateServiceEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateServiceEdgeRouterPolicyTooManyRequests creates CreateServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewCreateServiceEdgeRouterPolicyTooManyRequests() *CreateServiceEdgeRouterPolicyTooManyRequests { + + return &CreateServiceEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the create service edge router policy too many requests response +func (o *CreateServiceEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServiceEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create service edge router policy too many requests response +func (o *CreateServiceEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateServiceEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/delete_service_edge_router_policy_responses.go b/rest_management_api_server/operations/service_edge_router_policy/delete_service_edge_router_policy_responses.go index 68a6d4bf..34111b46 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/delete_service_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/delete_service_edge_router_policy_responses.go @@ -212,3 +212,47 @@ func (o *DeleteServiceEdgeRouterPolicyConflict) WriteResponse(rw http.ResponseWr } } } + +// DeleteServiceEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type DeleteServiceEdgeRouterPolicyTooManyRequests +const DeleteServiceEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*DeleteServiceEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteServiceEdgeRouterPolicyTooManyRequests +*/ +type DeleteServiceEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteServiceEdgeRouterPolicyTooManyRequests creates DeleteServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewDeleteServiceEdgeRouterPolicyTooManyRequests() *DeleteServiceEdgeRouterPolicyTooManyRequests { + + return &DeleteServiceEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the delete service edge router policy too many requests response +func (o *DeleteServiceEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServiceEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete service edge router policy too many requests response +func (o *DeleteServiceEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteServiceEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/detail_service_edge_router_policy_responses.go b/rest_management_api_server/operations/service_edge_router_policy/detail_service_edge_router_policy_responses.go index b336cea6..9055a9d0 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/detail_service_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/detail_service_edge_router_policy_responses.go @@ -168,3 +168,47 @@ func (o *DetailServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWr } } } + +// DetailServiceEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type DetailServiceEdgeRouterPolicyTooManyRequests +const DetailServiceEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*DetailServiceEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailServiceEdgeRouterPolicyTooManyRequests +*/ +type DetailServiceEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailServiceEdgeRouterPolicyTooManyRequests creates DetailServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewDetailServiceEdgeRouterPolicyTooManyRequests() *DetailServiceEdgeRouterPolicyTooManyRequests { + + return &DetailServiceEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the detail service edge router policy too many requests response +func (o *DetailServiceEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServiceEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail service edge router policy too many requests response +func (o *DetailServiceEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailServiceEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policies_responses.go b/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policies_responses.go index 2767e641..c3e1c3cd 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policies_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceEdgeRouterPoliciesUnauthorized) WriteResponse(rw http.Respon } } } + +// ListServiceEdgeRouterPoliciesTooManyRequestsCode is the HTTP code returned for type ListServiceEdgeRouterPoliciesTooManyRequests +const ListServiceEdgeRouterPoliciesTooManyRequestsCode int = 429 + +/*ListServiceEdgeRouterPoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceEdgeRouterPoliciesTooManyRequests +*/ +type ListServiceEdgeRouterPoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceEdgeRouterPoliciesTooManyRequests creates ListServiceEdgeRouterPoliciesTooManyRequests with default headers values +func NewListServiceEdgeRouterPoliciesTooManyRequests() *ListServiceEdgeRouterPoliciesTooManyRequests { + + return &ListServiceEdgeRouterPoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list service edge router policies too many requests response +func (o *ListServiceEdgeRouterPoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service edge router policies too many requests response +func (o *ListServiceEdgeRouterPoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceEdgeRouterPoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go b/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go index 6ea72511..204753e1 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_edge_routers_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceEdgeRouterPolicyEdgeRoutersNotFound) WriteResponse(rw http.R } } } + +// ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequestsCode is the HTTP code returned for type ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests +const ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequestsCode int = 429 + +/*ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceEdgeRouterPolicyEdgeRoutersTooManyRequests +*/ +type ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests creates ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests with default headers values +func NewListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests() *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests { + + return &ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests{} +} + +// WithPayload adds the payload to the list service edge router policy edge routers too many requests response +func (o *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service edge router policy edge routers too many requests response +func (o *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceEdgeRouterPolicyEdgeRoutersTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_responses.go b/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_responses.go index e9232a63..8a8e151b 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/list_service_edge_router_policy_services_responses.go @@ -168,3 +168,47 @@ func (o *ListServiceEdgeRouterPolicyServicesNotFound) WriteResponse(rw http.Resp } } } + +// ListServiceEdgeRouterPolicyServicesTooManyRequestsCode is the HTTP code returned for type ListServiceEdgeRouterPolicyServicesTooManyRequests +const ListServiceEdgeRouterPolicyServicesTooManyRequestsCode int = 429 + +/*ListServiceEdgeRouterPolicyServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServiceEdgeRouterPolicyServicesTooManyRequests +*/ +type ListServiceEdgeRouterPolicyServicesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServiceEdgeRouterPolicyServicesTooManyRequests creates ListServiceEdgeRouterPolicyServicesTooManyRequests with default headers values +func NewListServiceEdgeRouterPolicyServicesTooManyRequests() *ListServiceEdgeRouterPolicyServicesTooManyRequests { + + return &ListServiceEdgeRouterPolicyServicesTooManyRequests{} +} + +// WithPayload adds the payload to the list service edge router policy services too many requests response +func (o *ListServiceEdgeRouterPolicyServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServiceEdgeRouterPolicyServicesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service edge router policy services too many requests response +func (o *ListServiceEdgeRouterPolicyServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServiceEdgeRouterPolicyServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/patch_service_edge_router_policy_responses.go b/rest_management_api_server/operations/service_edge_router_policy/patch_service_edge_router_policy_responses.go index 754b2fc4..be0e07b3 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/patch_service_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/patch_service_edge_router_policy_responses.go @@ -212,3 +212,47 @@ func (o *PatchServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWri } } } + +// PatchServiceEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type PatchServiceEdgeRouterPolicyTooManyRequests +const PatchServiceEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*PatchServiceEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchServiceEdgeRouterPolicyTooManyRequests +*/ +type PatchServiceEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchServiceEdgeRouterPolicyTooManyRequests creates PatchServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewPatchServiceEdgeRouterPolicyTooManyRequests() *PatchServiceEdgeRouterPolicyTooManyRequests { + + return &PatchServiceEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the patch service edge router policy too many requests response +func (o *PatchServiceEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServiceEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch service edge router policy too many requests response +func (o *PatchServiceEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchServiceEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_edge_router_policy/update_service_edge_router_policy_responses.go b/rest_management_api_server/operations/service_edge_router_policy/update_service_edge_router_policy_responses.go index 945e91c6..eb5691c9 100644 --- a/rest_management_api_server/operations/service_edge_router_policy/update_service_edge_router_policy_responses.go +++ b/rest_management_api_server/operations/service_edge_router_policy/update_service_edge_router_policy_responses.go @@ -212,3 +212,47 @@ func (o *UpdateServiceEdgeRouterPolicyNotFound) WriteResponse(rw http.ResponseWr } } } + +// UpdateServiceEdgeRouterPolicyTooManyRequestsCode is the HTTP code returned for type UpdateServiceEdgeRouterPolicyTooManyRequests +const UpdateServiceEdgeRouterPolicyTooManyRequestsCode int = 429 + +/*UpdateServiceEdgeRouterPolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateServiceEdgeRouterPolicyTooManyRequests +*/ +type UpdateServiceEdgeRouterPolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateServiceEdgeRouterPolicyTooManyRequests creates UpdateServiceEdgeRouterPolicyTooManyRequests with default headers values +func NewUpdateServiceEdgeRouterPolicyTooManyRequests() *UpdateServiceEdgeRouterPolicyTooManyRequests { + + return &UpdateServiceEdgeRouterPolicyTooManyRequests{} +} + +// WithPayload adds the payload to the update service edge router policy too many requests response +func (o *UpdateServiceEdgeRouterPolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServiceEdgeRouterPolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update service edge router policy too many requests response +func (o *UpdateServiceEdgeRouterPolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateServiceEdgeRouterPolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/create_service_policy_responses.go b/rest_management_api_server/operations/service_policy/create_service_policy_responses.go index 91a1d1ba..3c29a188 100644 --- a/rest_management_api_server/operations/service_policy/create_service_policy_responses.go +++ b/rest_management_api_server/operations/service_policy/create_service_policy_responses.go @@ -168,3 +168,47 @@ func (o *CreateServicePolicyUnauthorized) WriteResponse(rw http.ResponseWriter, } } } + +// CreateServicePolicyTooManyRequestsCode is the HTTP code returned for type CreateServicePolicyTooManyRequests +const CreateServicePolicyTooManyRequestsCode int = 429 + +/*CreateServicePolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createServicePolicyTooManyRequests +*/ +type CreateServicePolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateServicePolicyTooManyRequests creates CreateServicePolicyTooManyRequests with default headers values +func NewCreateServicePolicyTooManyRequests() *CreateServicePolicyTooManyRequests { + + return &CreateServicePolicyTooManyRequests{} +} + +// WithPayload adds the payload to the create service policy too many requests response +func (o *CreateServicePolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateServicePolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create service policy too many requests response +func (o *CreateServicePolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateServicePolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/delete_service_policy_responses.go b/rest_management_api_server/operations/service_policy/delete_service_policy_responses.go index ad1d9f09..3896c70b 100644 --- a/rest_management_api_server/operations/service_policy/delete_service_policy_responses.go +++ b/rest_management_api_server/operations/service_policy/delete_service_policy_responses.go @@ -212,3 +212,47 @@ func (o *DeleteServicePolicyConflict) WriteResponse(rw http.ResponseWriter, prod } } } + +// DeleteServicePolicyTooManyRequestsCode is the HTTP code returned for type DeleteServicePolicyTooManyRequests +const DeleteServicePolicyTooManyRequestsCode int = 429 + +/*DeleteServicePolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteServicePolicyTooManyRequests +*/ +type DeleteServicePolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteServicePolicyTooManyRequests creates DeleteServicePolicyTooManyRequests with default headers values +func NewDeleteServicePolicyTooManyRequests() *DeleteServicePolicyTooManyRequests { + + return &DeleteServicePolicyTooManyRequests{} +} + +// WithPayload adds the payload to the delete service policy too many requests response +func (o *DeleteServicePolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteServicePolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete service policy too many requests response +func (o *DeleteServicePolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteServicePolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/detail_service_policy_responses.go b/rest_management_api_server/operations/service_policy/detail_service_policy_responses.go index b30b99a0..ca2ce130 100644 --- a/rest_management_api_server/operations/service_policy/detail_service_policy_responses.go +++ b/rest_management_api_server/operations/service_policy/detail_service_policy_responses.go @@ -168,3 +168,47 @@ func (o *DetailServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, prod } } } + +// DetailServicePolicyTooManyRequestsCode is the HTTP code returned for type DetailServicePolicyTooManyRequests +const DetailServicePolicyTooManyRequestsCode int = 429 + +/*DetailServicePolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailServicePolicyTooManyRequests +*/ +type DetailServicePolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailServicePolicyTooManyRequests creates DetailServicePolicyTooManyRequests with default headers values +func NewDetailServicePolicyTooManyRequests() *DetailServicePolicyTooManyRequests { + + return &DetailServicePolicyTooManyRequests{} +} + +// WithPayload adds the payload to the detail service policy too many requests response +func (o *DetailServicePolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailServicePolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail service policy too many requests response +func (o *DetailServicePolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailServicePolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/list_service_policies_responses.go b/rest_management_api_server/operations/service_policy/list_service_policies_responses.go index 2124b2e7..620ad6dc 100644 --- a/rest_management_api_server/operations/service_policy/list_service_policies_responses.go +++ b/rest_management_api_server/operations/service_policy/list_service_policies_responses.go @@ -168,3 +168,47 @@ func (o *ListServicePoliciesUnauthorized) WriteResponse(rw http.ResponseWriter, } } } + +// ListServicePoliciesTooManyRequestsCode is the HTTP code returned for type ListServicePoliciesTooManyRequests +const ListServicePoliciesTooManyRequestsCode int = 429 + +/*ListServicePoliciesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServicePoliciesTooManyRequests +*/ +type ListServicePoliciesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServicePoliciesTooManyRequests creates ListServicePoliciesTooManyRequests with default headers values +func NewListServicePoliciesTooManyRequests() *ListServicePoliciesTooManyRequests { + + return &ListServicePoliciesTooManyRequests{} +} + +// WithPayload adds the payload to the list service policies too many requests response +func (o *ListServicePoliciesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePoliciesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service policies too many requests response +func (o *ListServicePoliciesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServicePoliciesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/list_service_policy_identities_responses.go b/rest_management_api_server/operations/service_policy/list_service_policy_identities_responses.go index d5ee2b3b..c6a0c943 100644 --- a/rest_management_api_server/operations/service_policy/list_service_policy_identities_responses.go +++ b/rest_management_api_server/operations/service_policy/list_service_policy_identities_responses.go @@ -168,3 +168,47 @@ func (o *ListServicePolicyIdentitiesUnauthorized) WriteResponse(rw http.Response } } } + +// ListServicePolicyIdentitiesTooManyRequestsCode is the HTTP code returned for type ListServicePolicyIdentitiesTooManyRequests +const ListServicePolicyIdentitiesTooManyRequestsCode int = 429 + +/*ListServicePolicyIdentitiesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServicePolicyIdentitiesTooManyRequests +*/ +type ListServicePolicyIdentitiesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServicePolicyIdentitiesTooManyRequests creates ListServicePolicyIdentitiesTooManyRequests with default headers values +func NewListServicePolicyIdentitiesTooManyRequests() *ListServicePolicyIdentitiesTooManyRequests { + + return &ListServicePolicyIdentitiesTooManyRequests{} +} + +// WithPayload adds the payload to the list service policy identities too many requests response +func (o *ListServicePolicyIdentitiesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyIdentitiesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service policy identities too many requests response +func (o *ListServicePolicyIdentitiesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServicePolicyIdentitiesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/list_service_policy_posture_checks_responses.go b/rest_management_api_server/operations/service_policy/list_service_policy_posture_checks_responses.go index d558b328..16dcc6d5 100644 --- a/rest_management_api_server/operations/service_policy/list_service_policy_posture_checks_responses.go +++ b/rest_management_api_server/operations/service_policy/list_service_policy_posture_checks_responses.go @@ -168,3 +168,47 @@ func (o *ListServicePolicyPostureChecksUnauthorized) WriteResponse(rw http.Respo } } } + +// ListServicePolicyPostureChecksTooManyRequestsCode is the HTTP code returned for type ListServicePolicyPostureChecksTooManyRequests +const ListServicePolicyPostureChecksTooManyRequestsCode int = 429 + +/*ListServicePolicyPostureChecksTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServicePolicyPostureChecksTooManyRequests +*/ +type ListServicePolicyPostureChecksTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServicePolicyPostureChecksTooManyRequests creates ListServicePolicyPostureChecksTooManyRequests with default headers values +func NewListServicePolicyPostureChecksTooManyRequests() *ListServicePolicyPostureChecksTooManyRequests { + + return &ListServicePolicyPostureChecksTooManyRequests{} +} + +// WithPayload adds the payload to the list service policy posture checks too many requests response +func (o *ListServicePolicyPostureChecksTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyPostureChecksTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service policy posture checks too many requests response +func (o *ListServicePolicyPostureChecksTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServicePolicyPostureChecksTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/list_service_policy_services_responses.go b/rest_management_api_server/operations/service_policy/list_service_policy_services_responses.go index e550f2d5..d924e0e1 100644 --- a/rest_management_api_server/operations/service_policy/list_service_policy_services_responses.go +++ b/rest_management_api_server/operations/service_policy/list_service_policy_services_responses.go @@ -168,3 +168,47 @@ func (o *ListServicePolicyServicesUnauthorized) WriteResponse(rw http.ResponseWr } } } + +// ListServicePolicyServicesTooManyRequestsCode is the HTTP code returned for type ListServicePolicyServicesTooManyRequests +const ListServicePolicyServicesTooManyRequestsCode int = 429 + +/*ListServicePolicyServicesTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listServicePolicyServicesTooManyRequests +*/ +type ListServicePolicyServicesTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListServicePolicyServicesTooManyRequests creates ListServicePolicyServicesTooManyRequests with default headers values +func NewListServicePolicyServicesTooManyRequests() *ListServicePolicyServicesTooManyRequests { + + return &ListServicePolicyServicesTooManyRequests{} +} + +// WithPayload adds the payload to the list service policy services too many requests response +func (o *ListServicePolicyServicesTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListServicePolicyServicesTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list service policy services too many requests response +func (o *ListServicePolicyServicesTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListServicePolicyServicesTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/patch_service_policy_responses.go b/rest_management_api_server/operations/service_policy/patch_service_policy_responses.go index dc82223a..413c0771 100644 --- a/rest_management_api_server/operations/service_policy/patch_service_policy_responses.go +++ b/rest_management_api_server/operations/service_policy/patch_service_policy_responses.go @@ -212,3 +212,47 @@ func (o *PatchServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, produ } } } + +// PatchServicePolicyTooManyRequestsCode is the HTTP code returned for type PatchServicePolicyTooManyRequests +const PatchServicePolicyTooManyRequestsCode int = 429 + +/*PatchServicePolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchServicePolicyTooManyRequests +*/ +type PatchServicePolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchServicePolicyTooManyRequests creates PatchServicePolicyTooManyRequests with default headers values +func NewPatchServicePolicyTooManyRequests() *PatchServicePolicyTooManyRequests { + + return &PatchServicePolicyTooManyRequests{} +} + +// WithPayload adds the payload to the patch service policy too many requests response +func (o *PatchServicePolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchServicePolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch service policy too many requests response +func (o *PatchServicePolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchServicePolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/service_policy/update_service_policy_responses.go b/rest_management_api_server/operations/service_policy/update_service_policy_responses.go index ffb75f5c..c36cc1b3 100644 --- a/rest_management_api_server/operations/service_policy/update_service_policy_responses.go +++ b/rest_management_api_server/operations/service_policy/update_service_policy_responses.go @@ -212,3 +212,47 @@ func (o *UpdateServicePolicyNotFound) WriteResponse(rw http.ResponseWriter, prod } } } + +// UpdateServicePolicyTooManyRequestsCode is the HTTP code returned for type UpdateServicePolicyTooManyRequests +const UpdateServicePolicyTooManyRequestsCode int = 429 + +/*UpdateServicePolicyTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateServicePolicyTooManyRequests +*/ +type UpdateServicePolicyTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateServicePolicyTooManyRequests creates UpdateServicePolicyTooManyRequests with default headers values +func NewUpdateServicePolicyTooManyRequests() *UpdateServicePolicyTooManyRequests { + + return &UpdateServicePolicyTooManyRequests{} +} + +// WithPayload adds the payload to the update service policy too many requests response +func (o *UpdateServicePolicyTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateServicePolicyTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update service policy too many requests response +func (o *UpdateServicePolicyTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateServicePolicyTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/session/delete_session_responses.go b/rest_management_api_server/operations/session/delete_session_responses.go index bc06ba23..ea0e5628 100644 --- a/rest_management_api_server/operations/session/delete_session_responses.go +++ b/rest_management_api_server/operations/session/delete_session_responses.go @@ -212,3 +212,47 @@ func (o *DeleteSessionConflict) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DeleteSessionTooManyRequestsCode is the HTTP code returned for type DeleteSessionTooManyRequests +const DeleteSessionTooManyRequestsCode int = 429 + +/*DeleteSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteSessionTooManyRequests +*/ +type DeleteSessionTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteSessionTooManyRequests creates DeleteSessionTooManyRequests with default headers values +func NewDeleteSessionTooManyRequests() *DeleteSessionTooManyRequests { + + return &DeleteSessionTooManyRequests{} +} + +// WithPayload adds the payload to the delete session too many requests response +func (o *DeleteSessionTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteSessionTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete session too many requests response +func (o *DeleteSessionTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteSessionTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/session/detail_session_responses.go b/rest_management_api_server/operations/session/detail_session_responses.go index 2134559d..ad674dd4 100644 --- a/rest_management_api_server/operations/session/detail_session_responses.go +++ b/rest_management_api_server/operations/session/detail_session_responses.go @@ -168,3 +168,47 @@ func (o *DetailSessionNotFound) WriteResponse(rw http.ResponseWriter, producer r } } } + +// DetailSessionTooManyRequestsCode is the HTTP code returned for type DetailSessionTooManyRequests +const DetailSessionTooManyRequestsCode int = 429 + +/*DetailSessionTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailSessionTooManyRequests +*/ +type DetailSessionTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailSessionTooManyRequests creates DetailSessionTooManyRequests with default headers values +func NewDetailSessionTooManyRequests() *DetailSessionTooManyRequests { + + return &DetailSessionTooManyRequests{} +} + +// WithPayload adds the payload to the detail session too many requests response +func (o *DetailSessionTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailSessionTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail session too many requests response +func (o *DetailSessionTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailSessionTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/session/detail_session_route_path_responses.go b/rest_management_api_server/operations/session/detail_session_route_path_responses.go index 3182a7b5..853692c0 100644 --- a/rest_management_api_server/operations/session/detail_session_route_path_responses.go +++ b/rest_management_api_server/operations/session/detail_session_route_path_responses.go @@ -168,3 +168,47 @@ func (o *DetailSessionRoutePathNotFound) WriteResponse(rw http.ResponseWriter, p } } } + +// DetailSessionRoutePathTooManyRequestsCode is the HTTP code returned for type DetailSessionRoutePathTooManyRequests +const DetailSessionRoutePathTooManyRequestsCode int = 429 + +/*DetailSessionRoutePathTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailSessionRoutePathTooManyRequests +*/ +type DetailSessionRoutePathTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailSessionRoutePathTooManyRequests creates DetailSessionRoutePathTooManyRequests with default headers values +func NewDetailSessionRoutePathTooManyRequests() *DetailSessionRoutePathTooManyRequests { + + return &DetailSessionRoutePathTooManyRequests{} +} + +// WithPayload adds the payload to the detail session route path too many requests response +func (o *DetailSessionRoutePathTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailSessionRoutePathTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail session route path too many requests response +func (o *DetailSessionRoutePathTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailSessionRoutePathTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/session/list_sessions_responses.go b/rest_management_api_server/operations/session/list_sessions_responses.go index 88134e3a..9a862b54 100644 --- a/rest_management_api_server/operations/session/list_sessions_responses.go +++ b/rest_management_api_server/operations/session/list_sessions_responses.go @@ -168,3 +168,47 @@ func (o *ListSessionsUnauthorized) WriteResponse(rw http.ResponseWriter, produce } } } + +// ListSessionsTooManyRequestsCode is the HTTP code returned for type ListSessionsTooManyRequests +const ListSessionsTooManyRequestsCode int = 429 + +/*ListSessionsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listSessionsTooManyRequests +*/ +type ListSessionsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListSessionsTooManyRequests creates ListSessionsTooManyRequests with default headers values +func NewListSessionsTooManyRequests() *ListSessionsTooManyRequests { + + return &ListSessionsTooManyRequests{} +} + +// WithPayload adds the payload to the list sessions too many requests response +func (o *ListSessionsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListSessionsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list sessions too many requests response +func (o *ListSessionsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListSessionsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/terminator/create_terminator_responses.go b/rest_management_api_server/operations/terminator/create_terminator_responses.go index 9a9b8fff..b3f7ad4a 100644 --- a/rest_management_api_server/operations/terminator/create_terminator_responses.go +++ b/rest_management_api_server/operations/terminator/create_terminator_responses.go @@ -168,3 +168,47 @@ func (o *CreateTerminatorUnauthorized) WriteResponse(rw http.ResponseWriter, pro } } } + +// CreateTerminatorTooManyRequestsCode is the HTTP code returned for type CreateTerminatorTooManyRequests +const CreateTerminatorTooManyRequestsCode int = 429 + +/*CreateTerminatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response createTerminatorTooManyRequests +*/ +type CreateTerminatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewCreateTerminatorTooManyRequests creates CreateTerminatorTooManyRequests with default headers values +func NewCreateTerminatorTooManyRequests() *CreateTerminatorTooManyRequests { + + return &CreateTerminatorTooManyRequests{} +} + +// WithPayload adds the payload to the create terminator too many requests response +func (o *CreateTerminatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateTerminatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the create terminator too many requests response +func (o *CreateTerminatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *CreateTerminatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/terminator/delete_terminator_responses.go b/rest_management_api_server/operations/terminator/delete_terminator_responses.go index 285bd5b1..d2830834 100644 --- a/rest_management_api_server/operations/terminator/delete_terminator_responses.go +++ b/rest_management_api_server/operations/terminator/delete_terminator_responses.go @@ -212,3 +212,47 @@ func (o *DeleteTerminatorConflict) WriteResponse(rw http.ResponseWriter, produce } } } + +// DeleteTerminatorTooManyRequestsCode is the HTTP code returned for type DeleteTerminatorTooManyRequests +const DeleteTerminatorTooManyRequestsCode int = 429 + +/*DeleteTerminatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response deleteTerminatorTooManyRequests +*/ +type DeleteTerminatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDeleteTerminatorTooManyRequests creates DeleteTerminatorTooManyRequests with default headers values +func NewDeleteTerminatorTooManyRequests() *DeleteTerminatorTooManyRequests { + + return &DeleteTerminatorTooManyRequests{} +} + +// WithPayload adds the payload to the delete terminator too many requests response +func (o *DeleteTerminatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteTerminatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the delete terminator too many requests response +func (o *DeleteTerminatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DeleteTerminatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/terminator/detail_terminator_responses.go b/rest_management_api_server/operations/terminator/detail_terminator_responses.go index abb8b96b..faf78081 100644 --- a/rest_management_api_server/operations/terminator/detail_terminator_responses.go +++ b/rest_management_api_server/operations/terminator/detail_terminator_responses.go @@ -168,3 +168,47 @@ func (o *DetailTerminatorNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// DetailTerminatorTooManyRequestsCode is the HTTP code returned for type DetailTerminatorTooManyRequests +const DetailTerminatorTooManyRequestsCode int = 429 + +/*DetailTerminatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response detailTerminatorTooManyRequests +*/ +type DetailTerminatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewDetailTerminatorTooManyRequests creates DetailTerminatorTooManyRequests with default headers values +func NewDetailTerminatorTooManyRequests() *DetailTerminatorTooManyRequests { + + return &DetailTerminatorTooManyRequests{} +} + +// WithPayload adds the payload to the detail terminator too many requests response +func (o *DetailTerminatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailTerminatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the detail terminator too many requests response +func (o *DetailTerminatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *DetailTerminatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/terminator/list_terminators_responses.go b/rest_management_api_server/operations/terminator/list_terminators_responses.go index e31c8371..cc33990c 100644 --- a/rest_management_api_server/operations/terminator/list_terminators_responses.go +++ b/rest_management_api_server/operations/terminator/list_terminators_responses.go @@ -168,3 +168,47 @@ func (o *ListTerminatorsUnauthorized) WriteResponse(rw http.ResponseWriter, prod } } } + +// ListTerminatorsTooManyRequestsCode is the HTTP code returned for type ListTerminatorsTooManyRequests +const ListTerminatorsTooManyRequestsCode int = 429 + +/*ListTerminatorsTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response listTerminatorsTooManyRequests +*/ +type ListTerminatorsTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewListTerminatorsTooManyRequests creates ListTerminatorsTooManyRequests with default headers values +func NewListTerminatorsTooManyRequests() *ListTerminatorsTooManyRequests { + + return &ListTerminatorsTooManyRequests{} +} + +// WithPayload adds the payload to the list terminators too many requests response +func (o *ListTerminatorsTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *ListTerminatorsTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the list terminators too many requests response +func (o *ListTerminatorsTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *ListTerminatorsTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/terminator/patch_terminator_responses.go b/rest_management_api_server/operations/terminator/patch_terminator_responses.go index 9dc2a4bd..1ab6b16c 100644 --- a/rest_management_api_server/operations/terminator/patch_terminator_responses.go +++ b/rest_management_api_server/operations/terminator/patch_terminator_responses.go @@ -212,3 +212,47 @@ func (o *PatchTerminatorNotFound) WriteResponse(rw http.ResponseWriter, producer } } } + +// PatchTerminatorTooManyRequestsCode is the HTTP code returned for type PatchTerminatorTooManyRequests +const PatchTerminatorTooManyRequestsCode int = 429 + +/*PatchTerminatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response patchTerminatorTooManyRequests +*/ +type PatchTerminatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewPatchTerminatorTooManyRequests creates PatchTerminatorTooManyRequests with default headers values +func NewPatchTerminatorTooManyRequests() *PatchTerminatorTooManyRequests { + + return &PatchTerminatorTooManyRequests{} +} + +// WithPayload adds the payload to the patch terminator too many requests response +func (o *PatchTerminatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchTerminatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the patch terminator too many requests response +func (o *PatchTerminatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *PatchTerminatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/rest_management_api_server/operations/terminator/update_terminator_responses.go b/rest_management_api_server/operations/terminator/update_terminator_responses.go index 87a87b74..4af32163 100644 --- a/rest_management_api_server/operations/terminator/update_terminator_responses.go +++ b/rest_management_api_server/operations/terminator/update_terminator_responses.go @@ -212,3 +212,47 @@ func (o *UpdateTerminatorNotFound) WriteResponse(rw http.ResponseWriter, produce } } } + +// UpdateTerminatorTooManyRequestsCode is the HTTP code returned for type UpdateTerminatorTooManyRequests +const UpdateTerminatorTooManyRequestsCode int = 429 + +/*UpdateTerminatorTooManyRequests The resource requested is rate limited and the rate limit has been exceeded + +swagger:response updateTerminatorTooManyRequests +*/ +type UpdateTerminatorTooManyRequests struct { + + /* + In: Body + */ + Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` +} + +// NewUpdateTerminatorTooManyRequests creates UpdateTerminatorTooManyRequests with default headers values +func NewUpdateTerminatorTooManyRequests() *UpdateTerminatorTooManyRequests { + + return &UpdateTerminatorTooManyRequests{} +} + +// WithPayload adds the payload to the update terminator too many requests response +func (o *UpdateTerminatorTooManyRequests) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateTerminatorTooManyRequests { + o.Payload = payload + return o +} + +// SetPayload sets the payload to the update terminator too many requests response +func (o *UpdateTerminatorTooManyRequests) SetPayload(payload *rest_model.APIErrorEnvelope) { + o.Payload = payload +} + +// WriteResponse to the client +func (o *UpdateTerminatorTooManyRequests) WriteResponse(rw http.ResponseWriter, producer runtime.Producer) { + + rw.WriteHeader(429) + if o.Payload != nil { + payload := o.Payload + if err := producer.Produce(rw, payload); err != nil { + panic(err) // let the recovery middleware deal with this + } + } +} diff --git a/source/client.yml b/source/client.yml index 620cf5a9..a8fa5506 100644 --- a/source/client.yml +++ b/source/client.yml @@ -1,7 +1,7 @@ --- swagger: '2.0' info: - version: 0.25.32 + version: 0.26.0 title: Ziti Edge Client description: OpenZiti Edge Client API contact: @@ -138,4 +138,4 @@ definitions: postureResponseProcessCreate: $ref: 'client/posture-response.yml#/definitions/postureResponseProcessCreate' postureResponseEndpointStateCreate: - $ref: 'client/posture-response.yml#/definitions/postureResponseEndpointStateCreate' \ No newline at end of file + $ref: 'client/posture-response.yml#/definitions/postureResponseEndpointStateCreate' diff --git a/source/client/current-api-session-certificates.yml b/source/client/current-api-session-certificates.yml index 72689f0a..7de8f36e 100644 --- a/source/client/current-api-session-certificates.yml +++ b/source/client/current-api-session-certificates.yml @@ -5,8 +5,8 @@ paths: summary: List the ephemeral certificates available for the current API Session description: Retrieves a list of certificate resources for the current API session; supports filtering, sorting, and pagination security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Current API Session operationId: listCurrentApiSessionCertificates @@ -21,14 +21,17 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Creates an ephemeral certificate for the current API Session description: Creates an ephemeral certificate for the current API Session. This endpoint expects a PEM encoded CSRs to be provided for fulfillment as a property of a JSON payload. It is up to the client to manage the private key backing the CSR request. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Current API Session operationId: createCurrentApiSessionCertificate @@ -46,6 +49,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + current-api-session-certificates-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -53,8 +59,8 @@ paths: summary: Retrieves an ephemeral certificate description: Retrieves a single ephemeral certificate by id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Current API Session operationId: detailCurrentApiSessionCertificate @@ -65,13 +71,16 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an ephemeral certificate description: | Delete an ephemeral certificateby id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Current API Session operationId: deleteCurrentApiSessionCertificate @@ -82,6 +91,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listCurrentApiSessionCertificates: diff --git a/source/client/current-api-session-service-updates.yml b/source/client/current-api-session-service-updates.yml index a691b01b..4093ab3a 100644 --- a/source/client/current-api-session-service-updates.yml +++ b/source/client/current-api-session-service-updates.yml @@ -7,8 +7,8 @@ paths: Retrieves data indicating the last time data relevant to this API Session was altered that would necessitate service refreshes. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Current API Session - Services @@ -18,6 +18,8 @@ paths: $ref: '#/responses/listCurrentApiSessionServiceUpdates' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listCurrentApiSessionServiceUpdates: diff --git a/source/client/current-identity-edge-routers.yml b/source/client/current-identity-edge-routers.yml index bdc753f8..125ccce9 100644 --- a/source/client/current-identity-edge-routers.yml +++ b/source/client/current-identity-edge-routers.yml @@ -7,8 +7,8 @@ paths: Lists the Edge Routers that the current identity has access to via policies. The data returned includes their address and online status security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Current Identity - Edge Router @@ -18,6 +18,8 @@ paths: $ref: '#/responses/listCurrentIdentityEdgeRouters' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listCurrentIdentityEdgeRouters: diff --git a/source/client/enroll.yml b/source/client/enroll.yml index 91e2ab63..25ebe1ee 100644 --- a/source/client/enroll.yml +++ b/source/client/enroll.yml @@ -24,6 +24,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/emptyResponse' '404': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enroll-ca: post: summary: Enroll an identity with a pre-exchanged certificate @@ -41,6 +44,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/emptyResponse' '404': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enroll-ott: parameters: - $ref: '../shared/parameters.yml#/token' @@ -62,6 +68,9 @@ paths: $ref: '#/responses/zitiSignedCert' '404': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enroll-ottca: parameters: - $ref: '../shared/parameters.yml#/token' @@ -80,6 +89,9 @@ paths: responses: '200': $ref: '../shared/standard-responses.yml#/responses/emptyResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enroll-updb: parameters: - $ref: '../shared/parameters.yml#/token' @@ -95,6 +107,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/emptyResponse' '404': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enroll-erott: parameters: - $ref: '../shared/parameters.yml#/token' @@ -108,6 +123,9 @@ paths: responses: '200': $ref: '#/responses/erottResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enroll-extend-router: post: summary: Extend the life of a currently enrolled router's certificates @@ -136,6 +154,8 @@ paths: $ref: '#/responses/routerExtendEnrollmentResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: erottResponse: diff --git a/source/client/ext-jwt-signers.yml b/source/client/ext-jwt-signers.yml index d35601e9..ffcdd62a 100644 --- a/source/client/ext-jwt-signers.yml +++ b/source/client/ext-jwt-signers.yml @@ -5,8 +5,8 @@ paths: summary: List Client Authentication External JWT description: Retrieves a list of external JWT signers for authentication security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: listExternalJwtSigners @@ -21,6 +21,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listClientExternalJwtSigners: description: A list of External JWT Signers diff --git a/source/client/posture-response.yml b/source/client/posture-response.yml index a22d273a..88c5a907 100644 --- a/source/client/posture-response.yml +++ b/source/client/posture-response.yml @@ -5,8 +5,8 @@ paths: summary: Submit a posture response to a posture query description: Submits posture responses security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: createPostureResponse @@ -24,13 +24,16 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + posture-response-bulk: post: summary: Submit multiple posture responses description: Submits posture responses security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: createPostureResponseBulk @@ -51,6 +54,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: postureResponse: description: Contains a list of services that have had their timers altered diff --git a/source/client/protocols.yml b/source/client/protocols.yml index 91e2a7cd..4b8e3fcc 100644 --- a/source/client/protocols.yml +++ b/source/client/protocols.yml @@ -10,6 +10,8 @@ paths: responses: '200': $ref: '#/responses/listProtocols' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listProtocols: diff --git a/source/client/services.yml b/source/client/services.yml index 850336af..445b028d 100644 --- a/source/client/services.yml +++ b/source/client/services.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServices @@ -24,6 +24,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + services-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -31,8 +34,8 @@ paths: summary: Retrieves a single service description: Retrieves a single service by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: detailService @@ -43,6 +46,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' services-id-terminators: parameters: @@ -52,8 +57,8 @@ paths: description: | Retrieves a list of terminator resources that are assigned specific service; supports filtering, sorting, and pagination. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceTerminators @@ -68,6 +73,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listClientTerminators: diff --git a/source/client/sessions.yml b/source/client/sessions.yml index 642a5cce..c09cef87 100644 --- a/source/client/sessions.yml +++ b/source/client/sessions.yml @@ -9,8 +9,8 @@ paths: Sessions are tied to an API session and are moved when an API session times out or logs out. Active sessions (i.e. Ziti SDK connected to an edge router) will keep the session and API session marked as active. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: listSessions @@ -25,12 +25,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a session resource description: Create a session resource. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: createSession @@ -50,6 +53,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '404': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + sessions-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -57,8 +63,8 @@ paths: summary: Retrieves a single session description: Retrieves a single session by id. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: detailSession @@ -73,8 +79,8 @@ paths: summary: Delete a session description: Delete a session by id. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: deleteSession @@ -87,6 +93,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: sessionCreateResponse: diff --git a/source/management.yml b/source/management.yml index 58aaa0a1..254ecb00 100644 --- a/source/management.yml +++ b/source/management.yml @@ -1,7 +1,7 @@ --- swagger: '2.0' info: - version: 0.25.32 + version: 0.26.0 title: Ziti Edge Management description: OpenZiti Edge Management API contact: @@ -353,4 +353,4 @@ definitions: postureCheckMfaUpdate: $ref: 'management/posture-checks.yml#/definitions/postureCheckMfaUpdate' postureCheckMfaPatch: - $ref: 'management/posture-checks.yml#/definitions/postureCheckMfaPatch' \ No newline at end of file + $ref: 'management/posture-checks.yml#/definitions/postureCheckMfaPatch' diff --git a/source/management/api-sessions.yml b/source/management/api-sessions.yml index 2f6e51a9..f90fb176 100644 --- a/source/management/api-sessions.yml +++ b/source/management/api-sessions.yml @@ -8,8 +8,8 @@ paths: Returns a list of active API sessions. The resources can be sorted, filtered, and paginated. This endpoint requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - API Session operationId: listAPISessions @@ -26,6 +26,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + api-sessions-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -33,7 +36,7 @@ paths: summary: Retrieves a single API Session description: Retrieves a single API Session by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - API Session operationId: detailAPISessions @@ -44,11 +47,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Deletes an API Sessions description: Deletes and API sesion by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - API Session operationId: deleteAPISessions @@ -59,6 +65,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '403': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listAPISessions: diff --git a/source/management/auth-policies.yml b/source/management/auth-policies.yml index 36665d80..404827b7 100644 --- a/source/management/auth-policies.yml +++ b/source/management/auth-policies.yml @@ -6,8 +6,8 @@ paths: summary: List Auth Policies description: Retrieves a list of Auth Policies security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Auth Policy operationId: listAuthPolicies @@ -22,11 +22,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Creates an Auth Policy description: Creates an Auth Policy. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Auth Policy operationId: createAuthPolicy @@ -44,6 +47,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + auth-policies-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -51,7 +57,7 @@ paths: summary: Retrieves a single Auth Policy description: Retrieves a single Auth Policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Auth Policy operationId: detailAuthPolicy @@ -62,11 +68,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on an Auth Policy description: Update all fields on an Auth Policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Auth Policy operationId: updateAuthPolicy @@ -86,11 +95,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on an Auth Policy description: Update only the supplied fields on an Auth Policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Auth Policy operationId: patchAuthPolicy @@ -110,12 +122,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an Auth Policy description: | Delete an Auth Policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Auth Policy operationId: deleteAuthPolicy @@ -126,6 +141,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listAuthPolicies: description: A list of Auth Policies diff --git a/source/management/authenticators.yml b/source/management/authenticators.yml index 11fc59ea..00bd488c 100644 --- a/source/management/authenticators.yml +++ b/source/management/authenticators.yml @@ -8,8 +8,8 @@ paths: Returns a list of authenticators associated to identities. The resources can be sorted, filtered, and paginated. This endpoint requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Authenticator operationId: listAuthenticators @@ -24,12 +24,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Creates an authenticator description: | Creates an authenticator for a specific identity. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Authenticator operationId: createAuthenticator @@ -49,6 +52,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + authenticators-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -56,7 +62,7 @@ paths: summary: Retrieves a single authenticator description: Retrieves a single authenticator by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Authenticator operationId: detailAuthenticator @@ -67,11 +73,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on an authenticator description: Update all fields on an authenticator by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Authenticator operationId: updateAuthenticator @@ -91,11 +100,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on an authenticator description: Update the supplied fields on an authenticator by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Authenticator operationId: patchAuthenticator @@ -115,13 +127,16 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an Authenticator description: | Delete an authenticator by id. Deleting all authenticators for an identity will make it impossible to log in. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Authenticator operationId: deleteAuthenticator @@ -132,6 +147,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + authenticators-id-re-enroll: parameters: - $ref: '../shared/parameters.yml#/id' @@ -143,7 +161,7 @@ paths: enrollment created depends on the authenticator. UPDB authenticators result in UPDB enrollments, CERT authenticators result in OTT enrollments, CERT + CA authenticators result in OTTCA enrollments. security: - - ztSession: [] + - ztSession: [ ] tags: - Authenticator operationId: reEnrollAuthenticator @@ -161,6 +179,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + definitions: reEnroll: type: object diff --git a/source/management/cas.yml b/source/management/cas.yml index 14a2edfd..5ba39ea9 100644 --- a/source/management/cas.yml +++ b/source/management/cas.yml @@ -5,8 +5,8 @@ paths: summary: List CAs description: Retrieves a list of CA resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Certificate Authority operationId: listCas @@ -21,11 +21,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Creates a CA description: Creates a CA in an unverified state. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: createCa @@ -44,6 +47,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + cas-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -51,7 +57,7 @@ paths: summary: Retrieves a single CA description: Retrieves a single CA by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: detailCa @@ -62,11 +68,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a CA description: Update all fields on a CA by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: updateCa @@ -86,11 +95,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a CA description: Update only the supplied fields on a CA by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: patchCa @@ -110,13 +122,16 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a CA description: | Delete a CA by id. Deleting a CA will delete its associated certificate authenticators. This can make it impossible for identities to authenticate if they no longer have any valid authenticators. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: deleteCa @@ -127,6 +142,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + cas-id-jwt: parameters: - $ref: '../shared/parameters.yml#/id' @@ -136,7 +154,7 @@ paths: For CA auto enrollment, the enrollment JWT is static and provided on each CA resource. This endpoint provides the jwt as a text response. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: getCaJwt @@ -157,6 +175,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + cas-id-verify: parameters: - $ref: '../shared/parameters.yml#/id' @@ -167,7 +188,7 @@ paths: The common name on the certificate must match the verificationToken property of the CA. Unverfieid CAs can not be used for enrollment/authentication. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Certificate Authority operationId: verifyCa @@ -189,6 +210,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listCas: description: A list of Certificate Authorities (CAs) @@ -210,36 +234,36 @@ definitions: - parserCriteria - index properties: - location: - type: string - x-nullable: true - enum: - - COMMON_NAME - - SAN_URI - - SAN_EMAIL - matcher: - type: string - x-nullable: true - enum: - - ALL - - PREFIX - - SUFFIX - - SCHEME - matcherCriteria: - type: string - x-nullable: true - parser: - type: string - x-nullable: true - enum: - - NONE - - SPLIT - parserCriteria: - type: string - x-nullable: true - index: - type: integer - x-nullable: true + location: + type: string + x-nullable: true + enum: + - COMMON_NAME + - SAN_URI + - SAN_EMAIL + matcher: + type: string + x-nullable: true + enum: + - ALL + - PREFIX + - SUFFIX + - SCHEME + matcherCriteria: + type: string + x-nullable: true + parser: + type: string + x-nullable: true + enum: + - NONE + - SPLIT + parserCriteria: + type: string + x-nullable: true + index: + type: integer + x-nullable: true externalIdClaimPatch: type: object properties: diff --git a/source/management/config-types.yml b/source/management/config-types.yml index e3a82ab3..c472425b 100644 --- a/source/management/config-types.yml +++ b/source/management/config-types.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of config-type resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: listConfigTypes @@ -22,10 +22,13 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a config-type. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Config operationId: createConfigType @@ -43,6 +46,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + config-types-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -50,7 +56,7 @@ paths: summary: Retrieves a single config-type description: Retrieves a single config-type by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Config operationId: detailConfigType @@ -61,11 +67,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a config-type description: Update all fields on a config-type by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Config operationId: updateConfigType @@ -85,11 +94,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a config-type description: Update the supplied fields on a config-type. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Config operationId: patchConfigType @@ -109,11 +121,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a config-type description: Delete a config-type by id. Removing a configuration type that are in use will result in a 409 conflict HTTP status code and error. All configurations of a type must be removed first. security: - - ztSession: [] + - ztSession: [ ] tags: - Config operationId: deleteConfigType @@ -126,6 +141,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + config-types-id-configs: parameters: - $ref: '../shared/parameters.yml#/id' @@ -133,13 +151,15 @@ paths: summary: Lists the configs of a specific config-type description: Lists the configs associated to a config-type. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Config operationId: listConfigsForConfigType responses: '200': $ref: 'configs.yml#/responses/listConfigs' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listConfigTypes: diff --git a/source/management/configs.yml b/source/management/configs.yml index 2d9b77c7..5d37aecd 100644 --- a/source/management/configs.yml +++ b/source/management/configs.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: listConfigs @@ -22,12 +22,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a config resource description: Create a config resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: createConfig @@ -45,6 +48,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + configs-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -52,8 +58,8 @@ paths: summary: Retrieves a single config description: Retrieves a single config by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: detailConfig @@ -64,12 +70,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a config description: Update all fields on a config by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: updateConfig @@ -89,12 +98,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a config description: Update the supplied fields on a config. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: patchConfig @@ -114,12 +126,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a config description: Delete a config by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Config operationId: deleteConfig @@ -132,6 +147,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listConfigs: diff --git a/source/management/database.yml b/source/management/database.yml index d1d39cbe..6f429081 100644 --- a/source/management/database.yml +++ b/source/management/database.yml @@ -5,8 +5,8 @@ paths: summary: Create a new database snapshot description: Create a new database snapshot. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Database operationId: createDatabaseSnapshot @@ -22,8 +22,8 @@ paths: summary: Starts a data integrity scan on the datastore description: Starts a data integrity scan on the datastore. Requires admin access. Only once instance may run at a time, including runs of fixDataIntegrity. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Database operationId: checkDataIntegrity @@ -39,7 +39,7 @@ paths: summary: Runs a data integrity scan on the datastore, attempts to fix any issues it can and returns any found issues description: Runs a data integrity scan on the datastore, attempts to fix any issues it can, and returns any found issues. Requires admin access. Only once instance may run at a time, including runs of checkDataIntegrity. security: - - ztSession: [] + - ztSession: [ ] tags: - Database operationId: fixDataIntegrity @@ -50,12 +50,13 @@ paths: $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + database-data-integrity-results: get: summary: Returns any results found from in-progress integrity checks description: Returns any results found from in-progress integrity checks. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Database operationId: dataIntegrityResults @@ -64,6 +65,8 @@ paths: $ref: '#/responses/dataIntegrityCheckResult' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: dataIntegrityCheckResult: diff --git a/source/management/edge-router-policies.yml b/source/management/edge-router-policies.yml index 639ddf84..ad4a719c 100644 --- a/source/management/edge-router-policies.yml +++ b/source/management/edge-router-policies.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of edge router policy resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: listEdgeRouterPolicies @@ -22,12 +22,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create an edge router policy resource description: Create an edge router policy resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: createEdgeRouterPolicy @@ -45,6 +48,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-router-policies-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -52,8 +58,8 @@ paths: summary: Retrieves a single edge router policy description: Retrieves a single edge router policy by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: detailEdgeRouterPolicy @@ -64,12 +70,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on an edge router policy description: Update all fields on an edge router policy by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: updateEdgeRouterPolicy @@ -89,12 +98,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on an edge router policy description: Update the supplied fields on an edge router policy. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: patchEdgeRouterPolicy @@ -114,12 +126,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an edge router policy description: Delete an edge router policy by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: deleteEdgeRouterPolicy @@ -132,6 +147,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-router-policies-id-edge-routers: parameters: - $ref: '../shared/parameters.yml#/id' @@ -140,8 +158,8 @@ paths: description: | Retrieves a list of edge routers an edge router policy resources affects; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: listEdgeRouterPolicyEdgeRouters @@ -152,6 +170,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-router-policies-id-identities: parameters: - $ref: '../shared/parameters.yml#/id' @@ -160,8 +181,8 @@ paths: description: | Retrieves a list of identities an edge router policy resources affects; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Edge Router Policy operationId: listEdgeRouterPolicyIdentities @@ -172,6 +193,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listEdgeRouterPolicies: diff --git a/source/management/edge-routers.yml b/source/management/edge-routers.yml index 14f784b8..c0dc4ee9 100644 --- a/source/management/edge-routers.yml +++ b/source/management/edge-routers.yml @@ -25,6 +25,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create an edge router description: Create a edge router resource. Requires admin access. @@ -47,6 +50,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-routers-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -65,6 +71,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on an edge router description: Update all fields on an edge router by id. Requires admin access. @@ -89,6 +98,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on an edge router description: Update the supplied fields on an edge router. Requires admin access. @@ -113,6 +125,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an edge router description: Delete an edge router by id. Requires admin access. @@ -130,6 +145,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-routers-id-edge-router-policies: parameters: - $ref: '../shared/parameters.yml#/id' @@ -148,6 +166,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-routers-id-identities: parameters: - $ref: '../shared/parameters.yml#/id' @@ -167,6 +188,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-routers-id-service-edge-router-policies: parameters: - $ref: '../shared/parameters.yml#/id' @@ -185,6 +209,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-routers-id-services: parameters: - $ref: '../shared/parameters.yml#/id' @@ -204,6 +231,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + edge-routers-id-re-enroll: parameters: - $ref: '../shared/parameters.yml#/id' @@ -228,6 +258,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listEdgeRouters: description: A list of edge routers diff --git a/source/management/enrollments.yml b/source/management/enrollments.yml index 11be884a..0efa0f9e 100644 --- a/source/management/enrollments.yml +++ b/source/management/enrollments.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of outstanding enrollments; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Enrollment operationId: listEnrollments @@ -22,6 +22,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create an outstanding enrollment for an identity description: >- @@ -29,8 +32,8 @@ paths: is already outstanding the request will fail with a 409 conflict. If desired, an existing enrollment can be refreshed by `enrollments/:id/refresh` or deleted. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Enrollment operationId: createEnrollment @@ -50,6 +53,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/conflictResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enrollments-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -57,8 +63,8 @@ paths: summary: Retrieves an outstanding enrollment description: Retrieves a single outstanding enrollment by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Enrollment operationId: detailEnrollment @@ -69,12 +75,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an outstanding enrollment description: Delete an outstanding enrollment by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Enrollment operationId: deleteEnrollment @@ -85,17 +94,20 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + enrollments-id-refresh: parameters: - $ref: '../shared/parameters.yml#/id' post: summary: Refreshes an enrollment record's expiration window description: >- - For expired or unexpired enrollments, reset the expiration window. A new JWT will be generated - and must be used for the enrollment. + For expired or unexpired enrollments, reset the expiration window. A new JWT will be generated + and must be used for the enrollment. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Enrollment operationId: refreshEnrollment @@ -113,6 +125,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listEnrollments: description: A list of enrollments diff --git a/source/management/ext-jwt-signers.yml b/source/management/ext-jwt-signers.yml index 15b00fff..1404f83c 100644 --- a/source/management/ext-jwt-signers.yml +++ b/source/management/ext-jwt-signers.yml @@ -5,8 +5,8 @@ paths: summary: List External JWT Signers description: Retrieves a list of external JWT signers for authentication security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: listExternalJwtSigners @@ -21,12 +21,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Creates an External JWT Signer description: Creates an External JWT Signer. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: createExternalJwtSigner @@ -44,6 +47,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + external-jwt-signers-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -51,8 +57,8 @@ paths: summary: Retrieves a single External JWT Signer description: Retrieves a single External JWT Signer by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: detailExternalJwtSigner @@ -63,12 +69,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on an External JWT Signer description: Update all fields on an External JWT Signer by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: updateExternalJwtSigner @@ -88,12 +97,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on an External JWT Signer description: Update only the supplied fields on an External JWT Signer by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: patchExternalJwtSigner @@ -113,13 +125,16 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an External JWT Signer description: | Delete an External JWT Signer by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - External JWT Signer operationId: deleteExternalJwtSigner @@ -130,6 +145,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listExternalJwtSigners: description: A list of External JWT Signers diff --git a/source/management/identities.yml b/source/management/identities.yml index 63e05652..9321a2a3 100644 --- a/source/management/identities.yml +++ b/source/management/identities.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of identity resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: listIdentities @@ -24,12 +24,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create an identity resource description: Create an identity resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: createIdentity @@ -47,6 +50,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -54,8 +60,8 @@ paths: summary: Retrieves a single identity description: Retrieves a single identity by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: detailIdentity @@ -66,12 +72,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on an identity description: Update all fields on an identity by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: updateIdentity @@ -91,12 +100,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on an identity description: Update the supplied fields on an identity. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: patchIdentity @@ -116,12 +128,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete an identity description: Delete an identity by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: deleteIdentity @@ -134,6 +149,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-edge-router-policies: parameters: - $ref: '../shared/parameters.yml#/id' @@ -141,8 +159,8 @@ paths: summary: List the edge router policies that affect an identity description: Retrieves a list of edge router policies that apply to the specified identity. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: listIdentitysEdgeRouterPolicies @@ -153,6 +171,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-service-configs: parameters: - $ref: '../shared/parameters.yml#/id' @@ -160,8 +181,8 @@ paths: summary: List the service configs associated a specific identity description: Retrieves a list of service configs associated to a specific identity security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: listIdentitysServiceConfigs @@ -172,6 +193,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Associate service configs for a specific identity description: Associate service configs to a specific identity @@ -183,8 +207,8 @@ paths: schema: $ref: 'service-configs.yml#/definitions/serviceConfigsAssignList' security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: associateIdentitysServiceConfigs @@ -197,6 +221,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Remove associated service configs from a specific identity description: Remove service configs from a specific identity @@ -208,8 +235,8 @@ paths: schema: $ref: 'service-configs.yml#/definitions/serviceConfigsAssignList' security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: disassociateIdentitysServiceConfigs @@ -222,6 +249,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-service-policies: parameters: - $ref: '../shared/parameters.yml#/id' @@ -229,8 +259,8 @@ paths: summary: List the service policies that affect an identity description: Retrieves a list of service policies that apply to the specified identity. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: listIdentityServicePolicies @@ -241,6 +271,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' identities-id-edge-routers: parameters: @@ -250,8 +282,8 @@ paths: description: | Retrieves a list of edge-routers that the given identity may use to access services. Supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: listIdentityEdgeRouters @@ -262,6 +294,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' identities-id-services: parameters: @@ -271,8 +305,8 @@ paths: description: | Retrieves a list of services that the given identity has access to. Supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: listIdentityServices @@ -283,6 +317,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' identities-id-policy-advice-service-id: parameters: @@ -296,8 +332,8 @@ paths: to check if the identity and service have access to common edge routers so that a connnection can be made. | Will also check if at least one edge router is on-line. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: getIdentityPolicyAdvice @@ -308,6 +344,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-posture-data: parameters: - $ref: '../shared/parameters.yml#/id' @@ -317,8 +356,8 @@ paths: Returns a nested map data represeting the posture data of the identity. This data should be considered volatile. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Identity operationId: getIdentityPostureData @@ -329,6 +368,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-authenticators: parameters: - $ref: '../shared/parameters.yml#/id' @@ -337,7 +379,7 @@ paths: description: | Returns a list of authenticators associated to the identity specified security: - - ztSession: [] + - ztSession: [ ] tags: - Identity operationId: getIdentityAuthenticators @@ -348,6 +390,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-enrollments: parameters: - $ref: '../shared/parameters.yml#/id' @@ -356,7 +401,7 @@ paths: description: | Returns a list of enrollments associated to the identity specified security: - - ztSession: [] + - ztSession: [ ] tags: - Identity operationId: getIdentityEnrollments @@ -367,6 +412,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-failed-service-requests: parameters: - $ref: '../shared/parameters.yml#/id' @@ -377,7 +425,7 @@ paths: every policy that was verified against and every failed check in each policy. Each check will include the historical posture data and posture check configuration. security: - - ztSession: [] + - ztSession: [ ] tags: - Identity operationId: getIdentityFailedServiceRequests @@ -388,6 +436,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-mfa: parameters: - $ref: '../shared/parameters.yml#/id' @@ -396,7 +447,7 @@ paths: description: | Allows an admin to remove MFA enrollment from a specific identity. Requires admin. security: - - ztSession: [] + - ztSession: [ ] tags: - Identity - MFA @@ -408,6 +459,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-trace: parameters: - $ref: '../shared/parameters.yml#/id' @@ -416,7 +470,7 @@ paths: description: | Allows an admin to enable/disable data flow tracing for an identity security: - - ztSession: [] + - ztSession: [ ] tags: - Identity - Tracing @@ -437,6 +491,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-enable: parameters: - $ref: '../shared/parameters.yml#/id' @@ -445,7 +502,7 @@ paths: description: | Allows an admin to remove disabled statuses from an identity. security: - - ztSession: [] + - ztSession: [ ] tags: - Identity operationId: enableIdentity @@ -456,6 +513,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identities-id-disable: parameters: - $ref: '../shared/parameters.yml#/id' @@ -464,7 +524,7 @@ paths: description: | Allows an admin disable an identity for a set amount of time or indefinitely. security: - - ztSession: [] + - ztSession: [ ] tags: - Identity operationId: disableIdentity @@ -482,6 +542,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + responses: listIdentities: description: A list of identities diff --git a/source/management/identity-types.yml b/source/management/identity-types.yml index 039f52fe..18d31834 100644 --- a/source/management/identity-types.yml +++ b/source/management/identity-types.yml @@ -23,6 +23,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + identity-types-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -42,6 +45,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listIdentityTypes: diff --git a/source/management/posture-check-types.yml b/source/management/posture-check-types.yml index 7d98c6f4..a28c7ed5 100644 --- a/source/management/posture-check-types.yml +++ b/source/management/posture-check-types.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of posture check types security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: listPostureCheckTypes @@ -24,6 +24,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + posture-check-types-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -31,8 +34,8 @@ paths: summary: Retrieves a single posture check type description: Retrieves a single posture check type by id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: detailPostureCheckType @@ -43,6 +46,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listPostureCheckTypes: diff --git a/source/management/posture-checks.yml b/source/management/posture-checks.yml index d967cd46..41cd6196 100644 --- a/source/management/posture-checks.yml +++ b/source/management/posture-checks.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of posture checks security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: listPostureChecks @@ -26,12 +26,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Creates a Posture Checks description: Creates a Posture Checks security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: createPostureCheck @@ -49,6 +52,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + posture-checks-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -56,8 +62,8 @@ paths: summary: Retrieves a single Posture Checks description: Retrieves a single Posture Checks by id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: detailPostureCheck @@ -68,12 +74,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a Posture Checks description: Update all fields on a Posture Checks by id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: updatePostureCheck @@ -93,12 +102,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a Posture Checks description: Update only the supplied fields on a Posture Checks by id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: patchPostureCheck @@ -118,12 +130,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Deletes an Posture Checks description: Deletes and Posture Checks by id security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Posture Checks operationId: deletePostureCheck @@ -134,6 +149,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '403': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listPostureChecks: diff --git a/source/management/role-attributes.yml b/source/management/role-attributes.yml index 5ac06520..dbe8349a 100644 --- a/source/management/role-attributes.yml +++ b/source/management/role-attributes.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of role attributes in use by edge routers; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Role Attributes operationId: listEdgeRouterRoleAttributes @@ -22,6 +22,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' identity-role-attributes: get: @@ -29,7 +31,7 @@ paths: description: | Retrieves a list of role attributes in use by identities; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Role Attributes operationId: listIdentityRoleAttributes @@ -44,6 +46,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' service-role-attributes: get: @@ -51,7 +55,7 @@ paths: description: | Retrieves a list of role attributes in use by services; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Role Attributes operationId: listServiceRoleAttributes @@ -66,6 +70,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listRoleAttributes: diff --git a/source/management/routers.yml b/source/management/routers.yml index 17d0d5bc..185441d3 100644 --- a/source/management/routers.yml +++ b/source/management/routers.yml @@ -7,8 +7,8 @@ paths: description: | Retrieves a list of router resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: listTransitRouters @@ -23,12 +23,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a router resource description: Create a router resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: createTransitRouter @@ -46,6 +49,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + transit-routers-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -53,8 +59,8 @@ paths: summary: Retrieves a single router description: Retrieves a single router by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: detailTransitRouter @@ -65,12 +71,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a router description: Update all fields on a router by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: updateTransitRouter @@ -90,12 +99,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a router description: Update the supplied fields on a router. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: patchTransitRouter @@ -115,12 +127,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a router description: Delete a router by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: deleteTransitRouter @@ -133,14 +148,17 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + routers: get: summary: List routers description: | Retrieves a list of router resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: listRouters @@ -155,12 +173,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a router resource description: Create a router resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: createRouter @@ -178,6 +199,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + routers-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -185,8 +209,8 @@ paths: summary: Retrieves a single router description: Retrieves a single router by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: detailRouter @@ -197,12 +221,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a router description: Update all fields on a router by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: updateRouter @@ -222,12 +249,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a router description: Update the supplied fields on a router. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: patchRouter @@ -247,12 +277,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a router description: Delete a router by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Router operationId: deleteRouter @@ -265,6 +298,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listRouters: @@ -410,4 +445,4 @@ definitions: type: boolean x-nullable: true tags: - $ref: '../shared/base-entity.yml#/definitions/tags' \ No newline at end of file + $ref: '../shared/base-entity.yml#/definitions/tags' diff --git a/source/management/service-edge-router-policies.yml b/source/management/service-edge-router-policies.yml index 3f26dd21..0536a8a9 100644 --- a/source/management/service-edge-router-policies.yml +++ b/source/management/service-edge-router-policies.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of service edge router policy resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: listServiceEdgeRouterPolicies @@ -22,12 +22,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a service edge router policy resource description: Create a service edge router policy resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: createServiceEdgeRouterPolicy @@ -45,6 +48,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + service-edge-router-policies-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -52,8 +58,8 @@ paths: summary: Retrieves a single service edge policy description: Retrieves a single service edge policy by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: detailServiceEdgeRouterPolicy @@ -64,12 +70,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a service edge policy description: Update all fields on a service edge policy by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: updateServiceEdgeRouterPolicy @@ -89,12 +98,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a service edge policy description: Update the supplied fields on a service edge policy. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: patchServiceEdgeRouterPolicy @@ -114,12 +126,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a service edge policy description: Delete a service edge policy by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: deleteServiceEdgeRouterPolicy @@ -132,6 +147,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + service-edge-router-policies-id-edge-routers: parameters: - $ref: '../shared/parameters.yml#/id' @@ -139,8 +157,8 @@ paths: summary: List the edge routers that a service edge router policy applies to description: List the edge routers that a service edge router policy applies to security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: listServiceEdgeRouterPolicyEdgeRouters @@ -151,6 +169,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + service-edge-router-policies-id-services: parameters: - $ref: '../shared/parameters.yml#/id' @@ -158,8 +179,8 @@ paths: summary: List the services that a service edge router policy applies to description: List the services that a service edge router policy applies to security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service Edge Router Policy operationId: listServiceEdgeRouterPolicyServices @@ -170,6 +191,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listServiceEdgeRouterPolicies: diff --git a/source/management/service-policies.yml b/source/management/service-policies.yml index ef987dfb..faa9d525 100644 --- a/source/management/service-policies.yml +++ b/source/management/service-policies.yml @@ -6,7 +6,7 @@ paths: description: | Retrieves a list of service policy resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: listServicePolicies @@ -21,11 +21,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a service policy resource description: Create a service policy resource. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: createServicePolicy @@ -43,6 +46,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + service-policies-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -50,7 +56,7 @@ paths: summary: Retrieves a single service policy description: Retrieves a single service policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: detailServicePolicy @@ -61,11 +67,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a service policy description: Update all fields on a service policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: updateServicePolicy @@ -85,11 +94,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a service policy description: Update the supplied fields on a service policy. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: patchServicePolicy @@ -109,11 +121,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a service policy description: Delete a service policy by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: deleteServicePolicy @@ -126,6 +141,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + service-policies-id-identities: parameters: - $ref: '../shared/parameters.yml#/id' @@ -134,7 +152,7 @@ paths: description: | Retrieves a list of identity resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: listServicePolicyIdentities @@ -149,6 +167,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' service-policies-id-services: parameters: @@ -158,7 +178,7 @@ paths: description: | Retrieves a list of service resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: listServicePolicyServices @@ -173,6 +193,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + service-policies-id-posture-checks: parameters: - $ref: '../shared/parameters.yml#/id' @@ -181,7 +204,7 @@ paths: description: | Retrieves a list of posture check resources that are affected by a service policy; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Service Policy operationId: listServicePolicyPostureChecks @@ -196,6 +219,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listServicePolicies: diff --git a/source/management/services.yml b/source/management/services.yml index 555448bc..fed8344f 100644 --- a/source/management/services.yml +++ b/source/management/services.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServices @@ -24,12 +24,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a services resource description: Create a services resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: createService @@ -47,6 +50,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + services-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -54,8 +60,8 @@ paths: summary: Retrieves a single service description: Retrieves a single service by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: detailService @@ -66,12 +72,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a service description: Update all fields on a service by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: updateService @@ -91,12 +100,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a service description: Update the supplied fields on a service. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: patchService @@ -116,12 +128,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a service description: Delete a service by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: deleteService @@ -134,6 +149,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + services-id-configs: parameters: - $ref: '../shared/parameters.yml#/id' @@ -142,8 +160,8 @@ paths: description: | Retrieves a list of config resources associated to a specific service; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceConfig @@ -158,6 +176,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + services-id-service-edge-router-policies: parameters: - $ref: '../shared/parameters.yml#/id' @@ -166,8 +187,8 @@ paths: description: | Retrieves a list of service edge router policy resources that affect a specific service; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceServiceEdgeRouterPolicies @@ -182,6 +203,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + services-id-service-policies: parameters: - $ref: '../shared/parameters.yml#/id' @@ -190,8 +214,8 @@ paths: description: | Retrieves a list of service policy resources that affect specific service; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceServicePolicies @@ -206,6 +230,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' services-id-identities: parameters: @@ -215,8 +241,8 @@ paths: description: | Retrieves a list of identities that have access to this service. Supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceIdentities @@ -231,6 +257,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' services-id-edge-routers: parameters: @@ -240,8 +268,8 @@ paths: description: | Retrieves a list of edge-routers that may be used to access the given service. Supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceEdgeRouters @@ -256,6 +284,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' services-id-terminators: parameters: @@ -265,8 +295,8 @@ paths: description: | Retrieves a list of terminator resources that are assigned specific service; supports filtering, sorting, and pagination. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Service operationId: listServiceTerminators @@ -281,6 +311,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' definitions: serviceCreate: diff --git a/source/management/sessions.yml b/source/management/sessions.yml index 3e96fc44..d91242ba 100644 --- a/source/management/sessions.yml +++ b/source/management/sessions.yml @@ -9,8 +9,8 @@ paths: Sessions are tied to an API session and are moved when an API session times out or logs out. Active sessions (i.e. Ziti SDK connected to an edge router) will keep the session and API session marked as active. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: listSessions @@ -25,6 +25,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + sessions-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -32,8 +35,8 @@ paths: summary: Retrieves a single session description: Retrieves a single session by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: detailSession @@ -44,12 +47,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a session description: Delete a session by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: deleteSession @@ -62,6 +68,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + sessions-id-route-path: parameters: - $ref: '../shared/parameters.yml#/id' @@ -69,8 +78,8 @@ paths: summary: Retrieves a single session's router path description: Retrieves a single session's route path by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Session operationId: detailSessionRoutePath @@ -81,6 +90,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: detailSessionRoutePath: @@ -136,9 +147,9 @@ definitions: data: $ref: '#/definitions/sessionManagementDetail' sessionManagementList: - type: array - items: - $ref: '#/definitions/sessionManagementDetail' + type: array + items: + $ref: '#/definitions/sessionManagementDetail' sessionManagementDetail: allOf: - $ref: '../shared/sessions.yml#/definitions/sessionDetail' diff --git a/source/management/summary.yml b/source/management/summary.yml index 5a784511..342f4e84 100644 --- a/source/management/summary.yml +++ b/source/management/summary.yml @@ -5,7 +5,7 @@ paths: summary: Returns a list of accessible resource counts description: This endpoint is usefull for UIs that wish to display UI elements with counts. security: - - ztSession: [] + - ztSession: [ ] tags: - Informational operationId: listSummary @@ -14,6 +14,8 @@ paths: $ref: '#/responses/listSummaryCounts' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listSummaryCounts: diff --git a/source/management/terminators.yml b/source/management/terminators.yml index edbfa09a..14d1f4c5 100644 --- a/source/management/terminators.yml +++ b/source/management/terminators.yml @@ -6,8 +6,8 @@ paths: description: | Retrieves a list of terminator resources; supports filtering, sorting, and pagination. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Terminator operationId: listTerminators @@ -22,12 +22,15 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '400': $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + post: summary: Create a terminator resource description: Create a terminator resource. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Terminator operationId: createTerminator @@ -45,6 +48,9 @@ paths: $ref: '../shared/standard-responses.yml#/responses/badRequestResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + terminators-id: parameters: - $ref: '../shared/parameters.yml#/id' @@ -52,8 +58,8 @@ paths: summary: Retrieves a single terminator description: Retrieves a single terminator by id. Requires admin access. security: - - ztSession: [] - - oauth2: [openid] + - ztSession: [ ] + - oauth2: [ openid ] tags: - Terminator operationId: detailTerminator @@ -64,11 +70,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + put: summary: Update all fields on a terminator description: Update all fields on a terminator by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Terminator operationId: updateTerminator @@ -88,11 +97,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + patch: summary: Update the supplied fields on a terminator description: Update the supplied fields on a terminator. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Terminator operationId: patchTerminator @@ -112,11 +124,14 @@ paths: $ref: '../shared/standard-responses.yml#/responses/notFoundResponse' '401': $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' + delete: summary: Delete a terminator description: Delete a terminator by id. Requires admin access. security: - - ztSession: [] + - ztSession: [ ] tags: - Terminator operationId: deleteTerminator @@ -129,6 +144,8 @@ paths: $ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse' '409': $ref: '../shared/standard-responses.yml#/responses/cannotDeleteReferencedResourceResponse' + '429': + $ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse' responses: listTerminators: diff --git a/version b/version index 7d385d41..99222150 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.25 +0.26