Files
hetty/pkg/api/schema.graphql

36 lines
446 B
GraphQL
Raw Normal View History

type HttpRequestLog {
id: ID!
url: String!
method: HttpMethod!
body: String
timestamp: Time!
response: HttpResponseLog
2019-12-01 14:47:25 +01:00
}
type HttpResponseLog {
requestId: ID!
proto: String!
status: String!
statusCode: Int!
body: String
}
2019-12-01 14:47:25 +01:00
type Query {
httpRequestLog(id: ID!): HttpRequestLog
httpRequestLogs: [HttpRequestLog!]!
2019-12-01 14:47:25 +01:00
}
enum HttpMethod {
GET
HEAD
POST
PUT
DELETE
CONNECT
OPTIONS
TRACE
PATCH
2019-12-01 14:47:25 +01:00
}
scalar Time