File tree Expand file tree Collapse file tree 3 files changed +606
-57
lines changed Expand file tree Collapse file tree 3 files changed +606
-57
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,90 @@ paths:
2525 description : Forbidden
2626 " 404 " :
2727 description : Not Found
28+ /0/organizations/{organization_id_or_slug}/projects/ :
29+ parameters :
30+ - $ref : " #/components/parameters/organization_id_or_slug"
31+ - $ref : " #/components/parameters/cursor"
32+ - name : options
33+ in : query
34+ required : false
35+ schema :
36+ type : array
37+ items :
38+ type : string
39+ style : form
40+ explode : true
41+ get :
42+ summary : List Organization Projects
43+ operationId : listOrganizationProjects
44+ responses :
45+ " 200 " :
46+ description : OK
47+ content :
48+ application/json :
49+ schema :
50+ type : array
51+ items :
52+ $ref : " #/components/schemas/Project"
53+ " 401 " :
54+ description : Unauthorized
55+ " 403 " :
56+ description : Forbidden
57+ " 404 " :
58+ description : Not Found
59+ /0/organizations/{organization_id_or_slug}/spike-protections/ :
60+ parameters :
61+ - $ref : " #/components/parameters/organization_id_or_slug"
62+ post :
63+ summary : Enable Spike Protection
64+ operationId : enableSpikeProtection
65+ requestBody :
66+ required : true
67+ content :
68+ application/json :
69+ schema :
70+ type : object
71+ required :
72+ - projects
73+ properties :
74+ projects :
75+ type : array
76+ items :
77+ type : string
78+ responses :
79+ " 201 " :
80+ description : Created
81+ " 400 " :
82+ description : Bad Request
83+ " 403 " :
84+ description : Forbidden
85+ " 404 " :
86+ description : Not Found
87+ delete :
88+ summary : Disable Spike Protection
89+ operationId : disableSpikeProtection
90+ requestBody :
91+ required : true
92+ content :
93+ application/json :
94+ schema :
95+ type : object
96+ required :
97+ - projects
98+ properties :
99+ projects :
100+ type : array
101+ items :
102+ type : string
103+ responses :
104+ " 200 " :
105+ description : OK
106+ " 400 " :
107+ description : Bad Request
108+ " 403 " :
109+ description : Forbidden
110+ " 404 " :
111+ description : Not Found
28112 /0/teams/{organization_id_or_slug}/{team_id_or_slug}/projects/ :
29113 parameters :
30114 - $ref : " #/components/parameters/organization_id_or_slug"
You can’t perform that action at this time.
0 commit comments