Assets
Last updated
Last updated
Deletes an asset associated with a post. The service handles the underlying logic to ensure proper deletion based on whether the asset belongs to a public or private post.
550e8400-e29b-41d4-a716-446655440000
No body
Attaches an image asset to a post. The service determines under the hood whether the asset is attached to a public or private post based on the post type.
550e8400-e29b-41d4-a716-446655440000
The image file to attach
Attaches a video asset to a post. The service determines under the hood whether the asset is attached to a public or private post based on the post type.
550e8400-e29b-41d4-a716-446655440000
The video file to attach
Rearranges the order of assets attached to a post by taking an ordered array of asset IDs and updating the orderIndex property of each asset accordingly.
An ordered array of asset IDs
550e8400-e29b-41d4-a716-446655440000
No body