← All types
In Input object

EdgeAppHTTPRouteInput

HTTP inbound route input shape

Fields

HTTP method (or ANY)

Possible values (6)
GET

HTTP GET

POST

HTTP POST

PUT

HTTP PUT

PATCH

HTTP PATCH

DELETE

HTTP DELETE

ANY

Match any method (specific-method routes still win on the same path)

path

String!Required

Path pattern starting with /; supports {name} and {name...} (final-segment wildcard)

handler

String!Required

Handler name; must exist in this edgeApp's handlers

Auth declaration (mandatory; declare NONE explicitly for unauthenticated routes)

Optional request body cap (default 8 MiB; max 50 MiB)

timeoutMs

IntOptional

Optional handler timeout in ms (default 30000; max 120000)

Referenced by (3)
Exact type SDL
"""HTTP inbound route input shape"""
input EdgeAppHTTPRouteInput {
  """HTTP method (or ANY)"""
  method: EdgeAppHTTPMethod!
  """
  Path pattern starting with /; supports {name} and {name...} (final-segment wildcard)
  """
  path: String!
  """Handler name; must exist in this edgeApp's handlers"""
  handler: String!
  """
  Auth declaration (mandatory; declare NONE explicitly for unauthenticated routes)
  """
  auth: EdgeAppHTTPAuthInput!
  """Optional request body cap (default 8 MiB; max 50 MiB)"""
  maxBodyBytes: Int
  """Optional handler timeout in ms (default 30000; max 120000)"""
  timeoutMs: Int
}