Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: users

Bric::SOAP::Story list_ids parameters

 

 

Bricolage users RSS feed   Index | Next | Previous | View Threaded


nelio.nunes at sapo

Jun 2, 2011, 4:21 AM

Post #1 of 5 (617 views)
Permalink
Bric::SOAP::Story list_ids parameters

Hi guys,

I'm trying to use list_ids via SOAP::Lite with the parameters Limit, Order and OrderDirection. Although they appear to be allowed parameters, the results are the same with or without any of those.

Any ideas?

Nélio


david at kineticode

Jun 3, 2011, 9:32 AM

Post #2 of 5 (575 views)
Permalink
Re: Bric::SOAP::Story list_ids parameters [In reply to]

On Jun 2, 2011, at 4:21 AM, Nélio Nunes wrote:

> I'm trying to use list_ids via SOAP::Lite with the parameters Limit, Order and OrderDirection. Although they appear to be allowed parameters, the results are the same with or without any of those.

For what object? Only story, media, and template support those params, IIRC.

Best,

David


nelio.nunes at sapo

Jun 4, 2011, 3:31 AM

Post #3 of 5 (574 views)
Permalink
Re: Bric::SOAP::Story list_ids parameters [In reply to]

Story

the code sequence is:

$soap->uri($host.'/Bric/SOAP/Story');

my $story_ids = $soap->list_ids(
name( element_key_name => 'gallery' ),
name( Limit => "5" ),
name( Order => 'id' ),
name( OrderDirection => 'DESC' )
)->result;

These parameters are passed to Bric::Biz::Asset::Business::Story on the bric server, buth then it returns all the id's.

Cheers

On 2011/06/03, at 17:32, David E. Wheeler wrote:

> On Jun 2, 2011, at 4:21 AM, Nélio Nunes wrote:
>
>> I'm trying to use list_ids via SOAP::Lite with the parameters Limit, Order and OrderDirection. Although they appear to be allowed parameters, the results are the same with or without any of those.
>
> For what object? Only story, media, and template support those params, IIRC.
>
> Best,
>
> David
>


david at kineticode

Jun 4, 2011, 4:10 PM

Post #4 of 5 (570 views)
Permalink
Re: Bric::SOAP::Story list_ids parameters [In reply to]

On Jun 4, 2011, at 3:31 AM, Nélio Nunes wrote:

> the code sequence is:
>
> $soap->uri($host.'/Bric/SOAP/Story');
>
> my $story_ids = $soap->list_ids(
> name( element_key_name => 'gallery' ),
> name( Limit => "5" ),
> name( Order => 'id' ),
> name( OrderDirection => 'DESC' )
> )->result;
>
> These parameters are passed to Bric::Biz::Asset::Business::Story on the bric server, buth then it returns all the id's.

Does it work using bric_soap?

Best,

David


nelio.nunes at sapo

Jun 6, 2011, 7:51 AM

Post #5 of 5 (568 views)
Permalink
Re: Bric::SOAP::Story list_ids parameters [In reply to]

Tried using bric_soap --search Limit=5. The results are the same.

On 2011/06/05, at 00:10, David E. Wheeler wrote:

> On Jun 4, 2011, at 3:31 AM, Nélio Nunes wrote:
>
>> the code sequence is:
>>
>> $soap->uri($host.'/Bric/SOAP/Story');
>>
>> my $story_ids = $soap->list_ids(
>> name( element_key_name => 'gallery' ),
>> name( Limit => "5" ),
>> name( Order => 'id' ),
>> name( OrderDirection => 'DESC' )
>> )->result;
>>
>> These parameters are passed to Bric::Biz::Asset::Business::Story on the bric server, buth then it returns all the id's.
>
> Does it work using bric_soap?
>
> Best,
>
> David
>

Bricolage users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.