├── .github └── workflows │ └── benchmark.yml ├── .gitignore ├── README.md ├── benchmark ├── FastRoute │ ├── CachedDispatcherAbstract.php │ ├── CharCountBased_Benchmark.php │ ├── CharCountBased_Cached_Benchmark.php │ ├── GroupCountBased_Benchmark.php │ ├── GroupCountBased_Cached_Benchmark.php │ ├── GroupPosBased_Benchmark.php │ ├── GroupPosBased_Cached_Benchmark.php │ ├── MarkBased_Benchmark.php │ ├── MarkBased_Cached_Benchmark.php │ └── SimpleDispatcherAbstract.php └── Symfony │ ├── CompiledUrlMatcher_Benchmark.php │ └── UrlMatcher_Benchmark.php ├── composer.json ├── config.php ├── kit ├── Benchmark │ ├── BenchmarkAbstract.php │ ├── Quick.php │ └── Register.php └── Provider │ ├── LocalAbstract.php │ ├── ProviderAbstract.php │ ├── Register.php │ ├── RemoteAbstract.php │ └── SwaggerAbstract.php ├── phpbench.json ├── provider ├── Avatax.php └── Bitbucket.php ├── quick.php └── routes ├── cache ├── fastroute │ ├── charcountbased │ │ ├── avatax.php │ │ └── bitbucket.php │ ├── groupcountbased │ │ ├── avatax.php │ │ └── bitbucket.php │ ├── groupposbased │ │ ├── avatax.php │ │ └── bitbucket.php │ └── markbased │ │ ├── avatax.php │ │ └── bitbucket.php └── symfony │ ├── avatax.php │ └── bitbucket.php ├── definition ├── fastroute │ ├── avatax.php │ └── bitbucket.php └── symfony │ ├── avatax.php │ └── bitbucket.php └── provider ├── avatax └── bitbucket /.github/workflows/benchmark.yml: -------------------------------------------------------------------------------- 1 | name: Benchmark 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | tests: 7 | name: Benchmark PHP Routing ${{ matrix.php }} 8 | runs-on: ubuntu-latest 9 | strategy: 10 | fail-fast: false 11 | matrix: 12 | php: [7.3, 7.4, 8.0] 13 | 14 | steps: 15 | - name: Checkout 16 | uses: actions/checkout@v2 17 | 18 | - name: Set up PHP ${{ matrix.php }} 19 | uses: shivammathur/setup-php@v2 20 | with: 21 | php-version: ${{ matrix.php }} 22 | coverage: none 23 | 24 | - name: Install dependencies with Composer 25 | uses: ramsey/composer-install@v1 26 | 27 | - name: Quick Benchmark 28 | run: php quick.php 29 | 30 | - name: Run Symfony UrlMatcher_Benchmark 31 | run: vendor/bin/phpbench run benchmark/Symfony/UrlMatcher_Benchmark.php --report=short 32 | 33 | - name: Run Symfony CompiledUrlMatcher_Benchmark Benchmark 34 | run: vendor/bin/phpbench run benchmark/Symfony/CompiledUrlMatcher_Benchmark.php --report=short 35 | 36 | - name: Run FastRoute CharCountBased_Benchmark 37 | run: vendor/bin/phpbench run benchmark/FastRoute/CharCountBased_Benchmark.php --report=short 38 | 39 | - name: Run FastRoute CharCountBased_Cached_Benchmark 40 | run: vendor/bin/phpbench run benchmark/FastRoute/CharCountBased_Cached_Benchmark.php --report=short 41 | 42 | - name: Run FastRoute GroupCountBased_Benchmark 43 | run: vendor/bin/phpbench run benchmark/FastRoute/GroupCountBased_Benchmark.php --report=short 44 | 45 | - name: Run FastRoute GroupCountBased_Cached_Benchmark 46 | run: vendor/bin/phpbench run benchmark/FastRoute/GroupCountBased_Cached_Benchmark.php --report=short 47 | 48 | - name: Run FastRoute GroupPosBased_Benchmark 49 | run: vendor/bin/phpbench run benchmark/FastRoute/GroupPosBased_Benchmark.php --report=short 50 | 51 | - name: Run FastRoute GroupPosBased_Cached_Benchmark 52 | run: vendor/bin/phpbench run benchmark/FastRoute/GroupPosBased_Cached_Benchmark.php --report=short 53 | 54 | - name: Run FastRoute MarkBased_Benchmark 55 | run: vendor/bin/phpbench run benchmark/FastRoute/MarkBased_Benchmark.php --report=short 56 | 57 | - name: Run FastRoute MarkBased_Cached_Benchmark 58 | run: vendor/bin/phpbench run benchmark/FastRoute/MarkBased_Cached_Benchmark.php --report=short 59 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | composer.lock 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Benchmark PHP Routing 2 | 3 | Take a real world routing scenario in the form of a real API and benchmark PHP 4 | routing packages against it. 5 | 6 | The APIs used for this benchmark: 7 | 8 | * [Bitbucket API](https://api.bitbucket.org/swagger.json) 9 | * [Avalara Avatax API](https://rest.avatax.com/swagger/v2/swagger.json) 10 | 11 | You can read more about this here: 12 | 13 | - http://kaloyan.info/writing/2021/05/31/benchmark-php-routing.html 14 | - http://kaloyan.info/writing/2021/06/07/more-php-routing-benchmarks.html 15 | 16 | # Packages 17 | Here are the packages that are benchmakred: 18 | 19 | * Symfony Routing [symfony/routing](https://github.com/symfony/routing) 20 | * FastRoute [nikic/FastRoute](https://github.com/nikic/FastRoute) 21 | 22 | So far these are the most popular ones: **Symfony Routing** component is used 23 | not only by Symfony but by **Laravel** as well, and **FastRoute** is used by 24 | other popular solutions such as the [Slim](https://github.com/slimphp/Slim) 25 | framework and [League\Route](https://github.com/thephpleague/route). 26 | 27 | # Benchmarks 28 | 29 | This is the list of the available [phpbench](https://github.com/phpbench/phpbench) 30 | benchmarks. They are combination of the packages and the strategies they provide. 31 | 32 | * [symfony/routing](https://github.com/symfony/routing) 33 | * [benchmark/Symfony.php](benchmark/Symfony.php) with `Symfony\Component\Routing\Matcher\UrlMatcher` 34 | * [benchmark/Symfony_Compiled.php](benchmark/Symfony_Compiled.php) with `Symfony\Component\Routing\Matcher\CompiledUrlMatcher` 35 | 36 | * [nikic/FastRoute](https://github.com/nikic/FastRoute) with `simpleDispatcher()` 37 | * [benchmark/FastRoute_GroupCountBased.php](benchmark/FastRoute_GroupCountBased.php) with `FastRoute\Dispatcher\GroupCountBased` 38 | * [benchmark/FastRoute_GroupPosBased.php](benchmark/FastRoute_GroupPosBased.php) with `FastRoute\Dispatcher\GroupPosBased` 39 | * [benchmark/FastRoute_CharCountBased.php](benchmark/FastRoute_CharCountBased.php) with `FastRoute\Dispatcher\CharCountBased` 40 | * [benchmark/FastRoute_MarkBased.php](benchmark/FastRoute_MarkBased.php) with `FastRoute\Dispatcher\MarkBased` 41 | 42 | * [nikic/FastRoute](https://github.com/nikic/FastRoute) with `cachedDispatcher()` 43 | * [benchmark/FastRoute_Cached_GroupCountBased.php](benchmark/FastRoute_Cached_GroupCountBased.php) with `FastRoute\Dispatcher\GroupCountBased` 44 | * [benchmark/FastRoute_Cached_GroupPosBased.php](benchmark/FastRoute_Cached_GroupPosBased.php) with `FastRoute\Dispatcher\GroupPosBased` 45 | * [benchmark/FastRoute_Cached_CharCountBased.php](benchmark/FastRoute_Cached_CharCountBased.php) with `FastRoute\Dispatcher\CharCountBased` 46 | * [benchmark/FastRoute_Cached_MarkBased.php](benchmark/FastRoute_Cached_MarkBased.php) with `FastRoute\Dispatcher\MarkBased` 47 | 48 | The benchmark cases are: 49 | 50 | * **benchLast** -- match the last route in the list of routing definitions, as this is considered the worst case 51 | * **benchLongest** -- match the longest route to test the complexity of parsing bigger paths 52 | * **benchAll** -- match all of the routes from the list of routing definitions to average the overall performance 53 | * **benchSetup** -- track how much time is needed to setup the routes collection before the routing starts 54 | 55 | ### Running the benchmarks 56 | 57 | To run the benchmarks, first you have to run `composer update` to get all of the 58 | packages and their dependencies. After that, you can execute any of benchmark 59 | files like this: 60 | ```sh 61 | php vendor/bin/phpbench run benchmark/Symfony/CompiledUrlMatcher_Benchmark.php --report=short 62 | ``` 63 | Or you can run all of the benchmarks at once 64 | ```sh 65 | php vendor/bin/phpbench run --report=short 66 | ``` 67 | 68 | ### Quick Benchmark 69 | 70 | In addition to the phpbench running its own cases, there is also a script that 71 | will run all of the scenarios against all of the packages and strategies, and 72 | calculate the number of routes matched per second. The results are then sorted 73 | by that data. Here's how to run this: 74 | 75 | ```sh 76 | php quick.php 77 | ``` 78 | 79 | # Route Providers 80 | 81 | The routes used for the benchmarks are provided from real life APIs. There are 82 | several classes that help with reading, downloading and passing the routes. 83 | 84 | Only the paths are used, and the HTTP verbs/methods are ignored. 85 | 86 | ## Route Provider: Bitbucket API 87 | 88 | The routes for this benchmark provider are read from this address: 89 | https://api.bitbucket.org/swagger.json 90 | 91 | You can see the list of paths in [routes/provider/bitbucket](routes/provider/bitbucket): 92 | 93 | ``` 94 | /addon 95 | /addon/linkers 96 | /addon/linkers/{linker_key} 97 | /addon/linkers/{linker_key}/values 98 | /addon/linkers/{linker_key}/values/{value_id} 99 | /hook_events 100 | /hook_events/{subject_type} 101 | /pullrequests/{selected_user} 102 | /repositories 103 | /repositories/{workspace} 104 | /repositories/{workspace}/{repo_slug} 105 | ... 106 | ``` 107 | 108 | ## Route Provider: Avatax API 109 | 110 | The routes for this benchmark provider are read from this address: 111 | https://rest.avatax.com/swagger/v2/swagger.json 112 | 113 | You can see the list of paths in [routes/provider/avatax](routes/provider/avatax): 114 | 115 | ``` 116 | /api/v2/accounts 117 | /api/v2/accounts/{id} 118 | /api/v2/accounts/{id}/activate 119 | /api/v2/accounts/{id}/audit 120 | /api/v2/accounts/{id}/configuration 121 | /api/v2/accounts/{id}/licensekey 122 | /api/v2/accounts/{id}/licensekey/{licensekeyname} 123 | /api/v2/accounts/{id}/licensekeys 124 | /api/v2/accounts/{id}/resetlicensekey 125 | /api/v2/addresses/resolve 126 | ... 127 | ``` 128 | 129 | # Results 130 | 131 | Here are the results from the quick benchmarks executed by Github Actions: 132 | 133 | https://github.com/kktsvetkov/benchmark-php-routing/actions 134 | 135 | ## PHP 7.3 136 | ``` 137 | +----------------------------------+--------------+-----------------+---------+------------+ 138 | | Benchmark | Case | Provider Routes | Seconds | Per Second | 139 | +----------------------------------+--------------+-----------------+---------+------------+ 140 | | FastRoute\MarkBased_Cached | benchSetup | 256 (avatax) | 0.00162 | 158415.730 | 141 | | FastRoute\GroupPosBased_Cached | benchSetup | 256 (avatax) | 0.00175 | 146107.201 | 142 | | FastRoute\CharCountBased_Cached | benchSetup | 256 (avatax) | 0.00182 | 141040.565 | 143 | | FastRoute\GroupCountBased_Cached | benchSetup | 256 (avatax) | 0.00202 | 126605.568 | 144 | | FastRoute\MarkBased_Cached | benchSetup | 178 (bitbucket) | 0.00152 | 116800.080 | 145 | | FastRoute\CharCountBased_Cached | benchSetup | 178 (bitbucket) | 0.00154 | 115356.321 | 146 | | FastRoute\GroupCountBased_Cached | benchSetup | 178 (bitbucket) | 0.00161 | 110490.766 | 147 | | FastRoute\GroupPosBased_Cached | benchSetup | 178 (bitbucket) | 0.00174 | 102538.952 | 148 | | FastRoute\MarkBased_Cached | benchAll | 256 (avatax) | 0.00257 | 99651.2133 | 149 | | FastRoute\CharCountBased_Cached | benchAll | 256 (avatax) | 0.00263 | 97303.2917 | 150 | | FastRoute\GroupPosBased_Cached | benchAll | 256 (avatax) | 0.00263 | 97259.2231 | 151 | | FastRoute\GroupCountBased_Cached | benchAll | 256 (avatax) | 0.00268 | 95375.8948 | 152 | | FastRoute\GroupPosBased_Cached | benchAll | 178 (bitbucket) | 0.00202 | 88332.4789 | 153 | | FastRoute\MarkBased_Cached | benchAll | 178 (bitbucket) | 0.00204 | 87381.3333 | 154 | | FastRoute\CharCountBased_Cached | benchAll | 178 (bitbucket) | 0.00204 | 87126.3988 | 155 | | FastRoute\GroupCountBased_Cached | benchAll | 178 (bitbucket) | 0.00224 | 79432.5047 | 156 | | FastRoute\MarkBased_Cached | benchLongest | 256 (avatax) | 0.00343 | 74700.2799 | 157 | | FastRoute\MarkBased_Cached | benchLast | 256 (avatax) | 0.00344 | 74461.9850 | 158 | | FastRoute\GroupPosBased_Cached | benchLongest | 256 (avatax) | 0.00361 | 70953.6657 | 159 | | Symfony\CompiledUrlMatcher | benchSetup | 256 (avatax) | 0.00372 | 68741.4740 | 160 | | FastRoute\CharCountBased_Cached | benchLast | 256 (avatax) | 0.00380 | 67441.8581 | 161 | | FastRoute\GroupPosBased_Cached | benchLast | 256 (avatax) | 0.00386 | 66251.7322 | 162 | | FastRoute\CharCountBased_Cached | benchLongest | 256 (avatax) | 0.00388 | 65914.1696 | 163 | | FastRoute\GroupCountBased_Cached | benchLongest | 256 (avatax) | 0.00403 | 63523.7427 | 164 | | FastRoute\GroupCountBased_Cached | benchLast | 256 (avatax) | 0.00433 | 59055.2097 | 165 | | FastRoute\MarkBased_Cached | benchLongest | 178 (bitbucket) | 0.00307 | 57978.2645 | 166 | | FastRoute\CharCountBased_Cached | benchLongest | 178 (bitbucket) | 0.00316 | 56346.1216 | 167 | | FastRoute\GroupPosBased_Cached | benchLongest | 178 (bitbucket) | 0.00316 | 56312.1218 | 168 | | Symfony\CompiledUrlMatcher | benchAll | 256 (avatax) | 0.00464 | 55196.7215 | 169 | | Symfony\CompiledUrlMatcher | benchSetup | 178 (bitbucket) | 0.00334 | 53339.0092 | 170 | | FastRoute\MarkBased_Cached | benchLast | 178 (bitbucket) | 0.00339 | 52569.0826 | 171 | | FastRoute\GroupCountBased_Cached | benchLongest | 178 (bitbucket) | 0.00339 | 52476.7071 | 172 | | Symfony\CompiledUrlMatcher | benchLast | 256 (avatax) | 0.00490 | 52224.7968 | 173 | | Symfony\CompiledUrlMatcher | benchLongest | 256 (avatax) | 0.00496 | 51612.2776 | 174 | | FastRoute\CharCountBased_Cached | benchLast | 178 (bitbucket) | 0.00366 | 48593.2121 | 175 | | FastRoute\GroupPosBased_Cached | benchLast | 178 (bitbucket) | 0.00373 | 47708.2313 | 176 | | Symfony\CompiledUrlMatcher | benchAll | 178 (bitbucket) | 0.00391 | 45581.9104 | 177 | | FastRoute\GroupCountBased_Cached | benchLast | 178 (bitbucket) | 0.00408 | 43593.7236 | 178 | | Symfony\CompiledUrlMatcher | benchLast | 178 (bitbucket) | 0.00438 | 40648.2338 | 179 | | Symfony\CompiledUrlMatcher | benchLongest | 178 (bitbucket) | 0.00452 | 39345.7766 | 180 | | Symfony\UrlMatcher | benchSetup | 178 (bitbucket) | 0.03540 | 5027.95606 | 181 | | Symfony\UrlMatcher | benchAll | 178 (bitbucket) | 0.03811 | 4670.80481 | 182 | | Symfony\UrlMatcher | benchSetup | 256 (avatax) | 0.06557 | 3904.28856 | 183 | | Symfony\UrlMatcher | benchAll | 256 (avatax) | 0.07041 | 3636.10505 | 184 | | FastRoute\GroupPosBased | benchSetup | 178 (bitbucket) | 0.13409 | 1327.47659 | 185 | | FastRoute\GroupCountBased | benchSetup | 178 (bitbucket) | 0.13538 | 1314.78021 | 186 | | FastRoute\MarkBased | benchSetup | 178 (bitbucket) | 0.13546 | 1313.99344 | 187 | | FastRoute\MarkBased | benchAll | 178 (bitbucket) | 0.13668 | 1302.32212 | 188 | | FastRoute\GroupPosBased | benchLongest | 178 (bitbucket) | 0.13694 | 1299.84837 | 189 | | FastRoute\GroupCountBased | benchAll | 178 (bitbucket) | 0.13696 | 1299.61984 | 190 | | FastRoute\CharCountBased | benchSetup | 178 (bitbucket) | 0.13723 | 1297.12253 | 191 | | FastRoute\MarkBased | benchLast | 178 (bitbucket) | 0.13728 | 1296.59989 | 192 | | FastRoute\MarkBased | benchLongest | 178 (bitbucket) | 0.13734 | 1296.06193 | 193 | | FastRoute\GroupPosBased | benchAll | 178 (bitbucket) | 0.13741 | 1295.38506 | 194 | | FastRoute\GroupPosBased | benchLast | 178 (bitbucket) | 0.13831 | 1286.95338 | 195 | | FastRoute\CharCountBased | benchAll | 178 (bitbucket) | 0.13870 | 1283.31659 | 196 | | FastRoute\GroupCountBased | benchLongest | 178 (bitbucket) | 0.13933 | 1277.50618 | 197 | | FastRoute\GroupCountBased | benchLast | 178 (bitbucket) | 0.14174 | 1255.82822 | 198 | | FastRoute\CharCountBased | benchLongest | 178 (bitbucket) | 0.14222 | 1251.59027 | 199 | | FastRoute\CharCountBased | benchLast | 178 (bitbucket) | 0.14245 | 1249.58761 | 200 | | Symfony\UrlMatcher | benchLongest | 178 (bitbucket) | 0.19409 | 917.123368 | 201 | | Symfony\UrlMatcher | benchLongest | 256 (avatax) | 0.31005 | 825.684043 | 202 | | Symfony\UrlMatcher | benchLast | 256 (avatax) | 0.38904 | 658.033260 | 203 | | Symfony\UrlMatcher | benchLast | 178 (bitbucket) | 0.31080 | 572.724659 | 204 | | FastRoute\GroupPosBased | benchSetup | 256 (avatax) | 0.66871 | 382.824319 | 205 | | FastRoute\MarkBased | benchSetup | 256 (avatax) | 0.67320 | 380.273247 | 206 | | FastRoute\MarkBased | benchAll | 256 (avatax) | 0.67642 | 378.463633 | 207 | | FastRoute\GroupPosBased | benchLast | 256 (avatax) | 0.67685 | 378.222737 | 208 | | FastRoute\GroupPosBased | benchAll | 256 (avatax) | 0.67712 | 378.071317 | 209 | | FastRoute\GroupPosBased | benchLongest | 256 (avatax) | 0.67766 | 377.771766 | 210 | | FastRoute\CharCountBased | benchAll | 256 (avatax) | 0.67964 | 376.670632 | 211 | | FastRoute\CharCountBased | benchLongest | 256 (avatax) | 0.67985 | 376.555840 | 212 | | FastRoute\MarkBased | benchLast | 256 (avatax) | 0.68155 | 375.612160 | 213 | | FastRoute\CharCountBased | benchSetup | 256 (avatax) | 0.68233 | 375.182857 | 214 | | FastRoute\MarkBased | benchLongest | 256 (avatax) | 0.68293 | 374.855929 | 215 | | FastRoute\CharCountBased | benchLast | 256 (avatax) | 0.68439 | 374.056212 | 216 | | FastRoute\GroupCountBased | benchSetup | 256 (avatax) | 0.77412 | 330.696719 | 217 | | FastRoute\GroupCountBased | benchLongest | 256 (avatax) | 0.77589 | 329.944441 | 218 | | FastRoute\GroupCountBased | benchLast | 256 (avatax) | 0.78431 | 326.402003 | 219 | | FastRoute\GroupCountBased | benchAll | 256 (avatax) | 0.78561 | 325.859767 | 220 | +----------------------------------+--------------+-----------------+---------+------------+ 221 | ``` 222 | 223 | ## PHP 7.4 224 | ``` 225 | +----------------------------------+--------------+-----------------+---------+------------+ 226 | | Benchmark | Case | Provider Routes | Seconds | Per Second | 227 | +----------------------------------+--------------+-----------------+---------+------------+ 228 | | FastRoute\GroupCountBased_Cached | benchSetup | 256 (avatax) | 0.00178 | 143894.642 | 229 | | FastRoute\MarkBased_Cached | benchSetup | 256 (avatax) | 0.00186 | 137853.617 | 230 | | FastRoute\CharCountBased_Cached | benchSetup | 256 (avatax) | 0.00188 | 136382.805 | 231 | | FastRoute\GroupPosBased_Cached | benchSetup | 256 (avatax) | 0.00189 | 135590.582 | 232 | | FastRoute\MarkBased_Cached | benchSetup | 178 (bitbucket) | 0.00146 | 121831.937 | 233 | | FastRoute\GroupPosBased_Cached | benchSetup | 178 (bitbucket) | 0.00171 | 104213.583 | 234 | | FastRoute\GroupCountBased_Cached | benchSetup | 178 (bitbucket) | 0.00177 | 100849.130 | 235 | | FastRoute\CharCountBased_Cached | benchSetup | 178 (bitbucket) | 0.00177 | 100388.074 | 236 | | FastRoute\MarkBased_Cached | benchAll | 178 (bitbucket) | 0.00190 | 93533.7148 | 237 | | FastRoute\MarkBased_Cached | benchAll | 256 (avatax) | 0.00278 | 91922.0806 | 238 | | FastRoute\GroupCountBased_Cached | benchAll | 256 (avatax) | 0.00281 | 91002.7819 | 239 | | FastRoute\GroupPosBased_Cached | benchAll | 256 (avatax) | 0.00282 | 90848.7878 | 240 | | FastRoute\CharCountBased_Cached | benchAll | 256 (avatax) | 0.00299 | 85618.5171 | 241 | | FastRoute\GroupCountBased_Cached | benchAll | 178 (bitbucket) | 0.00215 | 82898.7466 | 242 | | FastRoute\GroupPosBased_Cached | benchAll | 178 (bitbucket) | 0.00216 | 82486.5884 | 243 | | FastRoute\CharCountBased_Cached | benchAll | 178 (bitbucket) | 0.00222 | 80286.7095 | 244 | | FastRoute\MarkBased_Cached | benchLongest | 256 (avatax) | 0.00366 | 70005.3347 | 245 | | FastRoute\MarkBased_Cached | benchLast | 256 (avatax) | 0.00374 | 68539.6287 | 246 | | FastRoute\CharCountBased_Cached | benchLongest | 256 (avatax) | 0.00404 | 63302.7841 | 247 | | FastRoute\GroupPosBased_Cached | benchLongest | 256 (avatax) | 0.00406 | 62979.7538 | 248 | | Symfony\CompiledUrlMatcher | benchSetup | 256 (avatax) | 0.00410 | 62499.5240 | 249 | | FastRoute\CharCountBased_Cached | benchLast | 256 (avatax) | 0.00419 | 61025.3949 | 250 | | FastRoute\GroupPosBased_Cached | benchLast | 256 (avatax) | 0.00426 | 60136.7585 | 251 | | FastRoute\MarkBased_Cached | benchLongest | 178 (bitbucket) | 0.00303 | 58804.8292 | 252 | | FastRoute\GroupCountBased_Cached | benchLongest | 256 (avatax) | 0.00450 | 56874.9310 | 253 | | FastRoute\MarkBased_Cached | benchLast | 178 (bitbucket) | 0.00335 | 53213.5503 | 254 | | FastRoute\GroupCountBased_Cached | benchLast | 256 (avatax) | 0.00489 | 52308.7554 | 255 | | FastRoute\CharCountBased_Cached | benchLongest | 178 (bitbucket) | 0.00350 | 50902.4416 | 256 | | Symfony\CompiledUrlMatcher | benchAll | 256 (avatax) | 0.00509 | 50266.4586 | 257 | | FastRoute\GroupPosBased_Cached | benchLongest | 178 (bitbucket) | 0.00357 | 49875.4834 | 258 | | Symfony\CompiledUrlMatcher | benchSetup | 178 (bitbucket) | 0.00367 | 48489.0635 | 259 | | FastRoute\GroupCountBased_Cached | benchLongest | 178 (bitbucket) | 0.00368 | 48303.9668 | 260 | | Symfony\CompiledUrlMatcher | benchLast | 256 (avatax) | 0.00530 | 48264.5670 | 261 | | Symfony\CompiledUrlMatcher | benchLongest | 256 (avatax) | 0.00545 | 46937.4813 | 262 | | FastRoute\CharCountBased_Cached | benchLast | 178 (bitbucket) | 0.00397 | 44791.5833 | 263 | | FastRoute\GroupPosBased_Cached | benchLast | 178 (bitbucket) | 0.00404 | 44069.7781 | 264 | | Symfony\CompiledUrlMatcher | benchAll | 178 (bitbucket) | 0.00419 | 42501.7711 | 265 | | FastRoute\GroupCountBased_Cached | benchLast | 178 (bitbucket) | 0.00464 | 38327.7433 | 266 | | Symfony\CompiledUrlMatcher | benchLast | 178 (bitbucket) | 0.00470 | 37890.0787 | 267 | | Symfony\CompiledUrlMatcher | benchLongest | 178 (bitbucket) | 0.00628 | 28325.9138 | 268 | | Symfony\UrlMatcher | benchSetup | 178 (bitbucket) | 0.03796 | 4688.55103 | 269 | | Symfony\UrlMatcher | benchAll | 178 (bitbucket) | 0.04113 | 4327.73437 | 270 | | Symfony\UrlMatcher | benchSetup | 256 (avatax) | 0.06296 | 4065.75622 | 271 | | Symfony\UrlMatcher | benchAll | 256 (avatax) | 0.06668 | 3839.50934 | 272 | | FastRoute\GroupPosBased | benchSetup | 178 (bitbucket) | 0.15013 | 1185.63131 | 273 | | FastRoute\GroupPosBased | benchAll | 178 (bitbucket) | 0.15039 | 1183.58253 | 274 | | FastRoute\MarkBased | benchAll | 178 (bitbucket) | 0.15067 | 1181.41369 | 275 | | FastRoute\MarkBased | benchSetup | 178 (bitbucket) | 0.15102 | 1178.65888 | 276 | | FastRoute\GroupCountBased | benchSetup | 178 (bitbucket) | 0.15246 | 1167.54963 | 277 | | FastRoute\GroupPosBased | benchLongest | 178 (bitbucket) | 0.15269 | 1165.75209 | 278 | | FastRoute\MarkBased | benchLast | 178 (bitbucket) | 0.15340 | 1160.37269 | 279 | | FastRoute\GroupCountBased | benchAll | 178 (bitbucket) | 0.15459 | 1151.45494 | 280 | | FastRoute\GroupPosBased | benchLast | 178 (bitbucket) | 0.15460 | 1151.35905 | 281 | | FastRoute\MarkBased | benchLongest | 178 (bitbucket) | 0.15461 | 1151.27560 | 282 | | FastRoute\GroupCountBased | benchLongest | 178 (bitbucket) | 0.15596 | 1141.28278 | 283 | | FastRoute\CharCountBased | benchSetup | 178 (bitbucket) | 0.15673 | 1135.69082 | 284 | | FastRoute\GroupCountBased | benchLast | 178 (bitbucket) | 0.15714 | 1132.78384 | 285 | | FastRoute\CharCountBased | benchLast | 178 (bitbucket) | 0.16007 | 1111.98573 | 286 | | FastRoute\CharCountBased | benchAll | 178 (bitbucket) | 0.16174 | 1100.56534 | 287 | | FastRoute\CharCountBased | benchLongest | 178 (bitbucket) | 0.16583 | 1073.36284 | 288 | | Symfony\UrlMatcher | benchLongest | 178 (bitbucket) | 0.18954 | 939.105571 | 289 | | Symfony\UrlMatcher | benchLongest | 256 (avatax) | 0.28847 | 887.440543 | 290 | | Symfony\UrlMatcher | benchLast | 256 (avatax) | 0.36510 | 701.181601 | 291 | | Symfony\UrlMatcher | benchLast | 178 (bitbucket) | 0.30805 | 577.826193 | 292 | | FastRoute\CharCountBased | benchLongest | 256 (avatax) | 0.66905 | 382.634284 | 293 | | FastRoute\CharCountBased | benchAll | 256 (avatax) | 0.67063 | 381.731709 | 294 | | FastRoute\GroupPosBased | benchSetup | 256 (avatax) | 0.74506 | 343.595514 | 295 | | FastRoute\MarkBased | benchSetup | 256 (avatax) | 0.74836 | 342.079971 | 296 | | FastRoute\MarkBased | benchAll | 256 (avatax) | 0.74992 | 341.370229 | 297 | | FastRoute\GroupCountBased | benchSetup | 256 (avatax) | 0.75175 | 340.539178 | 298 | | FastRoute\CharCountBased | benchSetup | 256 (avatax) | 0.75328 | 339.846565 | 299 | | FastRoute\GroupPosBased | benchAll | 256 (avatax) | 0.75421 | 339.426618 | 300 | | FastRoute\MarkBased | benchLast | 256 (avatax) | 0.75442 | 339.332114 | 301 | | FastRoute\GroupCountBased | benchAll | 256 (avatax) | 0.75485 | 339.139409 | 302 | | FastRoute\GroupPosBased | benchLast | 256 (avatax) | 0.75751 | 337.948400 | 303 | | FastRoute\GroupPosBased | benchLongest | 256 (avatax) | 0.75814 | 337.668040 | 304 | | FastRoute\GroupCountBased | benchLongest | 256 (avatax) | 0.75834 | 337.579926 | 305 | | FastRoute\MarkBased | benchLongest | 256 (avatax) | 0.75839 | 337.556791 | 306 | | FastRoute\GroupCountBased | benchLast | 256 (avatax) | 0.75891 | 337.325398 | 307 | | FastRoute\CharCountBased | benchLast | 256 (avatax) | 0.76150 | 336.178226 | 308 | +----------------------------------+--------------+-----------------+---------+------------+ 309 | ``` 310 | 311 | ## PHP 8.0 312 | ``` 313 | +----------------------------------+--------------+-----------------+---------+------------+ 314 | | Benchmark | Case | Provider Routes | Seconds | Per Second | 315 | +----------------------------------+--------------+-----------------+---------+------------+ 316 | | FastRoute\GroupPosBased_Cached | benchSetup | 256 (avatax) | 0.00245 | 104408.967 | 317 | | FastRoute\GroupCountBased_Cached | benchSetup | 256 (avatax) | 0.00256 | 99845.8084 | 318 | | FastRoute\MarkBased_Cached | benchSetup | 256 (avatax) | 0.00257 | 99494.2386 | 319 | | FastRoute\CharCountBased_Cached | benchSetup | 256 (avatax) | 0.00275 | 93158.2356 | 320 | | FastRoute\CharCountBased_Cached | benchSetup | 178 (bitbucket) | 0.00199 | 89443.6458 | 321 | | FastRoute\MarkBased_Cached | benchSetup | 178 (bitbucket) | 0.00250 | 71198.3703 | 322 | | FastRoute\GroupPosBased_Cached | benchSetup | 178 (bitbucket) | 0.00253 | 70379.5354 | 323 | | FastRoute\GroupCountBased_Cached | benchSetup | 178 (bitbucket) | 0.00258 | 69070.7847 | 324 | | FastRoute\CharCountBased_Cached | benchAll | 256 (avatax) | 0.00402 | 63727.3324 | 325 | | FastRoute\CharCountBased_Cached | benchAll | 178 (bitbucket) | 0.00280 | 63571.7057 | 326 | | FastRoute\GroupCountBased_Cached | benchAll | 256 (avatax) | 0.00412 | 62091.1249 | 327 | | FastRoute\GroupPosBased_Cached | benchAll | 256 (avatax) | 0.00457 | 56020.3382 | 328 | | FastRoute\CharCountBased_Cached | benchLast | 256 (avatax) | 0.00483 | 53047.8644 | 329 | | FastRoute\MarkBased_Cached | benchAll | 256 (avatax) | 0.00483 | 52948.4601 | 330 | | FastRoute\GroupCountBased_Cached | benchAll | 178 (bitbucket) | 0.00337 | 52833.2115 | 331 | | Symfony\CompiledUrlMatcher | benchSetup | 256 (avatax) | 0.00494 | 51831.5226 | 332 | | FastRoute\CharCountBased_Cached | benchLongest | 256 (avatax) | 0.00501 | 51089.2051 | 333 | | FastRoute\MarkBased_Cached | benchLongest | 256 (avatax) | 0.00514 | 49844.1102 | 334 | | FastRoute\GroupCountBased_Cached | benchLongest | 256 (avatax) | 0.00515 | 49698.7652 | 335 | | FastRoute\GroupPosBased_Cached | benchAll | 178 (bitbucket) | 0.00359 | 49583.9883 | 336 | | FastRoute\MarkBased_Cached | benchAll | 178 (bitbucket) | 0.00387 | 45957.9016 | 337 | | FastRoute\GroupPosBased_Cached | benchLongest | 256 (avatax) | 0.00569 | 44982.9000 | 338 | | FastRoute\GroupCountBased_Cached | benchLast | 256 (avatax) | 0.00570 | 44928.3159 | 339 | | FastRoute\GroupPosBased_Cached | benchLast | 256 (avatax) | 0.00574 | 44622.1096 | 340 | | FastRoute\CharCountBased_Cached | benchLongest | 178 (bitbucket) | 0.00417 | 42696.2205 | 341 | | FastRoute\MarkBased_Cached | benchLast | 256 (avatax) | 0.00613 | 41789.5938 | 342 | | FastRoute\MarkBased_Cached | benchLongest | 178 (bitbucket) | 0.00435 | 40929.0122 | 343 | | Symfony\CompiledUrlMatcher | benchSetup | 178 (bitbucket) | 0.00450 | 39598.2874 | 344 | | FastRoute\GroupPosBased_Cached | benchLast | 178 (bitbucket) | 0.00456 | 39069.8682 | 345 | | FastRoute\GroupPosBased_Cached | benchLongest | 178 (bitbucket) | 0.00456 | 39035.1412 | 346 | | FastRoute\CharCountBased_Cached | benchLast | 178 (bitbucket) | 0.00464 | 38347.4298 | 347 | | FastRoute\MarkBased_Cached | benchLast | 178 (bitbucket) | 0.00486 | 36595.5645 | 348 | | FastRoute\GroupCountBased_Cached | benchLongest | 178 (bitbucket) | 0.00548 | 32494.1727 | 349 | | Symfony\CompiledUrlMatcher | benchLast | 256 (avatax) | 0.00797 | 32124.8750 | 350 | | Symfony\CompiledUrlMatcher | benchAll | 256 (avatax) | 0.00806 | 31749.6621 | 351 | | FastRoute\GroupCountBased_Cached | benchLast | 178 (bitbucket) | 0.00583 | 30521.4877 | 352 | | Symfony\CompiledUrlMatcher | benchLongest | 256 (avatax) | 0.00893 | 28676.7038 | 353 | | Symfony\CompiledUrlMatcher | benchLast | 178 (bitbucket) | 0.00650 | 27371.5395 | 354 | | Symfony\CompiledUrlMatcher | benchLongest | 178 (bitbucket) | 0.00656 | 27137.7307 | 355 | | Symfony\CompiledUrlMatcher | benchAll | 178 (bitbucket) | 0.00713 | 24968.6001 | 356 | | Symfony\UrlMatcher | benchSetup | 178 (bitbucket) | 0.03712 | 4794.87564 | 357 | | Symfony\UrlMatcher | benchSetup | 256 (avatax) | 0.07012 | 3650.68058 | 358 | | Symfony\UrlMatcher | benchAll | 178 (bitbucket) | 0.04896 | 3635.48147 | 359 | | Symfony\UrlMatcher | benchAll | 256 (avatax) | 0.07226 | 3542.95404 | 360 | | FastRoute\GroupCountBased | benchSetup | 178 (bitbucket) | 0.13366 | 1331.73646 | 361 | | FastRoute\MarkBased | benchSetup | 178 (bitbucket) | 0.13390 | 1329.36992 | 362 | | FastRoute\GroupPosBased | benchLongest | 178 (bitbucket) | 0.13566 | 1312.07445 | 363 | | FastRoute\GroupCountBased | benchLast | 178 (bitbucket) | 0.13753 | 1294.28243 | 364 | | FastRoute\MarkBased | benchAll | 178 (bitbucket) | 0.13756 | 1293.96165 | 365 | | FastRoute\GroupPosBased | benchSetup | 178 (bitbucket) | 0.13791 | 1290.72464 | 366 | | FastRoute\MarkBased | benchLast | 178 (bitbucket) | 0.13802 | 1289.65889 | 367 | | FastRoute\GroupPosBased | benchAll | 178 (bitbucket) | 0.13871 | 1283.26144 | 368 | | FastRoute\GroupPosBased | benchLast | 178 (bitbucket) | 0.14163 | 1256.78799 | 369 | | FastRoute\GroupCountBased | benchAll | 178 (bitbucket) | 0.14206 | 1252.98291 | 370 | | FastRoute\CharCountBased | benchLast | 178 (bitbucket) | 0.14391 | 1236.84172 | 371 | | FastRoute\MarkBased | benchLongest | 178 (bitbucket) | 0.14714 | 1209.70849 | 372 | | FastRoute\GroupCountBased | benchLongest | 178 (bitbucket) | 0.14937 | 1191.65492 | 373 | | Symfony\UrlMatcher | benchLongest | 178 (bitbucket) | 0.15510 | 1147.62471 | 374 | | FastRoute\CharCountBased | benchLongest | 178 (bitbucket) | 0.15512 | 1147.52064 | 375 | | FastRoute\CharCountBased | benchSetup | 178 (bitbucket) | 0.15596 | 1141.28278 | 376 | | FastRoute\CharCountBased | benchAll | 178 (bitbucket) | 0.16020 | 1111.07721 | 377 | | Symfony\UrlMatcher | benchLongest | 256 (avatax) | 0.29018 | 882.216937 | 378 | | Symfony\UrlMatcher | benchLast | 256 (avatax) | 0.34392 | 744.363297 | 379 | | Symfony\UrlMatcher | benchLast | 178 (bitbucket) | 0.26980 | 659.755668 | 380 | | FastRoute\CharCountBased | benchSetup | 256 (avatax) | 0.65860 | 388.704522 | 381 | | FastRoute\GroupPosBased | benchSetup | 256 (avatax) | 0.66391 | 385.593376 | 382 | | FastRoute\GroupPosBased | benchLongest | 256 (avatax) | 0.66578 | 384.510810 | 383 | | FastRoute\GroupPosBased | benchAll | 256 (avatax) | 0.66791 | 383.286894 | 384 | | FastRoute\GroupPosBased | benchLast | 256 (avatax) | 0.67170 | 381.121983 | 385 | | FastRoute\CharCountBased | benchAll | 256 (avatax) | 0.67780 | 377.692435 | 386 | | FastRoute\CharCountBased | benchLast | 256 (avatax) | 0.68050 | 376.192903 | 387 | | FastRoute\GroupCountBased | benchLast | 256 (avatax) | 0.68315 | 374.736879 | 388 | | FastRoute\GroupCountBased | benchSetup | 256 (avatax) | 0.68423 | 374.144191 | 389 | | FastRoute\CharCountBased | benchLongest | 256 (avatax) | 0.68938 | 371.350388 | 390 | | FastRoute\MarkBased | benchSetup | 256 (avatax) | 0.69827 | 366.620318 | 391 | | FastRoute\GroupCountBased | benchLongest | 256 (avatax) | 0.71279 | 359.153019 | 392 | | FastRoute\MarkBased | benchLast | 256 (avatax) | 0.71922 | 355.943202 | 393 | | FastRoute\GroupCountBased | benchAll | 256 (avatax) | 0.72071 | 355.207732 | 394 | | FastRoute\MarkBased | benchLongest | 256 (avatax) | 0.73385 | 348.844677 | 395 | | FastRoute\MarkBased | benchAll | 256 (avatax) | 0.77061 | 332.203083 | 396 | +----------------------------------+--------------+-----------------+---------+------------+ 397 | ``` 398 | -------------------------------------------------------------------------------- /benchmark/FastRoute/CachedDispatcherAbstract.php: -------------------------------------------------------------------------------- 1 | cachedRoutes[ $providerName = $provider->name() ] = 27 | dirname(__FILE__, 3) 28 | . "/routes/cache/fastroute/" 29 | . "{$strategy}/{$providerName}.php"; 30 | 31 | $this->checkFile($cacheFile, ''); 32 | } 33 | 34 | function setupRouting( $providerName ) 35 | { 36 | return cachedDispatcher( 37 | $this->loadRoutes[ $providerName ], [ 38 | 'dataGenerator' => $this->dataGeneratorClass, 39 | 'dispatcher' => $this->dispatcherClass, 40 | 'cacheFile' => $this->cachedRoutes[ $providerName ] 41 | ]); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /benchmark/FastRoute/CharCountBased_Benchmark.php: -------------------------------------------------------------------------------- 1 | setupRouting($providerName); 18 | 19 | $match = $dispatcher->dispatch('GET', $route); 20 | return array('_route' => $match[1]) + $match[2]; 21 | } 22 | 23 | protected $loadRoutes = array(); 24 | 25 | protected function setupProvider(ProviderAbstract $provider) 26 | { 27 | parent::setupProvider($provider); 28 | 29 | $this->loadRoutes[ $providerName = $provider->name() ] = 30 | function(RouteCollector $routes) use ($providerName) 31 | { 32 | include $this->getRoutesFilename( $providerName ); 33 | }; 34 | } 35 | 36 | function setupRouting( $providerName ) 37 | { 38 | return simpleDispatcher( 39 | $this->loadRoutes[ $providerName ], [ 40 | 'dataGenerator' => $this->dataGeneratorClass, 41 | 'dispatcher' => $this->dispatcherClass 42 | ]); 43 | } 44 | 45 | function getRoutesFilename( string $providerName ) : string 46 | { 47 | return dirname(__FILE__, 3) 48 | . "/routes/definition/fastroute/{$providerName}.php"; 49 | } 50 | 51 | function generateRoutes(array $routes) : string 52 | { 53 | $php = ''; 54 | foreach ($routes as $route) 55 | { 56 | $name = preg_replace('#\W+#', '_', $route); 57 | $name = trim($name, '_'); 58 | 59 | /* 60 | * $routes->addRoute('GET', '/addon', 'addon'); 61 | */ 62 | $php .= "\n" . "\$routes->addRoute('GET', '{$route}', '{$name}');"; 63 | } 64 | 65 | return 'name(); 24 | $this->compiledRoutes[ $providerName ] = dirname(__FILE__, 3) 25 | . "/routes/cache/symfony/{$providerName}.php"; 26 | 27 | if (!is_file($this->compiledRoutes[ $providerName ])) 28 | { 29 | 30 | $dumper = new CompiledUrlMatcherDumper( 31 | include $this->getRoutesFilename( 32 | $providerName 33 | ) 34 | ); 35 | 36 | $compiled = $dumper->getCompiledRoutes(); 37 | 38 | $this->writeFile( 39 | $this->compiledRoutes[ $providerName ], 40 | 'compiledRoutes[ $providerName ], 50 | new RequestContext() 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /benchmark/Symfony/UrlMatcher_Benchmark.php: -------------------------------------------------------------------------------- 1 | getRoutesFilename( $providerName ), 19 | new RequestContext() 20 | ); 21 | } 22 | 23 | function runRouting(string $providerName, string $route) : array 24 | { 25 | $matcher = $this->setupRouting( $providerName ); 26 | return $matcher->match($route); 27 | } 28 | 29 | function getRoutesFilename( string $providerName ) : string 30 | { 31 | return dirname(__FILE__, 3) 32 | . "/routes/definition/symfony/{$providerName}.php"; 33 | } 34 | 35 | function generateRoutes(array $routes) : string 36 | { 37 | $php = ''; 38 | foreach ($routes as $route) 39 | { 40 | $name = preg_replace('#\W+#', '_', $route); 41 | $name = trim($name, '_'); 42 | 43 | /* 44 | * $routes->add('workspaces', new Route('/workspaces')); 45 | */ 46 | $php .= "\n" . "\$routes->add('{$name}', new Route('{$route}'));"; 47 | } 48 | 49 | return 'buildRoutes($provider); 70 | $this->setupProvider($provider); 71 | } 72 | 73 | Benchmarks::addBenchmark($this); 74 | } 75 | 76 | /** 77 | * Build the routes declaration from the routes in $provider 78 | * 79 | * @param ProviderAbstract $provider 80 | */ 81 | function buildRoutes(ProviderAbstract $provider) 82 | { 83 | $filename = $this->getRoutesFilename( 84 | $providerName = $provider->name() 85 | ); 86 | 87 | if (is_file($filename)) 88 | { 89 | return; 90 | } 91 | 92 | $this->writeFile( 93 | $filename, 94 | $this->generateRoutes( $provider->getRoutes() ) 95 | ); 96 | } 97 | 98 | /** 99 | * Shortcut method for writing files that does the extra folder check 100 | * 101 | * @param string $filename 102 | * @param string $contents 103 | */ 104 | protected function writeFile(string $filename, string $contents) 105 | { 106 | $this->checkFile($filename); 107 | file_put_contents( $filename, $contents ); 108 | } 109 | 110 | /** 111 | * Shortcut method for extra folder check 112 | * 113 | * @param string $filename 114 | */ 115 | protected function checkFile(string $filename) 116 | { 117 | $dir = dirname($filename); 118 | if (!is_dir($dir)) 119 | { 120 | mkdir($dir, 02777, true); 121 | } 122 | } 123 | 124 | /** 125 | * @var array list of provider names (key and value are the same) 126 | */ 127 | protected $providerNames = array(); 128 | 129 | /** 130 | * @var array list of last routes per provider 131 | */ 132 | protected $lastRoute = array(); 133 | 134 | /** 135 | * @var array list of longest routes per provider 136 | */ 137 | protected $longestRoute = array(); 138 | 139 | /** 140 | * Setup the benchmark with the details from $provider 141 | * 142 | * This method will extract the provider name, find the longest route 143 | * and the last route. 144 | * 145 | * @param ProviderAbstract $provider 146 | */ 147 | protected function setupProvider(ProviderAbstract $provider) 148 | { 149 | $this->providerNames[$name = $provider->name()] = [$name]; 150 | 151 | $longest = null; 152 | foreach ($provider->getResults() as $route) 153 | { 154 | if (!$longest) 155 | { 156 | $longest = $route; 157 | continue; 158 | } 159 | 160 | if (strlen($route['route']) > strlen($longest['route'])) 161 | { 162 | $longest = $route; 163 | } 164 | } 165 | 166 | $this->lastRoute[ $name ] = array( 167 | $name, 168 | $route['route'], 169 | $route['result'] 170 | ); 171 | 172 | $this->longestRoute[ $name ] = array( 173 | $name, 174 | $longest['route'], 175 | $longest['result'] 176 | ); 177 | } 178 | 179 | /** 180 | * Do the actual benchmark for $route and compare the output with $result 181 | * 182 | * @param string $providerName 183 | * @param string $route 184 | * @param array $result 185 | * @throws UnexpectedValueException 186 | */ 187 | function doBenchmark(string $providerName, string $route, array $result) 188 | { 189 | $match = $this->runRouting( $providerName, $route ); 190 | 191 | if ($match != $result) 192 | { 193 | throw new UnexpectedValueException( 194 | 'Result mismatch: ' 195 | . print_r($match, true) 196 | . ' != ' 197 | . print_r($result, true) 198 | ); 199 | } 200 | } 201 | 202 | /** 203 | * @ParamProviders("getProviderName") 204 | */ 205 | function benchSetup(array $provider) 206 | { 207 | $this->setupRouting( $provider[0] ); 208 | } 209 | 210 | function getProviderName() : Generator 211 | { 212 | yield from $this->providerNames; 213 | } 214 | 215 | /** 216 | * @ParamProviders("getLastRoute") 217 | */ 218 | function benchLast(array $last) 219 | { 220 | $this->doBenchmark( ...$last ); 221 | } 222 | 223 | function getLastRoute() : Generator 224 | { 225 | yield from $this->lastRoute; 226 | } 227 | 228 | /** 229 | * @ParamProviders("getLongestRoute") 230 | */ 231 | function benchLongest(array $longest) 232 | { 233 | $this->doBenchmark(...$longest ); 234 | } 235 | 236 | function getLongestRoute() : Generator 237 | { 238 | yield from $this->longestRoute; 239 | } 240 | 241 | /** 242 | * @ParamProviders("getProviderName") 243 | */ 244 | function benchAll(array $provider) 245 | { 246 | $next = $this->getNextRoute( $provider[0] ); 247 | $this->doBenchmark( $provider[0], $next['route'], $next['result'] ); 248 | } 249 | 250 | /** 251 | * Cycle over all of the routes from the $name provider 252 | * 253 | * @param string $providerName the name of the provider 254 | * @return array next route from the list of results 255 | */ 256 | function getNextRoute( $providerName ) 257 | { 258 | static $routes; 259 | if (empty($routes[ $providerName ])) 260 | { 261 | foreach (Providers::getProviders() as $provider) 262 | { 263 | $routes[ $provider->name() ] = $provider->getResults(); 264 | } 265 | } 266 | 267 | $route = $routes[ $providerName ]->current(); 268 | if (!$routes[ $providerName ]->next()) 269 | { 270 | $routes[ $providerName ] = null; 271 | } 272 | 273 | return $route; 274 | } 275 | } 276 | -------------------------------------------------------------------------------- /kit/Benchmark/Quick.php: -------------------------------------------------------------------------------- 1 | script = $argv[0]; 45 | 46 | $benchIndex = $argv[1] ?? ''; 47 | $benchCase = $argv[2] ?? ''; 48 | $providerName = $argv[3] ?? ''; 49 | 50 | ('' === $benchIndex) 51 | ? $this->report() 52 | : $this->run($benchIndex, $benchCase, $providerName); 53 | } 54 | 55 | /** 56 | * Generates and prints the report with all the benchmarks for all the providers 57 | */ 58 | function report() 59 | { 60 | $output = new ConsoleOutput; 61 | 62 | $results = array(); 63 | foreach (Providers::getProviders() as $provider) 64 | { 65 | $providerName = $provider->name(); 66 | $output->writeln("Provider: {$providerName}"); 67 | 68 | $progressBar = new ProgressBar( 69 | $output, count(Benchmarks::getBenchmarks()) 70 | * count(self::benchCases) 71 | ); 72 | 73 | $repeats = $provider->count(); 74 | $providerReport = $this->providerReport($providerName); 75 | foreach ($providerReport as $result) 76 | { 77 | $result['repeats'] = $repeats; 78 | $result['per_second'] = $result['time'] 79 | ? $repeats / $result['time'] 80 | : 0; 81 | 82 | $results[] = $result; 83 | $progressBar->advance(); 84 | } 85 | 86 | $progressBar->finish(); 87 | $output->writeln(''); 88 | } 89 | 90 | usort($results, static function($a, $b) 91 | { 92 | return $b['per_second'] <=> $a['per_second']; 93 | }); 94 | 95 | $table = new Table($output); 96 | $table->setHeaders([ 97 | 'Benchmark', 'Case', 98 | 'Provider Routes', 99 | 'Seconds', 'Per Second' 100 | ]); 101 | 102 | foreach ($results as $data) 103 | { 104 | // $benchmark = substr($data['class'], 28); 105 | $benchmark = substr($data['class'], 28, -10); 106 | 107 | $table->addRow([ 108 | $benchmark, 109 | $data['case'], 110 | $data['repeats'] . " ({$data['provider']})", 111 | sprintf('%0.5f', $data['time']), 112 | substr($data['per_second'], 0, 10) 113 | ]); 114 | } 115 | 116 | $table->render(); 117 | } 118 | 119 | /** 120 | * Executes all of the benchmarks against the routes of $providerName provider 121 | * 122 | * @param string $providerName 123 | * @return Generator 124 | */ 125 | function providerReport(string $providerName) : iterable 126 | { 127 | foreach (Benchmarks::getBenchmarks() as $benchIndex => $benchmark) 128 | { 129 | foreach (self::benchCases as $benchCase) 130 | { 131 | $time = shell_exec("php \ 132 | -dopcache.enable=1 \ 133 | -dopcache.enable_cli=1 \ 134 | {$this->script} \ 135 | {$benchIndex} \ 136 | {$benchCase} \ 137 | {$providerName}"); 138 | 139 | yield array( 140 | 'provider' => $providerName, 141 | 'class' => get_class($benchmark), 142 | 'case' => $benchCase, 143 | 'time' => $time 144 | ); 145 | } 146 | } 147 | } 148 | 149 | /** 150 | * Prints out the time spent executing $benchCase from benchmark class 151 | * identified by $benchIndex using the routes from $providerName provider 152 | * 153 | * @param integer $benchIndex 154 | * @param string $benchCase 155 | * @param string $providerName 156 | */ 157 | function run($benchIndex, $benchCase, $providerName) 158 | { 159 | foreach (Benchmarks::getBenchmarks() as $i => $benchmark) 160 | { 161 | if ($i == $benchIndex) 162 | { 163 | break; 164 | } 165 | } 166 | 167 | foreach (Providers::getProviders() as $provider) 168 | { 169 | if ($provider->name() == $providerName) 170 | { 171 | break; 172 | } 173 | } 174 | 175 | // benchmark case params are per provider 176 | // 177 | $params = array( 0 => $providerName ); 178 | if ('benchLongest' == $benchCase) 179 | { 180 | foreach ($benchmark->getLongestRoute() as $name => $longest) 181 | { 182 | if ($name == $providerName) 183 | { 184 | $params = $longest; 185 | break; 186 | } 187 | } 188 | } else 189 | if ('benchLast' == $benchCase) 190 | { 191 | foreach ($benchmark->getLastRoute() as $name => $last) 192 | { 193 | if ($name == $providerName) 194 | { 195 | $params = $last; 196 | break; 197 | } 198 | } 199 | } 200 | 201 | $repeats = $provider->count(); 202 | 203 | $start = microtime(true); 204 | for ($i = 0; $i < $repeats; $i++) 205 | { 206 | $benchmark->$benchCase($params); 207 | } 208 | 209 | echo microtime(true) - $start; 210 | } 211 | } 212 | -------------------------------------------------------------------------------- /kit/Benchmark/Register.php: -------------------------------------------------------------------------------- 1 | load($txt); 31 | } 32 | 33 | protected function load($txt) 34 | { 35 | if (!is_file($txt)) 36 | { 37 | return false; 38 | } 39 | 40 | $lines = file($txt); 41 | $this->api = array_map('trim', $lines); 42 | sort($this->api); 43 | 44 | return true; 45 | } 46 | 47 | function name() : string 48 | { 49 | return static::LOCAL; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /kit/Provider/ProviderAbstract.php: -------------------------------------------------------------------------------- 1 | api); 28 | } 29 | 30 | function getRoutes() : iterable 31 | { 32 | return $this->api; 33 | } 34 | 35 | protected $resultValues = ['john', 'paul', 'george', 'ringo']; 36 | 37 | protected function getValue() : string 38 | { 39 | $value = current($this->resultValues); 40 | if (!next($this->resultValues)) 41 | { 42 | reset($this->resultValues); 43 | } 44 | 45 | return $value; 46 | } 47 | 48 | function getResults() : iterable 49 | { 50 | foreach ($this->getRoutes() as $route) 51 | { 52 | $name = preg_replace('#\W+#', '_', $route); 53 | $name = trim($name, '_'); 54 | 55 | $result = array('_route' => $name); 56 | 57 | preg_match_all('#\{(\w+)\}#', $route, $R); 58 | if (!empty($R[1])) 59 | { 60 | foreach ($R[1] as $i => $var) 61 | { 62 | $value = $this->getValue(); 63 | $result[ $var ] = $value; 64 | $route = str_replace($R[0][$i], $value, $route); 65 | } 66 | } 67 | 68 | yield $name => array( 69 | 'route' => $route, 70 | 'result' => $result, 71 | ); 72 | } 73 | } 74 | 75 | abstract function name() : string; 76 | } 77 | -------------------------------------------------------------------------------- /kit/Provider/Register.php: -------------------------------------------------------------------------------- 1 | name() ] = $provider; 14 | } 15 | 16 | static function getProviders() : iterable 17 | { 18 | return self::$providers; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /kit/Provider/RemoteAbstract.php: -------------------------------------------------------------------------------- 1 | download($txt); 20 | 21 | if (is_file($tmp)) 22 | { 23 | $this->parse($tmp, $txt); 24 | } 25 | } 26 | 27 | return parent::load($txt); 28 | } 29 | 30 | protected function download($txt) 31 | { 32 | $url = static::URL; 33 | $tmp = '/tmp/remote.api.' . md5($url); 34 | 35 | shell_exec("curl -s -L {$url} -o {$tmp}"); 36 | 37 | return $tmp; 38 | } 39 | 40 | abstract protected function parse($tmp, $txt); 41 | } 42 | -------------------------------------------------------------------------------- /kit/Provider/SwaggerAbstract.php: -------------------------------------------------------------------------------- 1 | paths as $path => $dummy) 30 | { 31 | $routes[] = $path; 32 | } 33 | 34 | if (!$routes) 35 | { 36 | return false; 37 | } 38 | 39 | file_put_contents($txt, join("\n", $this->api = $routes)); 40 | return true; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /phpbench.json: -------------------------------------------------------------------------------- 1 | { 2 | "runner.bootstrap": "config.php", 3 | "runner.path": "benchmark", 4 | "runner.file_pattern": "*_Benchmark.php", 5 | "runner.php_config": 6 | { 7 | "opcache.enable": 1, 8 | "opcache.enable_cli": 1 9 | }, 10 | "report.generators": 11 | { 12 | "short": 13 | { 14 | "extends": "aggregate", 15 | "cols": [ 16 | "benchmark", "subject", "set", 17 | "best", "mean", "mode", "worst", 18 | "stdev", "rstdev", 19 | "diff" 20 | ], 21 | "expressions": 22 | { 23 | "diff": "percent_diff(mode(suite[\"result_time_avg\"]), mode(result_time_avg))" 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /provider/Avatax.php: -------------------------------------------------------------------------------- 1 | addRoute('GET', '/api/v2/accounts', 'api_v2_accounts'); 4 | $routes->addRoute('GET', '/api/v2/accounts/ListAccountsByTssWriteMode/{writeMode}', 'api_v2_accounts_ListAccountsByTssWriteMode_writeMode'); 5 | $routes->addRoute('GET', '/api/v2/accounts/freetrials/request', 'api_v2_accounts_freetrials_request'); 6 | $routes->addRoute('GET', '/api/v2/accounts/request', 'api_v2_accounts_request'); 7 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/jurisdictionoverrides', 'api_v2_accounts_accountId_jurisdictionoverrides'); 8 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/jurisdictionoverrides/{id}', 'api_v2_accounts_accountId_jurisdictionoverrides_id'); 9 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/subscriptions', 'api_v2_accounts_accountId_subscriptions'); 10 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/subscriptions/{id}', 'api_v2_accounts_accountId_subscriptions_id'); 11 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/users', 'api_v2_accounts_accountId_users'); 12 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/users/{id}', 'api_v2_accounts_accountId_users_id'); 13 | $routes->addRoute('GET', '/api/v2/accounts/{accountId}/users/{id}/entitlements', 'api_v2_accounts_accountId_users_id_entitlements'); 14 | $routes->addRoute('GET', '/api/v2/accounts/{id}', 'api_v2_accounts_id'); 15 | $routes->addRoute('GET', '/api/v2/accounts/{id}/activate', 'api_v2_accounts_id_activate'); 16 | $routes->addRoute('GET', '/api/v2/accounts/{id}/audit', 'api_v2_accounts_id_audit'); 17 | $routes->addRoute('GET', '/api/v2/accounts/{id}/configuration', 'api_v2_accounts_id_configuration'); 18 | $routes->addRoute('GET', '/api/v2/accounts/{id}/entitlements/{offer}', 'api_v2_accounts_id_entitlements_offer'); 19 | $routes->addRoute('GET', '/api/v2/accounts/{id}/licensekey', 'api_v2_accounts_id_licensekey'); 20 | $routes->addRoute('GET', '/api/v2/accounts/{id}/licensekey/{licensekeyname}', 'api_v2_accounts_id_licensekey_licensekeyname'); 21 | $routes->addRoute('GET', '/api/v2/accounts/{id}/licensekeys', 'api_v2_accounts_id_licensekeys'); 22 | $routes->addRoute('GET', '/api/v2/accounts/{id}/resetlicensekey', 'api_v2_accounts_id_resetlicensekey'); 23 | $routes->addRoute('GET', '/api/v2/addresses/resolve', 'api_v2_addresses_resolve'); 24 | $routes->addRoute('GET', '/api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles', 'api_v2_advancedrules_accounts_accountId_companies_companyId_lookupFiles'); 25 | $routes->addRoute('GET', '/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}', 'api_v2_advancedrules_accounts_accountId_lookupFiles_id'); 26 | $routes->addRoute('GET', '/api/v2/avafileforms', 'api_v2_avafileforms'); 27 | $routes->addRoute('GET', '/api/v2/avafileforms/{id}', 'api_v2_avafileforms_id'); 28 | $routes->addRoute('GET', '/api/v2/batches', 'api_v2_batches'); 29 | $routes->addRoute('GET', '/api/v2/companies', 'api_v2_companies'); 30 | $routes->addRoute('GET', '/api/v2/companies/initialize', 'api_v2_companies_initialize'); 31 | $routes->addRoute('GET', '/api/v2/companies/mrs', 'api_v2_companies_mrs'); 32 | $routes->addRoute('GET', '/api/v2/companies/transactions/lines/add', 'api_v2_companies_transactions_lines_add'); 33 | $routes->addRoute('GET', '/api/v2/companies/transactions/lines/delete', 'api_v2_companies_transactions_lines_delete'); 34 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions', 'api_v2_companies_companyCode_transactions'); 35 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}', 'api_v2_companies_companyCode_transactions_transactionCode'); 36 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/adjust', 'api_v2_companies_companyCode_transactions_transactionCode_adjust'); 37 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/audit', 'api_v2_companies_companyCode_transactions_transactionCode_audit'); 38 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/changecode', 'api_v2_companies_companyCode_transactions_transactionCode_changecode'); 39 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/commit', 'api_v2_companies_companyCode_transactions_transactionCode_commit'); 40 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/lock', 'api_v2_companies_companyCode_transactions_transactionCode_lock'); 41 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/refund', 'api_v2_companies_companyCode_transactions_transactionCode_refund'); 42 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/settle', 'api_v2_companies_companyCode_transactions_transactionCode_settle'); 43 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/types/{documentType}', 'api_v2_companies_companyCode_transactions_transactionCode_types_documentType'); 44 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/types/{documentType}/audit', 'api_v2_companies_companyCode_transactions_transactionCode_types_documentType_audit'); 45 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/uncommit', 'api_v2_companies_companyCode_transactions_transactionCode_uncommit'); 46 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/unvoid', 'api_v2_companies_companyCode_transactions_transactionCode_unvoid'); 47 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/verify', 'api_v2_companies_companyCode_transactions_transactionCode_verify'); 48 | $routes->addRoute('GET', '/api/v2/companies/{companyCode}/transactions/{transactionCode}/void', 'api_v2_companies_companyCode_transactions_transactionCode_void'); 49 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/batches', 'api_v2_companies_companyId_batches'); 50 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/batches/transactions', 'api_v2_companies_companyId_batches_transactions'); 51 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/batches/{batchId}/files/{id}/attachment', 'api_v2_companies_companyId_batches_batchId_files_id_attachment'); 52 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/batches/{id}', 'api_v2_companies_companyId_batches_id'); 53 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/batches/{id}/cancel', 'api_v2_companies_companyId_batches_id_cancel'); 54 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certexpressinvites', 'api_v2_companies_companyId_certexpressinvites'); 55 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates', 'api_v2_companies_companyId_certificates'); 56 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/setup', 'api_v2_companies_companyId_certificates_setup'); 57 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}', 'api_v2_companies_companyId_certificates_id'); 58 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/attachment', 'api_v2_companies_companyId_certificates_id_attachment'); 59 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/attributes', 'api_v2_companies_companyId_certificates_id_attributes'); 60 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/attributes/link', 'api_v2_companies_companyId_certificates_id_attributes_link'); 61 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/attributes/unlink', 'api_v2_companies_companyId_certificates_id_attributes_unlink'); 62 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/customers', 'api_v2_companies_companyId_certificates_id_customers'); 63 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/customers/link', 'api_v2_companies_companyId_certificates_id_customers_link'); 64 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/certificates/{id}/customers/unlink', 'api_v2_companies_companyId_certificates_id_customers_unlink'); 65 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/contacts', 'api_v2_companies_companyId_contacts'); 66 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/contacts/{id}', 'api_v2_companies_companyId_contacts_id'); 67 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers', 'api_v2_companies_companyId_customers'); 68 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/billto/{code}/shipto/link', 'api_v2_companies_companyId_customers_billto_code_shipto_link'); 69 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}', 'api_v2_companies_companyId_customers_customerCode'); 70 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/attributes', 'api_v2_companies_companyId_customers_customerCode_attributes'); 71 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/attributes/link', 'api_v2_companies_companyId_customers_customerCode_attributes_link'); 72 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/attributes/unlink', 'api_v2_companies_companyId_customers_customerCode_attributes_unlink'); 73 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/certexpressinvites', 'api_v2_companies_companyId_customers_customerCode_certexpressinvites'); 74 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/certexpressinvites/{id}', 'api_v2_companies_companyId_customers_customerCode_certexpressinvites_id'); 75 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/certificates', 'api_v2_companies_companyId_customers_customerCode_certificates'); 76 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/certificates/link', 'api_v2_companies_companyId_customers_customerCode_certificates_link'); 77 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/certificates/unlink', 'api_v2_companies_companyId_customers_customerCode_certificates_unlink'); 78 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/customers/{customerCode}/certificates/{country}/{region}', 'api_v2_companies_companyId_customers_customerCode_certificates_country_region'); 79 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/datasources', 'api_v2_companies_companyId_datasources'); 80 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/datasources/{id}', 'api_v2_companies_companyId_datasources_id'); 81 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/distancethresholds', 'api_v2_companies_companyId_distancethresholds'); 82 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/distancethresholds/{id}', 'api_v2_companies_companyId_distancethresholds_id'); 83 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/ecommercetokens', 'api_v2_companies_companyId_ecommercetokens'); 84 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/filingcalendars/Legacy', 'api_v2_companies_companyId_filingcalendars_Legacy'); 85 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/filingcalendars/edit/cycleSafeOptions', 'api_v2_companies_companyId_filingcalendars_edit_cycleSafeOptions'); 86 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/filingcalendars/{filingCalendarId}/setting/{companyReturnSettingId}', 'api_v2_companies_companyId_filingcalendars_filingCalendarId_setting_companyReturnSettingId'); 87 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/filings/accrual/{filingReturnId}', 'api_v2_companies_companyId_filings_accrual_filingReturnId'); 88 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/filings/returns/filed', 'api_v2_companies_companyId_filings_returns_filed'); 89 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/funding/configuration', 'api_v2_companies_companyId_funding_configuration'); 90 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/funding/configurations', 'api_v2_companies_companyId_funding_configurations'); 91 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items', 'api_v2_companies_companyId_items'); 92 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/bytags/{tag}', 'api_v2_companies_companyId_items_bytags_tag'); 93 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/sync', 'api_v2_companies_companyId_items_sync'); 94 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/upload', 'api_v2_companies_companyId_items_upload'); 95 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{id}', 'api_v2_companies_companyId_items_id'); 96 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{itemId}/classifications', 'api_v2_companies_companyId_items_itemId_classifications'); 97 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{itemId}/classifications/{id}', 'api_v2_companies_companyId_items_itemId_classifications_id'); 98 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{itemId}/parameters', 'api_v2_companies_companyId_items_itemId_parameters'); 99 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{itemId}/parameters/{id}', 'api_v2_companies_companyId_items_itemId_parameters_id'); 100 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{itemId}/tags', 'api_v2_companies_companyId_items_itemId_tags'); 101 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/items/{itemId}/tags/{itemTagDetailId}', 'api_v2_companies_companyId_items_itemId_tags_itemTagDetailId'); 102 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/locations', 'api_v2_companies_companyId_locations'); 103 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/locations/{id}', 'api_v2_companies_companyId_locations_id'); 104 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/locations/{id}/pointofsaledata', 'api_v2_companies_companyId_locations_id_pointofsaledata'); 105 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/locations/{id}/validate', 'api_v2_companies_companyId_locations_id_validate'); 106 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/locations/{locationId}/parameters', 'api_v2_companies_companyId_locations_locationId_parameters'); 107 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/locations/{locationId}/parameters/{id}', 'api_v2_companies_companyId_locations_locationId_parameters_id'); 108 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus', 'api_v2_companies_companyId_nexus'); 109 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus/byTaxTypeGroup/{taxTypeGroup}', 'api_v2_companies_companyId_nexus_byTaxTypeGroup_taxTypeGroup'); 110 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus/byaddress', 'api_v2_companies_companyId_nexus_byaddress'); 111 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus/byform/{formCode}', 'api_v2_companies_companyId_nexus_byform_formCode'); 112 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus/{id}', 'api_v2_companies_companyId_nexus_id'); 113 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus/{nexusId}/parameters', 'api_v2_companies_companyId_nexus_nexusId_parameters'); 114 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id}', 'api_v2_companies_companyId_nexus_nexusId_parameters_id'); 115 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/parameters', 'api_v2_companies_companyId_parameters'); 116 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/parameters/{id}', 'api_v2_companies_companyId_parameters_id'); 117 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/reports/exportdocumentline/initiate', 'api_v2_companies_companyId_reports_exportdocumentline_initiate'); 118 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/settings', 'api_v2_companies_companyId_settings'); 119 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/settings/{id}', 'api_v2_companies_companyId_settings_id'); 120 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/taxcodes', 'api_v2_companies_companyId_taxcodes'); 121 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/taxcodes/{id}', 'api_v2_companies_companyId_taxcodes_id'); 122 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/taxrules', 'api_v2_companies_companyId_taxrules'); 123 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/taxrules/{id}', 'api_v2_companies_companyId_taxrules_id'); 124 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/upcs', 'api_v2_companies_companyId_upcs'); 125 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/upcs/{id}', 'api_v2_companies_companyId_upcs_id'); 126 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/userdefinedfields', 'api_v2_companies_companyId_userdefinedfields'); 127 | $routes->addRoute('GET', '/api/v2/companies/{companyId}/userdefinedfields/{id}', 'api_v2_companies_companyId_userdefinedfields_id'); 128 | $routes->addRoute('GET', '/api/v2/companies/{id}', 'api_v2_companies_id'); 129 | $routes->addRoute('GET', '/api/v2/companies/{id}/certify', 'api_v2_companies_id_certify'); 130 | $routes->addRoute('GET', '/api/v2/companies/{id}/configuration', 'api_v2_companies_id_configuration'); 131 | $routes->addRoute('GET', '/api/v2/companies/{id}/filingstatus', 'api_v2_companies_id_filingstatus'); 132 | $routes->addRoute('GET', '/api/v2/companies/{id}/funding', 'api_v2_companies_id_funding'); 133 | $routes->addRoute('GET', '/api/v2/companies/{id}/funding/setup', 'api_v2_companies_id_funding_setup'); 134 | $routes->addRoute('GET', '/api/v2/compliance/taxauthorityjurisdictionrates', 'api_v2_compliance_taxauthorityjurisdictionrates'); 135 | $routes->addRoute('GET', '/api/v2/contacts', 'api_v2_contacts'); 136 | $routes->addRoute('GET', '/api/v2/datasources', 'api_v2_datasources'); 137 | $routes->addRoute('GET', '/api/v2/definitions/avafileforms', 'api_v2_definitions_avafileforms'); 138 | $routes->addRoute('GET', '/api/v2/definitions/certificateattributes', 'api_v2_definitions_certificateattributes'); 139 | $routes->addRoute('GET', '/api/v2/definitions/certificateexemptreasons', 'api_v2_definitions_certificateexemptreasons'); 140 | $routes->addRoute('GET', '/api/v2/definitions/certificateexposurezones', 'api_v2_definitions_certificateexposurezones'); 141 | $routes->addRoute('GET', '/api/v2/definitions/classification/parametersusage', 'api_v2_definitions_classification_parametersusage'); 142 | $routes->addRoute('GET', '/api/v2/definitions/communications/transactiontypes', 'api_v2_definitions_communications_transactiontypes'); 143 | $routes->addRoute('GET', '/api/v2/definitions/communications/transactiontypes/{id}/servicetypes', 'api_v2_definitions_communications_transactiontypes_id_servicetypes'); 144 | $routes->addRoute('GET', '/api/v2/definitions/communications/tspairs', 'api_v2_definitions_communications_tspairs'); 145 | $routes->addRoute('GET', '/api/v2/definitions/countries', 'api_v2_definitions_countries'); 146 | $routes->addRoute('GET', '/api/v2/definitions/countries/{country}/ratetypes', 'api_v2_definitions_countries_country_ratetypes'); 147 | $routes->addRoute('GET', '/api/v2/definitions/countries/{country}/regions', 'api_v2_definitions_countries_country_regions'); 148 | $routes->addRoute('GET', '/api/v2/definitions/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}/ratetypes', 'api_v2_definitions_countries_country_taxtypes_taxTypeId_taxsubtypes_taxSubTypeId_ratetypes'); 149 | $routes->addRoute('GET', '/api/v2/definitions/coverletters', 'api_v2_definitions_coverletters'); 150 | $routes->addRoute('GET', '/api/v2/definitions/crossborder/sections', 'api_v2_definitions_crossborder_sections'); 151 | $routes->addRoute('GET', '/api/v2/definitions/crossborder/{country}/{hsCode}', 'api_v2_definitions_crossborder_country_hsCode'); 152 | $routes->addRoute('GET', '/api/v2/definitions/crossborder/{country}/{hsCode}/hierarchy', 'api_v2_definitions_crossborder_country_hsCode_hierarchy'); 153 | $routes->addRoute('GET', '/api/v2/definitions/currencies', 'api_v2_definitions_currencies'); 154 | $routes->addRoute('GET', '/api/v2/definitions/entityusecodes', 'api_v2_definitions_entityusecodes'); 155 | $routes->addRoute('GET', '/api/v2/definitions/filingcalendars/loginverifiers', 'api_v2_definitions_filingcalendars_loginverifiers'); 156 | $routes->addRoute('GET', '/api/v2/definitions/filingcalendars/loginverifiers/{form}', 'api_v2_definitions_filingcalendars_loginverifiers_form'); 157 | $routes->addRoute('GET', '/api/v2/definitions/filingfrequencies', 'api_v2_definitions_filingfrequencies'); 158 | $routes->addRoute('GET', '/api/v2/definitions/jurisdictions', 'api_v2_definitions_jurisdictions'); 159 | $routes->addRoute('GET', '/api/v2/definitions/jurisdictions/countries/{country}/regions/{region}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}', 'api_v2_definitions_jurisdictions_countries_country_regions_region_taxtypes_taxTypeId_taxsubtypes_taxSubTypeId'); 160 | $routes->addRoute('GET', '/api/v2/definitions/jurisdictionsnearaddress', 'api_v2_definitions_jurisdictionsnearaddress'); 161 | $routes->addRoute('GET', '/api/v2/definitions/listallmarketplacelocations', 'api_v2_definitions_listallmarketplacelocations'); 162 | $routes->addRoute('GET', '/api/v2/definitions/locationquestions', 'api_v2_definitions_locationquestions'); 163 | $routes->addRoute('GET', '/api/v2/definitions/marketplacelocations', 'api_v2_definitions_marketplacelocations'); 164 | $routes->addRoute('GET', '/api/v2/definitions/nexus', 'api_v2_definitions_nexus'); 165 | $routes->addRoute('GET', '/api/v2/definitions/nexus/byaddress', 'api_v2_definitions_nexus_byaddress'); 166 | $routes->addRoute('GET', '/api/v2/definitions/nexus/byform/{formCode}', 'api_v2_definitions_nexus_byform_formCode'); 167 | $routes->addRoute('GET', '/api/v2/definitions/nexus/bytaxtypegroup/{taxTypeGroup}', 'api_v2_definitions_nexus_bytaxtypegroup_taxTypeGroup'); 168 | $routes->addRoute('GET', '/api/v2/definitions/nexus/{country}', 'api_v2_definitions_nexus_country'); 169 | $routes->addRoute('GET', '/api/v2/definitions/nexus/{country}/{region}', 'api_v2_definitions_nexus_country_region'); 170 | $routes->addRoute('GET', '/api/v2/definitions/nexustaxtypegroups', 'api_v2_definitions_nexustaxtypegroups'); 171 | $routes->addRoute('GET', '/api/v2/definitions/noticecustomerfundingoptions', 'api_v2_definitions_noticecustomerfundingoptions'); 172 | $routes->addRoute('GET', '/api/v2/definitions/noticecustomertypes', 'api_v2_definitions_noticecustomertypes'); 173 | $routes->addRoute('GET', '/api/v2/definitions/noticefilingtypes', 'api_v2_definitions_noticefilingtypes'); 174 | $routes->addRoute('GET', '/api/v2/definitions/noticepriorities', 'api_v2_definitions_noticepriorities'); 175 | $routes->addRoute('GET', '/api/v2/definitions/noticereasons', 'api_v2_definitions_noticereasons'); 176 | $routes->addRoute('GET', '/api/v2/definitions/noticeresponsibilities', 'api_v2_definitions_noticeresponsibilities'); 177 | $routes->addRoute('GET', '/api/v2/definitions/noticerootcauses', 'api_v2_definitions_noticerootcauses'); 178 | $routes->addRoute('GET', '/api/v2/definitions/noticestatuses', 'api_v2_definitions_noticestatuses'); 179 | $routes->addRoute('GET', '/api/v2/definitions/noticetypes', 'api_v2_definitions_noticetypes'); 180 | $routes->addRoute('GET', '/api/v2/definitions/parameters', 'api_v2_definitions_parameters'); 181 | $routes->addRoute('GET', '/api/v2/definitions/parameters/byitem/{companyCode}/{itemCode}', 'api_v2_definitions_parameters_byitem_companyCode_itemCode'); 182 | $routes->addRoute('GET', '/api/v2/definitions/parametersusage', 'api_v2_definitions_parametersusage'); 183 | $routes->addRoute('GET', '/api/v2/definitions/permissions', 'api_v2_definitions_permissions'); 184 | $routes->addRoute('GET', '/api/v2/definitions/postalcodes', 'api_v2_definitions_postalcodes'); 185 | $routes->addRoute('GET', '/api/v2/definitions/preferredprograms', 'api_v2_definitions_preferredprograms'); 186 | $routes->addRoute('GET', '/api/v2/definitions/productclassificationsystems', 'api_v2_definitions_productclassificationsystems'); 187 | $routes->addRoute('GET', '/api/v2/definitions/productclassificationsystems/bycompany/{companyCode}', 'api_v2_definitions_productclassificationsystems_bycompany_companyCode'); 188 | $routes->addRoute('GET', '/api/v2/definitions/regions', 'api_v2_definitions_regions'); 189 | $routes->addRoute('GET', '/api/v2/definitions/resourcefiletypes', 'api_v2_definitions_resourcefiletypes'); 190 | $routes->addRoute('GET', '/api/v2/definitions/returns/parametersusage', 'api_v2_definitions_returns_parametersusage'); 191 | $routes->addRoute('GET', '/api/v2/definitions/securityroles', 'api_v2_definitions_securityroles'); 192 | $routes->addRoute('GET', '/api/v2/definitions/subscriptiontypes', 'api_v2_definitions_subscriptiontypes'); 193 | $routes->addRoute('GET', '/api/v2/definitions/tags', 'api_v2_definitions_tags'); 194 | $routes->addRoute('GET', '/api/v2/definitions/taxauthorities', 'api_v2_definitions_taxauthorities'); 195 | $routes->addRoute('GET', '/api/v2/definitions/taxauthorityforms', 'api_v2_definitions_taxauthorityforms'); 196 | $routes->addRoute('GET', '/api/v2/definitions/taxauthoritytypes', 'api_v2_definitions_taxauthoritytypes'); 197 | $routes->addRoute('GET', '/api/v2/definitions/taxcodes', 'api_v2_definitions_taxcodes'); 198 | $routes->addRoute('GET', '/api/v2/definitions/taxcodetypes', 'api_v2_definitions_taxcodetypes'); 199 | $routes->addRoute('GET', '/api/v2/definitions/taxforms', 'api_v2_definitions_taxforms'); 200 | $routes->addRoute('GET', '/api/v2/definitions/taxsubtypes', 'api_v2_definitions_taxsubtypes'); 201 | $routes->addRoute('GET', '/api/v2/definitions/taxsubtypes/countries/{country}/taxtypes/{taxTypeId}', 'api_v2_definitions_taxsubtypes_countries_country_taxtypes_taxTypeId'); 202 | $routes->addRoute('GET', '/api/v2/definitions/taxsubtypes/{jurisdictionCode}/{region}', 'api_v2_definitions_taxsubtypes_jurisdictionCode_region'); 203 | $routes->addRoute('GET', '/api/v2/definitions/taxtypegroups', 'api_v2_definitions_taxtypegroups'); 204 | $routes->addRoute('GET', '/api/v2/definitions/taxtypes/countries/{country}', 'api_v2_definitions_taxtypes_countries_country'); 205 | $routes->addRoute('GET', '/api/v2/definitions/unitofbasis/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}', 'api_v2_definitions_unitofbasis_countries_country_taxtypes_taxTypeId_taxsubtypes_taxSubTypeId'); 206 | $routes->addRoute('GET', '/api/v2/definitions/unitofmeasurements', 'api_v2_definitions_unitofmeasurements'); 207 | $routes->addRoute('GET', '/api/v2/distancethresholds', 'api_v2_distancethresholds'); 208 | $routes->addRoute('GET', '/api/v2/firmclientlinkages', 'api_v2_firmclientlinkages'); 209 | $routes->addRoute('GET', '/api/v2/firmclientlinkages/createandlinkclient', 'api_v2_firmclientlinkages_createandlinkclient'); 210 | $routes->addRoute('GET', '/api/v2/firmclientlinkages/{id}', 'api_v2_firmclientlinkages_id'); 211 | $routes->addRoute('GET', '/api/v2/firmclientlinkages/{id}/approve', 'api_v2_firmclientlinkages_id_approve'); 212 | $routes->addRoute('GET', '/api/v2/firmclientlinkages/{id}/reject', 'api_v2_firmclientlinkages_id_reject'); 213 | $routes->addRoute('GET', '/api/v2/firmclientlinkages/{id}/reset', 'api_v2_firmclientlinkages_id_reset'); 214 | $routes->addRoute('GET', '/api/v2/firmclientlinkages/{id}/revoke', 'api_v2_firmclientlinkages_id_revoke'); 215 | $routes->addRoute('GET', '/api/v2/fundingrequests/{id}', 'api_v2_fundingrequests_id'); 216 | $routes->addRoute('GET', '/api/v2/fundingrequests/{id}/widget', 'api_v2_fundingrequests_id_widget'); 217 | $routes->addRoute('GET', '/api/v2/items', 'api_v2_items'); 218 | $routes->addRoute('GET', '/api/v2/jurisdictionoverrides', 'api_v2_jurisdictionoverrides'); 219 | $routes->addRoute('GET', '/api/v2/locations', 'api_v2_locations'); 220 | $routes->addRoute('GET', '/api/v2/nexus', 'api_v2_nexus'); 221 | $routes->addRoute('GET', '/api/v2/notices/responsibilities', 'api_v2_notices_responsibilities'); 222 | $routes->addRoute('GET', '/api/v2/notices/responsibilities/{responsibilityId}', 'api_v2_notices_responsibilities_responsibilityId'); 223 | $routes->addRoute('GET', '/api/v2/notices/rootcauses', 'api_v2_notices_rootcauses'); 224 | $routes->addRoute('GET', '/api/v2/notices/rootcauses/{rootCauseId}', 'api_v2_notices_rootcauses_rootCauseId'); 225 | $routes->addRoute('GET', '/api/v2/notifications', 'api_v2_notifications'); 226 | $routes->addRoute('GET', '/api/v2/notifications/{id}', 'api_v2_notifications_id'); 227 | $routes->addRoute('GET', '/api/v2/notifications/{id}/dismiss', 'api_v2_notifications_id_dismiss'); 228 | $routes->addRoute('GET', '/api/v2/passwords', 'api_v2_passwords'); 229 | $routes->addRoute('GET', '/api/v2/passwords/{userId}/reset', 'api_v2_passwords_userId_reset'); 230 | $routes->addRoute('GET', '/api/v2/pointofsaledata/build', 'api_v2_pointofsaledata_build'); 231 | $routes->addRoute('GET', '/api/v2/reports', 'api_v2_reports'); 232 | $routes->addRoute('GET', '/api/v2/reports/{id}', 'api_v2_reports_id'); 233 | $routes->addRoute('GET', '/api/v2/reports/{id}/attachment', 'api_v2_reports_id_attachment'); 234 | $routes->addRoute('GET', '/api/v2/settings', 'api_v2_settings'); 235 | $routes->addRoute('GET', '/api/v2/subscriptions', 'api_v2_subscriptions'); 236 | $routes->addRoute('GET', '/api/v2/taxcodes', 'api_v2_taxcodes'); 237 | $routes->addRoute('GET', '/api/v2/taxrates/byaddress', 'api_v2_taxrates_byaddress'); 238 | $routes->addRoute('GET', '/api/v2/taxrates/bypostalcode', 'api_v2_taxrates_bypostalcode'); 239 | $routes->addRoute('GET', '/api/v2/taxratesbyzipcode/download/{date}', 'api_v2_taxratesbyzipcode_download_date'); 240 | $routes->addRoute('GET', '/api/v2/taxrules', 'api_v2_taxrules'); 241 | $routes->addRoute('GET', '/api/v2/transactions/create', 'api_v2_transactions_create'); 242 | $routes->addRoute('GET', '/api/v2/transactions/createoradjust', 'api_v2_transactions_createoradjust'); 243 | $routes->addRoute('GET', '/api/v2/transactions/lock', 'api_v2_transactions_lock'); 244 | $routes->addRoute('GET', '/api/v2/transactions/multidocument', 'api_v2_transactions_multidocument'); 245 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/commit', 'api_v2_transactions_multidocument_commit'); 246 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/verify', 'api_v2_transactions_multidocument_verify'); 247 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/{code}/type/{type}', 'api_v2_transactions_multidocument_code_type_type'); 248 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/{code}/type/{type}/adjust', 'api_v2_transactions_multidocument_code_type_type_adjust'); 249 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/{code}/type/{type}/audit', 'api_v2_transactions_multidocument_code_type_type_audit'); 250 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/{code}/type/{type}/refund', 'api_v2_transactions_multidocument_code_type_type_refund'); 251 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/{code}/type/{type}/void', 'api_v2_transactions_multidocument_code_type_type_void'); 252 | $routes->addRoute('GET', '/api/v2/transactions/multidocument/{id}', 'api_v2_transactions_multidocument_id'); 253 | $routes->addRoute('GET', '/api/v2/transactions/{id}', 'api_v2_transactions_id'); 254 | $routes->addRoute('GET', '/api/v2/upcs', 'api_v2_upcs'); 255 | $routes->addRoute('GET', '/api/v2/users', 'api_v2_users'); 256 | $routes->addRoute('GET', '/api/v2/utilities/ping', 'api_v2_utilities_ping'); 257 | $routes->addRoute('GET', '/api/v2/utilities/subscriptions', 'api_v2_utilities_subscriptions'); 258 | $routes->addRoute('GET', '/api/v2/utilities/subscriptions/{serviceTypeId}', 'api_v2_utilities_subscriptions_serviceTypeId'); 259 | -------------------------------------------------------------------------------- /routes/definition/fastroute/bitbucket.php: -------------------------------------------------------------------------------- 1 | addRoute('GET', '/addon', 'addon'); 4 | $routes->addRoute('GET', '/addon/linkers', 'addon_linkers'); 5 | $routes->addRoute('GET', '/addon/linkers/{linker_key}', 'addon_linkers_linker_key'); 6 | $routes->addRoute('GET', '/addon/linkers/{linker_key}/values', 'addon_linkers_linker_key_values'); 7 | $routes->addRoute('GET', '/addon/linkers/{linker_key}/values/{value_id}', 'addon_linkers_linker_key_values_value_id'); 8 | $routes->addRoute('GET', '/hook_events', 'hook_events'); 9 | $routes->addRoute('GET', '/hook_events/{subject_type}', 'hook_events_subject_type'); 10 | $routes->addRoute('GET', '/pullrequests/{selected_user}', 'pullrequests_selected_user'); 11 | $routes->addRoute('GET', '/repositories', 'repositories'); 12 | $routes->addRoute('GET', '/repositories/{workspace}', 'repositories_workspace'); 13 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}', 'repositories_workspace_repo_slug'); 14 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/branch-restrictions', 'repositories_workspace_repo_slug_branch_restrictions'); 15 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/branch-restrictions/{id}', 'repositories_workspace_repo_slug_branch_restrictions_id'); 16 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/branching-model', 'repositories_workspace_repo_slug_branching_model'); 17 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/branching-model/settings', 'repositories_workspace_repo_slug_branching_model_settings'); 18 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}', 'repositories_workspace_repo_slug_commit_commit'); 19 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/approve', 'repositories_workspace_repo_slug_commit_commit_approve'); 20 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/comments', 'repositories_workspace_repo_slug_commit_commit_comments'); 21 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}', 'repositories_workspace_repo_slug_commit_commit_comments_comment_id'); 22 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}', 'repositories_workspace_repo_slug_commit_commit_properties_app_key_property_name'); 23 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests', 'repositories_workspace_repo_slug_commit_commit_pullrequests'); 24 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/reports', 'repositories_workspace_repo_slug_commit_commit_reports'); 25 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}', 'repositories_workspace_repo_slug_commit_commit_reports_reportId'); 26 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations', 'repositories_workspace_repo_slug_commit_commit_reports_reportId_annotations'); 27 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}', 'repositories_workspace_repo_slug_commit_commit_reports_reportId_annotations_annotationId'); 28 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses', 'repositories_workspace_repo_slug_commit_commit_statuses'); 29 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build', 'repositories_workspace_repo_slug_commit_commit_statuses_build'); 30 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key}', 'repositories_workspace_repo_slug_commit_commit_statuses_build_key'); 31 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commits', 'repositories_workspace_repo_slug_commits'); 32 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/commits/{revision}', 'repositories_workspace_repo_slug_commits_revision'); 33 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/components', 'repositories_workspace_repo_slug_components'); 34 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/components/{component_id}', 'repositories_workspace_repo_slug_components_component_id'); 35 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/default-reviewers', 'repositories_workspace_repo_slug_default_reviewers'); 36 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}', 'repositories_workspace_repo_slug_default_reviewers_target_username'); 37 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/deploy-keys', 'repositories_workspace_repo_slug_deploy_keys'); 38 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/deploy-keys/{key_id}', 'repositories_workspace_repo_slug_deploy_keys_key_id'); 39 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/deployments/', 'repositories_workspace_repo_slug_deployments'); 40 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid}', 'repositories_workspace_repo_slug_deployments_deployment_uuid'); 41 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables', 'repositories_workspace_repo_slug_deployments_config_environments_environment_uuid_variables'); 42 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}', 'repositories_workspace_repo_slug_deployments_config_environments_environment_uuid_variables_variable_uuid'); 43 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/diff/{spec}', 'repositories_workspace_repo_slug_diff_spec'); 44 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/diffstat/{spec}', 'repositories_workspace_repo_slug_diffstat_spec'); 45 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/downloads', 'repositories_workspace_repo_slug_downloads'); 46 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/downloads/{filename}', 'repositories_workspace_repo_slug_downloads_filename'); 47 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/environments/', 'repositories_workspace_repo_slug_environments'); 48 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/environments/{environment_uuid}', 'repositories_workspace_repo_slug_environments_environment_uuid'); 49 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes/', 'repositories_workspace_repo_slug_environments_environment_uuid_changes'); 50 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path}', 'repositories_workspace_repo_slug_filehistory_commit_path'); 51 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/forks', 'repositories_workspace_repo_slug_forks'); 52 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/hooks', 'repositories_workspace_repo_slug_hooks'); 53 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/hooks/{uid}', 'repositories_workspace_repo_slug_hooks_uid'); 54 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues', 'repositories_workspace_repo_slug_issues'); 55 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/export', 'repositories_workspace_repo_slug_issues_export'); 56 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip', 'repositories_workspace_repo_slug_issues_export_repo_name_issues_task_id_zip'); 57 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/import', 'repositories_workspace_repo_slug_issues_import'); 58 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}', 'repositories_workspace_repo_slug_issues_issue_id'); 59 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments', 'repositories_workspace_repo_slug_issues_issue_id_attachments'); 60 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path}', 'repositories_workspace_repo_slug_issues_issue_id_attachments_path'); 61 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes', 'repositories_workspace_repo_slug_issues_issue_id_changes'); 62 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id}', 'repositories_workspace_repo_slug_issues_issue_id_changes_change_id'); 63 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments', 'repositories_workspace_repo_slug_issues_issue_id_comments'); 64 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id}', 'repositories_workspace_repo_slug_issues_issue_id_comments_comment_id'); 65 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote', 'repositories_workspace_repo_slug_issues_issue_id_vote'); 66 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch', 'repositories_workspace_repo_slug_issues_issue_id_watch'); 67 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/merge-base/{revspec}', 'repositories_workspace_repo_slug_merge_base_revspec'); 68 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/milestones', 'repositories_workspace_repo_slug_milestones'); 69 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/milestones/{milestone_id}', 'repositories_workspace_repo_slug_milestones_milestone_id'); 70 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/patch/{spec}', 'repositories_workspace_repo_slug_patch_spec'); 71 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines-config/caches/', 'repositories_workspace_repo_slug_pipelines_config_caches'); 72 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}', 'repositories_workspace_repo_slug_pipelines_config_caches_cache_uuid'); 73 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri', 'repositories_workspace_repo_slug_pipelines_config_caches_cache_uuid_content_uri'); 74 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/', 'repositories_workspace_repo_slug_pipelines'); 75 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid'); 76 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps'); 77 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid'); 78 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_log'); 79 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_logs_log_uuid'); 80 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_test_reports'); 81 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_test_reports_test_cases'); 82 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_test_reports_test_cases_test_case_uuid_test_case_reasons'); 83 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline', 'repositories_workspace_repo_slug_pipelines_pipeline_uuid_stopPipeline'); 84 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config', 'repositories_workspace_repo_slug_pipelines_config'); 85 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/build_number', 'repositories_workspace_repo_slug_pipelines_config_build_number'); 86 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/', 'repositories_workspace_repo_slug_pipelines_config_schedules'); 87 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}', 'repositories_workspace_repo_slug_pipelines_config_schedules_schedule_uuid'); 88 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions/', 'repositories_workspace_repo_slug_pipelines_config_schedules_schedule_uuid_executions'); 89 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair', 'repositories_workspace_repo_slug_pipelines_config_ssh_key_pair'); 90 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/', 'repositories_workspace_repo_slug_pipelines_config_ssh_known_hosts'); 91 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid}', 'repositories_workspace_repo_slug_pipelines_config_ssh_known_hosts_known_host_uuid'); 92 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/variables/', 'repositories_workspace_repo_slug_pipelines_config_variables'); 93 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}', 'repositories_workspace_repo_slug_pipelines_config_variables_variable_uuid'); 94 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}', 'repositories_workspace_repo_slug_properties_app_key_property_name'); 95 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests', 'repositories_workspace_repo_slug_pullrequests'); 96 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/activity', 'repositories_workspace_repo_slug_pullrequests_activity'); 97 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}', 'repositories_workspace_repo_slug_pullrequests_pull_request_id'); 98 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_activity'); 99 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_approve'); 100 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_comments'); 101 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id'); 102 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_commits'); 103 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_decline'); 104 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_diff'); 105 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_diffstat'); 106 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_merge'); 107 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id}', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_merge_task_status_task_id'); 108 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_patch'); 109 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_request_changes'); 110 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses', 'repositories_workspace_repo_slug_pullrequests_pull_request_id_statuses'); 111 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}', 'repositories_workspace_repo_slug_pullrequests_pullrequest_id_properties_app_key_property_name'); 112 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/refs', 'repositories_workspace_repo_slug_refs'); 113 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/refs/branches', 'repositories_workspace_repo_slug_refs_branches'); 114 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/refs/branches/{name}', 'repositories_workspace_repo_slug_refs_branches_name'); 115 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/refs/tags', 'repositories_workspace_repo_slug_refs_tags'); 116 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/refs/tags/{name}', 'repositories_workspace_repo_slug_refs_tags_name'); 117 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/src', 'repositories_workspace_repo_slug_src'); 118 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/src/{commit}/{path}', 'repositories_workspace_repo_slug_src_commit_path'); 119 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/versions', 'repositories_workspace_repo_slug_versions'); 120 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/versions/{version_id}', 'repositories_workspace_repo_slug_versions_version_id'); 121 | $routes->addRoute('GET', '/repositories/{workspace}/{repo_slug}/watchers', 'repositories_workspace_repo_slug_watchers'); 122 | $routes->addRoute('GET', '/snippets', 'snippets'); 123 | $routes->addRoute('GET', '/snippets/{workspace}', 'snippets_workspace'); 124 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}', 'snippets_workspace_encoded_id'); 125 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/comments', 'snippets_workspace_encoded_id_comments'); 126 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/comments/{comment_id}', 'snippets_workspace_encoded_id_comments_comment_id'); 127 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/commits', 'snippets_workspace_encoded_id_commits'); 128 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/commits/{revision}', 'snippets_workspace_encoded_id_commits_revision'); 129 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/files/{path}', 'snippets_workspace_encoded_id_files_path'); 130 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/watch', 'snippets_workspace_encoded_id_watch'); 131 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/watchers', 'snippets_workspace_encoded_id_watchers'); 132 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/{node_id}', 'snippets_workspace_encoded_id_node_id'); 133 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/{node_id}/files/{path}', 'snippets_workspace_encoded_id_node_id_files_path'); 134 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/{revision}/diff', 'snippets_workspace_encoded_id_revision_diff'); 135 | $routes->addRoute('GET', '/snippets/{workspace}/{encoded_id}/{revision}/patch', 'snippets_workspace_encoded_id_revision_patch'); 136 | $routes->addRoute('GET', '/teams', 'teams'); 137 | $routes->addRoute('GET', '/teams/{username}', 'teams_username'); 138 | $routes->addRoute('GET', '/teams/{username}/followers', 'teams_username_followers'); 139 | $routes->addRoute('GET', '/teams/{username}/following', 'teams_username_following'); 140 | $routes->addRoute('GET', '/teams/{username}/members', 'teams_username_members'); 141 | $routes->addRoute('GET', '/teams/{username}/permissions', 'teams_username_permissions'); 142 | $routes->addRoute('GET', '/teams/{username}/permissions/repositories', 'teams_username_permissions_repositories'); 143 | $routes->addRoute('GET', '/teams/{username}/permissions/repositories/{repo_slug}', 'teams_username_permissions_repositories_repo_slug'); 144 | $routes->addRoute('GET', '/teams/{username}/pipelines_config/variables/', 'teams_username_pipelines_config_variables'); 145 | $routes->addRoute('GET', '/teams/{username}/pipelines_config/variables/{variable_uuid}', 'teams_username_pipelines_config_variables_variable_uuid'); 146 | $routes->addRoute('GET', '/teams/{username}/projects/', 'teams_username_projects'); 147 | $routes->addRoute('GET', '/teams/{username}/projects/{project_key}', 'teams_username_projects_project_key'); 148 | $routes->addRoute('GET', '/teams/{username}/search/code', 'teams_username_search_code'); 149 | $routes->addRoute('GET', '/teams/{workspace}/repositories', 'teams_workspace_repositories'); 150 | $routes->addRoute('GET', '/user', 'user'); 151 | $routes->addRoute('GET', '/user/emails', 'user_emails'); 152 | $routes->addRoute('GET', '/user/emails/{email}', 'user_emails_email'); 153 | $routes->addRoute('GET', '/user/permissions/repositories', 'user_permissions_repositories'); 154 | $routes->addRoute('GET', '/user/permissions/teams', 'user_permissions_teams'); 155 | $routes->addRoute('GET', '/user/permissions/workspaces', 'user_permissions_workspaces'); 156 | $routes->addRoute('GET', '/users/{selected_user}', 'users_selected_user'); 157 | $routes->addRoute('GET', '/users/{selected_user}/pipelines_config/variables/', 'users_selected_user_pipelines_config_variables'); 158 | $routes->addRoute('GET', '/users/{selected_user}/pipelines_config/variables/{variable_uuid}', 'users_selected_user_pipelines_config_variables_variable_uuid'); 159 | $routes->addRoute('GET', '/users/{selected_user}/properties/{app_key}/{property_name}', 'users_selected_user_properties_app_key_property_name'); 160 | $routes->addRoute('GET', '/users/{selected_user}/search/code', 'users_selected_user_search_code'); 161 | $routes->addRoute('GET', '/users/{selected_user}/ssh-keys', 'users_selected_user_ssh_keys'); 162 | $routes->addRoute('GET', '/users/{selected_user}/ssh-keys/{key_id}', 'users_selected_user_ssh_keys_key_id'); 163 | $routes->addRoute('GET', '/users/{username}/members', 'users_username_members'); 164 | $routes->addRoute('GET', '/users/{workspace}/repositories', 'users_workspace_repositories'); 165 | $routes->addRoute('GET', '/workspaces', 'workspaces'); 166 | $routes->addRoute('GET', '/workspaces/{workspace}', 'workspaces_workspace'); 167 | $routes->addRoute('GET', '/workspaces/{workspace}/hooks', 'workspaces_workspace_hooks'); 168 | $routes->addRoute('GET', '/workspaces/{workspace}/hooks/{uid}', 'workspaces_workspace_hooks_uid'); 169 | $routes->addRoute('GET', '/workspaces/{workspace}/members', 'workspaces_workspace_members'); 170 | $routes->addRoute('GET', '/workspaces/{workspace}/members/{member}', 'workspaces_workspace_members_member'); 171 | $routes->addRoute('GET', '/workspaces/{workspace}/permissions', 'workspaces_workspace_permissions'); 172 | $routes->addRoute('GET', '/workspaces/{workspace}/permissions/repositories', 'workspaces_workspace_permissions_repositories'); 173 | $routes->addRoute('GET', '/workspaces/{workspace}/permissions/repositories/{repo_slug}', 'workspaces_workspace_permissions_repositories_repo_slug'); 174 | $routes->addRoute('GET', '/workspaces/{workspace}/pipelines-config/identity/oidc/.well-known/openid-configuration', 'workspaces_workspace_pipelines_config_identity_oidc_well_known_openid_configuration'); 175 | $routes->addRoute('GET', '/workspaces/{workspace}/pipelines-config/identity/oidc/keys.json', 'workspaces_workspace_pipelines_config_identity_oidc_keys_json'); 176 | $routes->addRoute('GET', '/workspaces/{workspace}/pipelines-config/variables', 'workspaces_workspace_pipelines_config_variables'); 177 | $routes->addRoute('GET', '/workspaces/{workspace}/pipelines-config/variables/{variable_uuid}', 'workspaces_workspace_pipelines_config_variables_variable_uuid'); 178 | $routes->addRoute('GET', '/workspaces/{workspace}/projects', 'workspaces_workspace_projects'); 179 | $routes->addRoute('GET', '/workspaces/{workspace}/projects/{project_key}', 'workspaces_workspace_projects_project_key'); 180 | $routes->addRoute('GET', '/workspaces/{workspace}/search/code', 'workspaces_workspace_search_code'); 181 | -------------------------------------------------------------------------------- /routes/definition/symfony/avatax.php: -------------------------------------------------------------------------------- 1 | add('api_v2_accounts', new Route('/api/v2/accounts')); 9 | $routes->add('api_v2_accounts_ListAccountsByTssWriteMode_writeMode', new Route('/api/v2/accounts/ListAccountsByTssWriteMode/{writeMode}')); 10 | $routes->add('api_v2_accounts_freetrials_request', new Route('/api/v2/accounts/freetrials/request')); 11 | $routes->add('api_v2_accounts_request', new Route('/api/v2/accounts/request')); 12 | $routes->add('api_v2_accounts_accountId_jurisdictionoverrides', new Route('/api/v2/accounts/{accountId}/jurisdictionoverrides')); 13 | $routes->add('api_v2_accounts_accountId_jurisdictionoverrides_id', new Route('/api/v2/accounts/{accountId}/jurisdictionoverrides/{id}')); 14 | $routes->add('api_v2_accounts_accountId_subscriptions', new Route('/api/v2/accounts/{accountId}/subscriptions')); 15 | $routes->add('api_v2_accounts_accountId_subscriptions_id', new Route('/api/v2/accounts/{accountId}/subscriptions/{id}')); 16 | $routes->add('api_v2_accounts_accountId_users', new Route('/api/v2/accounts/{accountId}/users')); 17 | $routes->add('api_v2_accounts_accountId_users_id', new Route('/api/v2/accounts/{accountId}/users/{id}')); 18 | $routes->add('api_v2_accounts_accountId_users_id_entitlements', new Route('/api/v2/accounts/{accountId}/users/{id}/entitlements')); 19 | $routes->add('api_v2_accounts_id', new Route('/api/v2/accounts/{id}')); 20 | $routes->add('api_v2_accounts_id_activate', new Route('/api/v2/accounts/{id}/activate')); 21 | $routes->add('api_v2_accounts_id_audit', new Route('/api/v2/accounts/{id}/audit')); 22 | $routes->add('api_v2_accounts_id_configuration', new Route('/api/v2/accounts/{id}/configuration')); 23 | $routes->add('api_v2_accounts_id_entitlements_offer', new Route('/api/v2/accounts/{id}/entitlements/{offer}')); 24 | $routes->add('api_v2_accounts_id_licensekey', new Route('/api/v2/accounts/{id}/licensekey')); 25 | $routes->add('api_v2_accounts_id_licensekey_licensekeyname', new Route('/api/v2/accounts/{id}/licensekey/{licensekeyname}')); 26 | $routes->add('api_v2_accounts_id_licensekeys', new Route('/api/v2/accounts/{id}/licensekeys')); 27 | $routes->add('api_v2_accounts_id_resetlicensekey', new Route('/api/v2/accounts/{id}/resetlicensekey')); 28 | $routes->add('api_v2_addresses_resolve', new Route('/api/v2/addresses/resolve')); 29 | $routes->add('api_v2_advancedrules_accounts_accountId_companies_companyId_lookupFiles', new Route('/api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles')); 30 | $routes->add('api_v2_advancedrules_accounts_accountId_lookupFiles_id', new Route('/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}')); 31 | $routes->add('api_v2_avafileforms', new Route('/api/v2/avafileforms')); 32 | $routes->add('api_v2_avafileforms_id', new Route('/api/v2/avafileforms/{id}')); 33 | $routes->add('api_v2_batches', new Route('/api/v2/batches')); 34 | $routes->add('api_v2_companies', new Route('/api/v2/companies')); 35 | $routes->add('api_v2_companies_initialize', new Route('/api/v2/companies/initialize')); 36 | $routes->add('api_v2_companies_mrs', new Route('/api/v2/companies/mrs')); 37 | $routes->add('api_v2_companies_transactions_lines_add', new Route('/api/v2/companies/transactions/lines/add')); 38 | $routes->add('api_v2_companies_transactions_lines_delete', new Route('/api/v2/companies/transactions/lines/delete')); 39 | $routes->add('api_v2_companies_companyCode_transactions', new Route('/api/v2/companies/{companyCode}/transactions')); 40 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}')); 41 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_adjust', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/adjust')); 42 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_audit', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/audit')); 43 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_changecode', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/changecode')); 44 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_commit', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/commit')); 45 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_lock', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/lock')); 46 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_refund', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/refund')); 47 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_settle', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/settle')); 48 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_types_documentType', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/types/{documentType}')); 49 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_types_documentType_audit', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/types/{documentType}/audit')); 50 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_uncommit', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/uncommit')); 51 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_unvoid', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/unvoid')); 52 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_verify', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/verify')); 53 | $routes->add('api_v2_companies_companyCode_transactions_transactionCode_void', new Route('/api/v2/companies/{companyCode}/transactions/{transactionCode}/void')); 54 | $routes->add('api_v2_companies_companyId_batches', new Route('/api/v2/companies/{companyId}/batches')); 55 | $routes->add('api_v2_companies_companyId_batches_transactions', new Route('/api/v2/companies/{companyId}/batches/transactions')); 56 | $routes->add('api_v2_companies_companyId_batches_batchId_files_id_attachment', new Route('/api/v2/companies/{companyId}/batches/{batchId}/files/{id}/attachment')); 57 | $routes->add('api_v2_companies_companyId_batches_id', new Route('/api/v2/companies/{companyId}/batches/{id}')); 58 | $routes->add('api_v2_companies_companyId_batches_id_cancel', new Route('/api/v2/companies/{companyId}/batches/{id}/cancel')); 59 | $routes->add('api_v2_companies_companyId_certexpressinvites', new Route('/api/v2/companies/{companyId}/certexpressinvites')); 60 | $routes->add('api_v2_companies_companyId_certificates', new Route('/api/v2/companies/{companyId}/certificates')); 61 | $routes->add('api_v2_companies_companyId_certificates_setup', new Route('/api/v2/companies/{companyId}/certificates/setup')); 62 | $routes->add('api_v2_companies_companyId_certificates_id', new Route('/api/v2/companies/{companyId}/certificates/{id}')); 63 | $routes->add('api_v2_companies_companyId_certificates_id_attachment', new Route('/api/v2/companies/{companyId}/certificates/{id}/attachment')); 64 | $routes->add('api_v2_companies_companyId_certificates_id_attributes', new Route('/api/v2/companies/{companyId}/certificates/{id}/attributes')); 65 | $routes->add('api_v2_companies_companyId_certificates_id_attributes_link', new Route('/api/v2/companies/{companyId}/certificates/{id}/attributes/link')); 66 | $routes->add('api_v2_companies_companyId_certificates_id_attributes_unlink', new Route('/api/v2/companies/{companyId}/certificates/{id}/attributes/unlink')); 67 | $routes->add('api_v2_companies_companyId_certificates_id_customers', new Route('/api/v2/companies/{companyId}/certificates/{id}/customers')); 68 | $routes->add('api_v2_companies_companyId_certificates_id_customers_link', new Route('/api/v2/companies/{companyId}/certificates/{id}/customers/link')); 69 | $routes->add('api_v2_companies_companyId_certificates_id_customers_unlink', new Route('/api/v2/companies/{companyId}/certificates/{id}/customers/unlink')); 70 | $routes->add('api_v2_companies_companyId_contacts', new Route('/api/v2/companies/{companyId}/contacts')); 71 | $routes->add('api_v2_companies_companyId_contacts_id', new Route('/api/v2/companies/{companyId}/contacts/{id}')); 72 | $routes->add('api_v2_companies_companyId_customers', new Route('/api/v2/companies/{companyId}/customers')); 73 | $routes->add('api_v2_companies_companyId_customers_billto_code_shipto_link', new Route('/api/v2/companies/{companyId}/customers/billto/{code}/shipto/link')); 74 | $routes->add('api_v2_companies_companyId_customers_customerCode', new Route('/api/v2/companies/{companyId}/customers/{customerCode}')); 75 | $routes->add('api_v2_companies_companyId_customers_customerCode_attributes', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/attributes')); 76 | $routes->add('api_v2_companies_companyId_customers_customerCode_attributes_link', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/attributes/link')); 77 | $routes->add('api_v2_companies_companyId_customers_customerCode_attributes_unlink', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/attributes/unlink')); 78 | $routes->add('api_v2_companies_companyId_customers_customerCode_certexpressinvites', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/certexpressinvites')); 79 | $routes->add('api_v2_companies_companyId_customers_customerCode_certexpressinvites_id', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/certexpressinvites/{id}')); 80 | $routes->add('api_v2_companies_companyId_customers_customerCode_certificates', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/certificates')); 81 | $routes->add('api_v2_companies_companyId_customers_customerCode_certificates_link', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/certificates/link')); 82 | $routes->add('api_v2_companies_companyId_customers_customerCode_certificates_unlink', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/certificates/unlink')); 83 | $routes->add('api_v2_companies_companyId_customers_customerCode_certificates_country_region', new Route('/api/v2/companies/{companyId}/customers/{customerCode}/certificates/{country}/{region}')); 84 | $routes->add('api_v2_companies_companyId_datasources', new Route('/api/v2/companies/{companyId}/datasources')); 85 | $routes->add('api_v2_companies_companyId_datasources_id', new Route('/api/v2/companies/{companyId}/datasources/{id}')); 86 | $routes->add('api_v2_companies_companyId_distancethresholds', new Route('/api/v2/companies/{companyId}/distancethresholds')); 87 | $routes->add('api_v2_companies_companyId_distancethresholds_id', new Route('/api/v2/companies/{companyId}/distancethresholds/{id}')); 88 | $routes->add('api_v2_companies_companyId_ecommercetokens', new Route('/api/v2/companies/{companyId}/ecommercetokens')); 89 | $routes->add('api_v2_companies_companyId_filingcalendars_Legacy', new Route('/api/v2/companies/{companyId}/filingcalendars/Legacy')); 90 | $routes->add('api_v2_companies_companyId_filingcalendars_edit_cycleSafeOptions', new Route('/api/v2/companies/{companyId}/filingcalendars/edit/cycleSafeOptions')); 91 | $routes->add('api_v2_companies_companyId_filingcalendars_filingCalendarId_setting_companyReturnSettingId', new Route('/api/v2/companies/{companyId}/filingcalendars/{filingCalendarId}/setting/{companyReturnSettingId}')); 92 | $routes->add('api_v2_companies_companyId_filings_accrual_filingReturnId', new Route('/api/v2/companies/{companyId}/filings/accrual/{filingReturnId}')); 93 | $routes->add('api_v2_companies_companyId_filings_returns_filed', new Route('/api/v2/companies/{companyId}/filings/returns/filed')); 94 | $routes->add('api_v2_companies_companyId_funding_configuration', new Route('/api/v2/companies/{companyId}/funding/configuration')); 95 | $routes->add('api_v2_companies_companyId_funding_configurations', new Route('/api/v2/companies/{companyId}/funding/configurations')); 96 | $routes->add('api_v2_companies_companyId_items', new Route('/api/v2/companies/{companyId}/items')); 97 | $routes->add('api_v2_companies_companyId_items_bytags_tag', new Route('/api/v2/companies/{companyId}/items/bytags/{tag}')); 98 | $routes->add('api_v2_companies_companyId_items_sync', new Route('/api/v2/companies/{companyId}/items/sync')); 99 | $routes->add('api_v2_companies_companyId_items_upload', new Route('/api/v2/companies/{companyId}/items/upload')); 100 | $routes->add('api_v2_companies_companyId_items_id', new Route('/api/v2/companies/{companyId}/items/{id}')); 101 | $routes->add('api_v2_companies_companyId_items_itemId_classifications', new Route('/api/v2/companies/{companyId}/items/{itemId}/classifications')); 102 | $routes->add('api_v2_companies_companyId_items_itemId_classifications_id', new Route('/api/v2/companies/{companyId}/items/{itemId}/classifications/{id}')); 103 | $routes->add('api_v2_companies_companyId_items_itemId_parameters', new Route('/api/v2/companies/{companyId}/items/{itemId}/parameters')); 104 | $routes->add('api_v2_companies_companyId_items_itemId_parameters_id', new Route('/api/v2/companies/{companyId}/items/{itemId}/parameters/{id}')); 105 | $routes->add('api_v2_companies_companyId_items_itemId_tags', new Route('/api/v2/companies/{companyId}/items/{itemId}/tags')); 106 | $routes->add('api_v2_companies_companyId_items_itemId_tags_itemTagDetailId', new Route('/api/v2/companies/{companyId}/items/{itemId}/tags/{itemTagDetailId}')); 107 | $routes->add('api_v2_companies_companyId_locations', new Route('/api/v2/companies/{companyId}/locations')); 108 | $routes->add('api_v2_companies_companyId_locations_id', new Route('/api/v2/companies/{companyId}/locations/{id}')); 109 | $routes->add('api_v2_companies_companyId_locations_id_pointofsaledata', new Route('/api/v2/companies/{companyId}/locations/{id}/pointofsaledata')); 110 | $routes->add('api_v2_companies_companyId_locations_id_validate', new Route('/api/v2/companies/{companyId}/locations/{id}/validate')); 111 | $routes->add('api_v2_companies_companyId_locations_locationId_parameters', new Route('/api/v2/companies/{companyId}/locations/{locationId}/parameters')); 112 | $routes->add('api_v2_companies_companyId_locations_locationId_parameters_id', new Route('/api/v2/companies/{companyId}/locations/{locationId}/parameters/{id}')); 113 | $routes->add('api_v2_companies_companyId_nexus', new Route('/api/v2/companies/{companyId}/nexus')); 114 | $routes->add('api_v2_companies_companyId_nexus_byTaxTypeGroup_taxTypeGroup', new Route('/api/v2/companies/{companyId}/nexus/byTaxTypeGroup/{taxTypeGroup}')); 115 | $routes->add('api_v2_companies_companyId_nexus_byaddress', new Route('/api/v2/companies/{companyId}/nexus/byaddress')); 116 | $routes->add('api_v2_companies_companyId_nexus_byform_formCode', new Route('/api/v2/companies/{companyId}/nexus/byform/{formCode}')); 117 | $routes->add('api_v2_companies_companyId_nexus_id', new Route('/api/v2/companies/{companyId}/nexus/{id}')); 118 | $routes->add('api_v2_companies_companyId_nexus_nexusId_parameters', new Route('/api/v2/companies/{companyId}/nexus/{nexusId}/parameters')); 119 | $routes->add('api_v2_companies_companyId_nexus_nexusId_parameters_id', new Route('/api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id}')); 120 | $routes->add('api_v2_companies_companyId_parameters', new Route('/api/v2/companies/{companyId}/parameters')); 121 | $routes->add('api_v2_companies_companyId_parameters_id', new Route('/api/v2/companies/{companyId}/parameters/{id}')); 122 | $routes->add('api_v2_companies_companyId_reports_exportdocumentline_initiate', new Route('/api/v2/companies/{companyId}/reports/exportdocumentline/initiate')); 123 | $routes->add('api_v2_companies_companyId_settings', new Route('/api/v2/companies/{companyId}/settings')); 124 | $routes->add('api_v2_companies_companyId_settings_id', new Route('/api/v2/companies/{companyId}/settings/{id}')); 125 | $routes->add('api_v2_companies_companyId_taxcodes', new Route('/api/v2/companies/{companyId}/taxcodes')); 126 | $routes->add('api_v2_companies_companyId_taxcodes_id', new Route('/api/v2/companies/{companyId}/taxcodes/{id}')); 127 | $routes->add('api_v2_companies_companyId_taxrules', new Route('/api/v2/companies/{companyId}/taxrules')); 128 | $routes->add('api_v2_companies_companyId_taxrules_id', new Route('/api/v2/companies/{companyId}/taxrules/{id}')); 129 | $routes->add('api_v2_companies_companyId_upcs', new Route('/api/v2/companies/{companyId}/upcs')); 130 | $routes->add('api_v2_companies_companyId_upcs_id', new Route('/api/v2/companies/{companyId}/upcs/{id}')); 131 | $routes->add('api_v2_companies_companyId_userdefinedfields', new Route('/api/v2/companies/{companyId}/userdefinedfields')); 132 | $routes->add('api_v2_companies_companyId_userdefinedfields_id', new Route('/api/v2/companies/{companyId}/userdefinedfields/{id}')); 133 | $routes->add('api_v2_companies_id', new Route('/api/v2/companies/{id}')); 134 | $routes->add('api_v2_companies_id_certify', new Route('/api/v2/companies/{id}/certify')); 135 | $routes->add('api_v2_companies_id_configuration', new Route('/api/v2/companies/{id}/configuration')); 136 | $routes->add('api_v2_companies_id_filingstatus', new Route('/api/v2/companies/{id}/filingstatus')); 137 | $routes->add('api_v2_companies_id_funding', new Route('/api/v2/companies/{id}/funding')); 138 | $routes->add('api_v2_companies_id_funding_setup', new Route('/api/v2/companies/{id}/funding/setup')); 139 | $routes->add('api_v2_compliance_taxauthorityjurisdictionrates', new Route('/api/v2/compliance/taxauthorityjurisdictionrates')); 140 | $routes->add('api_v2_contacts', new Route('/api/v2/contacts')); 141 | $routes->add('api_v2_datasources', new Route('/api/v2/datasources')); 142 | $routes->add('api_v2_definitions_avafileforms', new Route('/api/v2/definitions/avafileforms')); 143 | $routes->add('api_v2_definitions_certificateattributes', new Route('/api/v2/definitions/certificateattributes')); 144 | $routes->add('api_v2_definitions_certificateexemptreasons', new Route('/api/v2/definitions/certificateexemptreasons')); 145 | $routes->add('api_v2_definitions_certificateexposurezones', new Route('/api/v2/definitions/certificateexposurezones')); 146 | $routes->add('api_v2_definitions_classification_parametersusage', new Route('/api/v2/definitions/classification/parametersusage')); 147 | $routes->add('api_v2_definitions_communications_transactiontypes', new Route('/api/v2/definitions/communications/transactiontypes')); 148 | $routes->add('api_v2_definitions_communications_transactiontypes_id_servicetypes', new Route('/api/v2/definitions/communications/transactiontypes/{id}/servicetypes')); 149 | $routes->add('api_v2_definitions_communications_tspairs', new Route('/api/v2/definitions/communications/tspairs')); 150 | $routes->add('api_v2_definitions_countries', new Route('/api/v2/definitions/countries')); 151 | $routes->add('api_v2_definitions_countries_country_ratetypes', new Route('/api/v2/definitions/countries/{country}/ratetypes')); 152 | $routes->add('api_v2_definitions_countries_country_regions', new Route('/api/v2/definitions/countries/{country}/regions')); 153 | $routes->add('api_v2_definitions_countries_country_taxtypes_taxTypeId_taxsubtypes_taxSubTypeId_ratetypes', new Route('/api/v2/definitions/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}/ratetypes')); 154 | $routes->add('api_v2_definitions_coverletters', new Route('/api/v2/definitions/coverletters')); 155 | $routes->add('api_v2_definitions_crossborder_sections', new Route('/api/v2/definitions/crossborder/sections')); 156 | $routes->add('api_v2_definitions_crossborder_country_hsCode', new Route('/api/v2/definitions/crossborder/{country}/{hsCode}')); 157 | $routes->add('api_v2_definitions_crossborder_country_hsCode_hierarchy', new Route('/api/v2/definitions/crossborder/{country}/{hsCode}/hierarchy')); 158 | $routes->add('api_v2_definitions_currencies', new Route('/api/v2/definitions/currencies')); 159 | $routes->add('api_v2_definitions_entityusecodes', new Route('/api/v2/definitions/entityusecodes')); 160 | $routes->add('api_v2_definitions_filingcalendars_loginverifiers', new Route('/api/v2/definitions/filingcalendars/loginverifiers')); 161 | $routes->add('api_v2_definitions_filingcalendars_loginverifiers_form', new Route('/api/v2/definitions/filingcalendars/loginverifiers/{form}')); 162 | $routes->add('api_v2_definitions_filingfrequencies', new Route('/api/v2/definitions/filingfrequencies')); 163 | $routes->add('api_v2_definitions_jurisdictions', new Route('/api/v2/definitions/jurisdictions')); 164 | $routes->add('api_v2_definitions_jurisdictions_countries_country_regions_region_taxtypes_taxTypeId_taxsubtypes_taxSubTypeId', new Route('/api/v2/definitions/jurisdictions/countries/{country}/regions/{region}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}')); 165 | $routes->add('api_v2_definitions_jurisdictionsnearaddress', new Route('/api/v2/definitions/jurisdictionsnearaddress')); 166 | $routes->add('api_v2_definitions_listallmarketplacelocations', new Route('/api/v2/definitions/listallmarketplacelocations')); 167 | $routes->add('api_v2_definitions_locationquestions', new Route('/api/v2/definitions/locationquestions')); 168 | $routes->add('api_v2_definitions_marketplacelocations', new Route('/api/v2/definitions/marketplacelocations')); 169 | $routes->add('api_v2_definitions_nexus', new Route('/api/v2/definitions/nexus')); 170 | $routes->add('api_v2_definitions_nexus_byaddress', new Route('/api/v2/definitions/nexus/byaddress')); 171 | $routes->add('api_v2_definitions_nexus_byform_formCode', new Route('/api/v2/definitions/nexus/byform/{formCode}')); 172 | $routes->add('api_v2_definitions_nexus_bytaxtypegroup_taxTypeGroup', new Route('/api/v2/definitions/nexus/bytaxtypegroup/{taxTypeGroup}')); 173 | $routes->add('api_v2_definitions_nexus_country', new Route('/api/v2/definitions/nexus/{country}')); 174 | $routes->add('api_v2_definitions_nexus_country_region', new Route('/api/v2/definitions/nexus/{country}/{region}')); 175 | $routes->add('api_v2_definitions_nexustaxtypegroups', new Route('/api/v2/definitions/nexustaxtypegroups')); 176 | $routes->add('api_v2_definitions_noticecustomerfundingoptions', new Route('/api/v2/definitions/noticecustomerfundingoptions')); 177 | $routes->add('api_v2_definitions_noticecustomertypes', new Route('/api/v2/definitions/noticecustomertypes')); 178 | $routes->add('api_v2_definitions_noticefilingtypes', new Route('/api/v2/definitions/noticefilingtypes')); 179 | $routes->add('api_v2_definitions_noticepriorities', new Route('/api/v2/definitions/noticepriorities')); 180 | $routes->add('api_v2_definitions_noticereasons', new Route('/api/v2/definitions/noticereasons')); 181 | $routes->add('api_v2_definitions_noticeresponsibilities', new Route('/api/v2/definitions/noticeresponsibilities')); 182 | $routes->add('api_v2_definitions_noticerootcauses', new Route('/api/v2/definitions/noticerootcauses')); 183 | $routes->add('api_v2_definitions_noticestatuses', new Route('/api/v2/definitions/noticestatuses')); 184 | $routes->add('api_v2_definitions_noticetypes', new Route('/api/v2/definitions/noticetypes')); 185 | $routes->add('api_v2_definitions_parameters', new Route('/api/v2/definitions/parameters')); 186 | $routes->add('api_v2_definitions_parameters_byitem_companyCode_itemCode', new Route('/api/v2/definitions/parameters/byitem/{companyCode}/{itemCode}')); 187 | $routes->add('api_v2_definitions_parametersusage', new Route('/api/v2/definitions/parametersusage')); 188 | $routes->add('api_v2_definitions_permissions', new Route('/api/v2/definitions/permissions')); 189 | $routes->add('api_v2_definitions_postalcodes', new Route('/api/v2/definitions/postalcodes')); 190 | $routes->add('api_v2_definitions_preferredprograms', new Route('/api/v2/definitions/preferredprograms')); 191 | $routes->add('api_v2_definitions_productclassificationsystems', new Route('/api/v2/definitions/productclassificationsystems')); 192 | $routes->add('api_v2_definitions_productclassificationsystems_bycompany_companyCode', new Route('/api/v2/definitions/productclassificationsystems/bycompany/{companyCode}')); 193 | $routes->add('api_v2_definitions_regions', new Route('/api/v2/definitions/regions')); 194 | $routes->add('api_v2_definitions_resourcefiletypes', new Route('/api/v2/definitions/resourcefiletypes')); 195 | $routes->add('api_v2_definitions_returns_parametersusage', new Route('/api/v2/definitions/returns/parametersusage')); 196 | $routes->add('api_v2_definitions_securityroles', new Route('/api/v2/definitions/securityroles')); 197 | $routes->add('api_v2_definitions_subscriptiontypes', new Route('/api/v2/definitions/subscriptiontypes')); 198 | $routes->add('api_v2_definitions_tags', new Route('/api/v2/definitions/tags')); 199 | $routes->add('api_v2_definitions_taxauthorities', new Route('/api/v2/definitions/taxauthorities')); 200 | $routes->add('api_v2_definitions_taxauthorityforms', new Route('/api/v2/definitions/taxauthorityforms')); 201 | $routes->add('api_v2_definitions_taxauthoritytypes', new Route('/api/v2/definitions/taxauthoritytypes')); 202 | $routes->add('api_v2_definitions_taxcodes', new Route('/api/v2/definitions/taxcodes')); 203 | $routes->add('api_v2_definitions_taxcodetypes', new Route('/api/v2/definitions/taxcodetypes')); 204 | $routes->add('api_v2_definitions_taxforms', new Route('/api/v2/definitions/taxforms')); 205 | $routes->add('api_v2_definitions_taxsubtypes', new Route('/api/v2/definitions/taxsubtypes')); 206 | $routes->add('api_v2_definitions_taxsubtypes_countries_country_taxtypes_taxTypeId', new Route('/api/v2/definitions/taxsubtypes/countries/{country}/taxtypes/{taxTypeId}')); 207 | $routes->add('api_v2_definitions_taxsubtypes_jurisdictionCode_region', new Route('/api/v2/definitions/taxsubtypes/{jurisdictionCode}/{region}')); 208 | $routes->add('api_v2_definitions_taxtypegroups', new Route('/api/v2/definitions/taxtypegroups')); 209 | $routes->add('api_v2_definitions_taxtypes_countries_country', new Route('/api/v2/definitions/taxtypes/countries/{country}')); 210 | $routes->add('api_v2_definitions_unitofbasis_countries_country_taxtypes_taxTypeId_taxsubtypes_taxSubTypeId', new Route('/api/v2/definitions/unitofbasis/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}')); 211 | $routes->add('api_v2_definitions_unitofmeasurements', new Route('/api/v2/definitions/unitofmeasurements')); 212 | $routes->add('api_v2_distancethresholds', new Route('/api/v2/distancethresholds')); 213 | $routes->add('api_v2_firmclientlinkages', new Route('/api/v2/firmclientlinkages')); 214 | $routes->add('api_v2_firmclientlinkages_createandlinkclient', new Route('/api/v2/firmclientlinkages/createandlinkclient')); 215 | $routes->add('api_v2_firmclientlinkages_id', new Route('/api/v2/firmclientlinkages/{id}')); 216 | $routes->add('api_v2_firmclientlinkages_id_approve', new Route('/api/v2/firmclientlinkages/{id}/approve')); 217 | $routes->add('api_v2_firmclientlinkages_id_reject', new Route('/api/v2/firmclientlinkages/{id}/reject')); 218 | $routes->add('api_v2_firmclientlinkages_id_reset', new Route('/api/v2/firmclientlinkages/{id}/reset')); 219 | $routes->add('api_v2_firmclientlinkages_id_revoke', new Route('/api/v2/firmclientlinkages/{id}/revoke')); 220 | $routes->add('api_v2_fundingrequests_id', new Route('/api/v2/fundingrequests/{id}')); 221 | $routes->add('api_v2_fundingrequests_id_widget', new Route('/api/v2/fundingrequests/{id}/widget')); 222 | $routes->add('api_v2_items', new Route('/api/v2/items')); 223 | $routes->add('api_v2_jurisdictionoverrides', new Route('/api/v2/jurisdictionoverrides')); 224 | $routes->add('api_v2_locations', new Route('/api/v2/locations')); 225 | $routes->add('api_v2_nexus', new Route('/api/v2/nexus')); 226 | $routes->add('api_v2_notices_responsibilities', new Route('/api/v2/notices/responsibilities')); 227 | $routes->add('api_v2_notices_responsibilities_responsibilityId', new Route('/api/v2/notices/responsibilities/{responsibilityId}')); 228 | $routes->add('api_v2_notices_rootcauses', new Route('/api/v2/notices/rootcauses')); 229 | $routes->add('api_v2_notices_rootcauses_rootCauseId', new Route('/api/v2/notices/rootcauses/{rootCauseId}')); 230 | $routes->add('api_v2_notifications', new Route('/api/v2/notifications')); 231 | $routes->add('api_v2_notifications_id', new Route('/api/v2/notifications/{id}')); 232 | $routes->add('api_v2_notifications_id_dismiss', new Route('/api/v2/notifications/{id}/dismiss')); 233 | $routes->add('api_v2_passwords', new Route('/api/v2/passwords')); 234 | $routes->add('api_v2_passwords_userId_reset', new Route('/api/v2/passwords/{userId}/reset')); 235 | $routes->add('api_v2_pointofsaledata_build', new Route('/api/v2/pointofsaledata/build')); 236 | $routes->add('api_v2_reports', new Route('/api/v2/reports')); 237 | $routes->add('api_v2_reports_id', new Route('/api/v2/reports/{id}')); 238 | $routes->add('api_v2_reports_id_attachment', new Route('/api/v2/reports/{id}/attachment')); 239 | $routes->add('api_v2_settings', new Route('/api/v2/settings')); 240 | $routes->add('api_v2_subscriptions', new Route('/api/v2/subscriptions')); 241 | $routes->add('api_v2_taxcodes', new Route('/api/v2/taxcodes')); 242 | $routes->add('api_v2_taxrates_byaddress', new Route('/api/v2/taxrates/byaddress')); 243 | $routes->add('api_v2_taxrates_bypostalcode', new Route('/api/v2/taxrates/bypostalcode')); 244 | $routes->add('api_v2_taxratesbyzipcode_download_date', new Route('/api/v2/taxratesbyzipcode/download/{date}')); 245 | $routes->add('api_v2_taxrules', new Route('/api/v2/taxrules')); 246 | $routes->add('api_v2_transactions_create', new Route('/api/v2/transactions/create')); 247 | $routes->add('api_v2_transactions_createoradjust', new Route('/api/v2/transactions/createoradjust')); 248 | $routes->add('api_v2_transactions_lock', new Route('/api/v2/transactions/lock')); 249 | $routes->add('api_v2_transactions_multidocument', new Route('/api/v2/transactions/multidocument')); 250 | $routes->add('api_v2_transactions_multidocument_commit', new Route('/api/v2/transactions/multidocument/commit')); 251 | $routes->add('api_v2_transactions_multidocument_verify', new Route('/api/v2/transactions/multidocument/verify')); 252 | $routes->add('api_v2_transactions_multidocument_code_type_type', new Route('/api/v2/transactions/multidocument/{code}/type/{type}')); 253 | $routes->add('api_v2_transactions_multidocument_code_type_type_adjust', new Route('/api/v2/transactions/multidocument/{code}/type/{type}/adjust')); 254 | $routes->add('api_v2_transactions_multidocument_code_type_type_audit', new Route('/api/v2/transactions/multidocument/{code}/type/{type}/audit')); 255 | $routes->add('api_v2_transactions_multidocument_code_type_type_refund', new Route('/api/v2/transactions/multidocument/{code}/type/{type}/refund')); 256 | $routes->add('api_v2_transactions_multidocument_code_type_type_void', new Route('/api/v2/transactions/multidocument/{code}/type/{type}/void')); 257 | $routes->add('api_v2_transactions_multidocument_id', new Route('/api/v2/transactions/multidocument/{id}')); 258 | $routes->add('api_v2_transactions_id', new Route('/api/v2/transactions/{id}')); 259 | $routes->add('api_v2_upcs', new Route('/api/v2/upcs')); 260 | $routes->add('api_v2_users', new Route('/api/v2/users')); 261 | $routes->add('api_v2_utilities_ping', new Route('/api/v2/utilities/ping')); 262 | $routes->add('api_v2_utilities_subscriptions', new Route('/api/v2/utilities/subscriptions')); 263 | $routes->add('api_v2_utilities_subscriptions_serviceTypeId', new Route('/api/v2/utilities/subscriptions/{serviceTypeId}')); 264 | 265 | return $routes; 266 | -------------------------------------------------------------------------------- /routes/definition/symfony/bitbucket.php: -------------------------------------------------------------------------------- 1 | add('addon', new Route('/addon')); 9 | $routes->add('addon_linkers', new Route('/addon/linkers')); 10 | $routes->add('addon_linkers_linker_key', new Route('/addon/linkers/{linker_key}')); 11 | $routes->add('addon_linkers_linker_key_values', new Route('/addon/linkers/{linker_key}/values')); 12 | $routes->add('addon_linkers_linker_key_values_value_id', new Route('/addon/linkers/{linker_key}/values/{value_id}')); 13 | $routes->add('hook_events', new Route('/hook_events')); 14 | $routes->add('hook_events_subject_type', new Route('/hook_events/{subject_type}')); 15 | $routes->add('pullrequests_selected_user', new Route('/pullrequests/{selected_user}')); 16 | $routes->add('repositories', new Route('/repositories')); 17 | $routes->add('repositories_workspace', new Route('/repositories/{workspace}')); 18 | $routes->add('repositories_workspace_repo_slug', new Route('/repositories/{workspace}/{repo_slug}')); 19 | $routes->add('repositories_workspace_repo_slug_branch_restrictions', new Route('/repositories/{workspace}/{repo_slug}/branch-restrictions')); 20 | $routes->add('repositories_workspace_repo_slug_branch_restrictions_id', new Route('/repositories/{workspace}/{repo_slug}/branch-restrictions/{id}')); 21 | $routes->add('repositories_workspace_repo_slug_branching_model', new Route('/repositories/{workspace}/{repo_slug}/branching-model')); 22 | $routes->add('repositories_workspace_repo_slug_branching_model_settings', new Route('/repositories/{workspace}/{repo_slug}/branching-model/settings')); 23 | $routes->add('repositories_workspace_repo_slug_commit_commit', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}')); 24 | $routes->add('repositories_workspace_repo_slug_commit_commit_approve', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/approve')); 25 | $routes->add('repositories_workspace_repo_slug_commit_commit_comments', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/comments')); 26 | $routes->add('repositories_workspace_repo_slug_commit_commit_comments_comment_id', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}')); 27 | $routes->add('repositories_workspace_repo_slug_commit_commit_properties_app_key_property_name', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name}')); 28 | $routes->add('repositories_workspace_repo_slug_commit_commit_pullrequests', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests')); 29 | $routes->add('repositories_workspace_repo_slug_commit_commit_reports', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/reports')); 30 | $routes->add('repositories_workspace_repo_slug_commit_commit_reports_reportId', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}')); 31 | $routes->add('repositories_workspace_repo_slug_commit_commit_reports_reportId_annotations', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations')); 32 | $routes->add('repositories_workspace_repo_slug_commit_commit_reports_reportId_annotations_annotationId', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}')); 33 | $routes->add('repositories_workspace_repo_slug_commit_commit_statuses', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses')); 34 | $routes->add('repositories_workspace_repo_slug_commit_commit_statuses_build', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build')); 35 | $routes->add('repositories_workspace_repo_slug_commit_commit_statuses_build_key', new Route('/repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key}')); 36 | $routes->add('repositories_workspace_repo_slug_commits', new Route('/repositories/{workspace}/{repo_slug}/commits')); 37 | $routes->add('repositories_workspace_repo_slug_commits_revision', new Route('/repositories/{workspace}/{repo_slug}/commits/{revision}')); 38 | $routes->add('repositories_workspace_repo_slug_components', new Route('/repositories/{workspace}/{repo_slug}/components')); 39 | $routes->add('repositories_workspace_repo_slug_components_component_id', new Route('/repositories/{workspace}/{repo_slug}/components/{component_id}')); 40 | $routes->add('repositories_workspace_repo_slug_default_reviewers', new Route('/repositories/{workspace}/{repo_slug}/default-reviewers')); 41 | $routes->add('repositories_workspace_repo_slug_default_reviewers_target_username', new Route('/repositories/{workspace}/{repo_slug}/default-reviewers/{target_username}')); 42 | $routes->add('repositories_workspace_repo_slug_deploy_keys', new Route('/repositories/{workspace}/{repo_slug}/deploy-keys')); 43 | $routes->add('repositories_workspace_repo_slug_deploy_keys_key_id', new Route('/repositories/{workspace}/{repo_slug}/deploy-keys/{key_id}')); 44 | $routes->add('repositories_workspace_repo_slug_deployments', new Route('/repositories/{workspace}/{repo_slug}/deployments/')); 45 | $routes->add('repositories_workspace_repo_slug_deployments_deployment_uuid', new Route('/repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid}')); 46 | $routes->add('repositories_workspace_repo_slug_deployments_config_environments_environment_uuid_variables', new Route('/repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables')); 47 | $routes->add('repositories_workspace_repo_slug_deployments_config_environments_environment_uuid_variables_variable_uuid', new Route('/repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}')); 48 | $routes->add('repositories_workspace_repo_slug_diff_spec', new Route('/repositories/{workspace}/{repo_slug}/diff/{spec}')); 49 | $routes->add('repositories_workspace_repo_slug_diffstat_spec', new Route('/repositories/{workspace}/{repo_slug}/diffstat/{spec}')); 50 | $routes->add('repositories_workspace_repo_slug_downloads', new Route('/repositories/{workspace}/{repo_slug}/downloads')); 51 | $routes->add('repositories_workspace_repo_slug_downloads_filename', new Route('/repositories/{workspace}/{repo_slug}/downloads/{filename}')); 52 | $routes->add('repositories_workspace_repo_slug_environments', new Route('/repositories/{workspace}/{repo_slug}/environments/')); 53 | $routes->add('repositories_workspace_repo_slug_environments_environment_uuid', new Route('/repositories/{workspace}/{repo_slug}/environments/{environment_uuid}')); 54 | $routes->add('repositories_workspace_repo_slug_environments_environment_uuid_changes', new Route('/repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes/')); 55 | $routes->add('repositories_workspace_repo_slug_filehistory_commit_path', new Route('/repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path}')); 56 | $routes->add('repositories_workspace_repo_slug_forks', new Route('/repositories/{workspace}/{repo_slug}/forks')); 57 | $routes->add('repositories_workspace_repo_slug_hooks', new Route('/repositories/{workspace}/{repo_slug}/hooks')); 58 | $routes->add('repositories_workspace_repo_slug_hooks_uid', new Route('/repositories/{workspace}/{repo_slug}/hooks/{uid}')); 59 | $routes->add('repositories_workspace_repo_slug_issues', new Route('/repositories/{workspace}/{repo_slug}/issues')); 60 | $routes->add('repositories_workspace_repo_slug_issues_export', new Route('/repositories/{workspace}/{repo_slug}/issues/export')); 61 | $routes->add('repositories_workspace_repo_slug_issues_export_repo_name_issues_task_id_zip', new Route('/repositories/{workspace}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip')); 62 | $routes->add('repositories_workspace_repo_slug_issues_import', new Route('/repositories/{workspace}/{repo_slug}/issues/import')); 63 | $routes->add('repositories_workspace_repo_slug_issues_issue_id', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}')); 64 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_attachments', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments')); 65 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_attachments_path', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path}')); 66 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_changes', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes')); 67 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_changes_change_id', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id}')); 68 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_comments', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments')); 69 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_comments_comment_id', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id}')); 70 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_vote', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote')); 71 | $routes->add('repositories_workspace_repo_slug_issues_issue_id_watch', new Route('/repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch')); 72 | $routes->add('repositories_workspace_repo_slug_merge_base_revspec', new Route('/repositories/{workspace}/{repo_slug}/merge-base/{revspec}')); 73 | $routes->add('repositories_workspace_repo_slug_milestones', new Route('/repositories/{workspace}/{repo_slug}/milestones')); 74 | $routes->add('repositories_workspace_repo_slug_milestones_milestone_id', new Route('/repositories/{workspace}/{repo_slug}/milestones/{milestone_id}')); 75 | $routes->add('repositories_workspace_repo_slug_patch_spec', new Route('/repositories/{workspace}/{repo_slug}/patch/{spec}')); 76 | $routes->add('repositories_workspace_repo_slug_pipelines_config_caches', new Route('/repositories/{workspace}/{repo_slug}/pipelines-config/caches/')); 77 | $routes->add('repositories_workspace_repo_slug_pipelines_config_caches_cache_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}')); 78 | $routes->add('repositories_workspace_repo_slug_pipelines_config_caches_cache_uuid_content_uri', new Route('/repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri')); 79 | $routes->add('repositories_workspace_repo_slug_pipelines', new Route('/repositories/{workspace}/{repo_slug}/pipelines/')); 80 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}')); 81 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/')); 82 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}')); 83 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_log', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log')); 84 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_logs_log_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}')); 85 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_test_reports', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports')); 86 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_test_reports_test_cases', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases')); 87 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_steps_step_uuid_test_reports_test_cases_test_case_uuid_test_case_reasons', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons')); 88 | $routes->add('repositories_workspace_repo_slug_pipelines_pipeline_uuid_stopPipeline', new Route('/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline')); 89 | $routes->add('repositories_workspace_repo_slug_pipelines_config', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config')); 90 | $routes->add('repositories_workspace_repo_slug_pipelines_config_build_number', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/build_number')); 91 | $routes->add('repositories_workspace_repo_slug_pipelines_config_schedules', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/')); 92 | $routes->add('repositories_workspace_repo_slug_pipelines_config_schedules_schedule_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}')); 93 | $routes->add('repositories_workspace_repo_slug_pipelines_config_schedules_schedule_uuid_executions', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions/')); 94 | $routes->add('repositories_workspace_repo_slug_pipelines_config_ssh_key_pair', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair')); 95 | $routes->add('repositories_workspace_repo_slug_pipelines_config_ssh_known_hosts', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/')); 96 | $routes->add('repositories_workspace_repo_slug_pipelines_config_ssh_known_hosts_known_host_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid}')); 97 | $routes->add('repositories_workspace_repo_slug_pipelines_config_variables', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/variables/')); 98 | $routes->add('repositories_workspace_repo_slug_pipelines_config_variables_variable_uuid', new Route('/repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid}')); 99 | $routes->add('repositories_workspace_repo_slug_properties_app_key_property_name', new Route('/repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name}')); 100 | $routes->add('repositories_workspace_repo_slug_pullrequests', new Route('/repositories/{workspace}/{repo_slug}/pullrequests')); 101 | $routes->add('repositories_workspace_repo_slug_pullrequests_activity', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/activity')); 102 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}')); 103 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_activity', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity')); 104 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_approve', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve')); 105 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_comments', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments')); 106 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_comments_comment_id', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id}')); 107 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_commits', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits')); 108 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_decline', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline')); 109 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_diff', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff')); 110 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_diffstat', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat')); 111 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_merge', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge')); 112 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_merge_task_status_task_id', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id}')); 113 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_patch', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch')); 114 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_request_changes', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes')); 115 | $routes->add('repositories_workspace_repo_slug_pullrequests_pull_request_id_statuses', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses')); 116 | $routes->add('repositories_workspace_repo_slug_pullrequests_pullrequest_id_properties_app_key_property_name', new Route('/repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name}')); 117 | $routes->add('repositories_workspace_repo_slug_refs', new Route('/repositories/{workspace}/{repo_slug}/refs')); 118 | $routes->add('repositories_workspace_repo_slug_refs_branches', new Route('/repositories/{workspace}/{repo_slug}/refs/branches')); 119 | $routes->add('repositories_workspace_repo_slug_refs_branches_name', new Route('/repositories/{workspace}/{repo_slug}/refs/branches/{name}')); 120 | $routes->add('repositories_workspace_repo_slug_refs_tags', new Route('/repositories/{workspace}/{repo_slug}/refs/tags')); 121 | $routes->add('repositories_workspace_repo_slug_refs_tags_name', new Route('/repositories/{workspace}/{repo_slug}/refs/tags/{name}')); 122 | $routes->add('repositories_workspace_repo_slug_src', new Route('/repositories/{workspace}/{repo_slug}/src')); 123 | $routes->add('repositories_workspace_repo_slug_src_commit_path', new Route('/repositories/{workspace}/{repo_slug}/src/{commit}/{path}')); 124 | $routes->add('repositories_workspace_repo_slug_versions', new Route('/repositories/{workspace}/{repo_slug}/versions')); 125 | $routes->add('repositories_workspace_repo_slug_versions_version_id', new Route('/repositories/{workspace}/{repo_slug}/versions/{version_id}')); 126 | $routes->add('repositories_workspace_repo_slug_watchers', new Route('/repositories/{workspace}/{repo_slug}/watchers')); 127 | $routes->add('snippets', new Route('/snippets')); 128 | $routes->add('snippets_workspace', new Route('/snippets/{workspace}')); 129 | $routes->add('snippets_workspace_encoded_id', new Route('/snippets/{workspace}/{encoded_id}')); 130 | $routes->add('snippets_workspace_encoded_id_comments', new Route('/snippets/{workspace}/{encoded_id}/comments')); 131 | $routes->add('snippets_workspace_encoded_id_comments_comment_id', new Route('/snippets/{workspace}/{encoded_id}/comments/{comment_id}')); 132 | $routes->add('snippets_workspace_encoded_id_commits', new Route('/snippets/{workspace}/{encoded_id}/commits')); 133 | $routes->add('snippets_workspace_encoded_id_commits_revision', new Route('/snippets/{workspace}/{encoded_id}/commits/{revision}')); 134 | $routes->add('snippets_workspace_encoded_id_files_path', new Route('/snippets/{workspace}/{encoded_id}/files/{path}')); 135 | $routes->add('snippets_workspace_encoded_id_watch', new Route('/snippets/{workspace}/{encoded_id}/watch')); 136 | $routes->add('snippets_workspace_encoded_id_watchers', new Route('/snippets/{workspace}/{encoded_id}/watchers')); 137 | $routes->add('snippets_workspace_encoded_id_node_id', new Route('/snippets/{workspace}/{encoded_id}/{node_id}')); 138 | $routes->add('snippets_workspace_encoded_id_node_id_files_path', new Route('/snippets/{workspace}/{encoded_id}/{node_id}/files/{path}')); 139 | $routes->add('snippets_workspace_encoded_id_revision_diff', new Route('/snippets/{workspace}/{encoded_id}/{revision}/diff')); 140 | $routes->add('snippets_workspace_encoded_id_revision_patch', new Route('/snippets/{workspace}/{encoded_id}/{revision}/patch')); 141 | $routes->add('teams', new Route('/teams')); 142 | $routes->add('teams_username', new Route('/teams/{username}')); 143 | $routes->add('teams_username_followers', new Route('/teams/{username}/followers')); 144 | $routes->add('teams_username_following', new Route('/teams/{username}/following')); 145 | $routes->add('teams_username_members', new Route('/teams/{username}/members')); 146 | $routes->add('teams_username_permissions', new Route('/teams/{username}/permissions')); 147 | $routes->add('teams_username_permissions_repositories', new Route('/teams/{username}/permissions/repositories')); 148 | $routes->add('teams_username_permissions_repositories_repo_slug', new Route('/teams/{username}/permissions/repositories/{repo_slug}')); 149 | $routes->add('teams_username_pipelines_config_variables', new Route('/teams/{username}/pipelines_config/variables/')); 150 | $routes->add('teams_username_pipelines_config_variables_variable_uuid', new Route('/teams/{username}/pipelines_config/variables/{variable_uuid}')); 151 | $routes->add('teams_username_projects', new Route('/teams/{username}/projects/')); 152 | $routes->add('teams_username_projects_project_key', new Route('/teams/{username}/projects/{project_key}')); 153 | $routes->add('teams_username_search_code', new Route('/teams/{username}/search/code')); 154 | $routes->add('teams_workspace_repositories', new Route('/teams/{workspace}/repositories')); 155 | $routes->add('user', new Route('/user')); 156 | $routes->add('user_emails', new Route('/user/emails')); 157 | $routes->add('user_emails_email', new Route('/user/emails/{email}')); 158 | $routes->add('user_permissions_repositories', new Route('/user/permissions/repositories')); 159 | $routes->add('user_permissions_teams', new Route('/user/permissions/teams')); 160 | $routes->add('user_permissions_workspaces', new Route('/user/permissions/workspaces')); 161 | $routes->add('users_selected_user', new Route('/users/{selected_user}')); 162 | $routes->add('users_selected_user_pipelines_config_variables', new Route('/users/{selected_user}/pipelines_config/variables/')); 163 | $routes->add('users_selected_user_pipelines_config_variables_variable_uuid', new Route('/users/{selected_user}/pipelines_config/variables/{variable_uuid}')); 164 | $routes->add('users_selected_user_properties_app_key_property_name', new Route('/users/{selected_user}/properties/{app_key}/{property_name}')); 165 | $routes->add('users_selected_user_search_code', new Route('/users/{selected_user}/search/code')); 166 | $routes->add('users_selected_user_ssh_keys', new Route('/users/{selected_user}/ssh-keys')); 167 | $routes->add('users_selected_user_ssh_keys_key_id', new Route('/users/{selected_user}/ssh-keys/{key_id}')); 168 | $routes->add('users_username_members', new Route('/users/{username}/members')); 169 | $routes->add('users_workspace_repositories', new Route('/users/{workspace}/repositories')); 170 | $routes->add('workspaces', new Route('/workspaces')); 171 | $routes->add('workspaces_workspace', new Route('/workspaces/{workspace}')); 172 | $routes->add('workspaces_workspace_hooks', new Route('/workspaces/{workspace}/hooks')); 173 | $routes->add('workspaces_workspace_hooks_uid', new Route('/workspaces/{workspace}/hooks/{uid}')); 174 | $routes->add('workspaces_workspace_members', new Route('/workspaces/{workspace}/members')); 175 | $routes->add('workspaces_workspace_members_member', new Route('/workspaces/{workspace}/members/{member}')); 176 | $routes->add('workspaces_workspace_permissions', new Route('/workspaces/{workspace}/permissions')); 177 | $routes->add('workspaces_workspace_permissions_repositories', new Route('/workspaces/{workspace}/permissions/repositories')); 178 | $routes->add('workspaces_workspace_permissions_repositories_repo_slug', new Route('/workspaces/{workspace}/permissions/repositories/{repo_slug}')); 179 | $routes->add('workspaces_workspace_pipelines_config_identity_oidc_well_known_openid_configuration', new Route('/workspaces/{workspace}/pipelines-config/identity/oidc/.well-known/openid-configuration')); 180 | $routes->add('workspaces_workspace_pipelines_config_identity_oidc_keys_json', new Route('/workspaces/{workspace}/pipelines-config/identity/oidc/keys.json')); 181 | $routes->add('workspaces_workspace_pipelines_config_variables', new Route('/workspaces/{workspace}/pipelines-config/variables')); 182 | $routes->add('workspaces_workspace_pipelines_config_variables_variable_uuid', new Route('/workspaces/{workspace}/pipelines-config/variables/{variable_uuid}')); 183 | $routes->add('workspaces_workspace_projects', new Route('/workspaces/{workspace}/projects')); 184 | $routes->add('workspaces_workspace_projects_project_key', new Route('/workspaces/{workspace}/projects/{project_key}')); 185 | $routes->add('workspaces_workspace_search_code', new Route('/workspaces/{workspace}/search/code')); 186 | 187 | return $routes; 188 | -------------------------------------------------------------------------------- /routes/provider/avatax: -------------------------------------------------------------------------------- 1 | /api/v2/accounts 2 | /api/v2/accounts/{id} 3 | /api/v2/accounts/{id}/activate 4 | /api/v2/accounts/{id}/audit 5 | /api/v2/accounts/{id}/configuration 6 | /api/v2/accounts/{id}/licensekey 7 | /api/v2/accounts/{id}/licensekey/{licensekeyname} 8 | /api/v2/accounts/{id}/licensekeys 9 | /api/v2/accounts/{id}/resetlicensekey 10 | /api/v2/addresses/resolve 11 | /api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles 12 | /api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id} 13 | /api/v2/avafileforms 14 | /api/v2/avafileforms/{id} 15 | /api/v2/batches 16 | /api/v2/companies/{companyId}/batches 17 | /api/v2/companies/{companyId}/batches/{batchId}/files/{id}/attachment 18 | /api/v2/companies/{companyId}/batches/{id} 19 | /api/v2/companies/{companyId}/batches/{id}/cancel 20 | /api/v2/companies/{companyId}/batches/transactions 21 | /api/v2/companies/{companyId}/certexpressinvites 22 | /api/v2/companies/{companyId}/customers/{customerCode}/certexpressinvites 23 | /api/v2/companies/{companyId}/customers/{customerCode}/certexpressinvites/{id} 24 | /api/v2/companies/{companyId}/certificates 25 | /api/v2/companies/{companyId}/certificates/{id} 26 | /api/v2/companies/{companyId}/certificates/{id}/attachment 27 | /api/v2/companies/{companyId}/certificates/{id}/attributes 28 | /api/v2/companies/{companyId}/certificates/{id}/attributes/link 29 | /api/v2/companies/{companyId}/certificates/{id}/attributes/unlink 30 | /api/v2/companies/{companyId}/certificates/{id}/customers 31 | /api/v2/companies/{companyId}/certificates/{id}/customers/link 32 | /api/v2/companies/{companyId}/certificates/{id}/customers/unlink 33 | /api/v2/companies/{companyId}/certificates/setup 34 | /api/v2/companies 35 | /api/v2/companies/{companyId}/funding/configuration 36 | /api/v2/companies/{companyId}/funding/configurations 37 | /api/v2/companies/{companyId}/parameters 38 | /api/v2/companies/{companyId}/parameters/{id} 39 | /api/v2/companies/{id} 40 | /api/v2/companies/{id}/certify 41 | /api/v2/companies/{id}/configuration 42 | /api/v2/companies/{id}/filingstatus 43 | /api/v2/companies/{id}/funding 44 | /api/v2/companies/{id}/funding/setup 45 | /api/v2/companies/initialize 46 | /api/v2/companies/mrs 47 | /api/v2/compliance/taxauthorityjurisdictionrates 48 | /api/v2/companies/{companyId}/contacts 49 | /api/v2/companies/{companyId}/contacts/{id} 50 | /api/v2/contacts 51 | /api/v2/companies/{companyId}/customers 52 | /api/v2/companies/{companyId}/customers/{customerCode} 53 | /api/v2/companies/{companyId}/customers/{customerCode}/attributes 54 | /api/v2/companies/{companyId}/customers/{customerCode}/attributes/link 55 | /api/v2/companies/{companyId}/customers/{customerCode}/attributes/unlink 56 | /api/v2/companies/{companyId}/customers/{customerCode}/certificates 57 | /api/v2/companies/{companyId}/customers/{customerCode}/certificates/{country}/{region} 58 | /api/v2/companies/{companyId}/customers/{customerCode}/certificates/link 59 | /api/v2/companies/{companyId}/customers/{customerCode}/certificates/unlink 60 | /api/v2/companies/{companyId}/customers/billto/{code}/shipto/link 61 | /api/v2/companies/{companyId}/datasources 62 | /api/v2/companies/{companyId}/datasources/{id} 63 | /api/v2/datasources 64 | /api/v2/definitions/avafileforms 65 | /api/v2/definitions/certificateattributes 66 | /api/v2/definitions/certificateexemptreasons 67 | /api/v2/definitions/certificateexposurezones 68 | /api/v2/definitions/classification/parametersusage 69 | /api/v2/definitions/communications/transactiontypes 70 | /api/v2/definitions/communications/transactiontypes/{id}/servicetypes 71 | /api/v2/definitions/communications/tspairs 72 | /api/v2/definitions/countries 73 | /api/v2/definitions/countries/{country}/ratetypes 74 | /api/v2/definitions/countries/{country}/regions 75 | /api/v2/definitions/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}/ratetypes 76 | /api/v2/definitions/coverletters 77 | /api/v2/definitions/crossborder/{country}/{hsCode} 78 | /api/v2/definitions/crossborder/{country}/{hsCode}/hierarchy 79 | /api/v2/definitions/crossborder/sections 80 | /api/v2/definitions/currencies 81 | /api/v2/definitions/entityusecodes 82 | /api/v2/definitions/filingcalendars/loginverifiers 83 | /api/v2/definitions/filingcalendars/loginverifiers/{form} 84 | /api/v2/definitions/filingfrequencies 85 | /api/v2/definitions/jurisdictions 86 | /api/v2/definitions/jurisdictions/countries/{country}/regions/{region}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId} 87 | /api/v2/definitions/jurisdictionsnearaddress 88 | /api/v2/definitions/listallmarketplacelocations 89 | /api/v2/definitions/locationquestions 90 | /api/v2/definitions/marketplacelocations 91 | /api/v2/definitions/nexus 92 | /api/v2/definitions/nexus/{country} 93 | /api/v2/definitions/nexus/{country}/{region} 94 | /api/v2/definitions/nexus/byaddress 95 | /api/v2/definitions/nexus/byform/{formCode} 96 | /api/v2/definitions/nexus/bytaxtypegroup/{taxTypeGroup} 97 | /api/v2/definitions/nexustaxtypegroups 98 | /api/v2/definitions/noticecustomerfundingoptions 99 | /api/v2/definitions/noticecustomertypes 100 | /api/v2/definitions/noticefilingtypes 101 | /api/v2/definitions/noticepriorities 102 | /api/v2/definitions/noticereasons 103 | /api/v2/definitions/noticeresponsibilities 104 | /api/v2/definitions/noticerootcauses 105 | /api/v2/definitions/noticestatuses 106 | /api/v2/definitions/noticetypes 107 | /api/v2/definitions/parameters 108 | /api/v2/definitions/parameters/byitem/{companyCode}/{itemCode} 109 | /api/v2/definitions/parametersusage 110 | /api/v2/definitions/permissions 111 | /api/v2/definitions/postalcodes 112 | /api/v2/definitions/preferredprograms 113 | /api/v2/definitions/productclassificationsystems 114 | /api/v2/definitions/productclassificationsystems/bycompany/{companyCode} 115 | /api/v2/definitions/regions 116 | /api/v2/definitions/resourcefiletypes 117 | /api/v2/definitions/returns/parametersusage 118 | /api/v2/definitions/securityroles 119 | /api/v2/definitions/subscriptiontypes 120 | /api/v2/definitions/tags 121 | /api/v2/definitions/taxauthorities 122 | /api/v2/definitions/taxauthorityforms 123 | /api/v2/definitions/taxauthoritytypes 124 | /api/v2/definitions/taxcodes 125 | /api/v2/definitions/taxcodetypes 126 | /api/v2/definitions/taxforms 127 | /api/v2/definitions/taxsubtypes 128 | /api/v2/definitions/taxsubtypes/{jurisdictionCode}/{region} 129 | /api/v2/definitions/taxsubtypes/countries/{country}/taxtypes/{taxTypeId} 130 | /api/v2/definitions/taxtypegroups 131 | /api/v2/definitions/taxtypes/countries/{country} 132 | /api/v2/definitions/unitofbasis/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId} 133 | /api/v2/definitions/unitofmeasurements 134 | /api/v2/companies/{companyId}/distancethresholds 135 | /api/v2/companies/{companyId}/distancethresholds/{id} 136 | /api/v2/distancethresholds 137 | /api/v2/companies/{companyId}/ecommercetokens 138 | /api/v2/companies/{companyId}/filingcalendars/{filingCalendarId}/setting/{companyReturnSettingId} 139 | /api/v2/companies/{companyId}/filingcalendars/edit/cycleSafeOptions 140 | /api/v2/companies/{companyId}/filingcalendars/Legacy 141 | /api/v2/companies/{companyId}/filings/accrual/{filingReturnId} 142 | /api/v2/companies/{companyId}/filings/returns/filed 143 | /api/v2/firmclientlinkages 144 | /api/v2/firmclientlinkages/{id} 145 | /api/v2/firmclientlinkages/{id}/approve 146 | /api/v2/firmclientlinkages/{id}/reject 147 | /api/v2/firmclientlinkages/{id}/reset 148 | /api/v2/firmclientlinkages/{id}/revoke 149 | /api/v2/firmclientlinkages/createandlinkclient 150 | /api/v2/accounts/freetrials/request 151 | /api/v2/fundingrequests/{id} 152 | /api/v2/fundingrequests/{id}/widget 153 | /api/v2/companies/{companyId}/items 154 | /api/v2/companies/{companyId}/items/{id} 155 | /api/v2/companies/{companyId}/items/{itemId}/classifications 156 | /api/v2/companies/{companyId}/items/{itemId}/classifications/{id} 157 | /api/v2/companies/{companyId}/items/{itemId}/parameters 158 | /api/v2/companies/{companyId}/items/{itemId}/parameters/{id} 159 | /api/v2/companies/{companyId}/items/{itemId}/tags 160 | /api/v2/companies/{companyId}/items/{itemId}/tags/{itemTagDetailId} 161 | /api/v2/companies/{companyId}/items/bytags/{tag} 162 | /api/v2/companies/{companyId}/items/sync 163 | /api/v2/companies/{companyId}/items/upload 164 | /api/v2/items 165 | /api/v2/accounts/{accountId}/jurisdictionoverrides 166 | /api/v2/accounts/{accountId}/jurisdictionoverrides/{id} 167 | /api/v2/jurisdictionoverrides 168 | /api/v2/companies/{companyId}/locations 169 | /api/v2/companies/{companyId}/locations/{id} 170 | /api/v2/companies/{companyId}/locations/{id}/validate 171 | /api/v2/companies/{companyId}/locations/{locationId}/parameters 172 | /api/v2/companies/{companyId}/locations/{locationId}/parameters/{id} 173 | /api/v2/locations 174 | /api/v2/transactions/multidocument 175 | /api/v2/transactions/multidocument/{code}/type/{type} 176 | /api/v2/transactions/multidocument/{code}/type/{type}/adjust 177 | /api/v2/transactions/multidocument/{code}/type/{type}/audit 178 | /api/v2/transactions/multidocument/{code}/type/{type}/refund 179 | /api/v2/transactions/multidocument/{code}/type/{type}/void 180 | /api/v2/transactions/multidocument/{id} 181 | /api/v2/transactions/multidocument/commit 182 | /api/v2/transactions/multidocument/verify 183 | /api/v2/companies/{companyId}/nexus 184 | /api/v2/companies/{companyId}/nexus/{id} 185 | /api/v2/companies/{companyId}/nexus/{nexusId}/parameters 186 | /api/v2/companies/{companyId}/nexus/{nexusId}/parameters/{id} 187 | /api/v2/companies/{companyId}/nexus/byaddress 188 | /api/v2/companies/{companyId}/nexus/byform/{formCode} 189 | /api/v2/companies/{companyId}/nexus/byTaxTypeGroup/{taxTypeGroup} 190 | /api/v2/nexus 191 | /api/v2/notices/responsibilities 192 | /api/v2/notices/responsibilities/{responsibilityId} 193 | /api/v2/notices/rootcauses 194 | /api/v2/notices/rootcauses/{rootCauseId} 195 | /api/v2/notifications 196 | /api/v2/notifications/{id} 197 | /api/v2/notifications/{id}/dismiss 198 | /api/v2/accounts/{id}/entitlements/{offer} 199 | /api/v2/accounts/request 200 | /api/v2/accounts/ListAccountsByTssWriteMode/{writeMode} 201 | /api/v2/passwords/{userId}/reset 202 | /api/v2/companies/{companyId}/reports/exportdocumentline/initiate 203 | /api/v2/reports 204 | /api/v2/reports/{id} 205 | /api/v2/reports/{id}/attachment 206 | /api/v2/companies/{companyId}/settings 207 | /api/v2/companies/{companyId}/settings/{id} 208 | /api/v2/settings 209 | /api/v2/accounts/{accountId}/subscriptions 210 | /api/v2/accounts/{accountId}/subscriptions/{id} 211 | /api/v2/subscriptions 212 | /api/v2/companies/{companyId}/taxcodes 213 | /api/v2/companies/{companyId}/taxcodes/{id} 214 | /api/v2/taxcodes 215 | /api/v2/companies/{companyId}/locations/{id}/pointofsaledata 216 | /api/v2/pointofsaledata/build 217 | /api/v2/taxrates/byaddress 218 | /api/v2/taxrates/bypostalcode 219 | /api/v2/taxratesbyzipcode/download/{date} 220 | /api/v2/companies/{companyId}/taxrules 221 | /api/v2/companies/{companyId}/taxrules/{id} 222 | /api/v2/taxrules 223 | /api/v2/companies/{companyCode}/transactions 224 | /api/v2/companies/{companyCode}/transactions/{transactionCode} 225 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/adjust 226 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/audit 227 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/changecode 228 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/commit 229 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/lock 230 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/refund 231 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/settle 232 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/types/{documentType} 233 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/types/{documentType}/audit 234 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/uncommit 235 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/unvoid 236 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/verify 237 | /api/v2/companies/{companyCode}/transactions/{transactionCode}/void 238 | /api/v2/companies/transactions/lines/add 239 | /api/v2/companies/transactions/lines/delete 240 | /api/v2/transactions/{id} 241 | /api/v2/transactions/create 242 | /api/v2/transactions/createoradjust 243 | /api/v2/transactions/lock 244 | /api/v2/companies/{companyId}/upcs 245 | /api/v2/companies/{companyId}/upcs/{id} 246 | /api/v2/upcs 247 | /api/v2/companies/{companyId}/userdefinedfields 248 | /api/v2/companies/{companyId}/userdefinedfields/{id} 249 | /api/v2/accounts/{accountId}/users 250 | /api/v2/accounts/{accountId}/users/{id} 251 | /api/v2/accounts/{accountId}/users/{id}/entitlements 252 | /api/v2/passwords 253 | /api/v2/users 254 | /api/v2/utilities/ping 255 | /api/v2/utilities/subscriptions 256 | /api/v2/utilities/subscriptions/{serviceTypeId} -------------------------------------------------------------------------------- /routes/provider/bitbucket: -------------------------------------------------------------------------------- 1 | /addon 2 | /addon/linkers 3 | /addon/linkers/{linker_key} 4 | /addon/linkers/{linker_key}/values 5 | /addon/linkers/{linker_key}/values/{value_id} 6 | /hook_events 7 | /hook_events/{subject_type} 8 | /pullrequests/{selected_user} 9 | /repositories 10 | /repositories/{workspace} 11 | /repositories/{workspace}/{repo_slug} 12 | /repositories/{workspace}/{repo_slug}/branch-restrictions 13 | /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} 14 | /repositories/{workspace}/{repo_slug}/branching-model 15 | /repositories/{workspace}/{repo_slug}/branching-model/settings 16 | /repositories/{workspace}/{repo_slug}/commit/{commit} 17 | /repositories/{workspace}/{repo_slug}/commit/{commit}/approve 18 | /repositories/{workspace}/{repo_slug}/commit/{commit}/comments 19 | /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} 20 | /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} 21 | /repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests 22 | /repositories/{workspace}/{repo_slug}/commit/{commit}/reports 23 | /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} 24 | /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations 25 | /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} 26 | /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses 27 | /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build 28 | /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} 29 | /repositories/{workspace}/{repo_slug}/commits 30 | /repositories/{workspace}/{repo_slug}/commits/{revision} 31 | /repositories/{workspace}/{repo_slug}/components 32 | /repositories/{workspace}/{repo_slug}/components/{component_id} 33 | /repositories/{workspace}/{repo_slug}/default-reviewers 34 | /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} 35 | /repositories/{workspace}/{repo_slug}/deploy-keys 36 | /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} 37 | /repositories/{workspace}/{repo_slug}/deployments/ 38 | /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid} 39 | /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables 40 | /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} 41 | /repositories/{workspace}/{repo_slug}/diff/{spec} 42 | /repositories/{workspace}/{repo_slug}/diffstat/{spec} 43 | /repositories/{workspace}/{repo_slug}/downloads 44 | /repositories/{workspace}/{repo_slug}/downloads/{filename} 45 | /repositories/{workspace}/{repo_slug}/environments/ 46 | /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} 47 | /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes/ 48 | /repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path} 49 | /repositories/{workspace}/{repo_slug}/forks 50 | /repositories/{workspace}/{repo_slug}/hooks 51 | /repositories/{workspace}/{repo_slug}/hooks/{uid} 52 | /repositories/{workspace}/{repo_slug}/issues 53 | /repositories/{workspace}/{repo_slug}/issues/export 54 | /repositories/{workspace}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip 55 | /repositories/{workspace}/{repo_slug}/issues/import 56 | /repositories/{workspace}/{repo_slug}/issues/{issue_id} 57 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments 58 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} 59 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes 60 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id} 61 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments 62 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} 63 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/vote 64 | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch 65 | /repositories/{workspace}/{repo_slug}/merge-base/{revspec} 66 | /repositories/{workspace}/{repo_slug}/milestones 67 | /repositories/{workspace}/{repo_slug}/milestones/{milestone_id} 68 | /repositories/{workspace}/{repo_slug}/patch/{spec} 69 | /repositories/{workspace}/{repo_slug}/pipelines-config/caches/ 70 | /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid} 71 | /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri 72 | /repositories/{workspace}/{repo_slug}/pipelines/ 73 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid} 74 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/ 75 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid} 76 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log 77 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid} 78 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports 79 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases 80 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons 81 | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline 82 | /repositories/{workspace}/{repo_slug}/pipelines_config 83 | /repositories/{workspace}/{repo_slug}/pipelines_config/build_number 84 | /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/ 85 | /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} 86 | /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions/ 87 | /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair 88 | /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/ 89 | /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} 90 | /repositories/{workspace}/{repo_slug}/pipelines_config/variables/ 91 | /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} 92 | /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} 93 | /repositories/{workspace}/{repo_slug}/pullrequests 94 | /repositories/{workspace}/{repo_slug}/pullrequests/activity 95 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} 96 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity 97 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve 98 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments 99 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} 100 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits 101 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/decline 102 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff 103 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat 104 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge 105 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id} 106 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch 107 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/request-changes 108 | /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses 109 | /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} 110 | /repositories/{workspace}/{repo_slug}/refs 111 | /repositories/{workspace}/{repo_slug}/refs/branches 112 | /repositories/{workspace}/{repo_slug}/refs/branches/{name} 113 | /repositories/{workspace}/{repo_slug}/refs/tags 114 | /repositories/{workspace}/{repo_slug}/refs/tags/{name} 115 | /repositories/{workspace}/{repo_slug}/src 116 | /repositories/{workspace}/{repo_slug}/src/{commit}/{path} 117 | /repositories/{workspace}/{repo_slug}/versions 118 | /repositories/{workspace}/{repo_slug}/versions/{version_id} 119 | /repositories/{workspace}/{repo_slug}/watchers 120 | /snippets 121 | /snippets/{workspace} 122 | /snippets/{workspace}/{encoded_id} 123 | /snippets/{workspace}/{encoded_id}/comments 124 | /snippets/{workspace}/{encoded_id}/comments/{comment_id} 125 | /snippets/{workspace}/{encoded_id}/commits 126 | /snippets/{workspace}/{encoded_id}/commits/{revision} 127 | /snippets/{workspace}/{encoded_id}/files/{path} 128 | /snippets/{workspace}/{encoded_id}/watch 129 | /snippets/{workspace}/{encoded_id}/watchers 130 | /snippets/{workspace}/{encoded_id}/{node_id} 131 | /snippets/{workspace}/{encoded_id}/{node_id}/files/{path} 132 | /snippets/{workspace}/{encoded_id}/{revision}/diff 133 | /snippets/{workspace}/{encoded_id}/{revision}/patch 134 | /teams 135 | /teams/{username} 136 | /teams/{username}/followers 137 | /teams/{username}/following 138 | /teams/{username}/members 139 | /teams/{username}/permissions 140 | /teams/{username}/permissions/repositories 141 | /teams/{username}/permissions/repositories/{repo_slug} 142 | /teams/{username}/pipelines_config/variables/ 143 | /teams/{username}/pipelines_config/variables/{variable_uuid} 144 | /teams/{username}/projects/ 145 | /teams/{username}/projects/{project_key} 146 | /teams/{username}/search/code 147 | /teams/{workspace}/repositories 148 | /user 149 | /user/emails 150 | /user/emails/{email} 151 | /user/permissions/repositories 152 | /user/permissions/teams 153 | /user/permissions/workspaces 154 | /users/{selected_user} 155 | /users/{selected_user}/pipelines_config/variables/ 156 | /users/{selected_user}/pipelines_config/variables/{variable_uuid} 157 | /users/{selected_user}/properties/{app_key}/{property_name} 158 | /users/{selected_user}/search/code 159 | /users/{selected_user}/ssh-keys 160 | /users/{selected_user}/ssh-keys/{key_id} 161 | /users/{username}/members 162 | /users/{workspace}/repositories 163 | /workspaces 164 | /workspaces/{workspace} 165 | /workspaces/{workspace}/hooks 166 | /workspaces/{workspace}/hooks/{uid} 167 | /workspaces/{workspace}/members 168 | /workspaces/{workspace}/members/{member} 169 | /workspaces/{workspace}/permissions 170 | /workspaces/{workspace}/permissions/repositories 171 | /workspaces/{workspace}/permissions/repositories/{repo_slug} 172 | /workspaces/{workspace}/pipelines-config/identity/oidc/.well-known/openid-configuration 173 | /workspaces/{workspace}/pipelines-config/identity/oidc/keys.json 174 | /workspaces/{workspace}/pipelines-config/variables 175 | /workspaces/{workspace}/pipelines-config/variables/{variable_uuid} 176 | /workspaces/{workspace}/projects 177 | /workspaces/{workspace}/projects/{project_key} 178 | /workspaces/{workspace}/search/code --------------------------------------------------------------------------------