HF RL Explorer

REST API - Bulk Create or Update Documents in a Single Request

REST API - Bulk Create or Update Documents in a Single Request: a task in Terminal-Lego-15k (Harbor dataset). Design and implement a REST API that supports bulk creating or updating Doc resources and assigning them to Binder resources in a single request. The API should handle the "upsert"…

The task

Design and implement a REST API that supports bulk creating or updating `Doc` resources and assigning them to `Binder` resources in a single request. The API should handle the "upsert" pattern: if a document exists, update its binder assignment; if it doesn't exist, create it and then assign it.

Part of PrimeIntellect/Terminal-Lego-15k.