getFeedbackReplies
getFeedbackReplies(variables, init)
getFeedbackReplies(
variables
,init
?):Promise
<TypedResponse
<Response
>>
Low-level function for making a getFeedbackReplies
request.
Parameters
• variables: Variables
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Link
Example
Simple usage without error handling:
const response = await queries.getFeedbackReplies({
postKey: 'ag5zfmtoYW4tYWNhZGVteXJBCxIIVXNlckRhdGEiHmthaWRfNjYzMzc5NDA2ODA0Nzc0MjA1NjU0NTUzNAwLEghGZWVkYmFjaxiAgOPjx8-XCAw'
})
const json = await response.json()
const replies = json.data.feedbackReplies
Source
src/queries/getFeedbackReplies.ts:106
getFeedbackReplies(postKey, init)
getFeedbackReplies(
postKey
,init
?):Promise
<TypedResponse
<Response
>>
Parameters
• postKey: `ag5zfmtoYW4tYWNhZGVteX${string}CxIIVXNlckRhdGEi${string}thaWRf${string}${string}${string}` | `kaencrypted_${string}_${string}`
• init?: RequestInit
Returns
Promise
<TypedResponse
<Response
>>
Example
Alternative usage:
const await queries.getFeedbackReplies('ag5zfmtoYW4tYWNhZGVteXJBCxIIVXNlckRhdGEiHmthaWRfNjYzMzc5NDA2ODA0Nzc0MjA1NjU0NTUzNAwLEghGZWVkYmFjaxiAgOPjx8-XCAw')
const json = await response.json()
const replies = json.data.feedbackReplies