Commit d17002d
committed
Accept
Pulsar formats the `path` and `job_key` parameters as query parameters when submitting POST requests to `/api/jobs/{job_id}/files`. However, many Galaxy tests format them as form parameters. The only way to keep the endpoint working as it should (as it worked before the migration to FastAPI) is to accept both query and form parameters.path and job_key both as query and form parameters for POST requests to /api/jobs/{job_id}/files
1 parent 4b8b2b9 commit d17002d
File tree
2 files changed
+63
-15
lines changed- client/src/api/schema
- lib/galaxy/webapps/galaxy/api
2 files changed
+63
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6682 | 6682 | | |
6683 | 6683 | | |
6684 | 6684 | | |
6685 | | - | |
| 6685 | + | |
6686 | 6686 | | |
6687 | 6687 | | |
6688 | | - | |
| 6688 | + | |
6689 | 6689 | | |
6690 | | - | |
| 6690 | + | |
6691 | 6691 | | |
6692 | 6692 | | |
6693 | | - | |
| 6693 | + | |
6694 | 6694 | | |
6695 | 6695 | | |
6696 | 6696 | | |
| |||
31288 | 31288 | | |
31289 | 31289 | | |
31290 | 31290 | | |
31291 | | - | |
| 31291 | + | |
| 31292 | + | |
| 31293 | + | |
| 31294 | + | |
| 31295 | + | |
| 31296 | + | |
31292 | 31297 | | |
31293 | 31298 | | |
31294 | 31299 | | |
| |||
31299 | 31304 | | |
31300 | 31305 | | |
31301 | 31306 | | |
31302 | | - | |
| 31307 | + | |
31303 | 31308 | | |
31304 | 31309 | | |
31305 | 31310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
51 | 101 | | |
52 | 102 | | |
53 | 103 | | |
| |||
139 | 189 | | |
140 | 190 | | |
141 | 191 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 192 | + | |
| 193 | + | |
151 | 194 | | |
152 | 195 | | |
153 | 196 | | |
| |||
0 commit comments