{ "opencollection": "1.0.0", "info": { "name": "Slack Admin Access Views API", "version": "1.0" }, "items": [ { "info": { "name": "Views", "type": "folder" }, "items": [ { "info": { "name": "Slack Get Views Open", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/views.open", "headers": [ { "name": "token", "value": "" } ], "params": [ { "name": "trigger_id", "value": "", "type": "query", "description": "Exchange a trigger to post to the user." }, { "name": "view", "value": "", "type": "query", "description": "A [view payload](/reference/surfaces/views). This must be a JSON-encoded string." } ] }, "docs": "Open a view for a user." }, { "info": { "name": "Slack Open a Modal View", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/views.open", "body": { "type": "json", "data": "{}" } }, "docs": "Open a view for a user by providing a trigger_id received from a slash command, shortcut, or interactive component." }, { "info": { "name": "Slack Get Views Publish", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/views.publish", "headers": [ { "name": "token", "value": "" } ], "params": [ { "name": "user_id", "value": "", "type": "query", "description": "`id` of the user you want publish a view to." }, { "name": "view", "value": "", "type": "query", "description": "A [view payload](/reference/surfaces/views). This must be a JSON-encoded string." }, { "name": "hash", "value": "", "type": "query", "description": "A string that represents view state to protect against possible race conditions." } ] }, "docs": "Publish a static view for a User." }, { "info": { "name": "Slack Publish a View to the App Home Tab", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/views.publish", "body": { "type": "json", "data": "{}" } }, "docs": "Publish a static view for a user to the App Home tab." }, { "info": { "name": "Slack Get Views Push", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/views.push", "headers": [ { "name": "token", "value": "" } ], "params": [ { "name": "trigger_id", "value": "", "type": "query", "description": "Exchange a trigger to post to the user." }, { "name": "view", "value": "", "type": "query", "description": "A [view payload](/reference/surfaces/views). This must be a JSON-encoded string." } ] }, "docs": "Push a view onto the stack of a root view." }, { "info": { "name": "Slack Get Views Update", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/views.update", "headers": [ { "name": "token", "value": "" } ], "params": [ { "name": "view_id", "value": "", "type": "query", "description": "A unique identifier of the view to be updated. Either `view_id` or `external_id` is required." }, { "name": "external_id", "value": "", "type": "query", "description": "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." }, { "name": "view", "value": "", "type": "query", "description": "A [view object](/reference/surfaces/views). This must be a JSON-encoded string." }, { "name": "hash", "value": "", "type": "query", "description": "A string that represents view state to protect against possible race conditions." } ] }, "docs": "Update an existing view." }, { "info": { "name": "Slack Update an Existing View", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/views.update", "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing view." } ] } ], "bundled": true }