getAll: (
payload?: {
request?: {
payload?: undefined;
query?: {
include?: "collection" | null;
"page[limit]"?: number;
"page[marker]"?: string | null;
};
};
} & ServiceMethodPayload,
) => Promise<
JSONFetchResponse<
{
data: {
attributes: { name: string; path?: string
| null };
id: string;
relationships?:
| { collection: { data: { id: ...; type: ... }
| (...)[] } }
| null;
type: "Bookmark";
}[];
included?: | {
attributes: { display_name: string; high_assurance: boolean };
id: string;
relationships?: null;
type: "Collection";
}[]
| null;
links?: { next?: string | { href: string } | null }
| null;
meta: { request_id: string };
},
>,
> = ...
Type Declaration
-
- (
payload?: {
request?: {
payload?: undefined;
query?: {
include?: "collection" | null;
"page[limit]"?: number;
"page[marker]"?: string | null;
};
};
} & ServiceMethodPayload,
): Promise<
JSONFetchResponse<
{
data: {
attributes: { name: string; path?: string
| null };
id: string;
relationships?:
| { collection: { data: { id: ...; type: ... }
| (...)[] } }
| null;
type: "Bookmark";
}[];
included?: | {
attributes: { display_name: string; high_assurance: boolean };
id: string;
relationships?: null;
type: "Collection";
}[]
| null;
links?: { next?: string | { href: string } | null }
| null;
meta: { request_id: string };
},
>,
>
-
Parameters
Optionalpayload: {
request?: {
payload?: undefined;
query?: {
include?: "collection" | null;
"page[limit]"?: number;
"page[marker]"?: string | null;
};
};
} & ServiceMethodPayload
Returns Promise<
JSONFetchResponse<
{
data: {
attributes: { name: string; path?: string
| null };
id: string;
relationships?:
| { collection: { data: { id: ...; type: ... }
| (...)[] } }
| null;
type: "Bookmark";
}[];
included?: | {
attributes: { display_name: string; high_assurance: boolean };
id: string;
relationships?: null;
type: "Collection";
}[]
| null;
links?: { next?: string | { href: string } | null }
| null;
meta: { request_id: string };
},
>,
>