This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +74
-0
lines changed
Expand file tree Collapse file tree 1 file changed +74
-0
lines changed Original file line number Diff line number Diff line change 989989 }
990990 }
991991 },
992+ "/api/v1/workspaces/{provider_id}" : {
993+ "get" : {
994+ "tags" : [
995+ " CodeGate API" ,
996+ " Workspaces"
997+ ],
998+ "summary" : " List Workspaces By Provider" ,
999+ "description" : " List workspaces by provider ID." ,
1000+ "operationId" : " v1_list_workspaces_by_provider" ,
1001+ "parameters" : [
1002+ {
1003+ "name" : " provider_id" ,
1004+ "in" : " path" ,
1005+ "required" : true ,
1006+ "schema" : {
1007+ "type" : " string" ,
1008+ "format" : " uuid" ,
1009+ "title" : " Provider Id"
1010+ }
1011+ }
1012+ ],
1013+ "responses" : {
1014+ "200" : {
1015+ "description" : " Successful Response" ,
1016+ "content" : {
1017+ "application/json" : {
1018+ "schema" : {
1019+ "type" : " array" ,
1020+ "items" : {
1021+ "$ref" : " #/components/schemas/WorkspaceWithModel"
1022+ },
1023+ "title" : " Response V1 List Workspaces By Provider"
1024+ }
1025+ }
1026+ }
1027+ },
1028+ "422" : {
1029+ "description" : " Validation Error" ,
1030+ "content" : {
1031+ "application/json" : {
1032+ "schema" : {
1033+ "$ref" : " #/components/schemas/HTTPValidationError"
1034+ }
1035+ }
1036+ }
1037+ }
1038+ }
1039+ }
1040+ },
9921041 "/api/v1/alerts_notification" : {
9931042 "get" : {
9941043 "tags" : [
18841933 " muxing_rules"
18851934 ],
18861935 "title" : " WorkspaceConfig"
1936+ },
1937+ "WorkspaceWithModel" : {
1938+ "properties" : {
1939+ "id" : {
1940+ "type" : " string" ,
1941+ "title" : " Id"
1942+ },
1943+ "name" : {
1944+ "type" : " string" ,
1945+ "pattern" : " ^[a-zA-Z0-9_-]+$" ,
1946+ "title" : " Name"
1947+ },
1948+ "provider_model_name" : {
1949+ "type" : " string" ,
1950+ "title" : " Provider Model Name"
1951+ }
1952+ },
1953+ "type" : " object" ,
1954+ "required" : [
1955+ " id" ,
1956+ " name" ,
1957+ " provider_model_name"
1958+ ],
1959+ "title" : " WorkspaceWithModel" ,
1960+ "description" : " Returns a workspace ID with model name"
18871961 }
18881962 }
18891963 }
You can’t perform that action at this time.
0 commit comments