Describes an existing model defined for a RestApi resource.
apigateway_get_model(restApiId, modelName, flatten)
[required] [Required] The RestApi identifier under which the Model exists.
[required] [Required] The name of the model as an identifier.
A query parameter of a Boolean value to resolve (true
) all external
model references and returns a flattened model schema or not (false
)
The default is false
.
A list with the following syntax:
list( id = "string", name = "string", description = "string", schema = "string", contentType = "string" )
svc$get_model( restApiId = "string", modelName = "string", flatten = TRUE|FALSE )