create_publication
Create a new publication on cwbe by providing a title, publication type, copyright terms, multilingual headers and descriptions, a readme, and a cover image path.
Instructions
Create a new publication on cwbe. All 9 langs are required in both
headers and descriptions. cover_path is an absolute local path to
a JPEG cover image (required by cwbe).
Args: title: Canonical title (e.g. "The Iliad"). publication_type: "ONETIME_UPLOAD" | "CONTINUOUS_UPLOADS". copyright_terms: List of terms (e.g. ["PUBLICATION_PLUS_95", "LIFE_PLUS_70", "UNKNOWN", "LIFE_PLUS_100"]). headers: Per-lang display title, ALL 9 langs required. descriptions: Per-lang summary, ALL 9 langs required. readme: Authoring README markdown (style guide, glossary, etc.). cover_path: Absolute path to cover JPEG. archived: Default False. is_complete: Default False.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| publication_type | Yes | ||
| copyright_terms | Yes | ||
| headers | Yes | ||
| descriptions | Yes | ||
| readme | Yes | ||
| cover_path | Yes | ||
| archived | No | ||
| is_complete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |