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; pinned: boolean };
id: string;
relationships: {
collection: { data: { id?: string; type: "Collection" } };
};
type: "Bookmark";
}[];
included?: {
attributes: { display_name: string; high_assurance: boolean };
id?: string;
type: "Collection";
}[];
links?: { next: string };
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; pinned: boolean };
id: string;
relationships: {
collection: { data: { id?: string; type: "Collection" } };
};
type: "Bookmark";
}[];
included?: {
attributes: { display_name: string; high_assurance: boolean };
id?: string;
type: "Collection";
}[];
links?: { next: string };
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; pinned: boolean };
id: string;
relationships: {
collection: { data: { id?: string; type: "Collection" } };
};
type: "Bookmark";
}[];
included?: {
attributes: { display_name: string; high_assurance: boolean };
id?: string;
type: "Collection";
}[];
links?: { next: string };
meta: { request_id: string };
},
>,
>