action trashnothing_update_post { label: "Update a post" description: "Users can update posts to fix mistakes with their post, add photos, or add more details about the items. Updates should not be used to say that items in a post have been taken or received since the post satisfy endpoint is designed to do that.\n" provider: trashnothing method: PUT path: "/posts/{post_id}" encoding: json input: { type: "object" properties: { post_id: { type: "string" } } required: ["post_id"] additionalProperties: false } output: { type: "object" properties: { identifier: { type: "string" description: "When an error or warning is returned, this will contain a short string representing the type of error or warning that occurred. Is null on success.\n" } message: { type: "string" description: "Contains text describing the reason a post update was not successful. Is null on success.\n" } preference_key: { type: "string" description: "Certain types of warnings can be opted out of. These warnings will set preference_key to a string that can be set in the preferences object by the client to opt out of that type of warning in the future (see the description of the preferences parameter for more details). Is null for errors, success and warnings that can't be opted out of.\n" } result: { type: "string" description: "One of: success, error, warning.

A success result indicates that the post update was submitted successfully. Note that post updates may not appear instantly after submission because the volunteer moderators of many groups may have additional automatic or manual review processes in place that can cause delays.

An error result indicates that there is an error with the post that should be shown to the user and the message property will contain text describing the error.

A warning result indicates that there is a warning about the post update to show the user and the message property will contain a string describing the warning. A warning result doesn't prevent a post update from being submitted, to continue the submission process after a warning result, just re-submit (with the updated session object) to temporarily override that specific warning.\n" } session: { type: "object" description: "The updated session object that should override the client's copy of the session that was passed in the session parameter. Is null on success.\n" } } } }