File tree Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Original file line number Diff line number Diff line change 5972
5972
"x-readme" : {}
5973
5973
}
5974
5974
},
5975
+ "/report/delete/{id}" : {
5976
+ "delete" : {
5977
+ "tags" : [
5978
+ " Project report"
5979
+ ],
5980
+ "summary" : " Delete a report" ,
5981
+ "description" : " Delete a specific project report." ,
5982
+ "operationId" : " deleteReport" ,
5983
+ "parameters" : [
5984
+ {
5985
+ "name" : " id" ,
5986
+ "in" : " path" ,
5987
+ "required" : true ,
5988
+ "schema" : {
5989
+ "type" : " string"
5990
+ }
5991
+ }
5992
+ ],
5993
+ "responses" : {
5994
+ "200" : {
5995
+ "description" : " Success" ,
5996
+ "content" : {
5997
+ "application/json" : {
5998
+ "schema" : {
5999
+ "type" : " object" ,
6000
+ "additionalProperties" : false ,
6001
+ "properties" : {
6002
+ "status" : {
6003
+ "type" : " string" ,
6004
+ "default" : " ok"
6005
+ }
6006
+ },
6007
+ "required" : [
6008
+ " status"
6009
+ ]
6010
+ }
6011
+ }
6012
+ }
6013
+ },
6014
+ "400" : {
6015
+ "$ref" : " #/components/responses/SocketBadRequest"
6016
+ },
6017
+ "401" : {
6018
+ "$ref" : " #/components/responses/SocketUnauthorized"
6019
+ },
6020
+ "403" : {
6021
+ "$ref" : " #/components/responses/SocketForbidden"
6022
+ },
6023
+ "404" : {
6024
+ "$ref" : " #/components/responses/SocketNotFoundResponse"
6025
+ },
6026
+ "429" : {
6027
+ "$ref" : " #/components/responses/SocketTooManyRequestsResponse"
6028
+ }
6029
+ },
6030
+ "x-readme" : {}
6031
+ }
6032
+ },
5975
6033
"/report/list" : {
5976
6034
"get" : {
5977
6035
"tags" : [
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ export interface paths {
17
17
/** Get all the scores and metrics by category that are used to evaluate the package version. */
18
18
get : operations [ "getScoreByNPMPackage" ] ;
19
19
} ;
20
+ "/report/delete/{id}" : {
21
+ /** Delete a specific project report. */
22
+ delete : operations [ "deleteReport" ] ;
23
+ } ;
20
24
"/report/list" : {
21
25
/** Get all your project reports. */
22
26
get : operations [ "getReportList" ] ;
@@ -1879,6 +1883,30 @@ export interface operations {
1879
1883
429 : components [ "responses" ] [ "SocketTooManyRequestsResponse" ] ;
1880
1884
} ;
1881
1885
} ;
1886
+ /** Delete a specific project report. */
1887
+ deleteReport : {
1888
+ parameters : {
1889
+ path : {
1890
+ id : string ;
1891
+ } ;
1892
+ } ;
1893
+ responses : {
1894
+ /** Success */
1895
+ 200 : {
1896
+ content : {
1897
+ "application/json" : {
1898
+ /** @default ok */
1899
+ status : string ;
1900
+ } ;
1901
+ } ;
1902
+ } ;
1903
+ 400 : components [ "responses" ] [ "SocketBadRequest" ] ;
1904
+ 401 : components [ "responses" ] [ "SocketUnauthorized" ] ;
1905
+ 403 : components [ "responses" ] [ "SocketForbidden" ] ;
1906
+ 404 : components [ "responses" ] [ "SocketNotFoundResponse" ] ;
1907
+ 429 : components [ "responses" ] [ "SocketTooManyRequestsResponse" ] ;
1908
+ } ;
1909
+ } ;
1882
1910
/** Get all your project reports. */
1883
1911
getReportList : {
1884
1912
responses : {
You can’t perform that action at this time.
0 commit comments