shaarli / Shaarli

The personal, minimalist, super-fast, database free, bookmarking service - community repo

Home Page:https://shaarli.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API History "event": "CREATED" and "DELETED" Issue

gitvnt opened this issue · comments

commented

Hello all,

It looks like there is a problem since version 0.12.x in the history API: creating a link does not generate a "CREATED" event and deleting a link does not generate a "DELETED" event.

To reproduce the error :

  • Create a link from the web interface
  • Test the API history: expected return "event: "CREATED", received return "event": "UPDATED"
  • Modify the previously created link
  • Test the API history: expected return "event: "UPDATED", received return "event": "UPDATED"
  • Delete the link
  • Test API history: expected return "event": "DELETED" unfortunately no "event" is added after this deletion.

Thanks

Hello, It seems the plugins shaarli-webhooks is broken with this bug