-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Avec une cible d'URL en https://validator-api-v1.ign.fr/api/validations , pour permettre la gestion d'envoi de gros fichier, on devra sûrement revoir le principe d'appel à l'API comme suit :
- Etape 1 - Création d'une validation :
POST /api/validations {...standard + paramètres...}
On obtient un identifiant de validation (revient à déclarer un upload)
-
Etape 2 - Envoi du fichier à valider :
- Option 1) pour envoi d'un fichier de taille raisonnable :
POST /api/validations/{id}/upload
- Option 2) pour envoi des morceaux d'un gros fichier :
POST /api/validations/{id}/upload-part
- Option 1) pour envoi d'un fichier de taille raisonnable :
-
Etape 3 - Lancement de la validation :
POST /api/validations/{id}/launch
( c.f. https://github.com/1up-lab/OneupUploaderBundle#oneupuploaderbundle et https://blueimp.github.io/jQuery-File-Upload/ pour les upload par morceau)
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on