سؤال

I see the API allows for us to write to a user's actions with a put on an action:

PUT /1/actions/[idAction]/text

But what goes in that text? What exactly are we changing when we run this command? Can we change any trait of an action and re-write history?

Thanks in advance for any insight!

هل كانت مفيدة؟

المحلول

That route is used to edit comments. It will fail if the action provided is not a comment, or if you are not allowed to edit that comment. The route

PUT /1/actions/[idAction]

has the same purpose.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top