Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8439277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:57:59+00:00 2026-06-10T07:57:59+00:00

I’m trying to list only entries in the root via the Google Documents API

  • 0

I’m trying to list only entries in the root via the Google Documents API v3.0. Some users have thousands of files, so requesting the full feed over a mobile data connection takes way too long.

Adding a “q=’root’ in parents” query to a document list request only returns one file, despite the fact that there are many files in my root. This happens in our REST app, and can be replicated with the OAuth2 playground. I’ve also tried various URL encodings:

https://docs.google.com/feeds/default/private/full?q='root'%20in%20parents
https://docs.google.com/feeds/default/private/full?q=%27root%27+in+parents
https://docs.google.com/feeds/default/private/full?q=%27root%20%20in%20parents

Here is the output of the OAuth2 playground:

Request:

GET /feeds/default/private/full?q='root'%20in%20parents HTTP/1.1
Host: docs.google.com
Gdata-version: 3.0
Content-length: 0
Authorization: OAuth (removed)

Response:

HTTP/1.1 200 
Gdata-version: 3.0
Content-length: 4997
Via: HTTP/1.1 GWA
Content-location: https://docs.google.com/feeds/default/private/full?q='root'%20in%20parents
X-content-type-options: nosniff
Etag: W/"AkAMSXcyfit7ImA9WhJWFU4."
Expires: Tue, 21 Aug 2012 08:46:29 GMT
Vary: Accept, X-GData-Authorization, GData-Version
X-google-cache-control: remote-fetch
Server: GSE
Last-modified: Tue, 21 Aug 2012 08:46:28 GMT
X-xss-protection: 1; mode=block
Cache-control: private, max-age=0, must-revalidate, no-transform
Date: Tue, 21 Aug 2012 08:46:29 GMT
X-frame-options: SAMEORIGIN
Content-type: application/atom+xml; charset=UTF-8; type=feed
-content-encoding: gzip
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:docs='http://schemas.google.com/docs/2007' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;AkAMSXcyfit7ImA9WhJWFU4.&quot;'><id>https://docs.google.com/feeds/default/private/full</id><updated>2012-08-21T08:46:28.996Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/docs/2007#item' label='item'/><title>Available Documents - brains.for.rent@gmail.com</title><link rel='alternate' type='text/html' href='https://docs.google.com'/><link rel='http://schemas.google.com/g/2005#resumable-create-media' type='application/atom+xml' href='https://docs.google.com/feeds/upload/create-session/default/private/full'/><link rel='http://schemas.google.com/docs/2007#alt-post' type='application/atom+xml' href='https://docs.google.com/feeds/upload/file/default/private/full'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full'/><link rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full'/><link rel='http://schemas.google.com/g/2005#batch' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full/batch'/><link rel='self' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full?q=%27root%27+in+parents'/><author><name>brains.for.rent</name><email>brains.for.rent@gmail.com</email></author><openSearch:startIndex>1</openSearch:startIndex><entry gd:etag='&quot;WlEQVU5RRCt7ImBk&quot;'><id>https://docs.google.com/feeds/id/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw</id><published>2012-03-25T00:31:20.449Z</published><updated>2012-03-25T00:31:20.449Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-06-26T09:54:47.811Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/docs/2007#file' label='text/plain'/><category scheme='http://schemas.google.com/g/2005/labels' term='http://schemas.google.com/g/2005/labels#modified-by-me' label='modified-by-me'/><title>_bowie.txt</title><content type='text/plain' src='https://doc-14-28-docs.googleusercontent.com/docs/securesc/jop11jq8q8326onuco763m92b29jcdfk/dh4ie9qrgpm9eub14drrse8ni0fsb4ku/1345536000000/09632875278015879870/09632875278015879870/0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw?h=16653014193614665626&amp;e=download&amp;gd=true'/><link rel='http://schemas.google.com/docs/2007#parent' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full/folder%3A0B4sxUOzToIviNGNKMGZEbENRVUNrZGtNQ1ZqN3BfZw' title='conv'/><link rel='alternate' type='text/html' href='https://docs.google.com/file/d/0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw/edit'/><link rel='http://schemas.google.com/docs/2007#icon' type='image/png' href='https://ssl.gstatic.com/docs/doclist/images/icon_10_text_list.png'/><link rel='http://schemas.google.com/g/2005#resumable-edit-media' type='application/atom+xml' href='https://docs.google.com/feeds/upload/create-session/default/private/full/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw'/><link rel='http://schemas.google.com/docs/2007#alt-edit-media' type='application/atom+xml' href='https://docs.google.com/feeds/upload/file/default/private/full/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw'/><link rel='self' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw'/><link rel='edit' type='application/atom+xml' href='https://docs.google.com/feeds/default/private/full/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw'/><link rel='edit-media' type='text/plain' href='https://docs.google.com/feeds/default/media/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw'/><author><name>brains.for.rent</name><email>brains.for.rent@gmail.com</email></author><gd:resourceId>file:0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw</gd:resourceId><docs:modifiedByMeDate>2012-03-25T00:31:20.443Z</docs:modifiedByMeDate><gd:lastModifiedBy><name>brains.for.rent</name><email>brains.for.rent@gmail.com</email></gd:lastModifiedBy><gd:quotaBytesUsed>353894</gd:quotaBytesUsed><docs:writersCanInvite value='false'/><docs:md5Checksum>d9fb3e201d3dcc724d5ed5d05cf27b98</docs:md5Checksum><docs:filename>_bowie.txt</docs:filename><docs:suggestedFilename>_bowie.txt</docs:suggestedFilename><docs:size>353894</docs:size><gd:feedLink rel='http://schemas.google.com/acl/2007#accessControlList' href='https://docs.google.com/feeds/default/private/full/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw/acl'/><gd:feedLink rel='http://schemas.google.com/docs/2007/revisions' href='https://docs.google.com/feeds/default/private/full/file%3A0B4sxUOzToIviLUJGRkJ0VkJSTktQWTNHdWVST2gtdw/revisions'/></entry></feed>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:58:01+00:00Added an answer on June 10, 2026 at 7:58 am

    Have you tried to return the contents of this collection?

    https://docs.google.com/feeds/default/private/full/folder%3Aroot/content
    

    The V3 DocList API has this to say about it:

    If you’re looking for things that are only in the root collection, an easier way to find them is to make the following query…

    -Mike

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have thousands of HTML files to process using Groovy/Java and I need to
I am trying to loop through a bunch of documents I have to put
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have a reasonable size flat file database of text documents mostly saved in
I have a bunch of posts stored in text files formatted in yaml/textile (from
I'm making a simple page using Google Maps API 3. My first. One marker
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.