Get Documentation Parts
| apigateway_get_documentation_parts | R Documentation |
Gets documentation parts¶
Description¶
Gets documentation parts.
Usage¶
apigateway_get_documentation_parts(restApiId, type, nameQuery, path,
position, limit, locationStatus)
Arguments¶
restApiId[required] The string identifier of the associated RestApi.
typeThe type of API entities of the to-be-retrieved documentation parts.
nameQueryThe name of API entities of the to-be-retrieved documentation parts.
pathThe path of API entities of the to-be-retrieved documentation parts.
positionThe current pagination position in the paged result set.
limitThe maximum number of returned results per page. The default value is 25 and the maximum value is 500.
locationStatusThe status of the API documentation parts to retrieve. Valid values are
DOCUMENTEDfor retrieving DocumentationPart resources with content andUNDOCUMENTEDfor DocumentationPart resources without content.
Value¶
A list with the following syntax:
list(
position = "string",
items = list(
list(
id = "string",
location = list(
type = "API"|"AUTHORIZER"|"MODEL"|"RESOURCE"|"METHOD"|"PATH_PARAMETER"|"QUERY_PARAMETER"|"REQUEST_HEADER"|"REQUEST_BODY"|"RESPONSE"|"RESPONSE_HEADER"|"RESPONSE_BODY",
path = "string",
method = "string",
statusCode = "string",
name = "string"
),
properties = "string"
)
)
)
Request syntax¶
svc$get_documentation_parts(
restApiId = "string",
type = "API"|"AUTHORIZER"|"MODEL"|"RESOURCE"|"METHOD"|"PATH_PARAMETER"|"QUERY_PARAMETER"|"REQUEST_HEADER"|"REQUEST_BODY"|"RESPONSE"|"RESPONSE_HEADER"|"RESPONSE_BODY",
nameQuery = "string",
path = "string",
position = "string",
limit = 123,
locationStatus = "DOCUMENTED"|"UNDOCUMENTED"
)