Folders

Put Folder Metadata Schema

Declare the metadata schema for a workspace, or the user-level schema when folder_id == "root". Immutable: subsequent PUT returns 409. Use DELETE to clear and re-PUT.

put/folder/{folder_id}/metadata/schema

Request

  • Base URL: https://api.pageindex.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.pageindex.ai/folder/{folder_id}/metadata/schema
  • Auth: none declared

Path parameters

folder_idstring required

Top-level folder (workspace) ID, or "root" for the user-level schema

Request body

object required

Schema JSON, e.g. {"fields":{"year":{"type":"number"}}}

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.