Amazon API Gateway REST API Reference

Models

Represents a collection of Model resources.


Relation Description Method Templated
self

A relation that refers to the current resource.

GET No
model:by-name

Gets a Model resource for the given model name.

This link relation offers the following templated variable(s):

  • model_name: Required.

    The name of the model as an identifier.

  • flatten: Optional.

    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.

GET Yes
model:create

Creates a Model resource.

POST No
next

Gets the next Model resource in the collection.

GET No
first

Gets the first Model resource in the collection.

GET No
item

Gets the current Model resource in the collection.

GET No


Properties

The Models resource does not have any properties.

Remarks

See Also

Method, MethodResponse, Models and Mappings