Skip to content

Update Documentation Part

apigateway_update_documentation_part R Documentation

Updates a documentation part

Description

Updates a documentation part.

Usage

apigateway_update_documentation_part(restApiId, documentationPartId,
  patchOperations)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

documentationPartId

[required] The identifier of the to-be-updated documentation part.

patchOperations

For more information about supported patch operations, see Patch Operations.

Value

A list with the following syntax:

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$update_documentation_part(
  restApiId = "string",
  documentationPartId = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)