editPost

fun editPost(postId: String, title: String, medium: String, dimensions: String, desc: String, tags: ArrayList<String>)

Edits the details of a post.

Parameters

postId

Unique identifier of the posts whose details are being edited.

title

Updated title of the post.

medium

Updated medium of the post.

dimensions

Updated dimensions of the post.

desc

Updated description of the post.

tags

Updated tags of the post.