update protocol
diff --git a/browser-log.graphqls b/browser-log.graphqls
index 2c0f465..d73609b 100644
--- a/browser-log.graphqls
+++ b/browser-log.graphqls
@@ -14,22 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# The list of browser error log
-type BrowserErrorLogBrief {
- errorLogs: [BasicBrowserErrorLog!]!
- total: Int!
-}
-
-# Browser error log basic info
-type BasicBrowserErrorLog {
- uniqueId: String!
- pagePath: String!
- time: Long!
- category: ErrorCategory!
-}
-
# Represent the conditions used for query BrowserErrorLogBrief
input BrowserErrorLogQueryCondition {
+ uniqueId: String
# The value of 0 means all services.
serviceId: ID
serviceVersionId: ID
@@ -41,6 +28,12 @@
paging: Pagination!
}
+# The list of browser error log
+type BrowserErrorLogs {
+ logs: [BrowserErrorLog!]!
+ total: Int!
+}
+
# Represent the browser error log
type BrowserErrorLog {
uniqueId: String!
@@ -70,6 +63,5 @@
}
extend type Query {
- queryBasicBrowserErrorLogs(condition: BrowserErrorLogQueryCondition): BrowserErrorLogBrief
- queryBrowserErrorLog(uniqueId: String!): BrowserErrorLog
+ queryBrowserErrorLogs(condition: BrowserErrorLogQueryCondition): BrowserErrorLogs
}
\ No newline at end of file