mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
First rough version of proxy logs frontend
This commit is contained in:
@ -1,18 +1,23 @@
|
||||
type HttpRequest {
|
||||
type HttpRequestLog {
|
||||
id: ID!
|
||||
url: String!
|
||||
method: HttpMethod!
|
||||
body: String
|
||||
timestamp: Time!
|
||||
response: HttpResponse
|
||||
response: HttpResponseLog
|
||||
}
|
||||
|
||||
type HttpResponse {
|
||||
type HttpResponseLog {
|
||||
requestId: ID!
|
||||
proto: String!
|
||||
status: String!
|
||||
statusCode: Int!
|
||||
body: String
|
||||
}
|
||||
|
||||
type Query {
|
||||
getHttpRequests: [HttpRequest!]!
|
||||
httpRequestLog(id: ID!): HttpRequestLog
|
||||
httpRequestLogs: [HttpRequestLog!]!
|
||||
}
|
||||
|
||||
enum HttpMethod {
|
||||
|
Reference in New Issue
Block a user