Comments

14 comments

  • Andreas Garnæs

    Hi Muhammad,

    Please use the parameters order and limit to paginate through the results.

    Best,
    Andreas

    0
    Comment actions Permalink
  • Muhammad Yasar K

    Hi Andreas,
    Thanks for your reply.
    I used those parameters, but it still returns only 100 apps. I didn't get the apps from 101th one. :(

    0
    Comment actions Permalink
  • Andreas Garnæs

    Could you share the requests you're making please (full URL, HTTP method, query parameters and post body)?

    0
    Comment actions Permalink
  • Muhammad Yasar K

    $attributes = array("referenceable_in_org" => intval(-id-),"target_space_id"=>intval(-id-),"order"=>"name", "limit" => 100);

    PodioApp::get_all( $attributes );

    0
    Comment actions Permalink
  • Andreas Garnæs

    You should then make a second call with "offset" => 100 to get the next 100.

    0
    Comment actions Permalink
  • Muhammad Yasar K

    Sadly, It returns the same list of apps.
    "offset" is not working. :(

    0
    Comment actions Permalink
  • Andreas Garnæs

    Ah, my mistake. Could you try Get Apps by Space instead?

    0
    Comment actions Permalink
  • Muhammad Yasar K

    Yes,Thanks.
    I tried it, but it didn't return "rights". :(

    0
    Comment actions Permalink
  • Andreas Garnæs

    If you add the query parameter fields=rights to the request, you can get the rights :)

    0
    Comment actions Permalink
  • Muhammad Yasar K

    in that API I can pass only "include_inactive". :(

    0
    Comment actions Permalink
  • Andreas Garnæs

    Try passing it in anyway..

    0
    Comment actions Permalink
  • Muhammad Yasar K

    No,its not working. :(

    0
    Comment actions Permalink
  • Andreas Garnæs

    I just tried GET https://api.podio.com/app/space/SPACE_ID?fields=rights and it is working for me. Are you sure you're making the right request?

    0
    Comment actions Permalink
  • Muhammad Yasar K

    Oh,yes! thats works.
    Thanks for your time.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk