QAExpandKeyInfo
QAExpandKeyInfo(variables, init)
QAExpandKeyInfo(
variables
,init
?):Promise
<TypedResponse
<Response
>>
Low-level function for making a QAExpandKeyInfo
request.
Parameters
• variables: Variables
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Link
Example
Simple usage without error handling:
const response = await queries.QAExpandKeyInfo({
encryptedKey: 'kaencrypted_e1af9ca95e8bf24e1cebdb8a1e94f7a3_76142801656102acc04c5154ee776b59e6323603d457c39e2a18a68f32a9ac1fefcdfd57c28ec771ec62fbee8ae03e0509090d80723bb489a87010ba69a0a5fdbd27a91a0db97971b59b77548da0eb2494aa274600fa28939e8975abd13c851c5a2f4f701d7dc7e8a2879f3c8d59be0953fafa318bd9b036f6c3d6dc0212c926'
})
const json = await response.json()
const unencryptedKey = json.data.qaExpandKeyInfo?.unencryptedKey
Source
src/queries/QAExpandKeyInfo.ts:42
QAExpandKeyInfo(encryptedKey, init)
QAExpandKeyInfo(
encryptedKey
,init
?):Promise
<TypedResponse
<Response
>>
Parameters
• encryptedKey: `kaencrypted_${string}_${string}`
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Example
Alternative usage:
const response = await queries.QAExpandKeyInfo('kaencrypted_e1af9ca95e8bf24e1cebdb8a1e94f7a3_76142801656102acc04c5154ee776b59e6323603d457c39e2a18a68f32a9ac1fefcdfd57c28ec771ec62fbee8ae03e0509090d80723bb489a87010ba69a0a5fdbd27a91a0db97971b59b77548da0eb2494aa274600fa28939e8975abd13c851c5a2f4f701d7dc7e8a2879f3c8d59be0953fafa318bd9b036f6c3d6dc0212c926')
const json = await response.json()
const unencryptedKey = json.data.qaExpandKeyInfo?.unencryptedKey