Ambassador · Example Payload

Ambassador Createmapping Example

API DevelopmentGatewaysIngressKubernetesMock ServersMocksPlatformTesting

Ambassador Createmapping Example is an example object payload from Ambassador, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "createMapping",
  "method": "POST",
  "path": "/apis/getambassador.io/v3alpha1/namespaces/{namespace}/mappings",
  "summary": "Ambassador Create a New Mapping",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "CreatemappingRequestExample",
      "example": {
        "apiVersion": "example_value",
        "kind": "example_value",
        "metadata": {
          "name": "Example Title",
          "namespace": "example_value",
          "labels": "example_value",
          "annotations": "example_value",
          "creationTimestamp": "2026-01-15T10:30:00Z",
          "generation": 10,
          "resourceVersion": "example_value",
          "uid": "500123"
        },
        "spec": {
          "hostname": "example_value",
          "prefix": "example_value",
          "prefix_regex": true,
          "prefix_exact": true,
          "service": "example_value",
          "rewrite": "example_value",
          "method": "GET",
          "method_regex": true,
          "headers": "example_value",
          "query_parameters": "example_value",
          "host": "example_value",
          "host_regex": true,
          "timeout_ms": 10,
          "idle_timeout_ms": 10,
          "connect_timeout_ms": 10,
          "cluster_idle_timeout_ms": 10,
          "weight": 10,
          "bypass_auth": true,
          "circuit_breakers": [
            {}
          ],
          "labels": "example_value",
          "add_request_headers": "example_value",
          "add_response_headers": "example_value",
          "remove_request_headers": [
            {}
          ],
          "remove_response_headers": [
            {}
          ],
          "allow_upgrade": [
            {}
          ],
          "grpc": true,
          "enable_ipv4": true,
          "enable_ipv6": true,
          "ambassador_id": [
            {}
          ]
        },
        "status": {
          "state": "Inactive",
          "reason": "example_value"
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "name": "Createmapping201Example",
      "example": {
        "apiVersion": "example_value",
        "kind": "example_value",
        "metadata": {
          "name": "Example Title",
          "namespace": "example_value",
          "labels": "example_value",
          "annotations": "example_value",
          "creationTimestamp": "2026-01-15T10:30:00Z",
          "generation": 10,
          "resourceVersion": "example_value",
          "uid": "500123"
        },
        "spec": {
          "hostname": "example_value",
          "prefix": "example_value",
          "prefix_regex": true,
          "prefix_exact": true,
          "service": "example_value",
          "rewrite": "example_value",
          "method": "GET",
          "method_regex": true,
          "headers": "example_value",
          "query_parameters": "example_value",
          "host": "example_value",
          "host_regex": true,
          "timeout_ms": 10,
          "idle_timeout_ms": 10,
          "connect_timeout_ms": 10,
          "cluster_idle_timeout_ms": 10,
          "weight": 10,
          "bypass_auth": true,
          "circuit_breakers": [
            {}
          ],
          "labels": "example_value",
          "add_request_headers": "example_value",
          "add_response_headers": "example_value",
          "remove_request_headers": [
            {}
          ],
          "remove_response_headers": [
            {}
          ],
          "allow_upgrade": [
            {}
          ],
          "grpc": true,
          "enable_ipv4": true,
          "enable_ipv6": true,
          "ambassador_id": [
            {}
          ]
        },
        "status": {
          "state": "Inactive",
          "reason": "example_value"
        }
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/ambassador-createmapping-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.