MCPcopy
hub / github.com/makeplane/plane / info

Method info

packages/services/src/instance/instance.service.ts:40–46  ·  view source on GitHub ↗

* Retrieves information about the current instance * @returns {Promise } Promise resolving to instance information * @throws {Error} If the API request fails * @remarks This method uses the validateStatus: null option to bypass interceptors for unauthorized errors.

()

Source from the content-addressed store, hash-verified

38 * @remarks This method uses the validateStatus: null option to bypass interceptors for unauthorized errors.
39 */
40 async info(): Promise<IInstanceInfo> {
41 return this.get("/api/instances/", { validateStatus: null })
42 .then((response) => response.data)
43 .catch((error) => {
44 throw error?.response?.data;
45 });
46 }
47
48 /**
49 * Fetches the changelog for the current instance

Callers 15

start.tsFile · 0.80
initializeMethod · 0.80
connectMethod · 0.80
disconnectMethod · 0.80
initializeMethod · 0.80
listenMethod · 0.80
destroyMethod · 0.80
onConfigureMethod · 0.80
onConfigureMethod · 0.80
onAdminCommandMethod · 0.80
publishAdminCommandMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected