Skip to content

Commit 8142a9a

Browse files
authored
Make interactions_endpoint_url/role_connections_verification_url Optional (#7027)
1 parent b93c0b9 commit 8142a9a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/resources/Application.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_label: Application
44

55
# Application Resource
66

7-
[Applications](#DOCS_QUICK_START_OVERVIEW_OF_APPS) (or "apps") are containers for developer platform features, and can be installed to Discord servers and/or user accounts.
7+
[Applications](#DOCS_QUICK_START_OVERVIEW_OF_APPS) (or "apps") are containers for developer platform features, and can be installed to Discord servers and/or user accounts.
88

99
### Application Object
1010

@@ -34,8 +34,8 @@ sidebar_label: Application
3434
| approximate_guild_count? | integer | Approximate count of guilds the app has been added to |
3535
| approximate_user_install_count? | integer | Approximate count of users that have installed the app |
3636
| redirect_uris? | array of strings | Array of redirect URIs for the app |
37-
| interactions_endpoint_url? | string | [Interactions endpoint URL](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/receiving-an-interaction) for the app |
38-
| role_connections_verification_url? | string | Role connection verification URL for the app |
37+
| interactions_endpoint_url? | ?string | [Interactions endpoint URL](#DOCS_INTERACTIONS_RECEIVING_AND_RESPONDING/receiving-an-interaction) for the app |
38+
| role_connections_verification_url? | ?string | Role connection verification URL for the app |
3939
| tags? | array of strings | List of tags describing the content and functionality of the app. Max of 5 tags. |
4040
| install_params? | [install params](#DOCS_RESOURCES_APPLICATION/install-params-object) object | Settings for the app's default in-app authorization link, if enabled |
4141
| integration_types_config? | dictionary with keys of [application integration types](#DOCS_RESOURCES_APPLICATION/application-object-application-integration-types) | Default scopes and permissions for each supported installation context. Value for each key is an [integration type configuration object](#DOCS_RESOURCES_APPLICATION/application-object-application-integration-type-configuration-object) |
@@ -70,8 +70,10 @@ sidebar_label: Application
7070
"permissions": "0"
7171
}
7272
}
73-
}
73+
},
7474
"name": "Baba O-Riley",
75+
"interactions_endpoint_url": null,
76+
"role_connections_verification_url": null,
7577
"owner": {
7678
"avatar": null,
7779
"discriminator": "1738",
@@ -212,9 +214,9 @@ Returns the [application](#DOCS_RESOURCES_APPLICATION/application-object) object
212214

213215
## Edit Current Application % PATCH /applications/@me
214216

215-
Edit properties of the app associated with the requesting bot user. Only properties that are passed will be updated. Returns the updated [application](#DOCS_RESOURCES_APPLICATION/application-object) object on success.
217+
Edit properties of the app associated with the requesting bot user. Only properties that are passed will be updated. Returns the updated [application](#DOCS_RESOURCES_APPLICATION/application-object) object on success.
216218

217-
> info
219+
> info
218220
> All parameters to this endpoint are optional
219221
220222
###### JSON Params
@@ -286,4 +288,4 @@ The Activity Location is an object that describes the location in which an activ
286288
| Enum | Description |
287289
|------|--------------------------------------------------------|
288290
| 'gc' | The Location is a Guild Channel |
289-
| 'pc' | The Location is a Private Channel, such as a DM or GDM |
291+
| 'pc' | The Location is a Private Channel, such as a DM or GDM |

0 commit comments

Comments
 (0)