Skip to Content
Xeonr Developer Docs

Re-classify folders matching a reprocess trigger predicate

POST
/uplim.api.v1.IntegrationAdminService/ReprocessFoldersByPredicate

Folder-side analog of ListUploadsForReprocess. Walks folders matching the predicate (only ct_changed / ct_deleted have meaningful folder logic today), runs ClassifyFolder on each, writes the resulting URN to Folder.thumbnail_content_type_urn, and cascades to the sentinel root upload for virtual files. Inline — no tier-2 queue — because folder reclassify is pure DB and fast enough at realistic scale (handfuls of folders per owning integration).

Required scopes: upl:internal:metadata

Authorization

OAuth2 upl:private
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:private

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

predicate*|||||
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/ReprocessFoldersByPredicate" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{    "predicate": "map[ctDeleted:map[urn:markdown-studio:markdown]]"  }'
{
  "affectedFolderCount": "12"
}