IndexResponse: {
links: { user: { create: { url: string; method: "POST" | "PATCH" | "GET" | "PUT" | "DELETE"; desc: string | null; }; read: { url: string; method: "POST" | "PATCH" | "GET" | "PUT" | "DELETE"; desc: string | null; }; update: { ...; }; }; ... 7 more ...; index?: { ...; } | undefined; };
}
Type declaration
-
links: { user: { create: { url: string; method: "POST" | "PATCH" | "GET" | "PUT" | "DELETE"; desc: string | null; }; read: { url: string; method: "POST" | "PATCH" | "GET" | "PUT" | "DELETE"; desc: string | null; }; update: { ...; }; }; ... 7 more ...; index?: { ...; } | undefined; }
See
IndexResponse
: https://github.com/hypothesis/client/blob/main/src/types/api.ts#L28