Hi Ryann,

Touching base to see if you still had questions or troubles here.  If so 
can you please provide your full request and response (with all headers and 
body)?

Many thanks,
Wm. Marc O'Brien
Scalr Technical Support

On Thursday, February 9, 2017 at 11:02:37 AM UTC-7, 
ryann...@pingidentity.com wrote:
>
> sorry, the first one was a get on the app the proxy had the post 
> web.proxy.access.log:<ip> (for "-") - - [09/Feb/2017:10:38:52 -0700] "POST 
> /api/v1beta0/user/16/servers/22f81ae5-3bc7-42de-bd97-b469d30f06b4/actions/suspend/
>  
> HTTP/1.1" 302 296 "-" "python-requests/2.2.1 CPython/2.7.6 
> Linux/3.13.0-48-generic"
>
> On Thursday, February 9, 2017 at 11:00:37 AM UTC-7, 
> ryann...@pingidentity.com wrote:
>>
>> 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, 
>> ryann...@pingidentity.com 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 scalr-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to