File tree 1 file changed +74
-0
lines changed
1 file changed +74
-0
lines changed Original file line number Diff line number Diff line change 989
989
}
990
990
}
991
991
},
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
+ },
992
1041
"/api/v1/alerts_notification" : {
993
1042
"get" : {
994
1043
"tags" : [
1884
1933
" muxing_rules"
1885
1934
],
1886
1935
"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"
1887
1961
}
1888
1962
}
1889
1963
}
You can’t perform that action at this time.
0 commit comments