action id4i_get_public_document { label: "Retrieve a public document (meta-data only, no content)" provider: id4i method: GET path: "/api/v1/public/documents/{id4n}/{organizationId}/{fileName}/metadata" encoding: json input: { type: "object" properties: { fileName: { type: "string" } id4n: { type: "string" } organizationId: { type: "string" } } required: ["fileName", "id4n", "organizationId"] additionalProperties: false } output: { type: "object" properties: { filename: { type: "string" description: "File Name" } mimeType: { type: "string" description: "Mime Type" } ownerOrganizationId: { type: "string" description: "The organization's namespace which owns the document" } visibility: { type: "object" properties: { public: { type: "boolean" description: "Document is publicly readable (if ID4N is owned by the same organization)" } sharedOrganizationIds: { type: "array" description: "Document is readable by these organizations (independend of ID4N ownership)" items: { type: "string" } } } } } } }