PATCH /scene/:id

This API updates various attributes of the specified scene.

Authorization

The request must be made by an account that has permissions to make all of the requested modifications. If any of the requested modifications are disallowed, the entire operation fails.

Request Structure

The URL parameter :id is the ID of the scene to modify.

The structure of the request is:

{
  "text": $string?,  // New textual content for the scene
  "outgoing_url": $string?,  // New outgoing URL for the scene
  "place": $Place?, // New place information for the scene
}

For the definition of substructures such as Place, see POST /handle/:handle/scene.

Response Structure

The structure of the response is:

{
  "error": $bool // Whether an error occurred
}