maton one-drive item get

maton one-drive item get [<item-id>] [flags]

Show metadata for a drive item. Pass an item ID, the literal “root” for the drive root (/me/drive/root), or –special for a well-known folder (documents, photos, cameraroll, approot, music).

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--expand <string>
Relationships to expand ($expand), e.g. children,thumbnails
-q, --jq <expression>
Filter JSON output using a jq expression
--json
Output raw JSON
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--select <string>
Comma-separated fields ($select)
--special <string>
Well-known folder name: documents, photos, cameraroll, approot, music
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

ALIASES

maton one-drive items view, maton one-drive item view

Examples

$ maton one-drive item get 01ABCDEF
$ maton one-drive item get 01ABCDEF --expand children
$ maton one-drive item get root
$ maton one-drive item get --special documents

See also