Skip to Content
Anuma SDKClientInternalFunctionspostApiV1Shares

postApiV1Shares

postApiV1Shares<ThrowOnError>(options: Options<PostApiV1SharesData, ThrowOnError>): RequestResult<PostApiV1SharesResponses, PostApiV1SharesErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1357 

Publish an artifact to a public share link

Records a public share for media already uploaded to an allow-listed host and returns a slug + link. Hardened mode moderates the media and copies it into the encrypted store before publishing (images only); a rejected image returns 403.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostApiV1SharesData, ThrowOnError>

Returns

RequestResult<PostApiV1SharesResponses, PostApiV1SharesErrors, ThrowOnError>

Last updated on