|
678 | 678 | "x-codegen-request-body-name" : "request" |
679 | 679 | } |
680 | 680 | }, |
| 681 | + "/disk/{disk_id}/artifact/glob" : { |
| 682 | + "get" : { |
| 683 | + "description" : "Search through artifact file paths using glob patterns (*, ?, etc.)", |
| 684 | + "parameters" : [ { |
| 685 | + "description" : "Disk ID", |
| 686 | + "in" : "path", |
| 687 | + "name" : "disk_id", |
| 688 | + "required" : true, |
| 689 | + "schema" : { |
| 690 | + "format" : "uuid", |
| 691 | + "type" : "string" |
| 692 | + } |
| 693 | + }, { |
| 694 | + "description" : "Glob pattern (e.g., '**/*.py', '*.txt')", |
| 695 | + "in" : "query", |
| 696 | + "name" : "query", |
| 697 | + "required" : true, |
| 698 | + "schema" : { |
| 699 | + "type" : "string" |
| 700 | + } |
| 701 | + }, { |
| 702 | + "description" : "Maximum number of results (default 100, max 1000)", |
| 703 | + "in" : "query", |
| 704 | + "name" : "limit", |
| 705 | + "schema" : { |
| 706 | + "type" : "integer" |
| 707 | + } |
| 708 | + } ], |
| 709 | + "responses" : { |
| 710 | + "200" : { |
| 711 | + "content" : { |
| 712 | + "application/json" : { |
| 713 | + "schema" : { |
| 714 | + "$ref" : "#/components/schemas/_disk__disk_id__artifact_glob_get_200_response" |
| 715 | + } |
| 716 | + } |
| 717 | + }, |
| 718 | + "description" : "OK" |
| 719 | + } |
| 720 | + }, |
| 721 | + "security" : [ { |
| 722 | + "BearerAuth" : [ ] |
| 723 | + } ], |
| 724 | + "summary" : "Search artifact paths with glob patterns", |
| 725 | + "tags" : [ "artifact" ] |
| 726 | + } |
| 727 | + }, |
| 728 | + "/disk/{disk_id}/artifact/grep" : { |
| 729 | + "get" : { |
| 730 | + "description" : "Search through text-based artifact content using regex patterns", |
| 731 | + "parameters" : [ { |
| 732 | + "description" : "Disk ID", |
| 733 | + "in" : "path", |
| 734 | + "name" : "disk_id", |
| 735 | + "required" : true, |
| 736 | + "schema" : { |
| 737 | + "format" : "uuid", |
| 738 | + "type" : "string" |
| 739 | + } |
| 740 | + }, { |
| 741 | + "description" : "Regex pattern to search for", |
| 742 | + "in" : "query", |
| 743 | + "name" : "query", |
| 744 | + "required" : true, |
| 745 | + "schema" : { |
| 746 | + "type" : "string" |
| 747 | + } |
| 748 | + }, { |
| 749 | + "description" : "Maximum number of results (default 100, max 1000)", |
| 750 | + "in" : "query", |
| 751 | + "name" : "limit", |
| 752 | + "schema" : { |
| 753 | + "type" : "integer" |
| 754 | + } |
| 755 | + } ], |
| 756 | + "responses" : { |
| 757 | + "200" : { |
| 758 | + "content" : { |
| 759 | + "application/json" : { |
| 760 | + "schema" : { |
| 761 | + "$ref" : "#/components/schemas/_disk__disk_id__artifact_glob_get_200_response" |
| 762 | + } |
| 763 | + } |
| 764 | + }, |
| 765 | + "description" : "OK" |
| 766 | + } |
| 767 | + }, |
| 768 | + "security" : [ { |
| 769 | + "BearerAuth" : [ ] |
| 770 | + } ], |
| 771 | + "summary" : "Search artifact content with regex", |
| 772 | + "tags" : [ "artifact" ] |
| 773 | + } |
| 774 | + }, |
681 | 775 | "/disk/{disk_id}/artifact/ls" : { |
682 | 776 | "get" : { |
683 | 777 | "description" : "List artifacts in a specific path or all artifacts in a disk", |
|
3472 | 3566 | "type" : "object" |
3473 | 3567 | } ] |
3474 | 3568 | }, |
| 3569 | + "_disk__disk_id__artifact_glob_get_200_response" : { |
| 3570 | + "allOf" : [ { |
| 3571 | + "$ref" : "#/components/schemas/serializer.Response" |
| 3572 | + }, { |
| 3573 | + "properties" : { |
| 3574 | + "data" : { |
| 3575 | + "items" : { |
| 3576 | + "$ref" : "#/components/schemas/model.Artifact" |
| 3577 | + }, |
| 3578 | + "type" : "array" |
| 3579 | + } |
| 3580 | + }, |
| 3581 | + "type" : "object" |
| 3582 | + } ] |
| 3583 | + }, |
3475 | 3584 | "_disk__disk_id__artifact_ls_get_200_response" : { |
3476 | 3585 | "allOf" : [ { |
3477 | 3586 | "$ref" : "#/components/schemas/serializer.Response" |
|
0 commit comments