Get Header Component
get_header_componentRetrieve a header component's schema and rowVersion, with optional usage references to check dependencies before deletion.
Instructions
Get one header component with its schema details and rowVersion. Level 'spec' (needs specId) or 'project'. Set includeUsage to also list what references it — spec level only; do that before deleting one. Requires project context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Which level to read: 'spec' or 'project' | |
| specId | No | Public ID (GUID) of the API specification — required for level 'spec' | |
| versionId | No | Optional version ID (GUID) to narrow includeUsage to one version | |
| componentId | Yes | Public ID (GUID) of the header component | |
| includeUsage | No | Also list what references this component — spec level only (default false) |