diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-25 03:30:22 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-25 03:30:22 +0900 |
| commit | 77676d18c8073c405017ad78d1d28dc23fbc5a20 (patch) | |
| tree | fda087dfd711764e766462b2f12247fabb70fd59 /src/server/api | |
| parent | Fix doc (diff) | |
| download | sharkey-77676d18c8073c405017ad78d1d28dc23fbc5a20.tar.gz sharkey-77676d18c8073c405017ad78d1d28dc23fbc5a20.tar.bz2 sharkey-77676d18c8073c405017ad78d1d28dc23fbc5a20.zip | |
Improve doc
Diffstat (limited to 'src/server/api')
| -rw-r--r-- | src/server/api/endpoints/stats.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/server/api/endpoints/stats.ts b/src/server/api/endpoints/stats.ts index fa67ce25fc..30c49cdd86 100644 --- a/src/server/api/endpoints/stats.ts +++ b/src/server/api/endpoints/stats.ts @@ -13,6 +13,32 @@ export const meta = { tags: ['meta'], params: { + }, + + res: { + type: 'object', + properties: { + notesCount: { + type: 'number', + description: 'The count of all (local/remote) notes of this instance.', + }, + originalNotesCount: { + type: 'number', + description: 'The count of all local notes of this instance.', + }, + usersCount: { + type: 'number', + description: 'The count of all (local/remote) accounts of this instance.', + }, + originalUsersCount: { + type: 'number', + description: 'The count of all local accounts of this instance.', + }, + instances: { + type: 'number', + description: 'The count of federated instances.', + }, + } } }; |