jointrashposs/content/ja/.docs-legacy/api/endpoints/stats.json5
2023-07-11 23:48:17 +09:00

61 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
summary: 'サーバーの情報を取得します。',
description: 'サーバーの情報を取得します。',
tags: [
'meta',
],
requireCredential: false,
req: {},
res: {
type: 'object',
optional: false, nullable: false,
properties: {
notesCount: {
type: 'number',
optional: false, nullable: false,
description: '総ノート数です。',
},
originalNotesCount: {
type: 'number',
optional: false, nullable: false,
description: 'サーバー内(ローカル)で作成された総ノート数です。',
},
usersCount: {
type: 'number',
optional: false, nullable: false,
description: '総ユーザ数です。',
},
originalUsersCount: {
type: 'number',
optional: false, nullable: false,
description: 'サーバー内(ローカル)で作成された総ユーザ数です。',
},
instances: {
type: 'number',
optional: false, nullable: false,
description: '',
},
driveUsageLocal: {
type: 'number',
optional: false, nullable: false,
description: '未実装常に0を返します。',
},
driveUsageRemote: {
type: 'number',
optional: false, nullable: false,
description: '未実装常に0を返します。',
},
},
required: [
'notesCount',
'originalNotesCount',
'usersCount',
'originalUsersCount',
'instances',
'driveUsageLocal',
'driveUsageRemote',
],
},
errors: {},
}