To pull just spreadsheets, use the spreadsheet category:
http://docs.google.com/feeds/documents/private/full/-/spreadsheet<http://docs.google.com/feeds/documents/private/full/-/folderName?type=spreadsheet>

See:
http://code.google.com/apis/documents/docs/2.0/reference.html#Parameters

-e

On Wed, Jun 24, 2009 at 12:06 PM, Carlos <charleswe...@gmail.com> wrote:

>
> Please correct me if I was using the api incorrectly.
> I also tried
> http://docs.google.com/feeds/documents/private/full/-/folderName?type=spreadsheet
> to try to filter the docs, but it doesn't work either. I had to parse
> the id to check if this document is a spreadsheet or not
> Thanks
> Charlie
>
> On May 21, 9:27 pm, "Eric (Google)" <api.e...@google.com> wrote:
> > Not being able to filter on doctype (using the /folders)
> > feed is a bug.
> >
> > Eric
> >
> > On May 19, 12:16 pm, Manu J <manu.1...@gmail.com> wrote:
> >
> > > Here is another way to trigger this.
> >
> > > Try this in OAuth playground
> >
> > > URL:http://docs.google.com/feeds/documents/private/full/-/bills/
> >
> > > where bills is a folder name which doesn't conflict with stuff like
> > > "mine/starred" ie default names.It will return all the documents
> > > inside that folder. Now star a document in the folder and try this
> >
> > > URL:
> http://docs.google.com/feeds/documents/private/full/-/bills/starred
> >
> > > It will return the correct documents but
> > > URL:
> http://docs.google.com/feeds/documents/private/full/-/bills/document
> >
> > > (or speadsheet or presentation) doesn't return anything.
> >
> > > Regards
> > > Manu
> >
> > > On May 19, 11:44 pm, sandosh <sandosh.vasude...@gmail.com> wrote:
> >
> > > > I am trying to filter a folder contents by Documenttype(document,
> > > > presentation,spreadsheet, pdf)
> >
> > > > This does not work:
> http://docs.google.com/feeds/folders/private/full/folder%3A{FOLDER_ID}/-/spreadsheet
> >
> > > > Although it does work for other categories like starredhttp://
> docs.google.com/feeds/folders/private/full/folder%3A{FOLDER_ID}/-/starred
> >
> > > > What could be the problem? It is on my side or the API ?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to