Skip to content

Projects Methods

projects.list

as_api().projects.list()
List the alerts for which the user is subscribed.

projects.create

as_api().projects.create(org, display_name=None, description=None)

Create a project and attach it to the specified organization.

Parameters

  • org: String.
  • display_name: Optional. String. Name to show in the display.
  • description: Optional. String. More detailed description of the project.

projects.transfer

as_api().projects.transfer(project, transfer_to=None)

Move the specified project from one organization to another.

Note

To perform this action, both organizations must be accessible to the user.

  • project: Integer. Project Id.
  • transfer_to: Optional. String. Organization to transfer to.

projects.alerts.subscribe

as_api().projects.alerts.subscribe(project, alert_type) 

Subscribe for specified alerts.

Parameters

  • project: Integer. Project Id.
  • alert_type: List of integers. Alert types for project subscription. Options are: all, started, stopped, ended, failed, data-warning.

projects.alerts.unsubscribe

as_api().projects.alerts.unsubscribe(project, alert_type)

Unsubscribe from specified alerts.

Parameters

  • project: Integer. Project Ids.
  • alert_type: List of strings. Alert types for project unsubscription. Options are: all, started, stopped, ended, failed, data-warning.

projects.alerts.list

as_api().projects.alerts.list() 

List the alerts for which the user is subscribed.