5.11.22 (Community Edition)
I'm running 
/api/v1beta0/user/16/servers/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/actions/suspend/

and getting returned(and logged)

web.app.access.log:127.0.0.1 (for "<ip>") - - [09/Feb/2017:10:53:48 -0700] 
"GET 
/api/v1beta0/user/16/servers/4cdbfd4c-90be-430c-8c7c-d478de7cdea1/actions/suspend/
 
HTTP/1.1" 404 158 "-" "python-requests/2.2.1 CPython/2.7.6 
Linux/3.13.0-48-generic"




On Wednesday, February 8, 2017 at 10:24:02 PM UTC-7, 
[email protected] wrote:
>
> I'm seeing this in community version 5.11.22, is this something that was 
> taken out?
>
> On Wednesday, August 10, 2016 at 12:49:02 AM UTC-6, Vinod Pattel wrote:
>>
>> Hi,
>>
>> I am trying to use Scalr APIs to automate few things. I see few APIs 
>> return 404 response, while the requests are still valid.
>> Couple of them are listed below.
>> There is an environment with ID 17, containing a Farm with ID 8.
>>
>> 1. scalr -e 17 list-servers --farm-id=8  <<-- This command returns the 
>> list of servers in farm 8.
>>
>> I try to get the same list using API call: 
>> /api/v1beta0/user/17/farms/8/servers/?status=running
>> This returns 404 response:
>>
>> GET /api/v1beta0/user/17/farms/8/servers/?status=running - 404
>> API Error (EndpointNotFound): The endpoint you are trying to access does 
>> not exist.
>>
>> 2. I try to get the list of environments using the API - 
>> /api/v1beta0/account/environments/
>> This also returns 404 error.
>>
>> API Key, Secret, URL configurations are proper. I am able to create 
>> farms, farm roles, query farms, farm roles.
>> Few APIs like above fail.
>>
>> Appreciate any help on this.
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to