Skip to content

Commit dd4f5d0

Browse files
chore(api): update composite API spec
1 parent 6505fee commit dd4f5d0

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
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: 2163
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0e49d1dc0490c869be746d59e3e82fa07c02edae5f9b421033c9b94807974de6.yml
3-
openapi_spec_hash: 6858d3cd0d37b23dac9544a532a19d82
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-aab8adbf89051ed6fb7e689b4cdcd7ecdecb99c044d61c14fa2a472151c95db5.yml
3+
openapi_spec_hash: 0694636fd01bf0d6adf8fda3bc05fc21
44
config_hash: aebbf0fc2e33e6126d43d201bfa58e25

src/cloudflare/resources/registrar/registrar.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ def search(
217217
218218
Suggestions are scoped to extensions supported for programmatic registration via
219219
this API (`POST /registrations`). Domains on unsupported extensions will not
220-
appear in results, even if they are available at the registry level. See the
221-
supported extensions list in `info.description`.
220+
appear in results, even if they are available at the registry level.
222221
223222
### Use cases
224223
@@ -449,8 +448,7 @@ async def search(
449448
450449
Suggestions are scoped to extensions supported for programmatic registration via
451450
this API (`POST /registrations`). Domains on unsupported extensions will not
452-
appear in results, even if they are available at the registry level. See the
453-
supported extensions list in `info.description`.
451+
appear in results, even if they are available at the registry level.
454452
455453
### Use cases
456454

src/cloudflare/resources/registrar/registrations.py

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,27 @@ def create(
7979
- The account must not already be at the maximum supported domain limit. A
8080
single account may own up to 100 domains in total across registrations created
8181
through either the dashboard or this API.
82-
- The domain must be on a supported extension listed in `info.description`.
82+
- The domain must be on a supported extension for programmatic registration.
8383
- Use `POST /domain-check` immediately before calling this endpoint to confirm
8484
real-time availability and pricing.
8585
86+
### Supported extensions
87+
88+
In this API, "extension" means the full registrable suffix after the domain
89+
label. For example, in `example.co.uk`, the extension is `co.uk`.
90+
91+
Programmatic registration is currently supported for:
92+
93+
`com`, `org`, `net`, `app`, `dev`, `cc`, `xyz`, `info`, `cloud`, `studio`,
94+
`live`, `link`, `pro`, `tech`, `fyi`, `shop`, `online`, `tools`, `run`, `games`,
95+
`build`, `systems`, `world`, `news`, `site`, `network`, `chat`, `space`,
96+
`family`, `page`, `life`, `group`, `email`, `solutions`, `day`, `blog`, `ing`,
97+
`icu`, `academy`, `today`
98+
99+
Cloudflare Registrar supports 400+ extensions in the dashboard. Extensions not
100+
listed above can still be registered at
101+
`https://dash.cloudflare.com/{account_id}/domains/registrations`.
102+
86103
### Express mode
87104
88105
The only required field is `domain_name`. If `contacts` is omitted, the system
@@ -445,10 +462,27 @@ async def create(
445462
- The account must not already be at the maximum supported domain limit. A
446463
single account may own up to 100 domains in total across registrations created
447464
through either the dashboard or this API.
448-
- The domain must be on a supported extension listed in `info.description`.
465+
- The domain must be on a supported extension for programmatic registration.
449466
- Use `POST /domain-check` immediately before calling this endpoint to confirm
450467
real-time availability and pricing.
451468
469+
### Supported extensions
470+
471+
In this API, "extension" means the full registrable suffix after the domain
472+
label. For example, in `example.co.uk`, the extension is `co.uk`.
473+
474+
Programmatic registration is currently supported for:
475+
476+
`com`, `org`, `net`, `app`, `dev`, `cc`, `xyz`, `info`, `cloud`, `studio`,
477+
`live`, `link`, `pro`, `tech`, `fyi`, `shop`, `online`, `tools`, `run`, `games`,
478+
`build`, `systems`, `world`, `news`, `site`, `network`, `chat`, `space`,
479+
`family`, `page`, `life`, `group`, `email`, `solutions`, `day`, `blog`, `ing`,
480+
`icu`, `academy`, `today`
481+
482+
Cloudflare Registrar supports 400+ extensions in the dashboard. Extensions not
483+
listed above can still be registered at
484+
`https://dash.cloudflare.com/{account_id}/domains/registrations`.
485+
452486
### Express mode
453487
454488
The only required field is `domain_name`. If `contacts` is omitted, the system

0 commit comments

Comments
 (0)