File tree Expand file tree Collapse file tree 2 files changed +123
-7
lines changed Expand file tree Collapse file tree 2 files changed +123
-7
lines changed Original file line number Diff line number Diff line change 5684
5684
"tags" : [
5685
5685
" Dependencies"
5686
5686
],
5687
+ "summary" : " Search dependencies" ,
5687
5688
"operationId" : " searchDependencies" ,
5688
5689
"requestBody" : {
5689
5690
"content" : {
5690
5691
"application/json" : {
5691
5692
"schema" : {
5692
5693
"type" : " object" ,
5693
5694
"additionalProperties" : false ,
5694
- "properties" : {}
5695
+ "properties" : {
5696
+ "limit" : {
5697
+ "type" : " integer" ,
5698
+ "default" : 50 ,
5699
+ "minimum" : 1 ,
5700
+ "maximum" : 1000
5701
+ },
5702
+ "offset" : {
5703
+ "type" : " integer" ,
5704
+ "default" : 0 ,
5705
+ "minimum" : 0
5706
+ }
5707
+ },
5708
+ "required" : [
5709
+ " limit" ,
5710
+ " offset"
5711
+ ]
5695
5712
}
5696
5713
}
5697
5714
},
5702
5719
"basicAuth" : []
5703
5720
}
5704
5721
],
5705
- "description" : " .\n\n This endpoint consumes 0 units of your quota." ,
5722
+ "description" : " Search for any dependency that is being used in your organization .\n\n This endpoint consumes 0 units of your quota." ,
5706
5723
"responses" : {
5707
5724
"200" : {
5708
5725
"content" : {
5709
5726
"application/json" : {
5710
- "schema" : {}
5727
+ "schema" : {
5728
+ "type" : " object" ,
5729
+ "additionalProperties" : false ,
5730
+ "properties" : {
5731
+ "end" : {
5732
+ "type" : " boolean" ,
5733
+ "default" : false
5734
+ },
5735
+ "limit" : {
5736
+ "type" : " integer" ,
5737
+ "default" : 1000
5738
+ },
5739
+ "offset" : {
5740
+ "type" : " integer" ,
5741
+ "default" : 0
5742
+ },
5743
+ "rows" : {
5744
+ "type" : " array" ,
5745
+ "items" : {
5746
+ "type" : " object" ,
5747
+ "additionalProperties" : false ,
5748
+ "properties" : {
5749
+ "branch" : {
5750
+ "type" : " string" ,
5751
+ "default" : " "
5752
+ },
5753
+ "id" : {
5754
+ "type" : " string" ,
5755
+ "default" : " "
5756
+ },
5757
+ "name" : {
5758
+ "type" : " string" ,
5759
+ "default" : " "
5760
+ },
5761
+ "namespace" : {
5762
+ "type" : " string" ,
5763
+ "default" : " "
5764
+ },
5765
+ "repository" : {
5766
+ "type" : " string" ,
5767
+ "default" : " "
5768
+ },
5769
+ "type" : {
5770
+ "type" : " string" ,
5771
+ "default" : " "
5772
+ },
5773
+ "version" : {
5774
+ "type" : " string" ,
5775
+ "default" : " "
5776
+ }
5777
+ },
5778
+ "required" : [
5779
+ " branch" ,
5780
+ " id" ,
5781
+ " name" ,
5782
+ " namespace" ,
5783
+ " repository" ,
5784
+ " type" ,
5785
+ " version"
5786
+ ]
5787
+ }
5788
+ }
5789
+ },
5790
+ "required" : [
5791
+ " end" ,
5792
+ " limit" ,
5793
+ " offset" ,
5794
+ " rows"
5795
+ ]
5796
+ }
5711
5797
}
5712
5798
},
5713
5799
"description" : " List of repos and their latest project report for the organization associated with the token used"
Original file line number Diff line number Diff line change @@ -127,7 +127,8 @@ export interface paths {
127
127
} ;
128
128
"/dependencies/search" : {
129
129
/**
130
- * @description .
130
+ * Search dependencies
131
+ * @description Search for any dependency that is being used in your organization.
131
132
*
132
133
* This endpoint consumes 0 units of your quota.
133
134
*/
@@ -1802,21 +1803,50 @@ export interface operations {
1802
1803
} ;
1803
1804
} ;
1804
1805
/**
1805
- * @description .
1806
+ * Search dependencies
1807
+ * @description Search for any dependency that is being used in your organization.
1806
1808
*
1807
1809
* This endpoint consumes 0 units of your quota.
1808
1810
*/
1809
1811
searchDependencies : {
1810
1812
requestBody ?: {
1811
1813
content : {
1812
- "application/json" : Record < string , never > ;
1814
+ "application/json" : {
1815
+ /** @default 50 */
1816
+ limit : number ;
1817
+ /** @default 0 */
1818
+ offset : number ;
1819
+ } ;
1813
1820
} ;
1814
1821
} ;
1815
1822
responses : {
1816
1823
/** @description List of repos and their latest project report for the organization associated with the token used */
1817
1824
200 : {
1818
1825
content : {
1819
- "application/json" : unknown ;
1826
+ "application/json" : {
1827
+ /** @default false */
1828
+ end : boolean ;
1829
+ /** @default 1000 */
1830
+ limit : number ;
1831
+ /** @default 0 */
1832
+ offset : number ;
1833
+ rows : ( {
1834
+ /** @default */
1835
+ branch : string ;
1836
+ /** @default */
1837
+ id : string ;
1838
+ /** @default */
1839
+ name : string ;
1840
+ /** @default */
1841
+ namespace : string ;
1842
+ /** @default */
1843
+ repository : string ;
1844
+ /** @default */
1845
+ type : string ;
1846
+ /** @default */
1847
+ version : string ;
1848
+ } ) [ ] ;
1849
+ } ;
1820
1850
} ;
1821
1851
} ;
1822
1852
400 : components [ "responses" ] [ "SocketBadRequest" ] ;
You can’t perform that action at this time.
0 commit comments