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

The next page of elements from this collection. Not valid for the last element of the collection.

GET No
first

The first page of elements from this collection.

GET No
item

The current page of elements from this collection.

GET No


Properties

The Models resource does not have any properties.

Remarks

See Also

Method, MethodResponse, Models and Mappings