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 Content - Asset successfully deleted
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
Assets successfully rearranged
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
Image asset successfully attached
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
"https://cdn.example.com/assets/image.jpg"
1
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
Video asset successfully attached
"550e8400-e29b-41d4-a716-446655440000"
"550e8400-e29b-41d4-a716-446655440000"
"https://cdn.example.com/assets/image.jpg"
1