Skip to content

Instantly share code, notes, and snippets.

View getUserProfile.graphql
query getUserName{
user(id: "MyUser"){
username
photo
address
zipCode
country
city
age
}
View getUserName.graphql
query getUserName{
user(id: "MyUser"){
username
photo
}
}
View me39.graphql
query Me{
viewer {
sessionToken
username
}
}
View me38.graphql
query Me{
viewer {
sessionToken
username
}
}
View me372.graphql
query Me {
users {
me {
objectId,
createdAt,
updatedAt,
username,
sessionToken
}
}
View logIn39.graphql
mutation LogIn{
logIn(fields:{
username: "somefolk"
password: "somepassword"
}){
id,
createdAt,
updatedAt,
username,
sessionToken
View logIn38.graphql
mutation LogIn{
logIn(fields:{
username: "somefolk"
password: "somepassword"
}){
objectId,
createdAt,
updatedAt,
username,
sessionToken
View logIn372.graphql
mutation LogIn {
users {
logIn(username: "somefolk", password: "somepassword") {
objectId,
createdAt,
updatedAt,
username,
sessionToken
}
}
View signUp39.graphql
mutation SignUp{
signUp(fields:{
username: "somefolk"
password: "somepassword"
}){
id
createdAt
sessionToken
}
}
View signUp38.graphql
mutation SignUp{
signUp(fields:{
username: "somefolk"
password: "somepassword"
}){
objectId
createdAt
}
}
You can’t perform that action at this time.