You need to sign in to do that
Don't have an account?
osf_team
Update name and title of a file uploaded in chatter using Chatter API
I am not able to update name and title of a file uploaded in chatter using Chatter api. I am getting an error.
What is the structure of the json file which stores the fields desc and title for updation.
[{"message":"Missing expected \"fileData\" binary parameter","errorCode":"POST_BODY_PARSE_ERROR"}]
Plz reply.
Can you suggest me what will be the structure of HTTP can along with the format of desc and tittle.
From this error it looks like you're trying to use a POST to upload a new file, not modify an existing one. To modify a resource, use a PATCH. I think the only field you can change on a file this way is the "title".