File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/**
22 * Represents an application that interfaces with the REST API to access accounts or post statuses.
3- * @see https://docs.joinmastodon.org/entities/application /
3+ * @see https://docs.joinmastodon.org/entities/Application /
44 */
55export interface Application {
66 /** The name of your application. */
77 name : string ;
88 /** The website associated with your application. */
99 website ?: string | null ;
10+ /** The OAuth scopes requested for this application. Added in 4.3.0. */
11+ scopes ?: string [ ] | null ;
12+ /** Redirect URIs registered for this application. Added in 4.3.0. */
13+ redirectUris ?: string [ ] | null ;
1014 /** Used for Push Streaming API. Returned with POST /api/v1/apps. Equivalent to PushSubscription#server_key */
1115 vapidKey ?: string | null ;
1216}
@@ -16,4 +20,6 @@ export interface Client extends Application {
1620 clientId ?: string | null ;
1721 /** Client secret key, to be used for obtaining OAuth tokens */
1822 clientSecret ?: string | null ;
23+ /** When the client secret expires. Returns "0" if it doesn't expire. Added in 4.4.0. */
24+ clientSecretExpiresAt ?: string | null ;
1925}
You can’t perform that action at this time.
0 commit comments