...

Text file src/edge-infra.dev/pkg/edge/api/graph/schema/log_classification_queries.graphql

Documentation: edge-infra.dev/pkg/edge/api/graph/schema

     1extend type Query {
     2  """
     3  Get the classifications based on the BannerEdgeID and logClassificationEdgeID passed in
     4  TODO: TO BE DEPRECATED IN 0.25 @RS185722
     5  """
     6  getLogClassification(
     7    bannerEdgeID: String! @hasBannerAccess(field: "bannerEdgeId")
     8    logClassificationEdgeID: String!
     9  ): LogClassification!
    10    @hasRole(
    11      roles: [
    12        EDGE_ORG_ADMIN
    13        EDGE_BANNER_ADMIN
    14        EDGE_BANNER_OPERATOR
    15        EDGE_BANNER_VIEWER
    16      ]
    17    )
    18    @deprecated(reason: "Will be Removed in 0.25")
    19
    20  """
    21  Gets all the classifications based on the ID passed in
    22  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    23  """
    24  getLogClassificationsByBanner(
    25    bannerEdgeID: String! @hasBannerAccess(field: "bannerEdgeId")
    26  ): [LogClassification!]
    27    @hasRole(
    28      roles: [
    29        EDGE_ORG_ADMIN
    30        EDGE_BANNER_ADMIN
    31        EDGE_BANNER_OPERATOR
    32        EDGE_BANNER_VIEWER
    33      ]
    34    )
    35    @deprecated(reason: "Will be Removed in 0.25")
    36}
    37
    38extend type Mutation {
    39  """
    40  Delete the classifications based on the ID passed in
    41  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    42  """
    43  deleteLogClassification(
    44    bannerEdgeID: String! @hasBannerAccess(field: "bannerEdgeId")
    45    logClassificationEdgeID: String!
    46  ): Boolean!
    47    @hasRole(roles: [EDGE_ORG_ADMIN, EDGE_BANNER_ADMIN, EDGE_BANNER_OPERATOR])
    48    @deprecated(reason: "Will be Removed in 0.25")
    49
    50  """
    51  Create the classifications based on the input passed in
    52  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    53  """
    54  createLogClassification(
    55    bannerEdgeID: String! @hasBannerAccess(field: "bannerEdgeId")
    56    createClassificationInput: CreateClassificationInput!
    57  ): LogClassification!
    58    @hasRole(roles: [EDGE_ORG_ADMIN, EDGE_BANNER_ADMIN, EDGE_BANNER_OPERATOR])
    59    @deprecated(reason: "Will be Removed in 0.25")
    60
    61  """
    62  Update the classifications based on the input passed in
    63  TODO: TO BE DEPRECATED IN 0.25 @RS185722
    64  """
    65  updateLogClassification(
    66    bannerEdgeID: String! @hasBannerAccess(field: "bannerEdgeId")
    67    logClassificationEdgeID: String!
    68    updateClassificationInput: UpdateClassificationInput!
    69  ): LogClassification!
    70    @hasRole(roles: [EDGE_ORG_ADMIN, EDGE_BANNER_ADMIN, EDGE_BANNER_OPERATOR])
    71    @deprecated(reason: "Will be Removed in 0.25")
    72}

View as plain text