Current section
Files
Jump to
Current section
Files
priv/docs/methods/apps.datastore.update.json
{
"args": {
"app_id": {
"desc": "",
"required": false
},
"datastore": {
"desc": "name of the datastore",
"required": true,
"type": "string"
},
"item": {
"desc": "attribute names and values to be updated",
"required": true,
"type": "object"
}
},
"desc": "Edits an existing item's attributes, or adds a new item if it does not already exist.",
"errors": {
"app_not_hosted": "The app developer is not using a Slack-hosted environment. App datastores are exclusively available for Slack-hosted apps.",
"datastore_error": "Datastore error",
"datastore_migration_in_progress": "The datastore is currently unavailable due to an in progress Enterprise org migration.",
"free_team_not_allowed": "Datastore put not allowed on a free team.",
"invalid_app_id": "The app\\_id provided is not valid for team and user.",
"invalid_datastore": "The provided datastore is invalid.",
"restricted_plan_level": "Feature is not available on this team",
"team_quota_exceeded": "Total number of requests exceeded team quota."
},
"rate_limit": {
"label": "Tier 4: 100+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "datastore:write",
"url": "https://docs.slack.dev/reference/scopes/datastore.write"
}
]
}
}