Debian Codegraph @

srht/mansrht/schema.graphqls

raw
1 # This schema definition is available in the public domain, or under the terms
2 # of CC-0, at your choice.
3 scalar Cursor
4 scalar Time
5 scalar Upload
6
7 """
8 This used to decorate fields which are for internal use, and are not
9 available to normal API users.
10 """
11 directive @internal on FIELD_DEFINITION
12
13 # https://semver.org
14 type Version {
15 major: Int!
16 minor: Int!
17 patch: Int!
18 buildVersion: String!
19 buildDate: String!
20 """
21 If this API version is scheduled for deprecation, this is the date on which
22 it will stop working; or null if this API version is not scheduled for
23 deprecation.
24 """
25 deprecationDate: Time
26 }
27
28 type Query {
29 "Returns API version information."
30 version: Version!
31 }
32
33 type Mutation {
34 """
35 Deletes the authenticated user's account. Internal use only.
36 """
37 deleteUser: Int! @internal
38 }