Skip to content

Report View Change

POST
/api/context/view

Publish an author.view_change event to the dispatcher.

The backend has no visibility into which frontend view is active unless the frontend posts — this endpoint is the one call-site.

ViewChangeRequest

Frontend-posted notification that the active app view changed.

object
view
required
View

New active view string

string
>= 1 characters <= 64 characters

Successful Response

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object