Classes
Methods
# async availablealerts() → {Promise.<Array.<String>>}
Returns all available alerts for autopilots.
Promise.<Array.<String>>
# async create(autopilot) → {Promise.<Autopilot>}
Creates a new autopilot for the project with the specified id. Also creates and enables all alerts for the new autopilot. For this action, the user needs to be the owner of the project or must have 'read' permissions of the feature 'project-master-data' globally or in his project role.
Parameters:
Name | Type | Description |
---|---|---|
autopilot |
AutopilotCreateModel
|
The model to create a autopilot for a specific project. |
Promise.<Autopilot>
# async delete() → {Promise.<void>}
Deletes the autopilot of the project with the specified id. To access and modify the autopilot data the user needs to be the owner of the project or must have 'read' permissions of the feature 'project-master-data' globally or in his project role.
Promise.<void>
# async get() → {Promise.<Autopilot>}
Returns the autopilot with the specified id of the project with the specified id. Returns NoContent if the project does not have an autopilot setup. To get the autopilot data the user needs to be the owner of the project or must have 'read' permissions of the feature 'project-master-data' globally or in his project role.
Promise.<Autopilot>
# async update(autopilot) → {Promise.<Autopilot>}
Updates the autopilot of the project with the specified id. To access and modify the autopilot data the user needs to be the owner of the project or must have 'read' permissions of the feature 'project-master-data' globally or in his project role.
Parameters:
Name | Type | Description |
---|---|---|
autopilot |
AutopilotUpdateModel
|
The model to update a autopilot for a specific project. |
Promise.<Autopilot>