JSON-RPC
{% for cat, items in grouped_methods.items() %}
{{ cat }}
{% for item in items %}
{{ item.name }}
{% endfor %}
{% endfor %}
BenchmarkSTT JSON-RPC api explorer
{% for item in methods %}
{{ item.name }}
{{ item.details.docs | parse_rst | safe }}
{% for param in item.details.params %}
{% if param.type_doc == 'bool' %}
{{ param.description }}
{% else %}
{{ param.name.title().replace('_', ' ') }}
{% if param.description %}
{{ param.description }}
{% endif %}
{% if param.result or param.result_type %}
Returns:
{{ param.result_type }}
{{ param.result }}
{% endif %} {% with %} {% if param.examples and param.name in param.examples[0] %} {% set example = param.examples[0][param.name].value %} {% else %} {% set example = '' %} {% endif %} {% if param.name in ('text', 'hyp', 'ref') or '\n' in example %}
{{ example }}
{% else %}
{% endif %} {% endwith %} {% endif %}
{% endfor %}
Execute
{% if item.details.params %}
Reset to example
{% endif %}
{% endfor %}
Select an api method from the menu...
Request
error
loading
success
Response
Logs
An error occured!