Module Services
Less than 1 minute
Get bookmark
Generate parameters
Method for generating endpoint and arguments.
import {
generateParameters,
generateEndpoint,
} from '@equinor/fusion-framework-module/service/bookmarks/get';
/** IHttpClient */
const response = client.fetch(...generateParameters('v1', { id: '123' }));
Generate endpoint
Method for generating endpoint.
import { generateEndpoint } from '@equinor/fusion-framework-module/service/bookmarks/get';
const endpoint = generateEndpoint('v1', { id: '123' });
const response = await fetch(endpoint);