Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. mutation ArticleCreate(
  2. $title: String = "Chuj"
  3. $author: String= "Chuj"
  4. $background: String = "CHuj"
  5. $content: String = "Chuj"
  6. $contentJson: JSONString = "{\"Chuj\" : \"\"}"
  7. ) {
  8. articleCreate(
  9. input: {
  10. title: $title
  11. author: $author
  12. background: $background
  13. content: $content
  14. contentJson: $contentJson
  15. }
  16. ) {
  17. errors {
  18. field
  19. message
  20. }
  21. article {
  22. id
  23. title
  24. author
  25. content
  26. contentJson
  27. background
  28. images(first: 10) {
  29. edges {
  30. node {
  31. id
  32. alt
  33. url
  34. }
  35. }
  36. }
  37. }
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement