File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
# Imported by
2
- # stepzen import graphql https://chester.stepzen.net/examples/starwars/__graphql --name=starwars
2
+ # stepzen import graphql https://stepzen- chester.us-east-a.ibm. stepzen.net/examples/starwars/graphql --name=starwars
3
3
#
4
4
enum Episode {
5
5
"Released in 1977."
@@ -61,7 +61,7 @@ executing the query’s top level selection set with the `Query` root object typ
61
61
type Query {
62
62
droid ("id of the droid" id : ID ! ): Droid
63
63
@graphql (
64
- endpoint : " https://chester.stepzen.net/examples/starwars/__graphql"
64
+ endpoint : " https://stepzen- chester.us-east-a.ibm .stepzen.net/examples/starwars/__graphql"
65
65
)
66
66
hero (
67
67
"""
@@ -71,10 +71,10 @@ type Query {
71
71
episode : Episode
72
72
): Character
73
73
@graphql (
74
- endpoint : " https://chester.stepzen.net/examples/starwars/__graphql"
74
+ endpoint : " https://stepzen- chester.us-east-a.ibm .stepzen.net/examples/starwars/__graphql"
75
75
)
76
76
human ("id of the human" id : ID ! ): Human
77
77
@graphql (
78
- endpoint : " https://chester.stepzen.net/examples/starwars/__graphql"
78
+ endpoint : " https://stepzen- chester.us-east-a.ibm .stepzen.net/examples/starwars/__graphql"
79
79
)
80
80
}
Original file line number Diff line number Diff line change 3
3
## ` @graphql `
4
4
5
5
[ ` starwars.graphql ` ] ( starwars.graphql ) is a strict subset of the schema exposed by the example endpoint
6
- ` https://chester.stepzen.net/examples/starwars/__graphql ` demonstrating that there's no need
6
+ ` https://stepzen- chester.us-east-a.ibm .stepzen.net/examples/starwars/__graphql ` demonstrating that there's no need
7
7
to include all the types and fields of the backend endpoint.
8
8
9
9
In this case only information about human characters (type ` Human ` ) is exposed
@@ -12,7 +12,7 @@ through the root operation type field `Query.human`.
12
12
## ` @rest `
13
13
14
14
[ ` version.graphql ` ] ( version.graphql ) is a strict subset of a schema that matches the StepZen
15
- service version REST API ` https://account.stepzen.net /version ` .
15
+ service version REST API ` https://account.domain /version ` .
16
16
17
17
A GraphQL type matching the ** full** REST API is:
18
18
Original file line number Diff line number Diff line change 1
1
# Based upon an import generated by
2
- # stepzen import graphql https://chester.stepzen.net/examples/starwars/__graphql
2
+ # stepzen import graphql https://stepzen- chester.us-east-a.ibm .stepzen.net/examples/starwars/__graphql
3
3
#
4
4
# and then manually subsetted to remove
5
5
#
@@ -40,6 +40,6 @@ type Human implements Character {
40
40
type Query {
41
41
human ("id of the human" id : ID ! ): Human
42
42
@graphql (
43
- endpoint : " https://chester.stepzen.net/examples/starwars/__graphql"
43
+ endpoint : " https://stepzen- chester.us-east-a.ibm .stepzen.net/examples/starwars/__graphql"
44
44
)
45
45
}
You can’t perform that action at this time.
0 commit comments