API: Renamed Quality Profiles to Profiles

This change in the dev branch breaks the “add a series” option in NZB 360.

The message returned in the app is “Retrieving quality profiles, try again in a few minutes”.

Any idea when this change will be released to the master branch please, just so the developer has time to fix?

Thanks.

Is it still a problem? I made a fix yesterday that should get it working again.

Did you? I wasn’t aware.

I’ve been speaking to Kev about it for a while and just thought I’d ask the question.

I’ll check now.

I suspect the rest api client in nzb360 doesn’t support redirects.
We’ll probably have to call the other module internally.

@Taloth permanent redirects are a problem “temporary” ones work, Postman (Chrome extension) had the same issue as did drone’s UI. Once I switched it to temporary it worked just fine in all those. I had a user in IRC test it as well (zombu2), he said it was working.

It’s in the change log :smile: Let us know though.

You may be correct @Taloth.

Although I don’t get that “Retrieving quality profiles, try again in a few minutes” message any more, I do get this now:

Somewhat related, but thats on drone’s side, I’ll take a look later.

1 Like

Stupid question, but where is the change log please ??

Thanks :smile:

System → Update in the drone UI

OK, I thought there was somewhere else.

This is what you are referring to:

2.0.0.1794 - Aug 14 2014
Fixed Removed redirect permanent from old quality profile endpoint

Thanks.

I’m not able to reproduce this other error, looks like nzb360 may not be sending in either the ProfileId (new) or the QualityProfileId (old) as drone will convert it properly (which I just retested).

He wasn’t aware of the change until we pointed it out to him and so hasn’t incorporated it in to his code, plus he has been on vacation, so I assume his app is calling the original method you mention.

We wrote the legacy endpoint to remain backward compatible. But it seems not every client understands the redirect.

I’ve pointed the developer at this thread, so hopefully he can fix it.

I’m thinking we should just drop the redirect and do a internal call to the other module.

@Taloth that was the original issue (Permanent directs do not work). This issue is about POSTing to add a new series, it doesn’t work, the seriers endpoitn accepts both ProfileId and QualityProfileId, preferring the former, but will set the ProfileId to the QualityProfileId if its the only one set.

Changing the redirect to a module call won’t fix the issue, as thats no longer the issue.

Checked with a tablet, it indeed queries the new endpoint after the SeeOther.
But since I don’t have Nzb360 pro, I couldn’t see what nzb360 sends over the line to the AddSeries endpoint.