Open App

Routine Blocks

CLI commands for routine blocks

routine-blocks list

monoid routine-blocks list [options]

List routine-blocks

Options

FlagDescription
--limit <n>Max results
--offset <n>Skip n results
--date <value>Filter by date
--template-id <value>Filter by templateId
--category-id <value>Filter by categoryId

Example

monoid routine-blocks list [options]

routine-blocks get

monoid routine-blocks get <id>

Get one routine-blocks by id

Arguments

NameRequiredDescription
idYes

Example

monoid routine-blocks get <id>

routine-blocks create

monoid routine-blocks create [options]

Create routine-blocks

Options

FlagDescription
--body <json>Request body JSON (merged with flags)
--name <value>name
--start-time <value>startTime
--end-time <value>endTime
--organisation-id <value>organisationId
--template-id <value>templateId
--day-of-week <value>dayOfWeek
--date <value>date
--category-id <value>categoryId
--content <value>content
--block-type <value>blockType
--color <value>color
--if-not-existsReturn existing if match found

Example

monoid routine-blocks create [options]

routine-blocks update

monoid routine-blocks update [options] <id>

Update routine-blocks

Arguments

NameRequiredDescription
idYes

Options

FlagDescription
--body <json>Request body JSON (merged with flags)
--ids <ids>Comma-separated IDs for bulk update (max 25)
--dates <dates>Comma-separated dates for bulk update (max 25)
--name <value>name
--start-time <value>startTime
--end-time <value>endTime
--organisation-id <value>organisationId
--template-id <value>templateId
--day-of-week <value>dayOfWeek
--date <value>date
--category-id <value>categoryId
--content <value>content
--block-type <value>blockType
--color <value>color

Example

monoid routine-blocks update [options] <id>

routine-blocks delete

monoid routine-blocks delete [options] <id>

Delete routine-blocks

Arguments

NameRequiredDescription
idYes

Options

FlagDescription
--ids <ids>Comma-separated IDs for bulk delete (max 25)
--dates <dates>Comma-separated dates for bulk delete (max 25)

Example

monoid routine-blocks delete [options] <id>

See Routine Blocks API reference for HTTP endpoint details.