MCPcopy
hub / github.com/simstudioai/sim / buildGetResponseUrl

Function buildGetResponseUrl

apps/sim/tools/google_forms/utils.ts:44–49  ·  view source on GitHub ↗
(params: { formId: string; responseId: string })

Source from the content-addressed store, hash-verified

42}
43
44export function buildGetResponseUrl(params: { formId: string; responseId: string }): string {
45 const { formId, responseId } = params
46 const finalUrl = `${FORMS_API_BASE}/forms/${encodeURIComponent(formId)}/responses/${encodeURIComponent(responseId)}`
47 logger.debug('Built Google Forms get response URL', { finalUrl })
48 return finalUrl
49}
50
51export function buildGetFormUrl(formId: string): string {
52 const finalUrl = `${FORMS_API_BASE}/forms/${encodeURIComponent(formId)}`

Callers 1

get_responses.tsFile · 0.90

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected