folder content
What is the parameter(s) to list the content of a folder.
I tried:
id with the list method from files
so something like
{id
Comments are currently closed for this discussion. You can start a new one.
Log in to Put.io
What is the parameter(s) to list the content of a folder.
I tried:
id with the list method from files
so something like
{id
Comments are currently closed for this discussion. You can start a new one.
2 Posted by tryp on 27 May, 2011 04:37 PM
sry it seems to have gobbled up my example
i should have checked out the formatting guide oops :(
{"id":"98765"}3 Posted by tryp on 31 May, 2011 07:00 AM
just updating my details as i got them wrong in the other 2 posts
Support Staff 4 Posted by hasan on 31 May, 2011 03:25 PM
Hi Tryp,
Do you still need help, or is everything fine?
Also I'm curious, what are you building with the API?
Cheers.
--
Hasan Yalcinkaya
Co-founder, http://put.io
5 Posted by tryp on 31 May, 2011 03:33 PM
hay,
I am building an ios app..the one i mentioned before
ya still struggling with the sub folder list
i can get it to return the root content but i cant access the content of a sub folder i tried passing in the id as a parameter but that just returns the folder with that id i need the list of content in that folder
thx :)
6 Posted by tunix on 31 May, 2011 03:45 PM
Hello tryp,
First of all I'd like to thank you for your efforts for developing an iOS
app for put.io. Maybe we can also help you in our spare time if your source
code would be open. APIv1 has an unexpected way of getting folder listing.
You can learn how to do it in our XBMC app's code at
https://github.com/tunix/xbmc.put.io/blob/master/resources/lib/common.py ,
see line 64.
When we get our hands on APIv2, all your problems will be over including
such awkward ways of pulling things and the documentation.
---
Quis custodiet ipsos custodes?
7 Posted by tryp on 31 May, 2011 03:59 PM
Sweet that totally worked
i needed to set the parent_id instead of the id which is what i was doing
api v2 when is that coming out? beta access ;) ?
no worries man doing it for me too as much as for you guys.
ya i can put the source up once i have api access layer ready...i am not writing a full on implementation but enough to get the app working.
8 Posted by tunix on 31 May, 2011 04:16 PM
Hello tryp,
APIv2 is still in decision process. We currently have our hands full with
auto extraction, rename for files and a lot more. Once all of these changes
are ready for production (very soon I can say) we'll get our hand on APIv2
which will also include a huge rewrite of our infrastructure at some time.
---
Quis custodiet ipsos custodes?
9 Posted by tryp on 01 Jun, 2011 07:54 AM
fair enough
good luck with the updates :)
tunix closed this discussion on 01 Jun, 2011 07:56 AM.