PATCH /scene/:id¶
This API updates various attributes of the specified scene.
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
"content": $Content?, // New content information for the scene
"published": $bool?, // New setting for publication flag
"astropix": {
// Optional dict associating this scene with an AstroPix image. Only user accounts
// with the "manage-astropix" role may set or modify this information.
"publisher_id": $string,
"image_id": $string,
}
}
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
}