gcore 0.9.0__py3-none-any.whl → 0.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gcore might be problematic. Click here for more details.
- gcore/_base_client.py +3 -3
- gcore/_client.py +18 -0
- gcore/_compat.py +48 -48
- gcore/_models.py +41 -41
- gcore/_types.py +35 -1
- gcore/_utils/__init__.py +9 -2
- gcore/_utils/_compat.py +45 -0
- gcore/_utils/_datetime_parse.py +136 -0
- gcore/_utils/_transform.py +11 -1
- gcore/_utils/_typing.py +6 -1
- gcore/_utils/_utils.py +0 -1
- gcore/_version.py +1 -1
- gcore/resources/__init__.py +28 -0
- gcore/resources/cloud/__init__.py +14 -0
- gcore/resources/cloud/audit_logs.py +3 -3
- gcore/resources/cloud/baremetal/images.py +3 -4
- gcore/resources/cloud/baremetal/servers.py +16 -4
- gcore/resources/cloud/cloud.py +32 -0
- gcore/resources/cloud/cost_reports.py +24 -16
- gcore/resources/cloud/file_shares/access_rules.py +2 -2
- gcore/resources/cloud/file_shares/file_shares.py +30 -14
- gcore/resources/cloud/floating_ips.py +196 -4
- gcore/resources/cloud/gpu_baremetal_clusters/flavors.py +1 -1
- gcore/resources/cloud/gpu_baremetal_clusters/gpu_baremetal_clusters.py +166 -190
- gcore/resources/cloud/gpu_baremetal_clusters/servers.py +268 -12
- gcore/resources/cloud/inference/__init__.py +14 -14
- gcore/resources/cloud/inference/applications/__init__.py +47 -0
- gcore/resources/cloud/inference/applications/applications.py +134 -0
- gcore/resources/cloud/inference/applications/deployments.py +649 -0
- gcore/resources/cloud/inference/applications/templates.py +238 -0
- gcore/resources/cloud/inference/deployments/deployments.py +41 -22
- gcore/resources/cloud/inference/inference.py +32 -32
- gcore/resources/cloud/inference/registry_credentials.py +8 -9
- gcore/resources/cloud/instances/images.py +4 -4
- gcore/resources/cloud/instances/instances.py +254 -4
- gcore/resources/cloud/instances/interfaces.py +544 -0
- gcore/resources/cloud/k8s/__init__.py +47 -0
- gcore/resources/cloud/k8s/clusters/__init__.py +47 -0
- gcore/resources/cloud/k8s/clusters/clusters.py +1391 -0
- gcore/resources/cloud/k8s/clusters/nodes.py +291 -0
- gcore/resources/cloud/k8s/clusters/pools/__init__.py +33 -0
- gcore/resources/cloud/k8s/clusters/pools/nodes.py +303 -0
- gcore/resources/cloud/k8s/clusters/pools/pools.py +870 -0
- gcore/resources/cloud/k8s/flavors.py +209 -0
- gcore/resources/cloud/k8s/k8s.py +233 -0
- gcore/resources/cloud/load_balancers/l7_policies/l7_policies.py +11 -12
- gcore/resources/cloud/load_balancers/l7_policies/rules.py +9 -10
- gcore/resources/cloud/load_balancers/listeners.py +18 -18
- gcore/resources/cloud/load_balancers/load_balancers.py +4 -4
- gcore/resources/cloud/load_balancers/pools/health_monitors.py +26 -10
- gcore/resources/cloud/load_balancers/pools/members.py +34 -4
- gcore/resources/cloud/load_balancers/pools/pools.py +32 -8
- gcore/resources/cloud/networks/networks.py +192 -4
- gcore/resources/cloud/networks/subnets.py +140 -8
- gcore/resources/cloud/reserved_fixed_ips/vip.py +5 -7
- gcore/resources/cloud/security_groups/security_groups.py +6 -6
- gcore/resources/cloud/tasks.py +46 -46
- gcore/resources/cloud/users/role_assignments.py +5 -4
- gcore/resources/cloud/volumes.py +4 -4
- gcore/resources/dns/__init__.py +75 -0
- gcore/resources/dns/dns.py +374 -0
- gcore/resources/dns/locations.py +288 -0
- gcore/resources/dns/metrics.py +214 -0
- gcore/resources/dns/pickers/__init__.py +33 -0
- gcore/resources/dns/pickers/pickers.py +167 -0
- gcore/resources/dns/pickers/presets.py +135 -0
- gcore/resources/dns/zones/__init__.py +47 -0
- gcore/resources/{cloud/inference/models.py → dns/zones/dnssec.py} +80 -122
- gcore/resources/dns/zones/rrsets.py +1005 -0
- gcore/resources/dns/zones/zones.py +1493 -0
- gcore/resources/security/bgp_announces.py +15 -15
- gcore/resources/storage/__init__.py +75 -0
- gcore/resources/storage/buckets/__init__.py +61 -0
- gcore/resources/storage/buckets/buckets.py +470 -0
- gcore/resources/storage/buckets/cors.py +265 -0
- gcore/resources/storage/buckets/lifecycle.py +276 -0
- gcore/resources/storage/buckets/policy.py +345 -0
- gcore/resources/storage/credentials.py +221 -0
- gcore/resources/storage/locations.py +190 -0
- gcore/resources/storage/statistics.py +364 -0
- gcore/resources/storage/storage.py +1042 -0
- gcore/resources/streaming/ai_tasks.py +56 -70
- gcore/resources/streaming/playlists.py +18 -18
- gcore/resources/streaming/quality_sets.py +8 -8
- gcore/resources/streaming/statistics.py +4 -122
- gcore/resources/streaming/streams/overlays.py +6 -6
- gcore/resources/streaming/streams/streams.py +40 -64
- gcore/resources/streaming/videos/subtitles.py +32 -30
- gcore/resources/streaming/videos/videos.py +78 -72
- gcore/resources/waap/__init__.py +14 -0
- gcore/resources/waap/custom_page_sets.py +40 -34
- gcore/resources/waap/domains/__init__.py +14 -28
- gcore/resources/waap/domains/advanced_rules.py +7 -10
- gcore/resources/waap/domains/{api_discovery/api_discovery.py → api_discovery.py} +292 -59
- gcore/resources/waap/domains/api_path_groups.py +5 -5
- gcore/resources/waap/domains/api_paths.py +28 -30
- gcore/resources/waap/domains/custom_rules.py +7 -10
- gcore/resources/waap/domains/domains.py +124 -68
- gcore/resources/waap/domains/firewall_rules.py +5 -7
- gcore/resources/waap/domains/insight_silences.py +34 -11
- gcore/resources/waap/domains/insights.py +43 -17
- gcore/resources/waap/domains/statistics.py +977 -0
- gcore/resources/waap/insights.py +233 -0
- gcore/resources/waap/ip_info/__init__.py +33 -0
- gcore/resources/waap/{ip_info.py → ip_info/ip_info.py} +149 -235
- gcore/resources/waap/ip_info/metrics.py +203 -0
- gcore/resources/waap/waap.py +40 -8
- gcore/types/cloud/__init__.py +2 -4
- gcore/types/cloud/audit_log_list_params.py +2 -1
- gcore/types/cloud/baremetal/image_list_params.py +3 -2
- gcore/types/cloud/baremetal/server_create_params.py +8 -6
- gcore/types/cloud/baremetal/server_list_params.py +3 -2
- gcore/types/cloud/baremetal/server_rebuild_params.py +2 -0
- gcore/types/cloud/cost_report_get_aggregated_monthly_params.py +35 -31
- gcore/types/cloud/cost_report_get_aggregated_params.py +26 -25
- gcore/types/cloud/cost_report_get_detailed_params.py +26 -25
- gcore/types/cloud/ddos_profile.py +13 -7
- gcore/types/cloud/ddos_profile_field.py +21 -8
- gcore/types/cloud/ddos_profile_option_list.py +7 -6
- gcore/types/cloud/ddos_profile_status.py +2 -2
- gcore/types/cloud/ddos_profile_template.py +7 -3
- gcore/types/cloud/ddos_profile_template_field.py +12 -3
- gcore/types/cloud/file_share.py +2 -2
- gcore/types/cloud/file_share_create_params.py +12 -6
- gcore/types/cloud/floating_ip_list_params.py +3 -2
- gcore/types/cloud/gpu_baremetal_cluster.py +101 -74
- gcore/types/cloud/gpu_baremetal_cluster_create_params.py +76 -93
- gcore/types/cloud/gpu_baremetal_cluster_delete_params.py +17 -10
- gcore/types/cloud/gpu_baremetal_cluster_list_params.py +14 -3
- gcore/types/cloud/gpu_baremetal_cluster_rebuild_params.py +4 -2
- gcore/types/cloud/gpu_baremetal_clusters/__init__.py +6 -0
- gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_cluster_server.py +74 -0
- gcore/types/cloud/{gpu_baremetal_cluster_server.py → gpu_baremetal_clusters/gpu_baremetal_cluster_server_v1.py} +10 -10
- gcore/types/cloud/gpu_baremetal_clusters/gpu_baremetal_cluster_server_v1_list.py +16 -0
- gcore/types/cloud/{gpu_baremetal_flavor.py → gpu_baremetal_clusters/gpu_baremetal_flavor.py} +1 -1
- gcore/types/cloud/{gpu_baremetal_flavor_list.py → gpu_baremetal_clusters/gpu_baremetal_flavor_list.py} +1 -1
- gcore/types/cloud/gpu_baremetal_clusters/server_list_params.py +75 -0
- gcore/types/cloud/health_monitor.py +6 -0
- gcore/types/cloud/inference/__init__.py +0 -5
- gcore/types/cloud/inference/applications/__init__.py +12 -0
- gcore/types/cloud/inference/applications/deployment_create_params.py +68 -0
- gcore/types/cloud/inference/applications/deployment_patch_params.py +62 -0
- gcore/types/cloud/inference/applications/inference_application_deployment.py +111 -0
- gcore/types/cloud/inference/applications/inference_application_deployment_list.py +16 -0
- gcore/types/cloud/inference/applications/inference_application_template.py +94 -0
- gcore/types/cloud/inference/applications/inference_application_template_list.py +16 -0
- gcore/types/cloud/inference/deployment_create_params.py +7 -6
- gcore/types/cloud/inference/deployment_update_params.py +7 -6
- gcore/types/cloud/instance_assign_security_group_params.py +4 -2
- gcore/types/cloud/instance_list_params.py +3 -2
- gcore/types/cloud/instance_unassign_security_group_params.py +4 -2
- gcore/types/cloud/instances/image_list_params.py +3 -2
- gcore/types/cloud/k8s/__init__.py +13 -0
- gcore/types/cloud/k8s/cluster_create_params.py +299 -0
- gcore/types/cloud/k8s/cluster_delete_params.py +16 -0
- gcore/types/cloud/k8s/cluster_update_params.py +203 -0
- gcore/types/cloud/k8s/cluster_upgrade_params.py +16 -0
- gcore/types/cloud/k8s/clusters/__init__.py +10 -0
- gcore/types/cloud/k8s/clusters/k8s_cluster_pool.py +66 -0
- gcore/types/cloud/k8s/clusters/k8s_cluster_pool_list.py +16 -0
- gcore/types/cloud/k8s/clusters/node_list_params.py +16 -0
- gcore/types/cloud/k8s/clusters/pool_create_params.py +53 -0
- gcore/types/cloud/k8s/clusters/pool_resize_params.py +18 -0
- gcore/types/cloud/k8s/clusters/pool_update_params.py +34 -0
- gcore/types/{waap/domains/analytics → cloud/k8s/clusters/pools}/__init__.py +1 -1
- gcore/types/cloud/k8s/clusters/pools/node_list_params.py +18 -0
- gcore/types/cloud/k8s/flavor_list_params.py +19 -0
- gcore/types/cloud/k8s/k8s_cluster.py +209 -0
- gcore/types/cloud/k8s/k8s_cluster_certificate.py +13 -0
- gcore/types/cloud/k8s/k8s_cluster_kubeconfig.py +19 -0
- gcore/types/cloud/k8s/k8s_cluster_list.py +16 -0
- gcore/types/cloud/k8s_cluster_version.py +10 -0
- gcore/types/cloud/{gpu_baremetal_cluster_server_list.py → k8s_cluster_version_list.py} +4 -4
- gcore/types/cloud/load_balancer_create_params.py +31 -7
- gcore/types/cloud/load_balancer_list_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policies/rule_create_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policies/rule_replace_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policy_create_params.py +3 -2
- gcore/types/cloud/load_balancers/l7_policy_replace_params.py +3 -2
- gcore/types/cloud/load_balancers/listener_create_params.py +4 -3
- gcore/types/cloud/load_balancers/listener_update_params.py +5 -3
- gcore/types/cloud/load_balancers/pool_create_params.py +27 -4
- gcore/types/cloud/load_balancers/pool_update_params.py +27 -4
- gcore/types/cloud/load_balancers/pools/health_monitor_create_params.py +7 -2
- gcore/types/cloud/load_balancers/pools/member_add_params.py +20 -2
- gcore/types/cloud/member.py +19 -1
- gcore/types/cloud/network_list_params.py +3 -2
- gcore/types/cloud/networks/subnet_create_params.py +3 -2
- gcore/types/cloud/networks/subnet_list_params.py +3 -2
- gcore/types/cloud/networks/subnet_update_params.py +3 -2
- gcore/types/cloud/project.py +9 -9
- gcore/types/cloud/region.py +0 -3
- gcore/types/cloud/reserved_fixed_ips/vip_replace_connected_ports_params.py +3 -2
- gcore/types/cloud/reserved_fixed_ips/vip_update_connected_ports_params.py +3 -2
- gcore/types/cloud/security_group_create_params.py +4 -2
- gcore/types/cloud/security_group_list_params.py +3 -2
- gcore/types/cloud/task_id_list.py +8 -1
- gcore/types/cloud/task_list_params.py +23 -23
- gcore/types/cloud/usage_report_get_params.py +26 -25
- gcore/types/cloud/users/role_assignment.py +2 -1
- gcore/types/cloud/users/role_assignment_create_params.py +4 -2
- gcore/types/cloud/users/role_assignment_update_params.py +4 -2
- gcore/types/cloud/volume_list_params.py +3 -2
- gcore/types/dns/__init__.py +31 -0
- gcore/types/dns/dns_get_account_overview_response.py +21 -0
- gcore/types/dns/dns_label_name.py +13 -0
- gcore/types/dns/dns_location_translations.py +11 -0
- gcore/types/dns/dns_lookup_params.py +15 -0
- gcore/types/dns/dns_lookup_response.py +21 -0
- gcore/types/dns/dns_name_server.py +17 -0
- gcore/types/dns/location_list_continents_response.py +10 -0
- gcore/types/dns/location_list_countries_response.py +10 -0
- gcore/types/dns/location_list_regions_response.py +10 -0
- gcore/types/dns/location_list_response.py +16 -0
- gcore/types/dns/metric_list_params.py +24 -0
- gcore/types/dns/metric_list_response.py +7 -0
- gcore/types/dns/picker_list_response.py +10 -0
- gcore/types/dns/pickers/__init__.py +5 -0
- gcore/types/dns/pickers/preset_list_response.py +10 -0
- gcore/types/dns/zone_check_delegation_status_response.py +20 -0
- gcore/types/dns/zone_create_params.py +59 -0
- gcore/types/dns/zone_create_response.py +13 -0
- gcore/types/dns/zone_export_response.py +11 -0
- gcore/types/dns/zone_get_response.py +106 -0
- gcore/types/dns/zone_get_statistics_params.py +43 -0
- gcore/types/dns/zone_get_statistics_response.py +19 -0
- gcore/types/dns/zone_import_params.py +32 -0
- gcore/types/dns/zone_import_response.py +26 -0
- gcore/types/dns/zone_list_params.py +57 -0
- gcore/types/dns/zone_list_response.py +105 -0
- gcore/types/dns/zone_replace_params.py +61 -0
- gcore/types/dns/zones/__init__.py +15 -0
- gcore/types/dns/zones/dns_failover_log.py +19 -0
- gcore/types/dns/zones/dns_output_rrset.py +123 -0
- gcore/types/dns/zones/dnssec_get_response.py +38 -0
- gcore/types/dns/zones/dnssec_update_params.py +11 -0
- gcore/types/dns/zones/dnssec_update_response.py +38 -0
- gcore/types/dns/zones/rrset_create_params.py +82 -0
- gcore/types/dns/zones/rrset_get_failover_logs_params.py +21 -0
- gcore/types/dns/zones/rrset_get_failover_logs_response.py +15 -0
- gcore/types/dns/zones/rrset_list_params.py +21 -0
- gcore/types/dns/zones/rrset_list_response.py +14 -0
- gcore/types/dns/zones/rrset_replace_params.py +82 -0
- gcore/types/security/__init__.py +1 -1
- gcore/types/security/{bgp_announce_change_params.py → bgp_announce_toggle_params.py} +2 -2
- gcore/types/security/client_profile.py +1 -1
- gcore/types/security/profile_create_params.py +2 -2
- gcore/types/security/profile_recreate_params.py +2 -2
- gcore/types/security/profile_replace_params.py +2 -2
- gcore/types/storage/__init__.py +21 -0
- gcore/types/storage/bucket.py +15 -0
- gcore/types/storage/bucket_list_params.py +15 -0
- gcore/types/storage/buckets/__init__.py +9 -0
- gcore/types/storage/buckets/bucket_cors.py +18 -0
- gcore/types/storage/buckets/bucket_policy.py +7 -0
- gcore/types/storage/buckets/cor_create_params.py +17 -0
- gcore/types/storage/buckets/lifecycle_create_params.py +18 -0
- gcore/types/storage/buckets/policy_get_response.py +7 -0
- gcore/types/storage/credential_recreate_params.py +36 -0
- gcore/types/storage/location.py +24 -0
- gcore/types/storage/location_list_params.py +13 -0
- gcore/types/storage/statistic_get_usage_aggregated_params.py +24 -0
- gcore/types/storage/statistic_get_usage_series_params.py +38 -0
- gcore/types/storage/statistic_get_usage_series_response.py +12 -0
- gcore/types/storage/storage.py +101 -0
- gcore/types/storage/storage_create_params.py +44 -0
- gcore/types/storage/storage_list_params.py +39 -0
- gcore/types/storage/storage_restore_params.py +11 -0
- gcore/types/storage/storage_update_params.py +18 -0
- gcore/types/storage/usage_series.py +201 -0
- gcore/types/storage/usage_total.py +54 -0
- gcore/types/streaming/__init__.py +0 -4
- gcore/types/streaming/ai_contentmoderation_hardnudity.py +1 -1
- gcore/types/streaming/ai_contentmoderation_nsfw.py +1 -1
- gcore/types/streaming/ai_contentmoderation_softnudity.py +1 -1
- gcore/types/streaming/ai_contentmoderation_sport.py +1 -1
- gcore/types/streaming/ai_task.py +1 -5
- gcore/types/streaming/ai_task_create_params.py +2 -2
- gcore/types/streaming/ai_task_get_response.py +0 -46
- gcore/types/streaming/clip.py +2 -1
- gcore/types/streaming/create_video_param.py +13 -12
- gcore/types/streaming/max_stream_series.py +5 -5
- gcore/types/streaming/playlist.py +1 -1
- gcore/types/streaming/playlist_create_params.py +1 -1
- gcore/types/streaming/playlist_update_params.py +1 -1
- gcore/types/streaming/playlist_video.py +13 -12
- gcore/types/streaming/storage_series.py +5 -5
- gcore/types/streaming/stream.py +86 -49
- gcore/types/streaming/stream_create_clip_params.py +2 -1
- gcore/types/streaming/stream_create_params.py +9 -23
- gcore/types/streaming/stream_series.py +5 -5
- gcore/types/streaming/stream_update_params.py +9 -23
- gcore/types/streaming/video.py +53 -42
- gcore/types/streaming/video_update_params.py +13 -12
- gcore/types/streaming/vod_statistics_series.py +5 -5
- gcore/types/streaming/vod_total_stream_duration_series.py +3 -3
- gcore/types/waap/__init__.py +6 -54
- gcore/types/waap/custom_page_set_create_params.py +121 -14
- gcore/types/waap/custom_page_set_preview_params.py +11 -4
- gcore/types/waap/custom_page_set_update_params.py +122 -15
- gcore/types/waap/domain_list_params.py +2 -4
- gcore/types/waap/domain_update_params.py +1 -1
- gcore/types/waap/domains/__init__.py +28 -18
- gcore/types/waap/domains/advanced_rule_create_params.py +7 -4
- gcore/types/waap/domains/advanced_rule_list_params.py +1 -3
- gcore/types/waap/domains/advanced_rule_update_params.py +6 -3
- gcore/types/waap/domains/{api_discovery/scan_result_list_params.py → api_discovery_list_scan_results_params.py} +2 -2
- gcore/types/waap/domains/api_path_create_params.py +4 -3
- gcore/types/waap/domains/{api_path_group_list_response.py → api_path_group_list.py} +2 -2
- gcore/types/waap/domains/api_path_list_params.py +3 -1
- gcore/types/waap/domains/api_path_update_params.py +5 -4
- gcore/types/waap/domains/custom_rule_create_params.py +13 -14
- gcore/types/waap/domains/custom_rule_list_params.py +1 -3
- gcore/types/waap/domains/custom_rule_update_params.py +12 -13
- gcore/types/waap/domains/firewall_rule_create_params.py +3 -2
- gcore/types/waap/domains/firewall_rule_update_params.py +2 -1
- gcore/types/waap/domains/insight_list_params.py +19 -7
- gcore/types/waap/domains/insight_replace_params.py +3 -5
- gcore/types/waap/domains/insight_silence_list_params.py +17 -6
- gcore/types/waap/domains/setting_update_params.py +3 -2
- gcore/types/waap/domains/{analytics_list_ddos_attacks_params.py → statistic_get_ddos_attacks_params.py} +2 -2
- gcore/types/waap/domains/statistic_get_ddos_info_params.py +28 -0
- gcore/types/waap/domains/statistic_get_events_aggregated_params.py +33 -0
- gcore/types/waap/domains/statistic_get_requests_series_params.py +74 -0
- gcore/types/waap/domains/statistic_get_traffic_series_params.py +22 -0
- gcore/types/waap/domains/statistic_get_traffic_series_response.py +10 -0
- gcore/types/waap/{waap_advanced_rule.py → domains/waap_advanced_rule.py} +4 -3
- gcore/types/waap/domains/{api_discovery_get_settings_response.py → waap_api_discovery_settings.py} +2 -2
- gcore/types/waap/domains/{api_path_get_response.py → waap_api_path.py} +6 -6
- gcore/types/waap/domains/{api_discovery/scan_result_get_response.py → waap_api_scan_result.py} +5 -5
- gcore/types/waap/{waap_blocked_statistics.py → domains/waap_blocked_statistics.py} +1 -1
- gcore/types/waap/{waap_count_statistics.py → domains/waap_count_statistics.py} +1 -1
- gcore/types/waap/{waap_custom_rule.py → domains/waap_custom_rule.py} +5 -8
- gcore/types/waap/{waap_ddos_attack.py → domains/waap_ddos_attack.py} +1 -1
- gcore/types/waap/{waap_ddos_info.py → domains/waap_ddos_info.py} +1 -1
- gcore/types/waap/{waap_event_statistics.py → domains/waap_event_statistics.py} +1 -1
- gcore/types/waap/{waap_firewall_rule.py → domains/waap_firewall_rule.py} +4 -3
- gcore/types/waap/{waap_insight.py → domains/waap_insight.py} +4 -4
- gcore/types/waap/{waap_insight_silence.py → domains/waap_insight_silence.py} +1 -1
- gcore/types/waap/domains/waap_request_details.py +186 -0
- gcore/types/waap/{waap_request_summary.py → domains/waap_request_summary.py} +1 -1
- gcore/types/waap/domains/{api_discovery_scan_openapi_response.py → waap_task_id.py} +2 -2
- gcore/types/waap/{waap_traffic_metrics.py → domains/waap_traffic_metrics.py} +1 -1
- gcore/types/waap/insight_list_types_params.py +28 -0
- gcore/types/waap/ip_info/__init__.py +6 -0
- gcore/types/waap/{ip_info_get_counts_params.py → ip_info/metric_list_params.py} +2 -2
- gcore/types/waap/{waap_ip_info_counts.py → ip_info/waap_ip_info_counts.py} +1 -1
- gcore/types/waap/{ip_info_get_params.py → ip_info_get_ip_info_params.py} +2 -2
- gcore/types/waap/{waap_ip_info.py → ip_info_get_ip_info_response.py} +2 -2
- gcore/types/waap/ip_info_get_top_urls_response.py +12 -3
- gcore/types/waap/{ip_info_get_top_sessions_params.py → ip_info_get_top_user_sessions_params.py} +2 -2
- gcore/types/waap/{ip_info_get_top_sessions_response.py → ip_info_get_top_user_sessions_response.py} +2 -2
- gcore/types/waap/waap_custom_page_set.py +113 -13
- gcore/types/waap/waap_detailed_domain.py +2 -2
- gcore/types/waap/waap_insight_type.py +33 -0
- gcore/types/waap/waap_ip_ddos_info_model.py +3 -3
- gcore/types/waap/waap_rule_set.py +26 -3
- gcore/types/waap/waap_summary_domain.py +2 -2
- {gcore-0.9.0.dist-info → gcore-0.11.0.dist-info}/METADATA +7 -2
- {gcore-0.9.0.dist-info → gcore-0.11.0.dist-info}/RECORD +362 -281
- gcore/resources/waap/domains/analytics/__init__.py +0 -33
- gcore/resources/waap/domains/analytics/analytics.py +0 -676
- gcore/resources/waap/domains/analytics/requests.py +0 -378
- gcore/resources/waap/domains/api_discovery/__init__.py +0 -33
- gcore/resources/waap/domains/api_discovery/scan_results.py +0 -352
- gcore/resources/waap/domains/policies.py +0 -173
- gcore/types/cloud/inference/inference_model.py +0 -65
- gcore/types/cloud/inference/inference_registry_credentials_create.py +0 -22
- gcore/types/cloud/inference/model_list_params.py +0 -21
- gcore/types/streaming/ai_contentmoderation_casm.py +0 -39
- gcore/types/streaming/ai_contentmoderation_weapon.py +0 -39
- gcore/types/streaming/meet_series.py +0 -23
- gcore/types/streaming/statistic_get_meet_series_params.py +0 -20
- gcore/types/waap/domains/analytics/request_list_params.py +0 -53
- gcore/types/waap/domains/analytics_get_event_statistics_params.py +0 -34
- gcore/types/waap/domains/analytics_list_ddos_info_params.py +0 -31
- gcore/types/waap/domains/analytics_list_event_traffic_params.py +0 -26
- gcore/types/waap/domains/analytics_list_event_traffic_response.py +0 -10
- gcore/types/waap/domains/api_discovery/__init__.py +0 -7
- gcore/types/waap/domains/api_discovery/scan_result_list_response.py +0 -29
- gcore/types/waap/domains/api_discovery_update_settings_response.py +0 -36
- gcore/types/waap/domains/api_discovery_upload_openapi_response.py +0 -10
- gcore/types/waap/domains/api_path_create_response.py +0 -50
- gcore/types/waap/domains/api_path_list_response.py +0 -50
- gcore/types/waap/waap_block_csrf_page_data.py +0 -28
- gcore/types/waap/waap_block_csrf_page_data_param.py +0 -28
- gcore/types/waap/waap_block_page_data.py +0 -28
- gcore/types/waap/waap_block_page_data_param.py +0 -28
- gcore/types/waap/waap_captcha_page_data.py +0 -31
- gcore/types/waap/waap_captcha_page_data_param.py +0 -31
- gcore/types/waap/waap_common_tag.py +0 -16
- gcore/types/waap/waap_cookie_disabled_page_data.py +0 -18
- gcore/types/waap/waap_cookie_disabled_page_data_param.py +0 -18
- gcore/types/waap/waap_customer_rule_state.py +0 -7
- gcore/types/waap/waap_domain_policy.py +0 -29
- gcore/types/waap/waap_domain_status.py +0 -7
- gcore/types/waap/waap_handshake_page_data.py +0 -25
- gcore/types/waap/waap_handshake_page_data_param.py +0 -25
- gcore/types/waap/waap_insight_silence_sort_by.py +0 -9
- gcore/types/waap/waap_insight_sort_by.py +0 -20
- gcore/types/waap/waap_insight_status.py +0 -7
- gcore/types/waap/waap_javascript_disabled_page_data.py +0 -18
- gcore/types/waap/waap_javascript_disabled_page_data_param.py +0 -18
- gcore/types/waap/waap_network_details.py +0 -17
- gcore/types/waap/waap_page_type.py +0 -9
- gcore/types/waap/waap_paginated_custom_page_set.py +0 -22
- gcore/types/waap/waap_paginated_ddos_attack.py +0 -22
- gcore/types/waap/waap_paginated_ddos_info.py +0 -22
- gcore/types/waap/waap_paginated_request_summary.py +0 -22
- gcore/types/waap/waap_pattern_matched_tag.py +0 -37
- gcore/types/waap/waap_policy_action.py +0 -7
- gcore/types/waap/waap_request_details.py +0 -92
- gcore/types/waap/waap_request_organization.py +0 -13
- gcore/types/waap/waap_resolution.py +0 -7
- gcore/types/waap/waap_rule_action_type.py +0 -7
- gcore/types/waap/waap_top_url.py +0 -13
- gcore/types/waap/waap_traffic_type.py +0 -28
- gcore/types/waap/waap_user_agent_details.py +0 -40
- {gcore-0.9.0.dist-info → gcore-0.11.0.dist-info}/WHEEL +0 -0
- {gcore-0.9.0.dist-info → gcore-0.11.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -54,8 +54,7 @@ class AITasksResource(SyncAPIResource):
|
|
|
54
54
|
task_name: Literal["transcription", "content-moderation"],
|
|
55
55
|
url: str,
|
|
56
56
|
audio_language: str | NotGiven = NOT_GIVEN,
|
|
57
|
-
category: Literal["sport", "
|
|
58
|
-
| NotGiven = NOT_GIVEN,
|
|
57
|
+
category: Literal["sport", "nsfw", "hard_nudity", "soft_nudity"] | NotGiven = NOT_GIVEN,
|
|
59
58
|
client_entity_data: str | NotGiven = NOT_GIVEN,
|
|
60
59
|
client_user_id: str | NotGiven = NOT_GIVEN,
|
|
61
60
|
subtitles_language: str | NotGiven = NOT_GIVEN,
|
|
@@ -74,17 +73,15 @@ class AITasksResource(SyncAPIResource):
|
|
|
74
73
|
- ASR: Transcribe video
|
|
75
74
|
- ASR: Translate subtitles
|
|
76
75
|
- CM: Sports detection
|
|
77
|
-
- CM: Weapon detection
|
|
78
76
|
- CM: Not Safe For Work (NSFW) content detection
|
|
79
77
|
- CM: Soft nudity detection
|
|
80
78
|
- CM: Hard nudity detection
|
|
81
|
-
- CM: Child Sexual Abuse Material (CSAM) detection
|
|
82
79
|
- CM: Objects recognition (soon)
|
|
83
80
|

|
|
84
81
|
How to use:
|
|
85
82
|
- Create an AI task, specify algoritm to use
|
|
86
83
|
- Get `task_id`
|
|
87
|
-
- Check a result using
|
|
84
|
+
- Check a result using `.../ai/tasks/{task_id}` method For more detailed
|
|
88
85
|
information, see the description of each method separately.
|
|
89
86
|
|
|
90
87
|
**AI Automatic Speech Recognition (ASR)** AI is instrumental in automatic video
|
|
@@ -105,21 +102,21 @@ class AITasksResource(SyncAPIResource):
|
|
|
105
102
|
|
|
106
103
|
```
|
|
107
104
|
{
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
105
|
+
"status": "SUCCESS",
|
|
106
|
+
"result": {
|
|
107
|
+
"subtitles": [
|
|
108
|
+
{
|
|
109
|
+
"start_time": "00:00:00.031",
|
|
110
|
+
"end_time": "00:00:03.831",
|
|
111
|
+
"text": "Come on team, ..."
|
|
112
|
+
}, ...
|
|
113
|
+
]
|
|
114
|
+
"vttContent": "WEBVTT\n\n1\n00:00:00.031 --> 00:00:03.831\nCome on team, ...",
|
|
115
|
+
"concatenated_text": "Come on team, ...",
|
|
116
|
+
"languages": [ "eng" ],
|
|
117
|
+
"speech_detected": true
|
|
118
|
+
}
|
|
119
|
+
}, ...
|
|
123
120
|
}
|
|
124
121
|
```
|
|
125
122
|
|
|
@@ -137,14 +134,11 @@ class AITasksResource(SyncAPIResource):
|
|
|
137
134
|
- `soft_nudity`: Detailed video analysis that reveals both explicit and partial
|
|
138
135
|
nudity, including the presence of male and female faces and other uncovered
|
|
139
136
|
body parts.
|
|
140
|
-
- `
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
this API, you can ensure compliance with community guidelines and legal
|
|
146
|
-
requirements, as well as provide a safer environment for your users. Important
|
|
147
|
-
notes:
|
|
137
|
+
- `sport`: Recognizes various sporting activities. The AI Content Moderation API
|
|
138
|
+
is an invaluable tool for managing and controlling the type of content being
|
|
139
|
+
shared or streamed on your platform. By implementing this API, you can ensure
|
|
140
|
+
compliance with community guidelines and legal requirements, as well as
|
|
141
|
+
provide a safer environment for your users. Important notes:
|
|
148
142
|
- It's allowed to analyse still images too (where applicable). Format of image:
|
|
149
143
|
JPEG, PNG. In that case one image is the same as video of 1 second duration.
|
|
150
144
|
- Not all frames in the video are used for analysis, but only key frames
|
|
@@ -158,9 +152,9 @@ class AITasksResource(SyncAPIResource):
|
|
|
158
152
|
{
|
|
159
153
|
"status": "SUCCESS",
|
|
160
154
|
"result": {
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"frames": [{"label": "nsfw", "confidence": 1.0, "
|
|
155
|
+
"nsfw_detected": true,
|
|
156
|
+
"detection_results": ["nsfw"],
|
|
157
|
+
"frames": [{"label": "nsfw", "confidence": 1.0, "frame_number": 24}, ...],
|
|
164
158
|
},
|
|
165
159
|
}
|
|
166
160
|
```
|
|
@@ -312,7 +306,7 @@ class AITasksResource(SyncAPIResource):
|
|
|
312
306
|
- transcription into the original language is a free procedure,
|
|
313
307
|
- and translation from the original language into any other languages is a
|
|
314
308
|
"translation" procedure and is paid. More details in
|
|
315
|
-
[POST /ai/tasks#transcribe](
|
|
309
|
+
[POST /streaming/ai/tasks#transcribe](/docs/api-reference/streaming/ai/create-ai-asr-task).
|
|
316
310
|
Language is set by 3-letter language code according to ISO-639-2
|
|
317
311
|
(bibliographic code).
|
|
318
312
|
|
|
@@ -484,11 +478,9 @@ class AITasksResource(SyncAPIResource):
|
|
|
484
478
|
- ASR: Transcribe video
|
|
485
479
|
- ASR: Translate subtitles
|
|
486
480
|
- CM: Sports detection
|
|
487
|
-
- CM: Weapon detection
|
|
488
481
|
- CM: Not Safe For Work (NSFW) content detection
|
|
489
482
|
- CM: Soft nudity detection
|
|
490
483
|
- CM: Hard nudity detection
|
|
491
|
-
- CM: Child Sexual Abuse Material (CSAM) detection
|
|
492
484
|
- CM: Objects recognition (soon)
|
|
493
485
|
- etc... (see other methods from /ai/ domain)
|
|
494
486
|
|
|
@@ -564,7 +556,8 @@ class AITasksResource(SyncAPIResource):
|
|
|
564
556
|
determination. Example:
|
|
565
557
|
|
|
566
558
|
```
|
|
567
|
-
curl -L 'https://api.gcore.com/streaming/ai/info?type
|
|
559
|
+
curl -L 'https://api.gcore.com/streaming/ai/info?type=language_support&audio_language=eng&subtitles_language=fre'
|
|
560
|
+
|
|
568
561
|
{ "supported": true }
|
|
569
562
|
```
|
|
570
563
|
|
|
@@ -642,8 +635,7 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
642
635
|
task_name: Literal["transcription", "content-moderation"],
|
|
643
636
|
url: str,
|
|
644
637
|
audio_language: str | NotGiven = NOT_GIVEN,
|
|
645
|
-
category: Literal["sport", "
|
|
646
|
-
| NotGiven = NOT_GIVEN,
|
|
638
|
+
category: Literal["sport", "nsfw", "hard_nudity", "soft_nudity"] | NotGiven = NOT_GIVEN,
|
|
647
639
|
client_entity_data: str | NotGiven = NOT_GIVEN,
|
|
648
640
|
client_user_id: str | NotGiven = NOT_GIVEN,
|
|
649
641
|
subtitles_language: str | NotGiven = NOT_GIVEN,
|
|
@@ -662,17 +654,15 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
662
654
|
- ASR: Transcribe video
|
|
663
655
|
- ASR: Translate subtitles
|
|
664
656
|
- CM: Sports detection
|
|
665
|
-
- CM: Weapon detection
|
|
666
657
|
- CM: Not Safe For Work (NSFW) content detection
|
|
667
658
|
- CM: Soft nudity detection
|
|
668
659
|
- CM: Hard nudity detection
|
|
669
|
-
- CM: Child Sexual Abuse Material (CSAM) detection
|
|
670
660
|
- CM: Objects recognition (soon)
|
|
671
661
|

|
|
672
662
|
How to use:
|
|
673
663
|
- Create an AI task, specify algoritm to use
|
|
674
664
|
- Get `task_id`
|
|
675
|
-
- Check a result using
|
|
665
|
+
- Check a result using `.../ai/tasks/{task_id}` method For more detailed
|
|
676
666
|
information, see the description of each method separately.
|
|
677
667
|
|
|
678
668
|
**AI Automatic Speech Recognition (ASR)** AI is instrumental in automatic video
|
|
@@ -693,21 +683,21 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
693
683
|
|
|
694
684
|
```
|
|
695
685
|
{
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
686
|
+
"status": "SUCCESS",
|
|
687
|
+
"result": {
|
|
688
|
+
"subtitles": [
|
|
689
|
+
{
|
|
690
|
+
"start_time": "00:00:00.031",
|
|
691
|
+
"end_time": "00:00:03.831",
|
|
692
|
+
"text": "Come on team, ..."
|
|
693
|
+
}, ...
|
|
694
|
+
]
|
|
695
|
+
"vttContent": "WEBVTT\n\n1\n00:00:00.031 --> 00:00:03.831\nCome on team, ...",
|
|
696
|
+
"concatenated_text": "Come on team, ...",
|
|
697
|
+
"languages": [ "eng" ],
|
|
698
|
+
"speech_detected": true
|
|
699
|
+
}
|
|
700
|
+
}, ...
|
|
711
701
|
}
|
|
712
702
|
```
|
|
713
703
|
|
|
@@ -725,14 +715,11 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
725
715
|
- `soft_nudity`: Detailed video analysis that reveals both explicit and partial
|
|
726
716
|
nudity, including the presence of male and female faces and other uncovered
|
|
727
717
|
body parts.
|
|
728
|
-
- `
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
this API, you can ensure compliance with community guidelines and legal
|
|
734
|
-
requirements, as well as provide a safer environment for your users. Important
|
|
735
|
-
notes:
|
|
718
|
+
- `sport`: Recognizes various sporting activities. The AI Content Moderation API
|
|
719
|
+
is an invaluable tool for managing and controlling the type of content being
|
|
720
|
+
shared or streamed on your platform. By implementing this API, you can ensure
|
|
721
|
+
compliance with community guidelines and legal requirements, as well as
|
|
722
|
+
provide a safer environment for your users. Important notes:
|
|
736
723
|
- It's allowed to analyse still images too (where applicable). Format of image:
|
|
737
724
|
JPEG, PNG. In that case one image is the same as video of 1 second duration.
|
|
738
725
|
- Not all frames in the video are used for analysis, but only key frames
|
|
@@ -746,9 +733,9 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
746
733
|
{
|
|
747
734
|
"status": "SUCCESS",
|
|
748
735
|
"result": {
|
|
749
|
-
"
|
|
750
|
-
"
|
|
751
|
-
"frames": [{"label": "nsfw", "confidence": 1.0, "
|
|
736
|
+
"nsfw_detected": true,
|
|
737
|
+
"detection_results": ["nsfw"],
|
|
738
|
+
"frames": [{"label": "nsfw", "confidence": 1.0, "frame_number": 24}, ...],
|
|
752
739
|
},
|
|
753
740
|
}
|
|
754
741
|
```
|
|
@@ -900,7 +887,7 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
900
887
|
- transcription into the original language is a free procedure,
|
|
901
888
|
- and translation from the original language into any other languages is a
|
|
902
889
|
"translation" procedure and is paid. More details in
|
|
903
|
-
[POST /ai/tasks#transcribe](
|
|
890
|
+
[POST /streaming/ai/tasks#transcribe](/docs/api-reference/streaming/ai/create-ai-asr-task).
|
|
904
891
|
Language is set by 3-letter language code according to ISO-639-2
|
|
905
892
|
(bibliographic code).
|
|
906
893
|
|
|
@@ -1072,11 +1059,9 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
1072
1059
|
- ASR: Transcribe video
|
|
1073
1060
|
- ASR: Translate subtitles
|
|
1074
1061
|
- CM: Sports detection
|
|
1075
|
-
- CM: Weapon detection
|
|
1076
1062
|
- CM: Not Safe For Work (NSFW) content detection
|
|
1077
1063
|
- CM: Soft nudity detection
|
|
1078
1064
|
- CM: Hard nudity detection
|
|
1079
|
-
- CM: Child Sexual Abuse Material (CSAM) detection
|
|
1080
1065
|
- CM: Objects recognition (soon)
|
|
1081
1066
|
- etc... (see other methods from /ai/ domain)
|
|
1082
1067
|
|
|
@@ -1152,7 +1137,8 @@ class AsyncAITasksResource(AsyncAPIResource):
|
|
|
1152
1137
|
determination. Example:
|
|
1153
1138
|
|
|
1154
1139
|
```
|
|
1155
|
-
curl -L 'https://api.gcore.com/streaming/ai/info?type
|
|
1140
|
+
curl -L 'https://api.gcore.com/streaming/ai/info?type=language_support&audio_language=eng&subtitles_language=fre'
|
|
1141
|
+
|
|
1156
1142
|
{ "supported": true }
|
|
1157
1143
|
```
|
|
1158
1144
|
|
|
@@ -104,9 +104,9 @@ class PlaylistsResource(SyncAPIResource):
|
|
|
104
104
|
once it finishes to maintain a continuous stream. Example:
|
|
105
105
|
|
|
106
106
|
```
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
active: true
|
|
108
|
+
loop: true
|
|
109
|
+
name: "Playlist: TV channel 'The world around us' (Programmed broadcast for 24 hours)"
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
**Scheduled playback** It can be used to simulate live events such as virtual
|
|
@@ -122,10 +122,10 @@ class PlaylistsResource(SyncAPIResource):
|
|
|
122
122
|
traditional live broadcasts.
|
|
123
123
|
|
|
124
124
|
```
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
active: true
|
|
126
|
+
loop: false
|
|
127
|
+
name: "Playlist: Webinar 'Onboarding for new employees on working with the corporate portal'"
|
|
128
|
+
start_time: "2024-07-01T11:00:00Z"
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
Args:
|
|
@@ -160,7 +160,7 @@ class PlaylistsResource(SyncAPIResource):
|
|
|
160
160
|
|
|
161
161
|
This URL is a link to the main manifest. But you can also manually specify
|
|
162
162
|
suffix-options that will allow you to change the manifest to your request:
|
|
163
|
-
|
|
163
|
+
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
|
|
164
164
|
Please see the details in `hls_url` attribute of /videos/{id} method.
|
|
165
165
|
|
|
166
166
|
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented
|
|
@@ -291,7 +291,7 @@ class PlaylistsResource(SyncAPIResource):
|
|
|
291
291
|
|
|
292
292
|
This URL is a link to the main manifest. But you can also manually specify
|
|
293
293
|
suffix-options that will allow you to change the manifest to your request:
|
|
294
|
-
|
|
294
|
+
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
|
|
295
295
|
Please see the details in `hls_url` attribute of /videos/{id} method.
|
|
296
296
|
|
|
297
297
|
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented
|
|
@@ -572,9 +572,9 @@ class AsyncPlaylistsResource(AsyncAPIResource):
|
|
|
572
572
|
once it finishes to maintain a continuous stream. Example:
|
|
573
573
|
|
|
574
574
|
```
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
575
|
+
active: true
|
|
576
|
+
loop: true
|
|
577
|
+
name: "Playlist: TV channel 'The world around us' (Programmed broadcast for 24 hours)"
|
|
578
578
|
```
|
|
579
579
|
|
|
580
580
|
**Scheduled playback** It can be used to simulate live events such as virtual
|
|
@@ -590,10 +590,10 @@ class AsyncPlaylistsResource(AsyncAPIResource):
|
|
|
590
590
|
traditional live broadcasts.
|
|
591
591
|
|
|
592
592
|
```
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
593
|
+
active: true
|
|
594
|
+
loop: false
|
|
595
|
+
name: "Playlist: Webinar 'Onboarding for new employees on working with the corporate portal'"
|
|
596
|
+
start_time: "2024-07-01T11:00:00Z"
|
|
597
597
|
```
|
|
598
598
|
|
|
599
599
|
Args:
|
|
@@ -628,7 +628,7 @@ class AsyncPlaylistsResource(AsyncAPIResource):
|
|
|
628
628
|
|
|
629
629
|
This URL is a link to the main manifest. But you can also manually specify
|
|
630
630
|
suffix-options that will allow you to change the manifest to your request:
|
|
631
|
-
|
|
631
|
+
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
|
|
632
632
|
Please see the details in `hls_url` attribute of /videos/{id} method.
|
|
633
633
|
|
|
634
634
|
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented
|
|
@@ -759,7 +759,7 @@ class AsyncPlaylistsResource(AsyncAPIResource):
|
|
|
759
759
|
|
|
760
760
|
This URL is a link to the main manifest. But you can also manually specify
|
|
761
761
|
suffix-options that will allow you to change the manifest to your request:
|
|
762
|
-
|
|
762
|
+
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
|
|
763
763
|
Please see the details in `hls_url` attribute of /videos/{id} method.
|
|
764
764
|
|
|
765
765
|
Caution. Solely master.m3u8 (and master[-options].m3u8) is officially documented
|
|
@@ -65,10 +65,10 @@ class QualitySetsResource(SyncAPIResource):
|
|
|
65
65
|
[documentation](https://gcore.com/docs/streaming-platform/live-streams-and-videos-protocols-and-codecs/output-parameters-after-transcoding-bitrate-frame-rate-and-codecs).
|
|
66
66
|
These values are the default for everyone. There is no need to configure
|
|
67
67
|
anything additional. Read more about qiality in our blog
|
|
68
|
-
[How we lowered the bitrate for live and VOD streaming by 32.5% without sacrificing quality](https://gcore.com/blog/how-we-lowered-the-bitrate-for-live-and-vod-streaming-by-32-5-without-sacrificing-quality
|
|
69
|
-
.
|
|
69
|
+
 Only
|
|
70
|
+
for those cases when, in addition to the main parameters, it is necessary to use
|
|
71
|
+
your own, then it is necessary to use custom quality sets. How to use:
|
|
72
72
|
|
|
73
73
|
1. By default custom quality set is empty – `{ "live":[],"vod":[] }`
|
|
74
74
|
2. Request the use of custom quality sets from your manager or the Support Team.
|
|
@@ -196,10 +196,10 @@ class AsyncQualitySetsResource(AsyncAPIResource):
|
|
|
196
196
|
[documentation](https://gcore.com/docs/streaming-platform/live-streams-and-videos-protocols-and-codecs/output-parameters-after-transcoding-bitrate-frame-rate-and-codecs).
|
|
197
197
|
These values are the default for everyone. There is no need to configure
|
|
198
198
|
anything additional. Read more about qiality in our blog
|
|
199
|
-
[How we lowered the bitrate for live and VOD streaming by 32.5% without sacrificing quality](https://gcore.com/blog/how-we-lowered-the-bitrate-for-live-and-vod-streaming-by-32-5-without-sacrificing-quality
|
|
200
|
-
.
|
|
200
|
+
 Only
|
|
201
|
+
for those cases when, in addition to the main parameters, it is necessary to use
|
|
202
|
+
your own, then it is necessary to use custom quality sets. How to use:
|
|
203
203
|
|
|
204
204
|
1. By default custom quality set is empty – `{ "live":[],"vod":[] }`
|
|
205
205
|
2. Request the use of custom quality sets from your manager or the Support Team.
|
|
@@ -21,7 +21,6 @@ from ..._base_client import make_request_options
|
|
|
21
21
|
from ...types.streaming import (
|
|
22
22
|
statistic_get_views_params,
|
|
23
23
|
statistic_get_ffprobes_params,
|
|
24
|
-
statistic_get_meet_series_params,
|
|
25
24
|
statistic_get_stream_series_params,
|
|
26
25
|
statistic_get_views_heatmap_params,
|
|
27
26
|
statistic_get_popular_videos_params,
|
|
@@ -46,7 +45,6 @@ from ...types.streaming import (
|
|
|
46
45
|
)
|
|
47
46
|
from ...types.streaming.views import Views
|
|
48
47
|
from ...types.streaming.ffprobes import Ffprobes
|
|
49
|
-
from ...types.streaming.meet_series import MeetSeries
|
|
50
48
|
from ...types.streaming.stream_series import StreamSeries
|
|
51
49
|
from ...types.streaming.views_heatmap import ViewsHeatmap
|
|
52
50
|
from ...types.streaming.popular_videos import PopularVideos
|
|
@@ -168,7 +166,7 @@ class StatisticsResource(SyncAPIResource):
|
|
|
168
166
|
allows you to break down data with the specified granularity: minutes, hours,
|
|
169
167
|
days. Based on this method, a graph of unique views in the Customer Portal is
|
|
170
168
|
built.
|
|
171
|
-

|
|
172
170
|
|
|
173
171
|
Args:
|
|
174
172
|
from_: Start of time frame. Format is date time in ISO 8601
|
|
@@ -388,58 +386,6 @@ class StatisticsResource(SyncAPIResource):
|
|
|
388
386
|
cast_to=MaxStreamSeries,
|
|
389
387
|
)
|
|
390
388
|
|
|
391
|
-
def get_meet_series(
|
|
392
|
-
self,
|
|
393
|
-
*,
|
|
394
|
-
from_: str,
|
|
395
|
-
to: str,
|
|
396
|
-
granularity: Literal["1m", "5m", "15m", "1h", "1d"] | NotGiven = NOT_GIVEN,
|
|
397
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
398
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
399
|
-
extra_headers: Headers | None = None,
|
|
400
|
-
extra_query: Query | None = None,
|
|
401
|
-
extra_body: Body | None = None,
|
|
402
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
403
|
-
) -> MeetSeries:
|
|
404
|
-
"""Calculates time series of the transcoding minutes of all streams.
|
|
405
|
-
|
|
406
|
-
The data is
|
|
407
|
-
updated near realtime.
|
|
408
|
-
|
|
409
|
-
Args:
|
|
410
|
-
from_: Start of time frame. Datetime in ISO 8601 format.
|
|
411
|
-
|
|
412
|
-
to: End of time frame. Datetime in ISO 8601 format.
|
|
413
|
-
|
|
414
|
-
granularity: specifies the time interval for grouping data
|
|
415
|
-
|
|
416
|
-
extra_headers: Send extra headers
|
|
417
|
-
|
|
418
|
-
extra_query: Add additional query parameters to the request
|
|
419
|
-
|
|
420
|
-
extra_body: Add additional JSON properties to the request
|
|
421
|
-
|
|
422
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
423
|
-
"""
|
|
424
|
-
return self._get(
|
|
425
|
-
"/streaming/statistics/meet",
|
|
426
|
-
options=make_request_options(
|
|
427
|
-
extra_headers=extra_headers,
|
|
428
|
-
extra_query=extra_query,
|
|
429
|
-
extra_body=extra_body,
|
|
430
|
-
timeout=timeout,
|
|
431
|
-
query=maybe_transform(
|
|
432
|
-
{
|
|
433
|
-
"from_": from_,
|
|
434
|
-
"to": to,
|
|
435
|
-
"granularity": granularity,
|
|
436
|
-
},
|
|
437
|
-
statistic_get_meet_series_params.StatisticGetMeetSeriesParams,
|
|
438
|
-
),
|
|
439
|
-
),
|
|
440
|
-
cast_to=MeetSeries,
|
|
441
|
-
)
|
|
442
|
-
|
|
443
389
|
def get_popular_videos(
|
|
444
390
|
self,
|
|
445
391
|
*,
|
|
@@ -1321,7 +1267,7 @@ class StatisticsResource(SyncAPIResource):
|
|
|
1321
1267
|
made with. Works similar to the method `/statistics/cdn/uniqs`. But this allows
|
|
1322
1268
|
you to break down data with the specified granularity: minutes, hours, days.
|
|
1323
1269
|
Based on this method, a graph of unique views in the Customer Portal is built.
|
|
1324
|
-

|
|
1325
1271
|
|
|
1326
1272
|
Args:
|
|
1327
1273
|
from_: Start of time frame. Format is date time in ISO 8601
|
|
@@ -1590,7 +1536,7 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
1590
1536
|
allows you to break down data with the specified granularity: minutes, hours,
|
|
1591
1537
|
days. Based on this method, a graph of unique views in the Customer Portal is
|
|
1592
1538
|
built.
|
|
1593
|
-

|
|
1594
1540
|
|
|
1595
1541
|
Args:
|
|
1596
1542
|
from_: Start of time frame. Format is date time in ISO 8601
|
|
@@ -1810,58 +1756,6 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
1810
1756
|
cast_to=MaxStreamSeries,
|
|
1811
1757
|
)
|
|
1812
1758
|
|
|
1813
|
-
async def get_meet_series(
|
|
1814
|
-
self,
|
|
1815
|
-
*,
|
|
1816
|
-
from_: str,
|
|
1817
|
-
to: str,
|
|
1818
|
-
granularity: Literal["1m", "5m", "15m", "1h", "1d"] | NotGiven = NOT_GIVEN,
|
|
1819
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
1820
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
1821
|
-
extra_headers: Headers | None = None,
|
|
1822
|
-
extra_query: Query | None = None,
|
|
1823
|
-
extra_body: Body | None = None,
|
|
1824
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1825
|
-
) -> MeetSeries:
|
|
1826
|
-
"""Calculates time series of the transcoding minutes of all streams.
|
|
1827
|
-
|
|
1828
|
-
The data is
|
|
1829
|
-
updated near realtime.
|
|
1830
|
-
|
|
1831
|
-
Args:
|
|
1832
|
-
from_: Start of time frame. Datetime in ISO 8601 format.
|
|
1833
|
-
|
|
1834
|
-
to: End of time frame. Datetime in ISO 8601 format.
|
|
1835
|
-
|
|
1836
|
-
granularity: specifies the time interval for grouping data
|
|
1837
|
-
|
|
1838
|
-
extra_headers: Send extra headers
|
|
1839
|
-
|
|
1840
|
-
extra_query: Add additional query parameters to the request
|
|
1841
|
-
|
|
1842
|
-
extra_body: Add additional JSON properties to the request
|
|
1843
|
-
|
|
1844
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
1845
|
-
"""
|
|
1846
|
-
return await self._get(
|
|
1847
|
-
"/streaming/statistics/meet",
|
|
1848
|
-
options=make_request_options(
|
|
1849
|
-
extra_headers=extra_headers,
|
|
1850
|
-
extra_query=extra_query,
|
|
1851
|
-
extra_body=extra_body,
|
|
1852
|
-
timeout=timeout,
|
|
1853
|
-
query=await async_maybe_transform(
|
|
1854
|
-
{
|
|
1855
|
-
"from_": from_,
|
|
1856
|
-
"to": to,
|
|
1857
|
-
"granularity": granularity,
|
|
1858
|
-
},
|
|
1859
|
-
statistic_get_meet_series_params.StatisticGetMeetSeriesParams,
|
|
1860
|
-
),
|
|
1861
|
-
),
|
|
1862
|
-
cast_to=MeetSeries,
|
|
1863
|
-
)
|
|
1864
|
-
|
|
1865
1759
|
async def get_popular_videos(
|
|
1866
1760
|
self,
|
|
1867
1761
|
*,
|
|
@@ -2743,7 +2637,7 @@ class AsyncStatisticsResource(AsyncAPIResource):
|
|
|
2743
2637
|
made with. Works similar to the method `/statistics/cdn/uniqs`. But this allows
|
|
2744
2638
|
you to break down data with the specified granularity: minutes, hours, days.
|
|
2745
2639
|
Based on this method, a graph of unique views in the Customer Portal is built.
|
|
2746
|
-

|
|
2747
2641
|
|
|
2748
2642
|
Args:
|
|
2749
2643
|
from_: Start of time frame. Format is date time in ISO 8601
|
|
@@ -2931,9 +2825,6 @@ class StatisticsResourceWithRawResponse:
|
|
|
2931
2825
|
self.get_max_streams_series = to_raw_response_wrapper(
|
|
2932
2826
|
statistics.get_max_streams_series,
|
|
2933
2827
|
)
|
|
2934
|
-
self.get_meet_series = to_raw_response_wrapper(
|
|
2935
|
-
statistics.get_meet_series,
|
|
2936
|
-
)
|
|
2937
2828
|
self.get_popular_videos = to_raw_response_wrapper(
|
|
2938
2829
|
statistics.get_popular_videos,
|
|
2939
2830
|
)
|
|
@@ -3009,9 +2900,6 @@ class AsyncStatisticsResourceWithRawResponse:
|
|
|
3009
2900
|
self.get_max_streams_series = async_to_raw_response_wrapper(
|
|
3010
2901
|
statistics.get_max_streams_series,
|
|
3011
2902
|
)
|
|
3012
|
-
self.get_meet_series = async_to_raw_response_wrapper(
|
|
3013
|
-
statistics.get_meet_series,
|
|
3014
|
-
)
|
|
3015
2903
|
self.get_popular_videos = async_to_raw_response_wrapper(
|
|
3016
2904
|
statistics.get_popular_videos,
|
|
3017
2905
|
)
|
|
@@ -3087,9 +2975,6 @@ class StatisticsResourceWithStreamingResponse:
|
|
|
3087
2975
|
self.get_max_streams_series = to_streamed_response_wrapper(
|
|
3088
2976
|
statistics.get_max_streams_series,
|
|
3089
2977
|
)
|
|
3090
|
-
self.get_meet_series = to_streamed_response_wrapper(
|
|
3091
|
-
statistics.get_meet_series,
|
|
3092
|
-
)
|
|
3093
2978
|
self.get_popular_videos = to_streamed_response_wrapper(
|
|
3094
2979
|
statistics.get_popular_videos,
|
|
3095
2980
|
)
|
|
@@ -3165,9 +3050,6 @@ class AsyncStatisticsResourceWithStreamingResponse:
|
|
|
3165
3050
|
self.get_max_streams_series = async_to_streamed_response_wrapper(
|
|
3166
3051
|
statistics.get_max_streams_series,
|
|
3167
3052
|
)
|
|
3168
|
-
self.get_meet_series = async_to_streamed_response_wrapper(
|
|
3169
|
-
statistics.get_meet_series,
|
|
3170
|
-
)
|
|
3171
3053
|
self.get_popular_videos = async_to_streamed_response_wrapper(
|
|
3172
3054
|
statistics.get_popular_videos,
|
|
3173
3055
|
)
|
|
@@ -65,7 +65,7 @@ class OverlaysResource(SyncAPIResource):
|
|
|
65
65
|
There are can be more that 1 overlay over a stream, which are small or stretched
|
|
66
66
|
over full frame. Overlays can have transparent areas. Frequency of update is 1
|
|
67
67
|
FPS. Automatic size scaling for Adaptative Bitrate qualities is applied.
|
|
68
|
-

|
|
69
69
|
|
|
70
70
|
How to activate and use in simple steps:
|
|
71
71
|
|
|
@@ -150,7 +150,7 @@ class OverlaysResource(SyncAPIResource):
|
|
|
150
150
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
151
151
|
) -> Overlay:
|
|
152
152
|
"""
|
|
153
|
-
Updates overlay
|
|
153
|
+
Updates overlay settings
|
|
154
154
|
|
|
155
155
|
Args:
|
|
156
156
|
height: Height of the widget
|
|
@@ -270,7 +270,7 @@ class OverlaysResource(SyncAPIResource):
|
|
|
270
270
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
271
271
|
) -> Overlay:
|
|
272
272
|
"""
|
|
273
|
-
|
|
273
|
+
Get overlay details
|
|
274
274
|
|
|
275
275
|
Args:
|
|
276
276
|
extra_headers: Send extra headers
|
|
@@ -362,7 +362,7 @@ class AsyncOverlaysResource(AsyncAPIResource):
|
|
|
362
362
|
There are can be more that 1 overlay over a stream, which are small or stretched
|
|
363
363
|
over full frame. Overlays can have transparent areas. Frequency of update is 1
|
|
364
364
|
FPS. Automatic size scaling for Adaptative Bitrate qualities is applied.
|
|
365
|
-

|
|
366
366
|
|
|
367
367
|
How to activate and use in simple steps:
|
|
368
368
|
|
|
@@ -447,7 +447,7 @@ class AsyncOverlaysResource(AsyncAPIResource):
|
|
|
447
447
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
448
448
|
) -> Overlay:
|
|
449
449
|
"""
|
|
450
|
-
Updates overlay
|
|
450
|
+
Updates overlay settings
|
|
451
451
|
|
|
452
452
|
Args:
|
|
453
453
|
height: Height of the widget
|
|
@@ -567,7 +567,7 @@ class AsyncOverlaysResource(AsyncAPIResource):
|
|
|
567
567
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
568
568
|
) -> Overlay:
|
|
569
569
|
"""
|
|
570
|
-
|
|
570
|
+
Get overlay details
|
|
571
571
|
|
|
572
572
|
Args:
|
|
573
573
|
extra_headers: Send extra headers
|