2021-05-22 13:21:18 +02:00
|
|
|
{generate_api_title(/mark_all_as_read:post)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2020-04-28 20:00:46 +02:00
|
|
|
{generate_api_description(/mark_all_as_read:post)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{generate_code_example(python)|/mark_all_as_read:post|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2019-10-09 12:32:42 +02:00
|
|
|
{generate_code_example(curl)|/mark_all_as_read:post|example}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{end_tabs}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/mark_all_as_read:post}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
{generate_code_example|/mark_all_as_read:post|fixture(200)}
|
|
|
|
|
2021-06-07 22:53:29 +02:00
|
|
|
{generate_code_example|/mark_all_as_read:post|fixture(400)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2021-05-20 21:53:10 +02:00
|
|
|
{generate_api_title(/mark_stream_as_read:post)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2021-05-20 21:53:10 +02:00
|
|
|
{generate_api_description(/mark_stream_as_read:post)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
`POST {{ api_url }}/v1/mark_stream_as_read`
|
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
|
|
|
|
|
|
|
{generate_code_example(python)|/mark_stream_as_read:post|example}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{tab|curl}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2019-10-09 12:32:42 +02:00
|
|
|
{generate_code_example(curl)|/mark_stream_as_read:post|example}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{end_tabs}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/mark_stream_as_read:post}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
{generate_code_example|/mark_stream_as_read:post|fixture(200)}
|
|
|
|
|
2021-06-07 22:53:29 +02:00
|
|
|
{generate_code_example|/mark_stream_as_read:post|fixture(400)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
# Mark messages in a topic as read
|
2021-05-20 21:53:10 +02:00
|
|
|
{generate_api_title(/mark_topic_as_read:post)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2021-05-20 21:53:10 +02:00
|
|
|
{generate_api_description(/mark_all_as_read:post)}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
`POST {{ api_url }}/v1/mark_topic_as_read`
|
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
|
|
|
|
|
|
|
{generate_code_example(python)|/mark_topic_as_read:post|example}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{tab|curl}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2019-10-09 12:32:42 +02:00
|
|
|
{generate_code_example(curl)|/mark_topic_as_read:post|example}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{end_tabs}
|
2018-08-11 13:38:55 +02:00
|
|
|
|
2020-06-18 15:35:25 +02:00
|
|
|
## Parameters
|
2018-08-11 13:38:55 +02:00
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/mark_topic_as_read:post}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
{generate_code_example|/mark_topic_as_read:post|fixture(200)}
|
2021-06-07 22:53:29 +02:00
|
|
|
|
|
|
|
{generate_code_example|/mark_topic_as_read:post|fixture(400)}
|