You are here

apigee_edge.routing.yml in Apigee Edge 8

File

apigee_edge.routing.yml
View source
  1. apigee_edge.error_page:
  2. path: '/api-communication-error'
  3. defaults:
  4. _controller: '\Drupal\apigee_edge\Controller\ErrorPageController::render'
  5. _title_callback: '\Drupal\apigee_edge\Controller\ErrorPageController::getPageTitle'
  6. requirements:
  7. _access: 'TRUE'
  8. apigee_edge.admin_config_edge:
  9. path: '/admin/config/apigee-edge'
  10. defaults:
  11. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  12. _title: 'Apigee Edge'
  13. requirements:
  14. _permission: 'administer apigee edge'
  15. apigee_edge.settings:
  16. path: '/admin/config/apigee-edge/settings'
  17. defaults:
  18. _form: '\Drupal\apigee_edge\Form\AuthenticationForm'
  19. _title: 'Apigee Edge general settings'
  20. requirements:
  21. _permission: 'administer apigee edge'
  22. apigee_edge.settings.connection_config:
  23. path: '/admin/config/apigee-edge/connection-config'
  24. defaults:
  25. _form: '\Drupal\apigee_edge\Form\ConnectionConfigForm'
  26. _title: 'Connection settings'
  27. requirements:
  28. _permission: 'administer apigee edge'
  29. apigee_edge.settings.error_page:
  30. path: '/admin/config/apigee-edge/error-page-settings'
  31. defaults:
  32. _form: '\Drupal\apigee_edge\Form\ErrorPageSettingsForm'
  33. _title: 'Error page settings'
  34. requirements:
  35. _permission: 'administer apigee edge'
  36. apigee_edge.settings.developer:
  37. path: '/admin/config/apigee-edge/developer-settings'
  38. defaults:
  39. _form: '\Drupal\apigee_edge\Form\DeveloperSettingsForm'
  40. _title: 'Developer settings'
  41. requirements:
  42. _permission: 'administer apigee edge'
  43. apigee_edge.settings.developer.attributes:
  44. path: '/admin/config/apigee-edge/developer-settings/attributes'
  45. defaults:
  46. _form: '\Drupal\apigee_edge\Form\DeveloperAttributesSettingsForm'
  47. _title: 'Custom attributes'
  48. requirements:
  49. _permission: 'administer apigee edge'
  50. apigee_edge.settings.developer.sync:
  51. path: '/admin/config/apigee-edge/developer-settings/sync'
  52. defaults:
  53. _form: '\Drupal\apigee_edge\Form\DeveloperSyncForm'
  54. _title: 'Synchronization'
  55. requirements:
  56. _permission: 'administer apigee edge'
  57. apigee_edge.settings.developer.cache:
  58. path: '/admin/config/apigee-edge/developer-settings/caching'
  59. defaults:
  60. _form: '\Drupal\apigee_edge\Form\DeveloperCachingForm'
  61. _title: 'Caching'
  62. requirements:
  63. _permission: 'administer apigee edge'
  64. apigee_edge.settings.developer.api_product_access:
  65. path: '/admin/config/apigee-edge/developer-settings/access-control'
  66. defaults:
  67. _form: '\Drupal\apigee_edge\Form\ApiProductAccessControlForm'
  68. _title: 'API product access'
  69. requirements:
  70. _permission: 'administer apigee edge'
  71. apigee_edge.settings.product.alias:
  72. path: '/admin/config/apigee-edge/product-settings/alias'
  73. defaults:
  74. _form: '\Drupal\apigee_edge\Form\ApiProductAliasForm'
  75. _title: 'API product settings'
  76. requirements:
  77. _permission: 'administer apigee edge'
  78. apigee_edge.settings.product.caching:
  79. path: '/admin/config/apigee-edge/product-settings/caching'
  80. defaults:
  81. _form: '\Drupal\apigee_edge\Form\ApiProductCachingForm'
  82. _title: 'API product caching'
  83. requirements:
  84. _permission: 'administer apigee edge'
  85. apigee_edge.settings.app:
  86. path: '/admin/config/apigee-edge/app-settings'
  87. defaults:
  88. _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
  89. _title: 'Apps'
  90. requirements:
  91. _permission: 'administer apigee edge'
  92. apigee_edge.settings.general_app:
  93. path: '/admin/config/apigee-edge/app-settings/general'
  94. defaults:
  95. _form: '\Drupal\apigee_edge\Form\AppSettingsForm'
  96. _title: 'General app settings'
  97. requirements:
  98. _permission: 'administer apigee edge'
  99. apigee_edge.settings.general_app.callback_url_validation:
  100. path: '/admin/config/apigee-edge/app-settings/general/callback-url-validation'
  101. defaults:
  102. _form: '\Drupal\apigee_edge\Form\AppCallbackUrlSettingsForm'
  103. _title: 'Callback URL validation'
  104. requirements:
  105. _permission: 'administer apigee edge'
  106. apigee_edge.settings.general_app.analytics:
  107. path: '/admin/config/apigee-edge/app-settings/general/analytics'
  108. defaults:
  109. _form: '\Drupal\apigee_edge\Form\AppAnalyticsSettingsForm'
  110. _title: 'Analytics'
  111. requirements:
  112. _permission: 'administer apigee edge'
  113. apigee_edge.settings.developer_app:
  114. path: '/admin/config/apigee-edge/app-settings/developer-apps'
  115. defaults:
  116. _form: '\Drupal\apigee_edge\Form\DeveloperAppAliasForm'
  117. _title: 'Developer App settings'
  118. requirements:
  119. _permission: 'administer apigee edge'
  120. apigee_edge.display_settings.developer_app:
  121. path: '/admin/config/apigee-edge/app-settings/developer-apps/display-settings'
  122. defaults:
  123. _form: '\Drupal\apigee_edge\Form\EdgeEntityDisplaySettingsForm'
  124. _title: 'Display settings'
  125. entity_type_id: 'developer_app'
  126. requirements:
  127. _permission: 'administer apigee edge'
  128. apigee_edge.settings.developer_app.credentials:
  129. path: '/admin/config/apigee-edge/app-settings/developer-apps/credentials'
  130. defaults:
  131. _form: '\Drupal\apigee_edge\Form\DeveloperAppCredentialsForm'
  132. _title: 'Credentials'
  133. requirements:
  134. _permission: 'administer apigee edge'
  135. apigee_edge.settings.developer_app.caching:
  136. path: '/admin/config/apigee-edge/app-settings/developer-apps/caching'
  137. defaults:
  138. _form: '\Drupal\apigee_edge\Form\DeveloperAppCachingForm'
  139. _title: 'Caching'
  140. requirements:
  141. _permission: 'administer apigee edge'
  142. apigee_edge.developer_sync.schedule:
  143. path: '/admin/config/apigee-edge/sync/schedule'
  144. defaults:
  145. _controller: '\Drupal\apigee_edge\Controller\DeveloperSyncController::schedule'
  146. requirements:
  147. _permission: 'administer apigee edge'
  148. _csrf_token: 'TRUE'
  149. apigee_edge.developer_sync.run:
  150. path: '/admin/config/apigee-edge/sync/run'
  151. defaults:
  152. _controller: '\Drupal\apigee_edge\Controller\DeveloperSyncController::run'
  153. requirements:
  154. _permission: 'administer apigee edge'
  155. _csrf_token: 'TRUE'
  156. apigee_edge.user.apps:
  157. path: '/user/apps'
  158. defaults:
  159. _controller: '\Drupal\apigee_edge\Entity\ListBuilder\DeveloperAppListBuilderForDeveloper::appsPage'
  160. _title_callback: '\Drupal\apigee_edge\Entity\ListBuilder\DeveloperAppListBuilderForDeveloper::pageTitle'
  161. requirements:
  162. _permission: 'view own developer_app'
  163. apigee_edge.export_analytics.csv:
  164. path: '/analytics/export/{data_id}/csv'
  165. defaults:
  166. _controller: '\Drupal\apigee_edge\Controller\ExportAnalyticsController::exportAsCSV'
  167. requirements:
  168. _csrf_token: 'TRUE'
  169. _custom_access: '\Drupal\apigee_edge\Controller\ExportAnalyticsController::access'