| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A system to process image data from CSV files asynchronously using FastAPI, Motor (async MongoDB), and Celery.
This project provides two main APIs to upload and process image data from CSV files and check their status.
Method: POST
Content-Type: multipart/form-data
Body:
Example: curl -X POST "http://localhost:8000/upload"
-F "file=@sample.csv"
-F "webhook_url=http://example.com/webhook"
{
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"message": "File uploaded successfully, processing started"
}400: "Only CSV files are allowed" (invalid file type) 400: "Invalid CSV format" (missing required columns)
{
"request_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "completed",
"products": [
{
"serial_number": 1,
"product_name": "SKU1",
"input_image_urls": ["https://www.public-image-url1.jpg"],
"output_image_urls": ["http://localhost:8000/processed_images/1234.jpg"]
}
],
"webhook_url": "http://example.com/webhook",
"created_at": "2025-02-25T12:00:00Z",
"updated_at": "2025-02-25T12:01:00Z"
}404: "Request not found" (invalid request_id)
| Back | FazBrowse Home | New Git URL |