mr note-type get
Get a note type by ID and print its fields. The server has no
single-NoteType GET endpoint, so the CLI fetches the full list and
filters in-process; this is slower than a direct lookup on large
instances. The table output shows five core fields (ID, Name, Description,
Created, Updated). The --json flag emits the full server response,
including MetaSchema, SectionConfig, CustomHeader, and other Custom* fields.
Usage
mr note-type get <id>
Positional arguments:
<id>
Examples
Get a note type by ID (table output)
mr note-type get 1
Get as JSON and extract the name with jq
mr note-type get 1 --json | jq -r .Name
Flags
This command has no local flags.
Inherited global flags
| Flag | Type | Default | Description |
|---|---|---|---|
--json | bool | false | Output raw JSON |
--no-header | bool | false | Omit table headers |
--page | int | 1 | Page number for list commands (default page size: 50) |
--quiet | bool | false | Only output IDs |
--server | string | http://localhost:8181 | mahresources server URL (env: MAHRESOURCES_URL) |
Output
Full server NoteType JSON (--json); table with ID, Name, Description, Created, Updated (default)
Exit Codes
0 on success; 1 on any error