session

Return API key visibility for the OAuth session (create key if none exists).

Args: request (Any): Request passed to this helper.

Returns: Any: Value produced by this call (type depends on inputs).

Examples:

user_api_key_status(None) # doctest: +SKIP

get/api/user-api-key/

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in cookie sessionid
    • none

Response

usernamestring required
raw_keystring nullable
key_prefixstring required

Changes

No recorded changes to this operation across all 31 revisions of this API.