Liste des fichiers
GET
/v1/mailboxes/{mailbox_id}/filesRenvoie jusqu'à 1 000 fichiers prêts de la boîte aux lettres sélectionnée.
Zones d’autorisation et d’accès · Erreurs et répétitions
Demande
curl -X GET 'https://adapt-mail.com/v1/mailboxes/<mailbox_id>/files' \ -H 'Authorization: Bearer <access_token>'Possibilités
mailbox_idpathNécessairementintegerX-Customer-IDheader- Option 1
stringOption 2null
Réponses
200 Réponse réussie
application/json
array
Éléments du tableau
object
idstring · uuidfilenamestringcontent_typestringsize_bytesintegercreated_atstringDate et heure en UTC. S'il n'y a pas de décalage, la valeur représente également UTC.
401 Connexion requise
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
403 Pas d'accès
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
404 Ressource introuvable
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
409 Conflit d'État
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject
422 Erreur de validation
application/json
object
detailarrayÉléments du tableauobjectlocNécessairementarrayÉléments du tableauOption 1stringOption 2integermsgNécessairementstringtypeNécessairementstring
503 Indisponibilité temporaire
application/json
object
detail- Option 1
stringOption 2objectcodestringmessagestring
Option 3arrayÉléments du tableauobject