Skip to content

Commit b999f2c

Browse files
chore(api): minor updates
1 parent edd0cd6 commit b999f2c

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

src/gcore/resources/waap/domains/api_discovery.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ def list_scan_results(
167167
168168
ordering: Sort the response by given field.
169169
170-
status: The different statuses a task result can have
170+
status: Filter by the status of the scan
171171
172-
type: The different types of scans that can be performed
172+
type: Filter by the path of the scan type
173173
174174
extra_headers: Send extra headers
175175
@@ -485,9 +485,9 @@ def list_scan_results(
485485
486486
ordering: Sort the response by given field.
487487
488-
status: The different statuses a task result can have
488+
status: Filter by the status of the scan
489489
490-
type: The different types of scans that can be performed
490+
type: Filter by the path of the scan type
491491
492492
extra_headers: Send extra headers
493493

src/gcore/resources/waap/domains/api_paths.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -211,21 +211,21 @@ def list(
211211
212212
api_version: Filter by the API version
213213
214-
http_scheme: The different HTTP schemes an API path can have
214+
http_scheme: Filter by the HTTP version of the API path
215215
216216
ids: Filter by the path ID
217217
218218
limit: Number of items to return
219219
220-
method: The different methods an API path can have
220+
method: Filter by the API RESTful method
221221
222222
offset: Number of items to skip
223223
224224
ordering: Sort the response by given field.
225225
226226
path: Filter by the path. Supports '\\**' as a wildcard character
227227
228-
source: The different sources an API path can have
228+
source: Filter by the source of the discovered API
229229
230230
status: Filter by the status of the discovered API path
231231
@@ -529,21 +529,21 @@ def list(
529529
530530
api_version: Filter by the API version
531531
532-
http_scheme: The different HTTP schemes an API path can have
532+
http_scheme: Filter by the HTTP version of the API path
533533
534534
ids: Filter by the path ID
535535
536536
limit: Number of items to return
537537
538-
method: The different methods an API path can have
538+
method: Filter by the API RESTful method
539539
540540
offset: Number of items to skip
541541
542542
ordering: Sort the response by given field.
543543
544544
path: Filter by the path. Supports '\\**' as a wildcard character
545545
546-
source: The different sources an API path can have
546+
source: Filter by the source of the discovered API
547547
548548
status: Filter by the status of the discovered API path
549549

src/gcore/resources/waap/insights.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def list_types(
7676
7777
ordering: Sort the response by given field.
7878
79-
slug: The slug of the insight type
79+
slug: Filter by the slug of the insight type
8080
8181
extra_headers: Send extra headers
8282
@@ -161,7 +161,7 @@ def list_types(
161161
162162
ordering: Sort the response by given field.
163163
164-
slug: The slug of the insight type
164+
slug: Filter by the slug of the insight type
165165
166166
extra_headers: Send extra headers
167167

src/gcore/types/waap/domains/api_discovery_list_scan_results_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class APIDiscoveryListScanResultsParams(TypedDict, total=False):
3535
"""Sort the response by given field."""
3636

3737
status: Optional[Literal["SUCCESS", "FAILURE", "IN_PROGRESS"]]
38-
"""The different statuses a task result can have"""
38+
"""Filter by the status of the scan"""
3939

4040
type: Optional[Literal["TRAFFIC_SCAN", "API_DESCRIPTION_FILE_SCAN"]]
41-
"""The different types of scans that can be performed"""
41+
"""Filter by the path of the scan type"""

src/gcore/types/waap/domains/api_path_list_params.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class APIPathListParams(TypedDict, total=False):
1818
"""Filter by the API version"""
1919

2020
http_scheme: Optional[Literal["HTTP", "HTTPS"]]
21-
"""The different HTTP schemes an API path can have"""
21+
"""Filter by the HTTP version of the API path"""
2222

2323
ids: Optional[SequenceNotStr[str]]
2424
"""Filter by the path ID"""
@@ -27,7 +27,7 @@ class APIPathListParams(TypedDict, total=False):
2727
"""Number of items to return"""
2828

2929
method: Optional[Literal["GET", "POST", "PUT", "PATCH", "DELETE", "TRACE", "HEAD", "OPTIONS"]]
30-
"""The different methods an API path can have"""
30+
"""Filter by the API RESTful method"""
3131

3232
offset: int
3333
"""Number of items to skip"""
@@ -58,7 +58,7 @@ class APIPathListParams(TypedDict, total=False):
5858
"""Filter by the path. Supports '\\**' as a wildcard character"""
5959

6060
source: Optional[Literal["API_DESCRIPTION_FILE", "TRAFFIC_SCAN", "USER_DEFINED"]]
61-
"""The different sources an API path can have"""
61+
"""Filter by the source of the discovered API"""
6262

6363
status: Optional[List[Literal["CONFIRMED_API", "POTENTIAL_API", "NOT_API", "DELISTED_API"]]]
6464
"""Filter by the status of the discovered API path"""

src/gcore/types/waap/insight_list_types_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ class InsightListTypesParams(TypedDict, total=False):
2525
"""Sort the response by given field."""
2626

2727
slug: Optional[str]
28-
"""The slug of the insight type"""
28+
"""Filter by the slug of the insight type"""

0 commit comments

Comments
 (0)