UserService

GET /api/users/{user}/stats

Changed on

ListUserStats returns memo statistics for every user who created at least one matching memo the caller can read. Use the parent users/- for all users, or users/{user} for one user.

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

userstring required

The user id.

Query parameters

filterstring

Optional. A CEL expression selecting the memos to count. Uses the same filter syntax as ListMemos.

state'STATE_UNSPECIFIED' | 'NORMAL' | 'ARCHIVED' enum

Optional. The state of the memos to count. Defaults to NORMAL. ARCHIVED counts only the caller's own memos.

Response

OK

Changes