<commit_before>The API
=======

This part details the various API endpoints that can be used within YETI.


Observables, Indicators and Entities
------------------------------------

Observables
^^^^^^^^^^^
.. autoflask:: core.web:webapp
  :endpoints: api.Observable:bulk, api.Observable:delete, api.Observable:get, api.Observable:index, api.Observable:new, api.Observable:post

.. autoflask:: core.web:webapp
  :endpoints: api.Tag:delete, api.Tag:get, api.Tag:index, api.Tag:merge, api.Tag:new, api.Tag:post

Indicators
^^^^^^^^^^
.. autoflask:: core.web:webapp
  :endpoints: api.Indicator:delete, api.Indicator:get, api.Indicator:index, api.Indicator:new, api.Indicator:post

Entities
^^^^^^^^
.. autoflask:: core.web:webapp
  :endpoints: api.Entity:index, api.Entity:get, api.Entity:delete, api.Entity:new, api.Entity:post

Searching
^^^^^^^^^
.. autoflask:: core.web:webapp<commit_msg>Link to pyeti bindings<commit_after>The API
=======

This part details the various API endpoints that can be used within YETI.

API bindings:

  * Python: `pyeti <https://github.com/yeti-platform/pyeti/>`_


Observables, Indicators and Entities
------------------------------------

Observables
^^^^^^^^^^^
.. autoflask:: core.web:webapp
  :endpoints: api.Observable:bulk, api.Observable:delete, api.Observable:get, api.Observable:index, api.Observable:new, api.Observable:post

.. autoflask:: core.web:webapp
  :endpoints: api.Tag:delete, api.Tag:get, api.Tag:index, api.Tag:merge, api.Tag:new, api.Tag:post

Indicators
^^^^^^^^^^
.. autoflask:: core.web:webapp
  :endpoints: api.Indicator:delete, api.Indicator:get, api.Indicator:index, api.Indicator:new, api.Indicator:post

Entities
^^^^^^^^
.. autoflask:: core.web:webapp
  :endpoints: api.Entity:index, api.Entity:get, api.Entity:delete, api.Entity:new, api.Entity:post

Searching
^^^^^^^^^
.. autoflask:: core.web:webapp
{'fraction_non_alphanumeric': 0.20739549839228297, 'fraction_numerical': 0.0, 'mean_word_length': 4.507374631268436, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4570255', 'n_tokens_mistral': 644, 'n_tokens_neox': 636, 'n_words': 125}