Skip to content

Create Documentation Version

apigateway_create_documentation_version R Documentation

Creates a documentation version

Description

Creates a documentation version

Usage

apigateway_create_documentation_version(restApiId, documentationVersion,
  stageName, description)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

documentationVersion

[required] The version identifier of the new snapshot.

stageName

The stage name to be associated with the new documentation snapshot.

description

A description about the new documentation snapshot.

Value

A list with the following syntax:

list(
  version = "string",
  createdDate = as.POSIXct(
    "2015-01-01"
  ),
  description = "string"
)

Request syntax

svc$create_documentation_version(
  restApiId = "string",
  documentationVersion = "string",
  stageName = "string",
  description = "string"
)