diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-06 22:34:51 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-03-06 22:34:51 +0900 |
| commit | deda2b2782e37c925c67f730e4dd8770d4ef3034 (patch) | |
| tree | b6cfb688d446f85078cfaa819f463ac10488aec1 /src/server/api/endpoints/stats.ts | |
| parent | fix bug (diff) | |
| parent | APIドキュメントの改善 (#6757) (diff) | |
| download | sharkey-deda2b2782e37c925c67f730e4dd8770d4ef3034.tar.gz sharkey-deda2b2782e37c925c67f730e4dd8770d4ef3034.tar.bz2 sharkey-deda2b2782e37c925c67f730e4dd8770d4ef3034.zip | |
Merge branch 'develop' of https://github.com/syuilo/misskey into develop
Diffstat (limited to 'src/server/api/endpoints/stats.ts')
| -rw-r--r-- | src/server/api/endpoints/stats.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server/api/endpoints/stats.ts b/src/server/api/endpoints/stats.ts index 955a791948..33d6af515b 100644 --- a/src/server/api/endpoints/stats.ts +++ b/src/server/api/endpoints/stats.ts @@ -6,6 +6,7 @@ export const meta = { requireCredential: false as const, desc: { + 'ja-JP': 'インスタンスの統計を取得します。', 'en-US': 'Get the instance\'s statistics' }, @@ -43,6 +44,14 @@ export const meta = { optional: false as const, nullable: false as const, description: 'The count of federated instances.', }, + driveUsageLocal: { + type: 'number' as const, + optional: false as const, nullable: false as const + }, + driveUsageRemote: { + type: 'number' as const, + optional: false as const, nullable: false as const + } } } }; |