diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-10 14:03:28 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-06-10 14:03:28 +0900 |
| commit | d04014f875a03ae9b8f0f36338fd2446e7eb3150 (patch) | |
| tree | 447ab37a76486c9ec2ad5985e86c1f325b61f73c /src/server/api/endpoints/app/create.ts | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.83.0 (diff) | |
| download | misskey-d04014f875a03ae9b8f0f36338fd2446e7eb3150.tar.gz misskey-d04014f875a03ae9b8f0f36338fd2446e7eb3150.tar.bz2 misskey-d04014f875a03ae9b8f0f36338fd2446e7eb3150.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/server/api/endpoints/app/create.ts')
| -rw-r--r-- | src/server/api/endpoints/app/create.ts | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/server/api/endpoints/app/create.ts b/src/server/api/endpoints/app/create.ts index db72bd1c42..500567bf29 100644 --- a/src/server/api/endpoints/app/create.ts +++ b/src/server/api/endpoints/app/create.ts @@ -10,44 +10,23 @@ export const meta = { requireCredential: false as const, - desc: { - 'ja-JP': 'アプリを作成します。', - 'en-US': 'Create a application.' - }, - params: { name: { validator: $.str, - desc: { - 'ja-JP': 'アプリの名前', - 'en-US': 'Name of application' - } }, description: { validator: $.str, - desc: { - 'ja-JP': 'アプリの説明', - 'en-US': 'Description of application' - } }, permission: { validator: $.arr($.str).unique(), - desc: { - 'ja-JP': 'このアプリに割り当てる権限(権限については"Permissions"を参照)', - 'en-US': 'Permissions assigned to this app (see "Permissions" for the permissions)' - } }, // TODO: Check it is valid url callbackUrl: { validator: $.optional.nullable.str, - default: null as any, - desc: { - 'ja-JP': 'アプリ認証時にコールバックするURL', - 'en-US': 'URL to call back at app authentication' - } + default: null, }, }, |