Skip to main content
Wesog Search provides a comprehensive API for managing your image assets with full CRUD operations (Create, Read, Update, Delete). This guide covers the essential concepts and best practices for effective asset management.

Quick Start

Upload images

Upload new images to Wesog Search

Update images

Update existing image metadata

Delete images

Delete images from Wesog Search

Operations Overview

All operations support both single image and batch processing for efficient management of large image collections.
Each image must have a unique identifier (id). The src field should contain the publicly accessible URL of the image.

Key Concepts

Understanding these concepts will help you choose the right configuration for your use case:

Execution Modes

Synchronous (Default)

Best for: Small operations (< 10 uploads, < 50 updates, < 100 deletes)Behavior: Waits for completion before sending response

Asynchronous

Best for: Large batch operationsBehavior: Returns immediately with operation ID for tracking

Processing Modes

Start with Strict + Synchronous for small operations, then switch to Strict + Asynchronous for larger batches.

Error Handling

Operation Monitoring

For asynchronous operations, you can track progress using the operations endpoints:

Operation Status Indicators

If an operation fails (success=false), no database changes are made. Check the error message and retry with corrected data.

Advanced Configuration

Strict Mode Behavior

Best Practices

For Development

  • Use synchronous mode for testing
  • Start with small batches
  • Validate data structure first

For Production

  • Use asynchronous for large operations
  • Monitor operation status
  • Implement retry logic for failures