UserService

GET /api/users/{user}/usage

Changed on

GetUserUsage returns a user's usage and the usage limits in effect for the user. Only the user or an admin may call it.

Request

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

Path parameters

userstring required

The user id.

Response

OK

namestring

Identifier. The resource name of the user usage singleton. Format: users/{user}/usage

memoCountstring

The number of memos the user created, including comments, archived memos, and memos in Spaces.

storageBytesstring

The total size in bytes of the user's uploads, including uploads not attached to a memo. External links do not count.

limitIndexinteger

The position of the entry in effect in the USAGE_LIMITS setting, starting at 0. The default is the last entry.

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status