zulip/templates/zerver/api/get-presence.md

33 lines
613 B
Markdown
Raw Normal View History

# Get user presence
{generate_api_description(/users/{email}/presence:get)}
## Usage examples
{start_tabs}
{tab|python}
{generate_code_example(python)|/users/{email}/presence:get|example}
{tab|curl}
{generate_code_example(curl)|/users/{email}/presence:get|example}
{end_tabs}
## Parameters
{generate_api_arguments_table|zulip.yaml|/users/{email}/presence:get}
## Response
#### Return values
{generate_return_values_table|zulip.yaml|/users/{email}/presence:get}
#### Example response
A typical successful JSON response may look like:
{generate_code_example|/users/{email}/presence:get|fixture(200)}