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

194
Vistas
Get file path from list recent files using Microsoft graph API

I'm new to Microsoft graph API where I query:

GET /me/drive/recent

List recent files

But I have just one problem with the JSON response. The attribute: "webDavUrl" returns an encoded string with the file path.

Example of the attribute "webDavUrl" with the encoded value:

 "webUrl": sitename/Documents/Microsoft%20Teams%20Chat%20Files/Inla%CC%88mningsuppgift%20-%20test%20test.pdf",

Is it possible to return a file path in the list of recent files without the encoding in Microsoft graph API or do I need to decode the string myself?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Graph API returns only encoded url and you have to decode it by yourself.

In JS it should be simple by calling decodeURI() function.

const encodedUrl = 'sitename/Documents/Microsoft%20Teams%20Chat%20Files/Inla%CC%88mningsuppgift%20-%20test%20test.pdf';

// decode complete URL
const url = decodeURI(encodedUrl);
about 4 years ago · Juan Pablo Isaza Denunciar
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