Skip to content

Add support for shared actions #36

@danielodievich

Description

@danielodievich

Show list of shared actions
Show how the shared actions are linked to the monitors

query MonitorV2SearchAction($workspaceId: ObjectId, $folderId: ObjectId, $nameExact: String, $nameSubstring: String) {
  searchMonitorV2Action(
    workspaceId: $workspaceId
    folderId: $folderId
    nameExact: $nameExact
    nameSubstring: $nameSubstring
  ) {
    results {
      ...MonitorV2Action
      __typename
    }
    __typename
  }
}

fragment WorkspaceEntity on WorkspaceObject {
  id
  name
  description
  iconUrl
  workspaceId
  managedById
  __typename
}

fragment UserInfo on UserInfo {
  userLabel
  userId
  userTimezone
  __typename
}

fragment AuditedEntity on AuditedObject {
  createdBy
  createdDate
  createdByInfo {
    ...UserInfo
    __typename
  }
  updatedBy
  updatedDate
  updatedByInfo {
    ...UserInfo
    __typename
  }
  __typename
}

fragment FolderEntity on FolderObject {
  folderId
  __typename
}

fragment MonitorV2EmailAction on MonitorV2EmailAction {
  subject
  body
  fragments
  users
  addresses
  __typename
}

fragment MonitorV2WebhookHeader on MonitorV2WebhookHeader {
  header
  value
  __typename
}

fragment MonitorV2WebhookAction on MonitorV2WebhookAction {
  headers {
    ...MonitorV2WebhookHeader
    __typename
  }
  body
  fragments
  url
  method
  __typename
}

fragment MonitorV2Action on MonitorV2Action {
  ...WorkspaceEntity
  ...AuditedEntity
  ...FolderEntity
  id
  inline
  type
  email {
    ...MonitorV2EmailAction
    __typename
  }
  webhook {
    ...MonitorV2WebhookAction
    __typename
  }
  __typename
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions