8000 feat(api): api update · cloudflare/cloudflare-python@0e950d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e950d6

Browse files
feat(api): api update
1 parent ff1a177 commit 0e950d6

31 files changed

+653
-1088
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1706
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5dcf8a8c8fa3f1d5fda7c04f0f8146e516083ec5f1a8495b839797a8aac9c4aa.yml
3-
openapi_spec_hash: 6d1e09f7607f81ac5765d40abfe04817
1+
configured_endpoints: 1704
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-0f4e6e9773b2fbfeaac0948e1998c000989b6af64267345f75f4e450005e4f2c.yml
3+
openapi_spec_hash: db5d79dfe9e417edecc8d61792d72f06
44
config_hash: 67f412c990647f3cb598378fa22a9db5

api.md

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4438,28 +4438,25 @@ Methods:
44384438
Types:
44394439

44404440
```python
4441-
from cloudflare.types.rules import Hostname, ListsList, Redirect, ListDeleteResponse
4441+
from cloudflare.types.rules import (
4442+
Hostname,
4443+
ListsList,
4444+
Redirect,
4445+
ListCreateResponse,
4446+
ListUpdateResponse,
4447+
ListListResponse,
4448+
ListDeleteResponse,
4449+
ListGetResponse,
4450+
)
44424451
```
44434452

44444453
Methods:
44454454

4446-
- <code title="post /accounts/{account_id}/rules/lists">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/rules/list_create_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/lists_list.py">ListsList</a></code>
4447-
- <code title="put /accounts/{account_id}/rules/lists/{list_id}">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">update</a>(list_id, \*, account_id, \*\*<a href="src/cloudflare/types/rules/list_update_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/lists_list.py">ListsList</a></code>
4448-
- <code title="get /accounts/{account_id}/rules/lists">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">list</a>(\*, account_id) -> <a href="./src/cloudflare/types/rules/lists_list.py">SyncSinglePage[ListsList]</a></code>
4455+
- <code title="post /accounts/{account_id}/rules/lists">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/rules/list_create_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/list_create_response.py">ListCreateResponse</a></code>
4456+
- <code title="put /accounts/{account_id}/rules/lists/{list_id}">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">update</a>(list_id, \*, account_id, \*\*<a href="src/cloudflare/types/rules/list_update_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/list_update_response.py">ListUpdateResponse</a></code>
4457+
- <code title="get /accounts/{account_id}/rules/lists">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">list</a>(\*, account_id) -> <a href="./src/cloudflare/types/rules/list_list_response.py">ListListResponse</a></code>
44494458
- <code title="delete /accounts/{account_id}/rules/lists/{list_id}">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">delete</a>(list_id, \*, account_id) -> <a href="./src/cloudflare/types/rules/list_delete_response.py">ListDeleteResponse</a></code>
4450-
- <code title="get /accounts/{account_id}/rules/lists/{list_id}">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">get</a>(list_id, \*, account_id) -> <a href="./src/cloudflare/types/rules/lists_list.py">ListsList</a></code>
4451-
4452-
### BulkOperations
4453-
4454-
Types:
4455-
4456-
```python
4457-
from cloudflare.types.rules.lists import OperationStatus, BulkOperationGetResponse
4458-
```
4459-
4460-
Methods:
4461-
4462-
- <code title="get /accounts/{account_identifier}/rules/lists/bulk_operations/{operation_id}">client.rules.lists.bulk_operations.<a href="./src/cloudflare/resources/rules/lists/bulk_operations.py">get</a>(operation_id, \*, account_identifier) -> <a href="./src/cloudflare/types/rules/lists/bulk_operation_get_response.py">BulkOperationGetResponse</a></code>
4459+
- <code title="get /accounts/{account_id}/rules/lists/{list_id}">client.rules.lists.<a href="./src/cloudflare/resources/rules/lists/lists.py">get</a>(list_id, \*, account_id) -> <a href="./src/cloudflare/types/rules/list_get_response.py">ListGetResponse</a></code>
44634460

44644461
### Items
44654462

@@ -4473,17 +4470,15 @@ from cloudflare.types.rules.lists import (
44734470
ItemUpdateResponse,
44744471
ItemListResponse,
44754472
ItemDeleteResponse,
4476-
ItemGetResponse,
44774473
)
44784474
```
44794475

44804476
Methods:
44814477

44824478
- <code title="post /accounts/{account_id}/rules/lists/{list_id}/items">client.rules.lists.items.<a href="./src/cloudflare/resources/rules/lists/items.py">create</a>(list_id, \*, account_id, \*\*<a href="src/cloudflare/types/rules/lists/item_create_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/lists/item_create_response.py">ItemCreateResponse</a></code>
44834479
- <code title="put /accounts/{account_id}/rules/lists/{list_id}/items">client.rules.lists.items.<a href="./src/cloudflare/resources/rules/lists/items.py">update</a>(list_id, \*, account_id, \*\*<a href="src/cloudflare/types/rules/lists/item_update_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/lists/item_update_response.py">ItemUpdateResponse</a></code>
4484-
- <code title="get /accounts/{account_id}/rules/lists/{list_id}/items">client.rules.lists.items.<a href="./src/cloudflare/resources/rules/lists/items.py">list</a>(list_id, \*, account_id, \*\*<a href="src/cloudflare/types/rules/lists/item_list_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/lists/item_list_response.py">SyncCursorPagination[ItemListResponse]</a></code>
4480+
- <code title="get /accounts/{account_id}/rules/lists/{list_id}/items">client.rules.lists.items.<a href="./src/cloudflare/resources/rules/lists/items.py">list</a>(list_id, \*, account_id, \*\*<a href="src/cloudflare/types/rules/lists/item_list_params.py">params</a>) -> <a href="./src/cloudflare/types/rules/lists/item_list_response.py">ItemListResponse</a></code>
44854481
- <code title="delete /accounts/{account_id}/rules/lists/{list_id}/items">client.rules.lists.items.<a href="./src/cloudflare/resources/rules/lists/items.py">delete</a>(list_id, \*, account_id) -> <a href="./src/cloudflare/types/rules/lists/item_delete_response.py">ItemDeleteResponse</a></code>
4486-
- <code title="get /accounts/{account_identifier}/rules/lists/{list_id}/items/{item_id}">client.rules.lists.items.<a href="./src/cloudflare/resources/rules/lists/items.py">get</a>(item_id, \*, account_identifier, list_id) -> <a href="./src/cloudflare/types/rules/lists/item_get_response.py">ItemGetResponse</a></code>
44874482

44884483
# Stream
44894484

src/cloudflare/resources/rules/lists/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,8 @@
1616
ListsResourceWithStreamingResponse,
1717
AsyncListsResourceWithStreamingResponse,
1818
)
19-
from .bulk_operations import (
20-
BulkOperationsResource,
21-
AsyncBulkOperationsResource,
22-
BulkOperationsResourceWithRawResponse,
23-
AsyncBulkOperationsResourceWithRawResponse,
24-
BulkOperationsResourceWithStreamingResponse,
25-
AsyncBulkOperationsResourceWithStreamingResponse,
26-
)
2719

2820
__all__ = [
29-
"BulkOperationsResource",
30-
"AsyncBulkOperationsResource",
31-
"BulkOperationsResourceWithRawResponse",
32-
"AsyncBulkOperationsResourceWithRawResponse",
33-
"BulkOperationsResourceWithStreamingResponse",
34-
"AsyncBulkOperationsResourceWithStreamingResponse",
3521
"ItemsResource",
3622
"AsyncItemsResource",
3723
"ItemsResourceWithRawResponse",

src/cloudflare/resources/rules/lists/bulk_operations.py

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0