원클릭으로
umbraco-doctype
Document type schema operations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Document type schema operations
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | umbraco-doctype |
| description | Document type schema operations |
| metadata | {"version":"0.4.8","requires":{"bins":["umbraco"],"skills":["umbraco-shared"]}} |
PREREQUISITE: Read
../umbraco-shared/SKILL.mdfor auth, global flags, and security rules.
umbraco doctype <command> [flags]
| Command | Description |
|---|---|
doctype children <id> | Get child document types (paginated; --skip/--take/--all) |
doctype get <id> | Get document type by ID |
doctype list | List document types (paginated; --skip/--take/--all) |
doctype root | Get root document types (paginated; --skip/--take/--all) |
doctype search | Search document types |
umbraco doctype children <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--all | bool | false | Walk every page until exhausted (auto-paginates with --take as the page size, default 500; combine with --skip to start partway through). Bounded by an internal 100k-item ceiling. |
--fields | string | — | Limit response fields (comma-separated top-level keys) |
--first-n | int | 0 | Return only the first N items from item collections |
--ids-only | bool | false | Return only item IDs for item collections |
--params | string | — | Query parameters as JSON |
--skip | int | -1 | Skip count (passes through as ?skip=N; lets you walk past the server page size on large children/root collections) |
--summarize | bool | false | Return only id/name/alias fields for item collections |
--take | int | -1 | Take count (passes through as ?take=N; combine with --skip to page) |
umbraco doctype get <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--fields | string | — | Limit response fields (comma-separated top-level keys) |
umbraco doctype list
| Flag | Type | Default | Description |
|---|---|---|---|
--all | bool | false | Walk every page until exhausted (auto-paginates with --take as the page size, default 500; combine with --skip to start partway through). Bounded by an internal 100k-item ceiling. |
--exclude-folders | bool | false | Alias for --types-only |
--fields | string | — | Limit response fields (comma-separated top-level keys) |
--first-n | int | 0 | Return only the first N items from item collections |
--ids-only | bool | false | Return only item IDs for item collections |
--params | string | — | Query parameters as JSON |
--recursive | bool | false | Walk document type folders recursively |
--skip | int | -1 | Skip count (passes through as ?skip=N; lets you walk past the server page size on large children/root collections) |
--summarize | bool | false | Return only id/name/alias fields for item collections |
--take | int | -1 | Take count (passes through as ?take=N; combine with --skip to page) |
--types-only | bool | false | Return document types only, excluding folders |
umbraco doctype root
| Flag | Type | Default | Description |
|---|---|---|---|
--all | bool | false | Walk every page until exhausted (auto-paginates with --take as the page size, default 500; combine with --skip to start partway through). Bounded by an internal 100k-item ceiling. |
--fields | string | — | Limit response fields (comma-separated top-level keys) |
--first-n | int | 0 | Return only the first N items from item collections |
--ids-only | bool | false | Return only item IDs for item collections |
--params | string | — | Query parameters as JSON |
--skip | int | -1 | Skip count (passes through as ?skip=N; lets you walk past the server page size on large children/root collections) |
--summarize | bool | false | Return only id/name/alias fields for item collections |
--take | int | -1 | Take count (passes through as ?take=N; combine with --skip to page) |
umbraco doctype search
| Flag | Type | Default | Description |
|---|---|---|---|
--params | string | — | Search parameters as JSON; convenience flags fill in missing keys, --params wins on collisions |
--query | string | — | Search query |
--skip | int | -1 | Skip count (passes through as ?skip=N; lets you walk past the server page size on large children/root collections) |
--take | int | -1 | Take count (passes through as ?take=N; combine with --skip to page) |
Safety: Always use
--dry-runfirst. Remove the flag only after verifying the dry-run output.
| Command | Description |
|---|---|
doctype add-container <id> | Append a tab or group container to a document type |
doctype add-property <id> | Append a property to a document type under an existing container alias |
doctype copy <id> | Copy document type |
doctype create | Create document type (pass --element to create an element type) |
doctype move <id> | Move document type |
doctype update <id> | Update document type |
umbraco doctype add-container <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--name | string | — | Display name for the new container |
--parent | string | — | Optional name of an existing parent container (typically a Tab when adding a Group) |
--type | string | — | Container type: Tab or Group |
Safe pattern:
# 1. Dry run first
umbraco doctype add-container <id> --dry-run
# 2. Execute
umbraco doctype add-container <id>
umbraco doctype add-property <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--alias | string | — | Property alias (camelCase identifier) |
--container | string | — | Name of the existing tab/group container that should hold the property (case-insensitive match) |
--data-type | string | — | Data type ID (GUID) backing the property |
--description | string | — | Optional property description |
--dry-run | bool | false | Print the planned request without executing |
--mandatory | bool | false | Mark the property as mandatory |
--name | string | — | Human-readable property name |
Safe pattern:
# 1. Dry run first
umbraco doctype add-property <id> --dry-run
# 2. Execute
umbraco doctype add-property <id>
umbraco doctype copy <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--json | string | — | Action payload as JSON |
--to | string | — | Target parent ID shortcut for {"target":{"id":...}} |
Safe pattern:
# 1. Dry run first
umbraco doctype copy <id> --dry-run
# 2. Execute
umbraco doctype copy <id>
umbraco doctype create
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--element | bool | false | Convenience flag for --json '{...,"isElement":true}'; overrides any isElement set in --json |
--json | string | — | Create payload as JSON |
--print-template | bool | false | Print an annotated JSON skeleton; substitute placeholders before passing to --json |
Safe pattern:
# 1. Dry run first
umbraco doctype create --dry-run
# 2. Execute
umbraco doctype create
umbraco doctype move <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--json | string | — | Action payload as JSON |
--to | string | — | Target parent ID shortcut for {"target":{"id":...}} |
Safe pattern:
# 1. Dry run first
umbraco doctype move <id> --dry-run
# 2. Execute
umbraco doctype move <id>
umbraco doctype update <id>
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | false | Print the planned request without executing |
--json | string | — | Full replacement payload as JSON (fields not mentioned are reset by the server) |
--merge-json | string | — | Partial JSON deep-merged into the current resource before update (fields not mentioned are preserved) |
Safe pattern:
# 1. Dry run first
umbraco doctype update <id> --dry-run
# 2. Execute
umbraco doctype update <id>
# Browse subcommands
umbraco doctype --help
# Inspect a specific endpoint schema
umbraco schema doctype.<method>
Use csv-update to batch-modify a property across multiple documents.
Search for a data type, inspect it, and update its configuration.
Walk the content tree to find a document, update a property, and publish.
Search for documents matching a query and publish them.
Call an authenticated raw Umbraco Management API endpoint
Persistent authentication helpers