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 Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1SharesResponses, PostApiV1SharesErrors, ThrowOnError>
Last updated on