Container Station 2.4 - Where is the REST API?

Post Reply
User avatar
uwe_k
Starting out
Posts: 19
Joined: Sun Dec 15, 2013 3:55 am

Container Station 2.4 - Where is the REST API?

Post by uwe_k »

Hello,

I miss the REST API. When I try to send a command I get:
Bild2.png
Uwe
You do not have the required permissions to view the files attached to this post.
User avatar
dolbyman
Guru
Posts: 35015
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Container Station 2.4 - Where is the REST API?

Post by dolbyman »

Best to open a ticket .. how are we supposed to know why and what QNAP changes ? (QNAP does not come here)
User avatar
uwe_k
Starting out
Posts: 19
Joined: Sun Dec 15, 2013 3:55 am

Re: Container Station 2.4 - Where is the REST API?

Post by uwe_k »

I did it

Uwe
jhanson999
Starting out
Posts: 15
Joined: Fri Mar 27, 2015 11:48 pm

Re: Container Station 2.4 - Where is the REST API?

Post by jhanson999 »

Did you figure this out? I've got the same issue now.
mtemplin
New here
Posts: 5
Joined: Fri Oct 02, 2009 3:16 pm

Re: Container Station 2.4 - Where is the REST API?

Post by mtemplin »

I have the same issue, I believe since update to FW 4.5.4.1741
I'm already in touch with Qnap support, but up until now it has not been very helpful.
Container station is running, containers are accesible but URL / API for CS Management GUI gives me same error as the one from uwe_k shown above.
Any ideas on that?
jhanson999
Starting out
Posts: 15
Joined: Fri Mar 27, 2015 11:48 pm

Re: Container Station 2.4 - Where is the REST API?

Post by jhanson999 »

You are right about the version. I managed to fix it by downgrading. I went through qnap support too, been waiting on responses. They eventually admitted it was an issue with the new version and just told me to wait for the next. So when the next version came out and I upgraded, I was pretty ** when it was still broke. I reopened the ticket with qnap and am on week 2 of waiting for a response.
Last edited by jhanson999 on Wed Oct 13, 2021 3:26 am, edited 2 times in total.
mtemplin
New here
Posts: 5
Joined: Fri Oct 02, 2009 3:16 pm

Re: Container Station 2.4 - Where is the REST API?

Post by mtemplin »

Good news: A long journey comes to an end after chatting with Qnap regularly for the past four weeks:

Try "Download Diagnostic Report" in CS on QTS GUI.
You'll get a .tbz file
Open etc/config/qpkg.conf in text editor
Look for section [container-station], there it says what the URL looks like. In my case it was written with a dash instead of written together:

WebUI = /container-station/

The downside: In my bookmarks it has been /containerstation for years already. Since I never changed or even touched that config file, this must have been changed by one of the past updates or -what I won't hope 'cause it would be the very worst- by somebody else :shock:

Hope this helps.
Regards -- Michael
jhanson999
Starting out
Posts: 15
Joined: Fri Mar 27, 2015 11:48 pm

Re: Container Station 2.4 - Where is the REST API?

Post by jhanson999 »

You are correct, it definitely looks like they changed the url from containerstation to container-station. Unfortunately, the api is still unavailable for me :-( I do think I will have to update my api calls to this new url format though, so thank you for the find!
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: Container Station 2.4 - Where is the REST API?

Post by oyvindo »

Interesting!
And off course the URL for file station is without the dash.
Certainly, QNAP doesn't have a reputation for consistency.
ImageImageImage
jhanson999
Starting out
Posts: 15
Joined: Fri Mar 27, 2015 11:48 pm

Re: Container Station 2.4 - Where is the REST API?

Post by jhanson999 »

As of version 2.4.3.208, it is still broken. After months of trying to get qnap support to give a damn, it is still broken.
User avatar
uwe_k
Starting out
Posts: 19
Joined: Sun Dec 15, 2013 3:55 am

Re: Container Station 2.4 - Where is the REST API?

Post by uwe_k »

Problem solved.

After replaceing "containerstation" with "container-station" in the api url, I was able to use it again.

Uwe
Ashpool
New here
Posts: 7
Joined: Wed Nov 12, 2014 8:07 am

Re: Container Station 2.4 - Where is the REST API?

Post by Ashpool »

Thankyou @mtemplin. Stupid problem, good fix
Post Reply

Return to “Container Station”