Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1.  
  2. fragment ResponseStatusFields on ResponseStatus {
  3. status
  4. error
  5. error_code
  6. notifications
  7. elapsed
  8. }
  9.  
  10.  
  11. fragment CustomActionFullFields on CustomAction {
  12. id
  13. type
  14. title
  15. add_fb
  16. add_my_reps
  17. add_twiter
  18. action
  19. difficulty
  20. expires
  21. image
  22. location {
  23. address
  24. lat
  25. lon
  26. phone
  27. state
  28. zip
  29. distance
  30. city
  31. }
  32. my_reps {
  33. id
  34. type
  35. title
  36. }
  37. phones {
  38. label
  39. phone
  40. }
  41. possible_results
  42. related_entities {
  43. ... on Bill { id type title }
  44. ... on Cause { id type title }
  45. ... on Charity { id type title }
  46. ... on Committee { id type title }
  47. ... on Event { id type title }
  48. ... on Feed { id type title }
  49. ... on Rep {
  50. id
  51. type
  52. title
  53. current_term {
  54. district
  55. party
  56. phone
  57. rep_type
  58. state
  59. }
  60. }
  61. ... on User { id type title picture }
  62. }
  63. reactions {
  64. reaction_counts {
  65. act
  66. }
  67. }
  68. repeatable
  69. score
  70. state
  71. tag_friends {
  72. id type title picture
  73. }
  74. tag_action {
  75. id type title
  76. }
  77. textlines
  78. topics {
  79. id type title
  80. }
  81. urls {
  82. anchor
  83. url
  84. }
  85. zip
  86. }
  87.  
  88.  
  89. query custom_action($logged_in_user: String!, $api_key: String!, $id: String) {
  90. custom_action(logged_in_user: $logged_in_user, api_key: $api_key, id: $id) {
  91. response_status {
  92. ...ResponseStatusFields
  93. }
  94. ...CustomActionFullFields
  95. }
  96. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement