Skip to content

Commit 47734d2

Browse files
feat(api): manual upload of aggregated API specs
1 parent 25dad79 commit 47734d2

File tree

8 files changed

+111
-152
lines changed

8 files changed

+111
-152
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 645
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-e7e725cbd4047b87dac16a599ceaca2a7f59cc34401e203328bc5b50f7582a59.yml
3-
openapi_spec_hash: 3056511ca272b6b265efdd4bc8e8c437
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-f9e3248b7c9cc29017d94b17dd33fbc7b3eaa4eda92c1c7202b41b8cca84bc33.yml
3+
openapi_spec_hash: cb53ad5e99f343ea9adc322d9f805b63
44
config_hash: 98f7a9b9463b6248408d48a4adbb14d3

src/gcore/resources/dns/metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def list(
5858
Example of success response:
5959
6060
```
61-
# HELP healthcheck_state The `healthcheck_state` metric reflects the state of a specific monitor after conducting a health check
62-
# TYPE healthcheck_state gauge
61+
HELP healthcheck_state The `healthcheck_state` metric reflects the state of a specific monitor after conducting a health check
62+
TYPE healthcheck_state gauge
6363
healthcheck_state{client_id="1",monitor_id="431",monitor_locations="us-east-1,us-west-1",monitor_name="test-monitor-1",monitor_type="http",rrset_name="rrset-name1",rrset_type="rrset-type1",zone_name="zone-name1"} 0
6464
healthcheck_state{client_id="1",monitor_id="4871",monitor_locations="fr-1,fr-2",monitor_name="test-monitor-2",monitor_type="tcp",rrset_name="rrset-name2",rrset_type="rrset-type2",zone_name="zone-name2"} 1
6565
healthcheck_state{client_id="2",monitor_id="7123",monitor_locations="ua-1,ua-2",monitor_name="test-monitor-3",monitor_type="icmp",rrset_name="rrset-name3",rrset_type="rrset-type3",zone_name="zone-name3"} 0
@@ -136,8 +136,8 @@ async def list(
136136
Example of success response:
137137
138138
```
139-
# HELP healthcheck_state The `healthcheck_state` metric reflects the state of a specific monitor after conducting a health check
140-
# TYPE healthcheck_state gauge
139+
HELP healthcheck_state The `healthcheck_state` metric reflects the state of a specific monitor after conducting a health check
140+
TYPE healthcheck_state gauge
141141
healthcheck_state{client_id="1",monitor_id="431",monitor_locations="us-east-1,us-west-1",monitor_name="test-monitor-1",monitor_type="http",rrset_name="rrset-name1",rrset_type="rrset-type1",zone_name="zone-name1"} 0
142142
healthcheck_state{client_id="1",monitor_id="4871",monitor_locations="fr-1,fr-2",monitor_name="test-monitor-2",monitor_type="tcp",rrset_name="rrset-name2",rrset_type="rrset-type2",zone_name="zone-name2"} 1
143143
healthcheck_state{client_id="2",monitor_id="7123",monitor_locations="ua-1,ua-2",monitor_name="test-monitor-3",monitor_type="icmp",rrset_name="rrset-name3",rrset_type="rrset-type3",zone_name="zone-name3"} 0

src/gcore/resources/dns/zones/rrsets.py

Lines changed: 95 additions & 145 deletions
Large diffs are not rendered by default.

src/gcore/resources/streaming/playlists.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def create(
173173
174174
This URL is a link to the main manifest. But you can also manually specify
175175
suffix-options that will allow you to change the manifest to your request:
176+
176177
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
177178
Please see the details in `hls_url` attribute of /videos/{id} method.
178179
@@ -308,6 +309,7 @@ def update(
308309
309310
This URL is a link to the main manifest. But you can also manually specify
310311
suffix-options that will allow you to change the manifest to your request:
312+
311313
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
312314
Please see the details in `hls_url` attribute of /videos/{id} method.
313315
@@ -662,6 +664,7 @@ async def create(
662664
663665
This URL is a link to the main manifest. But you can also manually specify
664666
suffix-options that will allow you to change the manifest to your request:
667+
665668
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
666669
Please see the details in `hls_url` attribute of /videos/{id} method.
667670
@@ -797,6 +800,7 @@ async def update(
797800
798801
This URL is a link to the main manifest. But you can also manually specify
799802
suffix-options that will allow you to change the manifest to your request:
803+
800804
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
801805
Please see the details in `hls_url` attribute of /videos/{id} method.
802806

src/gcore/types/streaming/playlist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class Playlist(BaseModel):
4949
5050
This URL is a link to the main manifest. But you can also manually specify
5151
suffix-options that will allow you to change the manifest to your request:
52+
5253
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
5354
Please see the details in `hls_url` attribute of /videos/{id} method.
5455

src/gcore/types/streaming/playlist_create_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class PlaylistCreateParams(TypedDict, total=False):
4949
5050
This URL is a link to the main manifest. But you can also manually specify
5151
suffix-options that will allow you to change the manifest to your request:
52+
5253
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
5354
Please see the details in `hls_url` attribute of /videos/{id} method.
5455

src/gcore/types/streaming/playlist_update_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class PlaylistUpdateParams(TypedDict, total=False):
4949
5050
This URL is a link to the main manifest. But you can also manually specify
5151
suffix-options that will allow you to change the manifest to your request:
52+
5253
`/playlists/{client_id}_{playlist_id}/master[-cmaf][-min-N][-max-N][-img][-(h264|hevc|av1)].m3u8`
5354
Please see the details in `hls_url` attribute of /videos/{id} method.
5455

src/gcore/types/streaming/video.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ class ConvertedVideo(BaseModel):
8585
**Default MP4 file name structure**
8686
8787
Link to the file {filename} contains information about the encoding method using
88-
format: `<quality_version>_<codec>_<bitrate>_<height>.mp4`
88+
format:
89+
90+
`<quality_version>_<codec>_<bitrate>_<height>.mp4`
8991
9092
- `<quality_version>` – Internal quality identifier and file version. Please do
9193
not use it, can be changed at any time without any notice.

0 commit comments

Comments
 (0)