Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

250
Vistas
Return all user files using gapi.client.drive.files.list

I'm creating an application that needs to return all the files created, but when using the gapi.client.drive.files.list api, it only returns the files created by this api and not those created by the user himself directly from the drive, can anyone help me? The code I'm using is this:

function showList(callback) {
gapi.client.drive.files.list({
   // q: "name contains '" + file_prefix + "'",
    fields: 'nextPageToken',
    spaces: 'drive',
    //corpus: 'domain',
  //  auth: this.auth
  }, function(err, response) {
    if(err) {
      console.log('Error : findFiles failed. ' + err);
      callback(err);
    } else {
      callback(null,response.files);
    }
  });

}

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda