-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementar models e serializadores da API #13
Comments
brunolcarli
changed the title
Implementar models
Implementar models e serializadores da API
Jan 30, 2023
Implementar models conforme: |
Implementar consultas GraphQL na API conforme #11 |
Requisição para criar personagem🆗 Snippet de exemplo: mutation create_char{
createCharacter(input: {
name: "spam"
characterClass: TANKER
username: "spam"
email: "spam@eggs"
}){
character {
name
lv
nextLv
exp
maxHp
maxSp
currentHp
currentSp
power
resistance
agility
isKo
isLogged
lastActivity
positionX
positionY
areaLocation
classType
aim
skills {
name
spCost
power
range
description
effect {
duration
value
condition
}
}
}
}
} |
Consultar personagens🆗 Snippet d exemplo: query characters{
characters {
name
lv
nextLv
exp
maxHp
maxSp
currentHp
currentSp
power
resistance
agility
isKo
isLogged
lastActivity
positionX
positionY
areaLocation
classType
aim
quests{
name
completed
description
}
equipment{
head {
name
description
}
torso{
name
description
}
legs{
name
description
}
weapon{
name
description
}
shield{
name
description
}
accessory1{
name
description
}
accessory2{
name
description
}
}
effects{
targetAttributes
duration
value
condition
}
items{
name
kind
effect{
targetAttributes
duration
value
condition
}
count
}
skills{
name
spCost
power
range
description
classes
effect{
targetAttributes
duration
value
condition
}
}
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
URL da API: https://ggj23server.brunolcarli.repl.co/graphql/
The text was updated successfully, but these errors were encountered: