MCPcopy Index your code
hub / github.com/simstudioai/sim / getNoteStoreUrl

Function getNoteStoreUrl

apps/sim/connectors/evernote/evernote.ts:56–59  ·  view source on GitHub ↗

* Derives the NoteStore URL from a developer token.

(token: string)

Source from the content-addressed store, hash-verified

54 * Derives the NoteStore URL from a developer token.
55 */
56function getNoteStoreUrl(token: string): string {
57 const shardId = extractShardId(token)
58 return `https://${getHost(token)}/shard/${shardId}/notestore`
59}
60
61/**
62 * Sends a Thrift RPC call to the Evernote NoteStore via HTTP POST.

Callers 1

callNoteStoreFunction · 0.70

Calls 2

getHostFunction · 0.85
extractShardIdFunction · 0.70

Tested by

no test coverage detected