Commit 7b2af8a
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 16db6a4 commit 7b2af8a
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 | |
|---|---|---|---|
| |||
6785 | 6785 | | |
6786 | 6786 | | |
6787 | 6787 | | |
6788 | | - | |
| 6788 | + | |
6789 | 6789 | | |
6790 | 6790 | | |
6791 | | - | |
| 6791 | + | |
6792 | 6792 | | |
6793 | | - | |
| 6793 | + | |
6794 | 6794 | | |
6795 | 6795 | | |
6796 | | - | |
| 6796 | + | |
6797 | 6797 | | |
6798 | 6798 | | |
6799 | 6799 | | |
| |||
31812 | 31812 | | |
31813 | 31813 | | |
31814 | 31814 | | |
31815 | | - | |
| 31815 | + | |
| 31816 | + | |
| 31817 | + | |
| 31818 | + | |
| 31819 | + | |
| 31820 | + | |
31816 | 31821 | | |
31817 | 31822 | | |
31818 | 31823 | | |
| |||
31823 | 31828 | | |
31824 | 31829 | | |
31825 | 31830 | | |
31826 | | - | |
| 31831 | + | |
31827 | 31832 | | |
31828 | 31833 | | |
31829 | 31834 | | |
| |||
| 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