Files
hetty/pkg/api/schema.graphql

31 lines
330 B
GraphQL
Raw Normal View History

type HttpRequest {
url: String!
method: HttpMethod!
body: String
timestamp: Time!
response: HttpResponse
2019-12-01 14:47:25 +01:00
}
type HttpResponse {
statusCode: Int!
body: String
}
2019-12-01 14:47:25 +01:00
type Query {
getHttpRequests: [HttpRequest!]!
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