# service.query

Sent on service changes.

Type: object

##

#### ServiceAddedEvent

Type: object
No Additional Properties

##

#### Id

Type: integer

##

#### ServiceEntry

Type: object
No Additional Properties

##

#### Id

Type: integer

Unique identifier for the service.

##

#### Service

Type: string

Name of the system service.

##

#### Enable

Type: boolean

Whether the service is enabled to start on boot.

##

#### State

Type: string

Current state of the service (e.g., 'RUNNING', 'STOPPED').

##

#### Pids

Type: array of integer

Array of process IDs associated with this service.

No Additional Items

##### Each item of this array must be:

Type: integer

##

#### ServiceChangedEvent

Type: object
No Additional Properties

##

#### Id

Type: integer

##

#### ServiceEntry

Type: object
No Additional Properties

##

#### Id

Type: integer

Unique identifier for the service.

##

#### Service

Type: string

Name of the system service.

##

#### Enable

Type: boolean

Whether the service is enabled to start on boot.

##

#### State

Type: string

Current state of the service (e.g., 'RUNNING', 'STOPPED').

##

#### Pids

Type: array of integer

Array of process IDs associated with this service.

No Additional Items

##### Each item of this array must be:

Type: integer

##

#### ServiceRemovedEvent

Type: object
No Additional Properties

##

#### Id

Type: integer

Required roles: SERVICE_READ