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 59725972 "x-readme" : {}
59735973 }
59745974 },
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+ },
59756033 "/report/list" : {
59766034 "get" : {
59776035 "tags" : [
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ export interface paths {
1717 /** Get all the scores and metrics by category that are used to evaluate the package version. */
1818 get : operations [ "getScoreByNPMPackage" ] ;
1919 } ;
20+ "/report/delete/{id}" : {
21+ /** Delete a specific project report. */
22+ delete : operations [ "deleteReport" ] ;
23+ } ;
2024 "/report/list" : {
2125 /** Get all your project reports. */
2226 get : operations [ "getReportList" ] ;
@@ -1879,6 +1883,30 @@ export interface operations {
18791883 429 : components [ "responses" ] [ "SocketTooManyRequestsResponse" ] ;
18801884 } ;
18811885 } ;
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+ } ;
18821910 /** Get all your project reports. */
18831911 getReportList : {
18841912 responses : {
You can’t perform that action at this time.
0 commit comments