WorkerInternal
Upsert Capture agent release catalog from worker sync
Authorization
WorkerApiKey AuthorizationBearer <token>
Shared WORKER_API_KEY secret for worker internal routes
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/internal/worker/capture-agent/releases/sync" \ -H "Content-Type: application/json" \ -d '{ "releases": [ { "version": "string", "publishedAt": "2019-08-24T14:15:22Z", "prerelease": true, "isLatest": true } ], "syncedAt": "2019-08-24T14:15:22Z" }'{ "upserted": 0}Empty
Empty