Breaking Changes in the API

Anything concerning integration via the REST API
Post Reply
Bastian
Posts: 33
Joined: Tue Dec 04, 2018 6:18 pm

Breaking Changes in the API

Post by Bastian »

Hi all,

I just found out today that there have been (again) breaking changes to the API in my latest version 4.2.1. :shock:

I did not find any note about this in the breaking changes in the version logs...

The call that I used to query cabinets is not working anymore (probably the others as well). I just get a 404 error

here's the query that worked in 4.0.x:

Code: Select all

http://edms.local:8000/api/v4/search/cabinets.CabinetSearchResult/?label="K02809"'
Thanks in advance.
Bastian
Posts: 33
Joined: Tue Dec 04, 2018 6:18 pm

Re: Breaking Changes in the API

Post by Bastian »

at least I get a HTTP Return Code of 200 when changing to this:

Code: Select all

http://edms.local:8000/api/v4/search/cabinets.cabinetsearchresult/?label="K02809"'
but still I get no result

anyone any ideas?
Bastian
Posts: 33
Joined: Tue Dec 04, 2018 6:18 pm

Re: Breaking Changes in the API

Post by Bastian »

I just found the note in the backward incompatible changes for 4.2 that the api calls are no lower case...
Bastian
Posts: 33
Joined: Tue Dec 04, 2018 6:18 pm

Re: Breaking Changes in the API

Post by Bastian »

search works now again

issue was a mixture of changed API calls and a messed up search index (I guess)
Post Reply