get_documentation_parts
¶
get_documentation_parts(
rest_api_id: String,
*,
config_overrides: Optional[APIGatewayClientConfig] = None,
type: Optional[DocumentationPartType] = None,
name_query: Optional[String] = None,
path: Optional[String] = None,
position: Optional[String] = None,
limit: Optional[NullableInteger] = None,
location_status: Optional[LocationStatusType] = None,
) -> DocumentationParts
Gets documentation parts.
Parameters:
-
rest_api_id(String) –The string identifier of the associated RestApi.
-
type(Optional[DocumentationPartType], default:None) –The type of API entities of the to-be-retrieved documentation parts.
-
name_query(Optional[String], default:None) –The name of API entities of the to-be-retrieved documentation parts.
-
path(Optional[String], default:None) –The path of API entities of the to-be-retrieved documentation parts.
-
position(Optional[String], default:None) –The current pagination position in the paged result set.
-
limit(Optional[NullableInteger], default:None) –The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
-
location_status(Optional[LocationStatusType], default:None) –The status of the API documentation parts to retrieve. Valid values are
DOCUMENTEDfor retrieving DocumentationPart resources with content andUNDOCUMENTEDfor DocumentationPart resources without content.
Raises:
-
BadRequestException–The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
-
NotFoundException–The requested resource is not found. Make sure that the request URI is correct.
-
TooManyRequestsException–The request has reached its throttling limit. Retry after the specified time period.
-
UnauthorizedException–The request is denied because the caller has insufficient permissions.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_api_gateway/_services/api_gateway.py
3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 | |