Assets
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-446655440000The image file to attach
Image asset successfully attached
Not Found - The post with the specified ID does not exist
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-446655440000The video file to attach
Video asset successfully attached
Not Found - The post with the specified ID does not exist
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-446655440000Assets successfully rearranged
No content
Not Found - One or more assets with the specified IDs do not exist
No content
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-446655440000No Content - Asset successfully deleted
Not Found - The asset with the specified ID does not exist
No content
Last updated