Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. {
  2. "content": {
  3. "name": "Content",
  4. "description": "The Guardian API content",
  5. "fields": {
  6. "id": {
  7. "type": "String",
  8. "required": true,
  9. "description": "Content ID"
  10. },
  11. "webTitle": {
  12. "type": "String",
  13. "required": true,
  14. "description": "WebTitle"
  15. },
  16. "fields": {
  17. "type": "field",
  18. "description": "Fields"
  19. },
  20. "tags": {
  21. "type": "tag",
  22. "description": "Tags",
  23. "multivalued":true
  24. }
  25. },
  26. "expose": true,
  27. "multiEndpoint": {
  28. "name": "contents",
  29. "args": {
  30.  
  31. }
  32. },
  33. "singleEndpoint": {
  34. "name": "content",
  35. "args": {
  36.  
  37. }
  38. },
  39. "connector": {
  40. "type": "test",
  41. "configs": {
  42. "segment": "search",
  43. "resultsPath": "response.results"
  44. }
  45. }
  46. },
  47. "field": {
  48. "name": "field",
  49. "description": "Embedded Field",
  50. "fields": {
  51. "headline": {
  52. "type": "ID",
  53. "required": true
  54. },
  55. "body": {
  56. "type": "String"
  57. },
  58. "thumbnail": {
  59. "type": "String"
  60. },
  61. "lastModified": {
  62. "type": "String"
  63. }
  64. }
  65. },
  66. "tag": {
  67. "name": "tag",
  68. "description": "Embedded Tag List",
  69. "fields": {
  70. "id": {
  71. "type": "ID",
  72. "required": true
  73. },
  74. "webTitle": {
  75. "type": "String"
  76. }
  77. }
  78. }
  79. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement