MCPcopy Create free account
hub / github.com/Kong/insomnia / getEncryptionKeys

Function getEncryptionKeys

packages/insomnia-api/src/user.ts:27–29  ·  view source on GitHub ↗
({ sessionId }: { sessionId: string })

Source from the content-addressed store, hash-verified

25
26// GET /v3/users/me/encryption-keys
27export const getEncryptionKeys = async ({ sessionId }: { sessionId: string }): Promise<UserEncryptionKeys> => {
28 return fetch<UserEncryptionKeys>({ method: 'GET', path: '/v3/users/me/encryption-keys', sessionId });
29};
30
31// GET /v3/users/me/onboarding
32export const getOnboardingState = async ({ sessionId }: { sessionId: string }): Promise<UserOnboarding> => {

Callers 2

user.test.tsFile · 0.90
absorbKeyFunction · 0.90

Calls 1

fetchFunction · 0.90

Tested by

no test coverage detected