Skip to content

encodePermalink

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/packages/ui-core/src/components/api-explorer/permalink.ts

The fragment for a configured request, WITHOUT the leading #.

Files are absent by construction: a File has no serializable form short of embedding the bytes, and a link carrying a megabyte of base64 is not a link. The caller states this beside the button rather than letting a reader discover it after sharing.

Signature

ts
function encodePermalink(state: PermalinkState, secrets: string[]): string

Parameters

NameType
statePermalinkState
secretsstring[]

Returns: string

Was this page helpful?

Download as PDF