Interface HonuaOgcLink

A hypermedia link in an OGC API response.

interface HonuaOgcLink {
    body?: Record<string, unknown>;
    href: string;
    merge?: boolean;
    method?: string;
    rel?: string;
    title?: string;
    type?: string;
}

Properties

body?: Record<string, unknown>

Request-body members a POST link contributes to the next request.

href: string
merge?: boolean

When true, body merges over the originating request body.

method?: string

HTTP method the link target expects. STAC API uses it on the landing page (rel="search" advertised for GET and/or POST) and on pagination links (a POST rel="next" carries its cursor in body rather than on the href query string).

rel?: string
title?: string
type?: string