GET
/views.publishPublish a static view
Publishes a static view for a specified user. Provide the target user_id and a JSON-encoded view, and optionally pass hash to protect against concurrent view changes.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
user_idstringrequired
Identifier of the user to whom you want to publish the view.
viewstringrequired
JSON-encoded view payload to publish.
hashstringoptional
String representing the current view state, used to protect against race conditions.
tokenstringrequired
Authentication token for the request; this method requires the `none` scope.
200Returns an object containing `ok` set to true and the published view payload when available.
okbooleanrequired
defaultTypical error response, before getting to any possible validation errors.
okbooleanrequired
Error handling
token must be supplied with the none scope, and user_id and view are required. view must contain a JSON-encoded view payload; hash must be a string when supplied.