Skip to navigation

Test anyOf polymorphism

This tests anyOf schemas.

Query parameters

accountSwitchKeystringOptional

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request

This endpoint expects an object.
isAnyOfobjectRequired
anyOfExcludeobject or anyOptional

Test whether an anyOf item can be excluded. The gummo key should not publish. (Not quite)

schema-poly-alt-nests-allofobjectOptional

This features alternate anyOf schemas that nest further nested allOf schemas. It should publish four Beatles and four Stones.

schema-poly-alt-nests-allof-inlineobjectOptional

This features alternate anyOf schemas that nest further nested allOf schemas. It should publish four Beatles and four Stones.

schema-poly-singleobjectOptional

This schema specifies a single anyOf item.

Response

Successful response.
isAnyOfobject
anyOfExcludeobject or anyOptional

Test whether an anyOf item can be excluded. The gummo key should not publish. (Not quite)

schema-poly-alt-nests-allofobjectOptional

This features alternate anyOf schemas that nest further nested allOf schemas. It should publish four Beatles and four Stones.

schema-poly-alt-nests-allof-inlineobjectOptional

This features alternate anyOf schemas that nest further nested allOf schemas. It should publish four Beatles and four Stones.

schema-poly-singleobjectOptional

This schema specifies a single anyOf item.