EdgeAppHTTPRouteInput
HTTP inbound route input shape
Fields
HTTP method (or ANY)
Possible values (6)
GETHTTP GET
POSTHTTP POST
PUTHTTP PUT
PATCHHTTP PATCH
DELETEHTTP DELETE
ANYMatch any method (specific-method routes still win on the same path)
Path pattern starting with /; supports {name} and {name...} (final-segment wildcard)
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)
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
}