Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

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

priv/docs/methods/views.publish.json

{
"args": {
"hash": {
"desc": "A string that represents view state to protect against possible race conditions.",
"example": "156772938.1827394",
"required": false,
"type": "string"
},
"user_id": {
"desc": "`id` of the user you want publish a view to.",
"example": "U0BPQUNTA",
"required": true,
"type": "string"
},
"view": {
"desc": "A view payload. This must be a JSON-encoded string.",
"required": true
}
},
"desc": "Publish a static view for a User.",
"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.",
"missing_profile_id": "A profile id was not provided when trying to publish a view of type profile.",
"not_enabled": "Error returned if a `home` view is published but the Home tab isn't enabled for the app.",
"not_implemented": "The profile view experiment is not enabled for this user.",
"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": {}
}