Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods views.update.json
Raw

priv/docs/methods/views.update.json

{
"args": {
"external_id": {
"desc": "A unique identifier of the view set by the developer. Must be unique for all views on a team. Max length of 255 characters. Either `view_id` or `external_id` is required. Update a view by passing a new view definition object along with the `view_id` returned in `views.open` or the `external_id`.",
"example": "bmarley_view2",
"required": false,
"type": "string"
},
"hash": {
"desc": "A string that represents view state to protect against possible race conditions.",
"example": "156772938.1827394",
"required": false,
"type": "string"
},
"view": {
"desc": "A view object. This must be a JSON-encoded string.",
"required": true
},
"view_id": {
"desc": "A unique identifier of the view to be updated. Either `view_id` or `external_id` is required. Update a view by passing a new view definition object along with the `view_id` returned in `views.open` or the `external_id`.",
"example": "VMM512F2U",
"required": false,
"type": "string"
}
},
"desc": "Update an existing view.",
"errors": {
"duplicate_external_id": "Error returned when the given `external_id` has already be used.",
"hash_conflict": "Error returned when the provided `hash` doesn't match the current stored value.",
"not_found": "Error returned when the given `view_id` or `external_id` doesn't exist.",
"view_too_large": "Error returned if the provided view is greater than 250kb."
},
"rate_limit": {
"label": "Tier 4: 100+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {}
}