Prepares an avatar image upload. Complete upload with rivet.api.identity#CompleteIdentityAvatarUpload.
rivet.api.identity#CompleteIdentityAvatarUpload
Use a bare-bones client and the command you need to make an API call.
import { IdentityServiceClient, PrepareIdentityAvatarUploadCommand } from "@rivet-gg/identity"; // ES Modules import // const { IdentityServiceClient, PrepareIdentityAvatarUploadCommand } = require("@rivet-gg/identity"); // CommonJS import const client = new IdentityServiceClient(config); const command = new PrepareIdentityAvatarUploadCommand(input); const response = await client.send(command);
PrepareIdentityAvatarUploadCommandInput for command's input shape.
input
PrepareIdentityAvatarUploadCommandOutput for command's response shape.
response
config for IdentityServiceClient's config shape.
config
Prepares an avatar image upload. Complete upload with
rivet.api.identity#CompleteIdentityAvatarUpload.Use a bare-bones client and the command you need to make an API call.
import { IdentityServiceClient, PrepareIdentityAvatarUploadCommand } from "@rivet-gg/identity"; // ES Modules import // const { IdentityServiceClient, PrepareIdentityAvatarUploadCommand } = require("@rivet-gg/identity"); // CommonJS import const client = new IdentityServiceClient(config); const command = new PrepareIdentityAvatarUploadCommand(input); const response = await client.send(command);PrepareIdentityAvatarUploadCommandInput for command's
inputshape.PrepareIdentityAvatarUploadCommandOutput for command's
responseshape.config for IdentityServiceClient's
configshape.