2018-10-16 21:01:17 +02:00
|
|
|
# List linkifiers
|
2018-08-14 03:10:37 +02:00
|
|
|
|
2018-10-16 21:01:17 +02:00
|
|
|
List all of an organization's configured
|
|
|
|
[linkifiers](/help/add-a-custom-linkification-filter), regular
|
|
|
|
expression patterns that are automatically linkified when they appear
|
|
|
|
in messages and topics.
|
2018-08-14 03:10:37 +02:00
|
|
|
|
|
|
|
`GET {{ api_url }}/v1/realm/filters`
|
|
|
|
|
|
|
|
## Usage examples
|
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{start_tabs}
|
|
|
|
{tab|python}
|
2018-08-14 03:10:37 +02:00
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{generate_code_example(python)|/realm/filters:get|example}
|
|
|
|
|
|
|
|
{tab|curl}
|
2018-08-14 03:10:37 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
curl {{ api_url }}/v1/realm/filters \
|
|
|
|
-u BOT_EMAIL_ADDRESS:BOT_API_KEY \
|
|
|
|
```
|
|
|
|
|
2018-10-18 00:14:30 +02:00
|
|
|
{end_tabs}
|
2018-08-14 03:10:37 +02:00
|
|
|
|
|
|
|
## Arguments
|
|
|
|
|
|
|
|
{generate_api_arguments_table|zulip.yaml|/realm/filters:get}
|
|
|
|
|
|
|
|
## Response
|
|
|
|
|
|
|
|
#### Return values
|
|
|
|
|
2018-10-16 21:01:17 +02:00
|
|
|
* `filters`: An array of tuples, each representing one of the
|
|
|
|
linkifiers set up in the organization. Each of these tuples contain the
|
|
|
|
pattern, the formatted URL and the filter's ID, in that order. See
|
|
|
|
the [Create linkifiers](/api/add-linkifiers) article for details on what
|
|
|
|
each field means.
|
2018-08-14 03:10:37 +02:00
|
|
|
|
|
|
|
#### Example response
|
|
|
|
|
|
|
|
A typical successful JSON response may look like:
|
|
|
|
|
|
|
|
{generate_code_example|/realm/filters:get|fixture(200)}
|