forked from slackhq/slack-api-docs
/
discovery.file.tombstone.json
29 lines (29 loc) · 2.01 KB
/
discovery.file.tombstone.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"desc": "There is no documentation for this method.",
"args": {
"token": {
"required": true,
"example": "xxxx-xxxxxxxxx-xxxx",
"desc": "Authentication token (Requires scope: discovery:write)"
},
"file": {
"required": true,
"example": "F2147483862",
"desc": "Specify a file by providing its ID."
}
},
"errors": {
"file_not_found": "No file with the requested ID found.",
"not_authed": "No authentication token provided.",
"invalid_auth": "Invalid authentication token.",
"account_inactive": "Authentication token is for a deleted user or team.",
"user_is_bot": "This method cannot be called by a bot user.",
"invalid_arg_name": "The method was passed an argument whose name falls outside the bounds of common decency. This includes very long names and names with non-alphanumeric characters other than `_`. If you get this error, it is typically an indication that you have made a _very_ malformed API call.",
"invalid_array_arg": "The method was passed a PHP-style array argument (e.g. with a name like `foo[7]`). These are never valid with the Slack API.",
"invalid_charset": "The method was called via a `POST` request, but the `charset` specified in the `Content-Type` header was invalid. Valid charset names are: `utf-8` `iso-8859-1`.",
"invalid_form_data": "The method was called via a `POST` request with `Content-Type` `application/x-www-form-urlencoded` or `multipart/form-data`, but the form data was either missing or syntactically invalid.",
"invalid_post_type": "The method was called via a `POST` request, but the specified `Content-Type` was invalid. Valid types are: `application/json` `application/x-www-form-urlencoded` `multipart/form-data` `text/plain`.",
"missing_post_type": "The method was called via a `POST` request and included a data payload, but the request did not include a `Content-Type` header.",
"request_timeout": "The method was called via a `POST` request, but the `POST` data was either missing or truncated."
}
}