Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
RASA-X API - PUT stories does add instead of replace #4168
Rasa version: 1.1.4
Rasa X version: 0.20.0
PUT appears to be identical to POST for stories.
Content of stories file (if relevant):
# new story 1, stories1.md * hello - utter_hi_there # new story 2, stories1.md * hello - utter_hi_there
Thanks for letting us know about this bug, I tested it on my end with the same result so I'll add it to the backlog.
@rgstephens I fixed the problem that stories are added when they should be updated.
The endpoint deletes all the old stories and adds the new ones (means it there stories are replaced). How could we make this behaviour more obvious? The API spec describes the endpoint by saying it