Skip to content

Commit

Permalink
Mention new methods in README
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Nov 4, 2024
1 parent 202a4de commit e59ee50
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,22 @@ The history of a bucket can also be purged with:
client.purge_history(bucket='default')
Attachments
-----------

If the `kinto-attachment plugin <https://github.com/Kinto/kinto-attachment/>`_ is enabled, it is possible to add attachments on records:

.. code-block:: python
client.add_attachment(id="record-id", filepath="/path/to/image.png")
Or remove them:

.. code-block:: python
client.remove_attachment(id="record-id")
Endpoint URLs
-------------

Expand Down

0 comments on commit e59ee50

Please sign in to comment.