First rough version of proxy logs frontend

This commit is contained in:
David Stotijn
2020-09-20 22:30:17 +02:00
parent 211c11be2b
commit 21c78cdc23
22 changed files with 2244 additions and 1349 deletions

View File

@ -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 {