|
9 | 9 | "/v1/": {
|
10 | 10 | "get": {
|
11 | 11 | "summary": "Root",
|
12 |
| - "description": "For testing if service's up", |
| 12 | + "description": "For testing if service's up.", |
13 | 13 | "operationId": "root_v1__get",
|
14 | 14 | "responses": {
|
15 | 15 | "200": {
|
|
23 | 23 | }
|
24 | 24 | }
|
25 | 25 | },
|
26 |
| - "/v1/request/copy/{project_geid}": { |
| 26 | + "/v1/request/copy/{project_code}": { |
27 | 27 | "get": {
|
28 | 28 | "tags": [
|
29 | 29 | "CopyRequest"
|
30 | 30 | ],
|
31 | 31 | "summary": "Create a copy request",
|
32 |
| - "operationId": "list_requests_v1_request_copy__project_geid__get", |
| 32 | + "operationId": "list_requests_v1_request_copy__project_code__get", |
33 | 33 | "parameters": [
|
34 | 34 | {
|
35 | 35 | "required": true,
|
36 | 36 | "schema": {
|
37 |
| - "title": "Project Geid", |
| 37 | + "title": "Project Code", |
38 | 38 | "type": "string"
|
39 | 39 | },
|
40 |
| - "name": "project_geid", |
| 40 | + "name": "project_code", |
41 | 41 | "in": "path"
|
42 | 42 | },
|
43 | 43 | {
|
|
127 | 127 | "CopyRequest"
|
128 | 128 | ],
|
129 | 129 | "summary": "Approve files",
|
130 |
| - "operationId": "complete_request_v1_request_copy__project_geid__put", |
| 130 | + "operationId": "complete_request_v1_request_copy__project_code__put", |
131 | 131 | "parameters": [
|
132 | 132 | {
|
133 | 133 | "required": true,
|
134 | 134 | "schema": {
|
135 |
| - "title": "Project Geid", |
| 135 | + "title": "Project Code", |
136 | 136 | "type": "string"
|
137 | 137 | },
|
138 |
| - "name": "project_geid", |
| 138 | + "name": "project_code", |
139 | 139 | "in": "path"
|
140 | 140 | }
|
141 | 141 | ],
|
|
177 | 177 | "CopyRequest"
|
178 | 178 | ],
|
179 | 179 | "summary": "Create a copy request",
|
180 |
| - "operationId": "create_request_v1_request_copy__project_geid__post", |
| 180 | + "operationId": "create_request_v1_request_copy__project_code__post", |
181 | 181 | "parameters": [
|
182 | 182 | {
|
183 | 183 | "required": true,
|
184 | 184 | "schema": {
|
185 |
| - "title": "Project Geid", |
| 185 | + "title": "Project Code", |
186 | 186 | "type": "string"
|
187 | 187 | },
|
188 |
| - "name": "project_geid", |
| 188 | + "name": "project_code", |
189 | 189 | "in": "path"
|
190 | 190 | }
|
191 | 191 | ],
|
|
223 | 223 | }
|
224 | 224 | }
|
225 | 225 | },
|
226 |
| - "/v1/request/copy/{project_geid}/files": { |
| 226 | + "/v1/request/copy/{project_code}/files": { |
227 | 227 | "get": {
|
228 | 228 | "tags": [
|
229 | 229 | "CopyRequest"
|
230 | 230 | ],
|
231 | 231 | "summary": "List request files",
|
232 |
| - "operationId": "list_request_files_v1_request_copy__project_geid__files_get", |
| 232 | + "operationId": "list_request_files_v1_request_copy__project_code__files_get", |
233 | 233 | "parameters": [
|
234 | 234 | {
|
235 | 235 | "required": true,
|
236 | 236 | "schema": {
|
237 |
| - "title": "Project Geid", |
| 237 | + "title": "Project Code", |
238 | 238 | "type": "string"
|
239 | 239 | },
|
240 |
| - "name": "project_geid", |
| 240 | + "name": "project_code", |
241 | 241 | "in": "path"
|
242 | 242 | },
|
243 | 243 | {
|
|
293 | 293 | {
|
294 | 294 | "required": false,
|
295 | 295 | "schema": {
|
296 |
| - "title": "Parent Geid", |
| 296 | + "title": "Parent Id", |
297 | 297 | "type": "string",
|
298 | 298 | "default": ""
|
299 | 299 | },
|
300 |
| - "name": "parent_geid", |
| 300 | + "name": "parent_id", |
301 | 301 | "in": "query"
|
302 | 302 | },
|
303 | 303 | {
|
|
349 | 349 | "CopyRequest"
|
350 | 350 | ],
|
351 | 351 | "summary": "Approve all files and trigger copy pipeline",
|
352 |
| - "operationId": "review_all_files_v1_request_copy__project_geid__files_put", |
| 352 | + "operationId": "review_all_files_v1_request_copy__project_code__files_put", |
353 | 353 | "parameters": [
|
354 | 354 | {
|
355 | 355 | "required": true,
|
356 | 356 | "schema": {
|
357 |
| - "title": "Project Geid", |
| 357 | + "title": "Project Code", |
358 | 358 | "type": "string"
|
359 | 359 | },
|
360 |
| - "name": "project_geid", |
| 360 | + "name": "project_code", |
361 | 361 | "in": "path"
|
362 | 362 | }
|
363 | 363 | ],
|
|
399 | 399 | "CopyRequest"
|
400 | 400 | ],
|
401 | 401 | "summary": "Approve files and trigger copy pipeline",
|
402 |
| - "operationId": "review_files_v1_request_copy__project_geid__files_patch", |
| 402 | + "operationId": "review_files_v1_request_copy__project_code__files_patch", |
403 | 403 | "parameters": [
|
404 | 404 | {
|
405 | 405 | "required": true,
|
406 | 406 | "schema": {
|
407 |
| - "title": "Project Geid", |
| 407 | + "title": "Project Code", |
408 | 408 | "type": "string"
|
409 | 409 | },
|
410 |
| - "name": "project_geid", |
| 410 | + "name": "project_code", |
411 | 411 | "in": "path"
|
412 | 412 | }
|
413 | 413 | ],
|
|
445 | 445 | }
|
446 | 446 | }
|
447 | 447 | },
|
448 |
| - "/v1/request/copy/{project_geid}/pending-files": { |
| 448 | + "/v1/request/copy/{project_code}/pending-files": { |
449 | 449 | "get": {
|
450 | 450 | "tags": [
|
451 | 451 | "CopyRequest"
|
452 | 452 | ],
|
453 | 453 | "summary": "Get pending count",
|
454 |
| - "operationId": "get_pending_v1_request_copy__project_geid__pending_files_get", |
| 454 | + "operationId": "get_pending_v1_request_copy__project_code__pending_files_get", |
455 | 455 | "parameters": [
|
456 | 456 | {
|
457 | 457 | "required": true,
|
458 | 458 | "schema": {
|
459 |
| - "title": "Project Geid", |
| 459 | + "title": "Project Code", |
460 | 460 | "type": "string"
|
461 | 461 | },
|
462 |
| - "name": "project_geid", |
| 462 | + "name": "project_code", |
463 | 463 | "in": "path"
|
464 | 464 | },
|
465 | 465 | {
|
|
497 | 497 | }
|
498 | 498 | }
|
499 | 499 | },
|
500 |
| - "/v1/request/copy/{project_geid}/delete/{request_id}": { |
| 500 | + "/v1/request/copy/{project_code}/delete/{request_id}": { |
501 | 501 | "delete": {
|
502 | 502 | "tags": [
|
503 | 503 | "CopyRequest"
|
504 | 504 | ],
|
505 | 505 | "summary": "Delete Request",
|
506 |
| - "operationId": "delete_request_v1_request_copy__project_geid__delete__request_id__delete", |
| 506 | + "operationId": "delete_request_v1_request_copy__project_code__delete__request_id__delete", |
507 | 507 | "parameters": [
|
508 | 508 | {
|
509 | 509 | "required": true,
|
510 | 510 | "schema": {
|
511 |
| - "title": "Project Geid", |
| 511 | + "title": "Project Code", |
512 | 512 | "type": "string"
|
513 | 513 | },
|
514 |
| - "name": "project_geid", |
| 514 | + "name": "project_code", |
515 | 515 | "in": "path"
|
516 | 516 | },
|
517 | 517 | {
|
|
724 | 724 | "PATCHRequestFiles": {
|
725 | 725 | "title": "PATCHRequestFiles",
|
726 | 726 | "required": [
|
727 |
| - "entity_geids", |
| 727 | + "entity_ids", |
728 | 728 | "request_id",
|
729 | 729 | "review_status",
|
730 | 730 | "username",
|
731 | 731 | "session_id"
|
732 | 732 | ],
|
733 | 733 | "type": "object",
|
734 | 734 | "properties": {
|
735 |
| - "entity_geids": { |
736 |
| - "title": "Entity Geids", |
| 735 | + "entity_ids": { |
| 736 | + "title": "Entity Ids", |
737 | 737 | "type": "array",
|
738 | 738 | "items": {
|
739 | 739 | "type": "string"
|
|
761 | 761 | "POSTRequest": {
|
762 | 762 | "title": "POSTRequest",
|
763 | 763 | "required": [
|
764 |
| - "entity_geids", |
765 |
| - "destination_geid", |
766 |
| - "source_geid", |
| 764 | + "entity_ids", |
| 765 | + "destination_id", |
| 766 | + "source_id", |
767 | 767 | "note",
|
768 | 768 | "submitted_by"
|
769 | 769 | ],
|
770 | 770 | "type": "object",
|
771 | 771 | "properties": {
|
772 |
| - "entity_geids": { |
773 |
| - "title": "Entity Geids", |
| 772 | + "entity_ids": { |
| 773 | + "title": "Entity Ids", |
774 | 774 | "type": "array",
|
775 | 775 | "items": {
|
776 | 776 | "type": "string"
|
777 | 777 | }
|
778 | 778 | },
|
779 |
| - "destination_geid": { |
780 |
| - "title": "Destination Geid", |
| 779 | + "destination_id": { |
| 780 | + "title": "Destination Id", |
781 | 781 | "type": "string"
|
782 | 782 | },
|
783 |
| - "source_geid": { |
784 |
| - "title": "Source Geid", |
| 783 | + "source_id": { |
| 784 | + "title": "Source Id", |
785 | 785 | "type": "string"
|
786 | 786 | },
|
787 | 787 | "note": {
|
|
0 commit comments