提交 c8e66f38 编写于 作者: Z zhangwei

update protocol

上级 004d4b2a
......@@ -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 @@ input BrowserErrorLogQueryCondition {
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 @@ enum ErrorCategory {
}
extend type Query {
queryBasicBrowserErrorLogs(condition: BrowserErrorLogQueryCondition): BrowserErrorLogBrief
queryBrowserErrorLog(uniqueId: String!): BrowserErrorLog
queryBrowserErrorLogs(condition: BrowserErrorLogQueryCondition): BrowserErrorLogs
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册