The App Provision Object
The app_provision
object contains the general setting information of one of your Space Plugins or Tool Plugins. To access this seeing information, use the OAuth token provided. With the OAuth token, your Space Plugin or Tol Plugin can send a request to retrieve the general setting information to the app_provisions
endpoint.
You can find more information on how to get your OAuth token on our OAuth 2.0 Authorization Flow documentation. We mentioned an important endpoint, app_provisions
and you can check examples in this section of our documentation.
Properties
-
public_config
stringPublic configurations
-
session
stringStatus of the session
-
slug
stringThe slug specific to this Space Plugin or Tool Plugin
-
app_id
numberSpace Plugin or Tool Plugin id
-
name
stringSpace Plugin or Tool Plugin name
-
in_sidebar
booleanA status in the sidebar if your plugin is Space Plugin
-
in_toolbar
booleanA status in the toolbar if your plugin is Tool Plugin
-
sidebar_icon
stringYour Space Plugin sidebar icon image path
-
enable_space_settings
booleanA status to show whether your Space Plugin or Tool Plugin is enabled for space level or not
-
space_level_settings
objectSpace level settings
{
"app_provision": {
"public_config": null,
"session": null,
"slug": "my-first-plugin",
"app_id": 12345,
"name": "My first plugin",
"in_sidebar": true,
"in_toolbar": false,
"sidebar_icon": null,
"enable_space_settings": true,
"space_level_settings": {}
},
"granted": false
}