{ "opencollection": "1.0.0", "info": { "name": "Slack Admin Access Remote API", "version": "1.0" }, "items": [ { "info": { "name": "Remote", "type": "folder" }, "items": [ { "info": { "name": "Slack Post Files Remote Add", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/files.remote.add", "body": { "type": "form-urlencoded", "data": [ { "name": "token", "value": "" }, { "name": "external_id", "value": "" }, { "name": "title", "value": "" }, { "name": "filetype", "value": "" }, { "name": "external_url", "value": "" }, { "name": "preview_image", "value": "" }, { "name": "indexable_file_contents", "value": "" } ] } }, "docs": "Adds a file from a remote service" }, { "info": { "name": "Slack Get Files Remote Info", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/files.remote.info", "params": [ { "name": "token", "value": "", "type": "query", "description": "Authentication token. Requires scope: `remote_files:read`" }, { "name": "file", "value": "", "type": "query", "description": "Specify a file by providing its ID." }, { "name": "external_id", "value": "", "type": "query", "description": "Creator defined GUID for the file." } ] }, "docs": "Retrieve information about a remote file added to Slack" }, { "info": { "name": "Slack Get Files Remote List", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/files.remote.list", "params": [ { "name": "token", "value": "", "type": "query", "description": "Authentication token. Requires scope: `remote_files:read`" }, { "name": "channel", "value": "", "type": "query", "description": "Filter files appearing in a specific channel, indicated by its ID." }, { "name": "ts_from", "value": "", "type": "query", "description": "Filter files created after this timestamp (inclusive)." }, { "name": "ts_to", "value": "", "type": "query", "description": "Filter files created before this timestamp (inclusive)." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of items to return." }, { "name": "cursor", "value": "", "type": "query", "description": "Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail." } ] }, "docs": "Retrieve information about a remote file added to Slack" }, { "info": { "name": "Slack Post Files Remote Remove", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/files.remote.remove", "body": { "type": "form-urlencoded", "data": [ { "name": "token", "value": "" }, { "name": "file", "value": "" }, { "name": "external_id", "value": "" } ] } }, "docs": "Remove a remote file." }, { "info": { "name": "Slack Get Files Remote Share", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/files.remote.share", "params": [ { "name": "token", "value": "", "type": "query", "description": "Authentication token. Requires scope: `remote_files:share`" }, { "name": "file", "value": "", "type": "query", "description": "Specify a file registered with Slack by providing its ID. Either this field or `external_id` or both are required." }, { "name": "external_id", "value": "", "type": "query", "description": "The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or `file` or both are required." }, { "name": "channels", "value": "", "type": "query", "description": "Comma-separated list of channel IDs where the file will be shared." } ] }, "docs": "Share a remote file into a channel." }, { "info": { "name": "Slack Post Files Remote Update", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/files.remote.update", "body": { "type": "form-urlencoded", "data": [ { "name": "token", "value": "" }, { "name": "file", "value": "" }, { "name": "external_id", "value": "" }, { "name": "title", "value": "" }, { "name": "filetype", "value": "" }, { "name": "external_url", "value": "" }, { "name": "preview_image", "value": "" }, { "name": "indexable_file_contents", "value": "" } ] } }, "docs": "Updates an existing remote file." } ] } ], "bundled": true }