apinoa-mcp 0.2.32 → 0.2.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog.snapshot.js +1543 -299
- package/dist/schema.snapshot.js +12 -3
- package/package.json +1 -1
package/dist/catalog.snapshot.js
CHANGED
|
@@ -139,7 +139,7 @@ const snapshot = [
|
|
|
139
139
|
"type": "string"
|
|
140
140
|
},
|
|
141
141
|
"id": {
|
|
142
|
-
"description": "AliExpress product id, as carried by a search item.",
|
|
142
|
+
"description": "AliExpress product id, as carried by a search item. Pass this or `url`.",
|
|
143
143
|
"type": "string"
|
|
144
144
|
},
|
|
145
145
|
"include": {
|
|
@@ -156,11 +156,12 @@ const snapshot = [
|
|
|
156
156
|
"region": {
|
|
157
157
|
"description": "Buyer country (ISO 3166-1 alpha-2).",
|
|
158
158
|
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"url": {
|
|
161
|
+
"description": "The product page's address instead of its id, e.g. https://www.aliexpress.com/item/1005006123456789.html (any AliExpress storefront; query string ignored). Pass this or `id`.",
|
|
162
|
+
"type": "string"
|
|
159
163
|
}
|
|
160
164
|
},
|
|
161
|
-
"required": [
|
|
162
|
-
"id"
|
|
163
|
-
],
|
|
164
165
|
"type": "object"
|
|
165
166
|
},
|
|
166
167
|
"search": {
|
|
@@ -252,7 +253,33 @@ const snapshot = [
|
|
|
252
253
|
"type": "object"
|
|
253
254
|
}
|
|
254
255
|
},
|
|
255
|
-
"kind": "marketplace"
|
|
256
|
+
"kind": "marketplace",
|
|
257
|
+
"ops": {
|
|
258
|
+
"search": {
|
|
259
|
+
"method": "GET",
|
|
260
|
+
"returns": "SearchResult"
|
|
261
|
+
},
|
|
262
|
+
"browse": {
|
|
263
|
+
"method": "GET",
|
|
264
|
+
"returns": "SearchResult"
|
|
265
|
+
},
|
|
266
|
+
"categories": {
|
|
267
|
+
"method": "GET",
|
|
268
|
+
"returns": "CategoryList"
|
|
269
|
+
},
|
|
270
|
+
"image-search": {
|
|
271
|
+
"method": "POST",
|
|
272
|
+
"returns": "SearchResult"
|
|
273
|
+
},
|
|
274
|
+
"product": {
|
|
275
|
+
"method": "GET",
|
|
276
|
+
"returns": "Product"
|
|
277
|
+
},
|
|
278
|
+
"shipping": {
|
|
279
|
+
"method": "GET",
|
|
280
|
+
"returns": "ShippingQuote"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
256
283
|
},
|
|
257
284
|
{
|
|
258
285
|
"id": "amazon",
|
|
@@ -434,9 +461,10 @@ const snapshot = [
|
|
|
434
461
|
"price_asc",
|
|
435
462
|
"price_desc",
|
|
436
463
|
"newly_listed",
|
|
437
|
-
"avg_review"
|
|
464
|
+
"avg_review",
|
|
465
|
+
"best_seller"
|
|
438
466
|
],
|
|
439
|
-
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed` or `
|
|
467
|
+
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed`, `avg_review` or `best_seller`. Defaults to `best_match`, Amazon's own relevance ordering."
|
|
440
468
|
}
|
|
441
469
|
},
|
|
442
470
|
"required": [
|
|
@@ -528,9 +556,10 @@ const snapshot = [
|
|
|
528
556
|
"price_asc",
|
|
529
557
|
"price_desc",
|
|
530
558
|
"newly_listed",
|
|
531
|
-
"avg_review"
|
|
559
|
+
"avg_review",
|
|
560
|
+
"best_seller"
|
|
532
561
|
],
|
|
533
|
-
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed` or `
|
|
562
|
+
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed`, `avg_review` or `best_seller`. Defaults to `best_match`, Amazon's own relevance ordering."
|
|
534
563
|
}
|
|
535
564
|
},
|
|
536
565
|
"required": [
|
|
@@ -645,9 +674,10 @@ const snapshot = [
|
|
|
645
674
|
"price_asc",
|
|
646
675
|
"price_desc",
|
|
647
676
|
"newly_listed",
|
|
648
|
-
"avg_review"
|
|
677
|
+
"avg_review",
|
|
678
|
+
"best_seller"
|
|
649
679
|
],
|
|
650
|
-
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed` or `
|
|
680
|
+
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed`, `avg_review` or `best_seller`. Defaults to `best_match`, Amazon's own relevance ordering."
|
|
651
681
|
}
|
|
652
682
|
},
|
|
653
683
|
"required": [
|
|
@@ -733,6 +763,28 @@ const snapshot = [
|
|
|
733
763
|
"additionalProperties": false,
|
|
734
764
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
735
765
|
}
|
|
766
|
+
},
|
|
767
|
+
"ops": {
|
|
768
|
+
"search": {
|
|
769
|
+
"method": "GET",
|
|
770
|
+
"returns": "SearchResult"
|
|
771
|
+
},
|
|
772
|
+
"image-search": {
|
|
773
|
+
"method": "POST",
|
|
774
|
+
"returns": "SearchResult"
|
|
775
|
+
},
|
|
776
|
+
"browse": {
|
|
777
|
+
"method": "GET",
|
|
778
|
+
"returns": "SearchResult"
|
|
779
|
+
},
|
|
780
|
+
"categories": {
|
|
781
|
+
"method": "GET",
|
|
782
|
+
"returns": "CategoryList"
|
|
783
|
+
},
|
|
784
|
+
"product": {
|
|
785
|
+
"method": "GET",
|
|
786
|
+
"returns": "Product"
|
|
787
|
+
}
|
|
736
788
|
}
|
|
737
789
|
},
|
|
738
790
|
{
|
|
@@ -1081,6 +1133,20 @@ const snapshot = [
|
|
|
1081
1133
|
"additionalProperties": false,
|
|
1082
1134
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1083
1135
|
}
|
|
1136
|
+
},
|
|
1137
|
+
"ops": {
|
|
1138
|
+
"search": {
|
|
1139
|
+
"method": "GET",
|
|
1140
|
+
"returns": "AppsPage"
|
|
1141
|
+
},
|
|
1142
|
+
"app": {
|
|
1143
|
+
"method": "GET",
|
|
1144
|
+
"returns": "App"
|
|
1145
|
+
},
|
|
1146
|
+
"reviews": {
|
|
1147
|
+
"method": "GET",
|
|
1148
|
+
"returns": "AppReviewsPage"
|
|
1149
|
+
}
|
|
1084
1150
|
}
|
|
1085
1151
|
},
|
|
1086
1152
|
{
|
|
@@ -1186,6 +1252,16 @@ const snapshot = [
|
|
|
1186
1252
|
"additionalProperties": false,
|
|
1187
1253
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1188
1254
|
}
|
|
1255
|
+
},
|
|
1256
|
+
"ops": {
|
|
1257
|
+
"search": {
|
|
1258
|
+
"method": "GET",
|
|
1259
|
+
"returns": "ResultsPage"
|
|
1260
|
+
},
|
|
1261
|
+
"suggestions": {
|
|
1262
|
+
"method": "GET",
|
|
1263
|
+
"returns": "Suggestions"
|
|
1264
|
+
}
|
|
1189
1265
|
}
|
|
1190
1266
|
},
|
|
1191
1267
|
{
|
|
@@ -1249,6 +1325,12 @@ const snapshot = [
|
|
|
1249
1325
|
"additionalProperties": false,
|
|
1250
1326
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1251
1327
|
}
|
|
1328
|
+
},
|
|
1329
|
+
"ops": {
|
|
1330
|
+
"answer": {
|
|
1331
|
+
"method": "POST",
|
|
1332
|
+
"returns": "Answer"
|
|
1333
|
+
}
|
|
1252
1334
|
}
|
|
1253
1335
|
},
|
|
1254
1336
|
{
|
|
@@ -1407,6 +1489,16 @@ const snapshot = [
|
|
|
1407
1489
|
"additionalProperties": false,
|
|
1408
1490
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1409
1491
|
}
|
|
1492
|
+
},
|
|
1493
|
+
"ops": {
|
|
1494
|
+
"search": {
|
|
1495
|
+
"method": "GET",
|
|
1496
|
+
"returns": "ResultsPage"
|
|
1497
|
+
},
|
|
1498
|
+
"suggestions": {
|
|
1499
|
+
"method": "GET",
|
|
1500
|
+
"returns": "Suggestions"
|
|
1501
|
+
}
|
|
1410
1502
|
}
|
|
1411
1503
|
},
|
|
1412
1504
|
{
|
|
@@ -1498,6 +1590,12 @@ const snapshot = [
|
|
|
1498
1590
|
}
|
|
1499
1591
|
],
|
|
1500
1592
|
"description": "`page`: also return the answer as a self-contained HTML page, in `page`."
|
|
1593
|
+
},
|
|
1594
|
+
"near": {
|
|
1595
|
+
"type": "string",
|
|
1596
|
+
"minLength": 1,
|
|
1597
|
+
"maxLength": 200,
|
|
1598
|
+
"description": "Ask as if from this place: a city, region or US state (\"Austin, Texas\", \"Austin, TX\", \"Texas\"), or Google's canonical location name (\"Austin,Texas,United States\"). A name that matches more than one place is refused with the candidates. The place must be in the country asked."
|
|
1501
1599
|
}
|
|
1502
1600
|
},
|
|
1503
1601
|
"required": [
|
|
@@ -1506,6 +1604,12 @@ const snapshot = [
|
|
|
1506
1604
|
"additionalProperties": false,
|
|
1507
1605
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1508
1606
|
}
|
|
1607
|
+
},
|
|
1608
|
+
"ops": {
|
|
1609
|
+
"answer": {
|
|
1610
|
+
"method": "POST",
|
|
1611
|
+
"returns": "Answer"
|
|
1612
|
+
}
|
|
1509
1613
|
}
|
|
1510
1614
|
},
|
|
1511
1615
|
{
|
|
@@ -1541,6 +1645,12 @@ const snapshot = [
|
|
|
1541
1645
|
"additionalProperties": false,
|
|
1542
1646
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1543
1647
|
}
|
|
1648
|
+
},
|
|
1649
|
+
"ops": {
|
|
1650
|
+
"technologies": {
|
|
1651
|
+
"method": "GET",
|
|
1652
|
+
"returns": "TechnologiesResult"
|
|
1653
|
+
}
|
|
1544
1654
|
}
|
|
1545
1655
|
},
|
|
1546
1656
|
{
|
|
@@ -1627,6 +1737,12 @@ const snapshot = [
|
|
|
1627
1737
|
"additionalProperties": false,
|
|
1628
1738
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1629
1739
|
}
|
|
1740
|
+
},
|
|
1741
|
+
"ops": {
|
|
1742
|
+
"answer": {
|
|
1743
|
+
"method": "POST",
|
|
1744
|
+
"returns": "Answer"
|
|
1745
|
+
}
|
|
1630
1746
|
}
|
|
1631
1747
|
},
|
|
1632
1748
|
{
|
|
@@ -1734,6 +1850,16 @@ const snapshot = [
|
|
|
1734
1850
|
"additionalProperties": false,
|
|
1735
1851
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1736
1852
|
}
|
|
1853
|
+
},
|
|
1854
|
+
"ops": {
|
|
1855
|
+
"search": {
|
|
1856
|
+
"method": "GET",
|
|
1857
|
+
"returns": "ResultsPage"
|
|
1858
|
+
},
|
|
1859
|
+
"suggestions": {
|
|
1860
|
+
"method": "GET",
|
|
1861
|
+
"returns": "Suggestions"
|
|
1862
|
+
}
|
|
1737
1863
|
}
|
|
1738
1864
|
},
|
|
1739
1865
|
{
|
|
@@ -1810,6 +1936,12 @@ const snapshot = [
|
|
|
1810
1936
|
"additionalProperties": false,
|
|
1811
1937
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1812
1938
|
}
|
|
1939
|
+
},
|
|
1940
|
+
"ops": {
|
|
1941
|
+
"answer": {
|
|
1942
|
+
"method": "POST",
|
|
1943
|
+
"returns": "Answer"
|
|
1944
|
+
}
|
|
1813
1945
|
}
|
|
1814
1946
|
},
|
|
1815
1947
|
{
|
|
@@ -1956,15 +2088,23 @@ const snapshot = [
|
|
|
1956
2088
|
"additionalProperties": false,
|
|
1957
2089
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1958
2090
|
}
|
|
2091
|
+
},
|
|
2092
|
+
"ops": {
|
|
2093
|
+
"search": {
|
|
2094
|
+
"method": "GET",
|
|
2095
|
+
"returns": "ResultsPage"
|
|
2096
|
+
},
|
|
2097
|
+
"suggestions": {
|
|
2098
|
+
"method": "GET",
|
|
2099
|
+
"returns": "Suggestions"
|
|
2100
|
+
}
|
|
1959
2101
|
}
|
|
1960
2102
|
},
|
|
1961
2103
|
{
|
|
1962
2104
|
"id": "facebook",
|
|
1963
2105
|
"kind": "sns",
|
|
1964
2106
|
"operations": [
|
|
1965
|
-
"profile"
|
|
1966
|
-
"profiles",
|
|
1967
|
-
"ads"
|
|
2107
|
+
"profile"
|
|
1968
2108
|
],
|
|
1969
2109
|
"includes": [],
|
|
1970
2110
|
"regions": [
|
|
@@ -1974,14 +2114,6 @@ const snapshot = [
|
|
|
1974
2114
|
"profile": {
|
|
1975
2115
|
"base": 1,
|
|
1976
2116
|
"max": 1
|
|
1977
|
-
},
|
|
1978
|
-
"profiles": {
|
|
1979
|
-
"base": 1,
|
|
1980
|
-
"max": 1
|
|
1981
|
-
},
|
|
1982
|
-
"ads": {
|
|
1983
|
-
"base": 1,
|
|
1984
|
-
"max": 1
|
|
1985
2117
|
}
|
|
1986
2118
|
},
|
|
1987
2119
|
"params": {
|
|
@@ -1996,141 +2128,12 @@ const snapshot = [
|
|
|
1996
2128
|
},
|
|
1997
2129
|
"additionalProperties": false,
|
|
1998
2130
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1999
|
-
}
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
"minLength": 1,
|
|
2006
|
-
"description": "An advertiser's name (or part of it): the Pages the Ad Library's search box suggests for it, each with the `id` that `ads?pageId=` takes."
|
|
2007
|
-
},
|
|
2008
|
-
"country": {
|
|
2009
|
-
"type": "string",
|
|
2010
|
-
"description": "Where the ads ran: an ISO 3166-1 alpha-2 code, or ALL (default)."
|
|
2011
|
-
},
|
|
2012
|
-
"adType": {
|
|
2013
|
-
"type": "string",
|
|
2014
|
-
"enum": [
|
|
2015
|
-
"all",
|
|
2016
|
-
"political",
|
|
2017
|
-
"housing",
|
|
2018
|
-
"employment",
|
|
2019
|
-
"credit"
|
|
2020
|
-
],
|
|
2021
|
-
"description": "all (default), or one special category: political (social issues, elections or politics), housing, employment, credit."
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
|
-
"additionalProperties": false,
|
|
2025
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2026
|
-
},
|
|
2027
|
-
"ads": {
|
|
2028
|
-
"type": "object",
|
|
2029
|
-
"properties": {
|
|
2030
|
-
"query": {
|
|
2031
|
-
"type": "string",
|
|
2032
|
-
"minLength": 1,
|
|
2033
|
-
"description": "Keywords to search the Ad Library for."
|
|
2034
|
-
},
|
|
2035
|
-
"pageId": {
|
|
2036
|
-
"type": "string",
|
|
2037
|
-
"pattern": "^\\d+$",
|
|
2038
|
-
"description": "Every ad one advertiser runs: its numeric Page id (`profile` returns it as `id`; `profiles?query=` finds it by name)."
|
|
2039
|
-
},
|
|
2040
|
-
"exact": {
|
|
2041
|
-
"type": "boolean",
|
|
2042
|
-
"description": "query: match the exact phrase instead of any of its words."
|
|
2043
|
-
},
|
|
2044
|
-
"country": {
|
|
2045
|
-
"type": "string",
|
|
2046
|
-
"description": "Where the ads ran: an ISO 3166-1 alpha-2 code, or ALL (default)."
|
|
2047
|
-
},
|
|
2048
|
-
"status": {
|
|
2049
|
-
"type": "string",
|
|
2050
|
-
"enum": [
|
|
2051
|
-
"active",
|
|
2052
|
-
"inactive",
|
|
2053
|
-
"all"
|
|
2054
|
-
],
|
|
2055
|
-
"description": "active (default), inactive or all."
|
|
2056
|
-
},
|
|
2057
|
-
"adType": {
|
|
2058
|
-
"type": "string",
|
|
2059
|
-
"enum": [
|
|
2060
|
-
"all",
|
|
2061
|
-
"political",
|
|
2062
|
-
"housing",
|
|
2063
|
-
"employment",
|
|
2064
|
-
"credit"
|
|
2065
|
-
],
|
|
2066
|
-
"description": "all (default), or one special category: political (social issues, elections or politics), housing, employment, credit."
|
|
2067
|
-
},
|
|
2068
|
-
"mediaType": {
|
|
2069
|
-
"type": "string",
|
|
2070
|
-
"enum": [
|
|
2071
|
-
"all",
|
|
2072
|
-
"image",
|
|
2073
|
-
"video",
|
|
2074
|
-
"meme",
|
|
2075
|
-
"image_and_meme",
|
|
2076
|
-
"none"
|
|
2077
|
-
],
|
|
2078
|
-
"description": "all (default), image, video, meme, image_and_meme, none."
|
|
2079
|
-
},
|
|
2080
|
-
"platforms": {
|
|
2081
|
-
"anyOf": [
|
|
2082
|
-
{
|
|
2083
|
-
"type": "string"
|
|
2084
|
-
},
|
|
2085
|
-
{
|
|
2086
|
-
"type": "array",
|
|
2087
|
-
"items": {
|
|
2088
|
-
"type": "string"
|
|
2089
|
-
}
|
|
2090
|
-
}
|
|
2091
|
-
],
|
|
2092
|
-
"description": "Only ads that ran on these platforms."
|
|
2093
|
-
},
|
|
2094
|
-
"languages": {
|
|
2095
|
-
"anyOf": [
|
|
2096
|
-
{
|
|
2097
|
-
"type": "string"
|
|
2098
|
-
},
|
|
2099
|
-
{
|
|
2100
|
-
"type": "array",
|
|
2101
|
-
"items": {
|
|
2102
|
-
"type": "string"
|
|
2103
|
-
}
|
|
2104
|
-
}
|
|
2105
|
-
],
|
|
2106
|
-
"description": "Only ads in these languages (ISO 639-1)."
|
|
2107
|
-
},
|
|
2108
|
-
"startDate": {
|
|
2109
|
-
"type": "string",
|
|
2110
|
-
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
2111
|
-
"description": "Only ads that started running on or after this day (YYYY-MM-DD)."
|
|
2112
|
-
},
|
|
2113
|
-
"endDate": {
|
|
2114
|
-
"type": "string",
|
|
2115
|
-
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
2116
|
-
"description": "Only ads that started running on or before this day (YYYY-MM-DD)."
|
|
2117
|
-
},
|
|
2118
|
-
"sort": {
|
|
2119
|
-
"type": "string",
|
|
2120
|
-
"enum": [
|
|
2121
|
-
"relevance",
|
|
2122
|
-
"impressions"
|
|
2123
|
-
],
|
|
2124
|
-
"description": "relevance (default), or impressions (highest first; Facebook states impressions for political ads)."
|
|
2125
|
-
},
|
|
2126
|
-
"cursor": {
|
|
2127
|
-
"type": "string",
|
|
2128
|
-
"minLength": 1,
|
|
2129
|
-
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
2130
|
-
}
|
|
2131
|
-
},
|
|
2132
|
-
"additionalProperties": false,
|
|
2133
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2131
|
+
}
|
|
2132
|
+
},
|
|
2133
|
+
"ops": {
|
|
2134
|
+
"profile": {
|
|
2135
|
+
"method": "GET",
|
|
2136
|
+
"returns": "Account"
|
|
2134
2137
|
}
|
|
2135
2138
|
}
|
|
2136
2139
|
},
|
|
@@ -2210,6 +2213,12 @@ const snapshot = [
|
|
|
2210
2213
|
}
|
|
2211
2214
|
],
|
|
2212
2215
|
"description": "`page`: also return the answer as a self-contained HTML page, in `page`."
|
|
2216
|
+
},
|
|
2217
|
+
"near": {
|
|
2218
|
+
"type": "string",
|
|
2219
|
+
"minLength": 1,
|
|
2220
|
+
"maxLength": 200,
|
|
2221
|
+
"description": "Ask as if from this place: a city, region or US state (\"Austin, Texas\", \"Austin, TX\", \"Texas\"), or Google's canonical location name (\"Austin,Texas,United States\"). A name that matches more than one place is refused with the candidates. The place must be in the country asked."
|
|
2213
2222
|
}
|
|
2214
2223
|
},
|
|
2215
2224
|
"required": [
|
|
@@ -2218,6 +2227,12 @@ const snapshot = [
|
|
|
2218
2227
|
"additionalProperties": false,
|
|
2219
2228
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2220
2229
|
}
|
|
2230
|
+
},
|
|
2231
|
+
"ops": {
|
|
2232
|
+
"answer": {
|
|
2233
|
+
"method": "POST",
|
|
2234
|
+
"returns": "Answer"
|
|
2235
|
+
}
|
|
2221
2236
|
}
|
|
2222
2237
|
},
|
|
2223
2238
|
{
|
|
@@ -2253,7 +2268,7 @@ const snapshot = [
|
|
|
2253
2268
|
},
|
|
2254
2269
|
"places": {
|
|
2255
2270
|
"base": 1,
|
|
2256
|
-
"max":
|
|
2271
|
+
"max": 5
|
|
2257
2272
|
},
|
|
2258
2273
|
"place": {
|
|
2259
2274
|
"base": 1,
|
|
@@ -2357,6 +2372,12 @@ const snapshot = [
|
|
|
2357
2372
|
"maximum": 10,
|
|
2358
2373
|
"description": "Result pages to read in one call (1-10), returned as one list. Instead of `limit`; each page past the first is charged as one more unit."
|
|
2359
2374
|
},
|
|
2375
|
+
"page": {
|
|
2376
|
+
"type": "integer",
|
|
2377
|
+
"minimum": 1,
|
|
2378
|
+
"maximum": 10,
|
|
2379
|
+
"description": "The result page to start at (1-10): `page=3` reads page 3 alone, the way Google numbers its pages. With `pages` or `limit`, reading goes on from there (no further than page 10). Not with `cursor`, which already knows its page."
|
|
2380
|
+
},
|
|
2360
2381
|
"cursor": {
|
|
2361
2382
|
"type": "string",
|
|
2362
2383
|
"minLength": 1,
|
|
@@ -2452,14 +2473,20 @@ const snapshot = [
|
|
|
2452
2473
|
"limit": {
|
|
2453
2474
|
"type": "integer",
|
|
2454
2475
|
"minimum": 1,
|
|
2455
|
-
"maximum":
|
|
2456
|
-
"description": "Results wanted (default 20, at most
|
|
2476
|
+
"maximum": 100,
|
|
2477
|
+
"description": "Results wanted (default 20, at most 100). More than one page is charged per page."
|
|
2457
2478
|
},
|
|
2458
2479
|
"pages": {
|
|
2459
2480
|
"type": "integer",
|
|
2460
2481
|
"minimum": 1,
|
|
2461
|
-
"maximum":
|
|
2462
|
-
"description": "Pages of 20 places to read in one call (1-
|
|
2482
|
+
"maximum": 5,
|
|
2483
|
+
"description": "Pages of 20 places to read in one call (1-5), returned as one list. Instead of `limit`; each page past the first is charged as one more unit."
|
|
2484
|
+
},
|
|
2485
|
+
"page": {
|
|
2486
|
+
"type": "integer",
|
|
2487
|
+
"minimum": 1,
|
|
2488
|
+
"maximum": 5,
|
|
2489
|
+
"description": "The page of 20 places to start at (1-5): `page=3` reads places 41-60 alone. With `pages` or `limit`, reading goes on from there (no further than page 5). Not with `cursor`, which already knows its page."
|
|
2463
2490
|
},
|
|
2464
2491
|
"cursor": {
|
|
2465
2492
|
"type": "string",
|
|
@@ -2493,7 +2520,233 @@ const snapshot = [
|
|
|
2493
2520
|
"additionalProperties": false,
|
|
2494
2521
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2495
2522
|
}
|
|
2496
|
-
}
|
|
2523
|
+
},
|
|
2524
|
+
"ops": {
|
|
2525
|
+
"search": {
|
|
2526
|
+
"method": "GET",
|
|
2527
|
+
"returns": "ResultsPage"
|
|
2528
|
+
},
|
|
2529
|
+
"suggestions": {
|
|
2530
|
+
"method": "GET",
|
|
2531
|
+
"returns": "Suggestions"
|
|
2532
|
+
},
|
|
2533
|
+
"places": {
|
|
2534
|
+
"method": "GET",
|
|
2535
|
+
"returns": "PlacesPage"
|
|
2536
|
+
},
|
|
2537
|
+
"place": {
|
|
2538
|
+
"method": "GET",
|
|
2539
|
+
"returns": "SerpPlace"
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"id": "google-ads",
|
|
2545
|
+
"kind": "ads",
|
|
2546
|
+
"operations": [
|
|
2547
|
+
"advertisers",
|
|
2548
|
+
"advertiser",
|
|
2549
|
+
"ads",
|
|
2550
|
+
"ad"
|
|
2551
|
+
],
|
|
2552
|
+
"includes": [],
|
|
2553
|
+
"regions": [
|
|
2554
|
+
"US"
|
|
2555
|
+
],
|
|
2556
|
+
"cost": {
|
|
2557
|
+
"advertisers": {
|
|
2558
|
+
"base": 1,
|
|
2559
|
+
"max": 1
|
|
2560
|
+
},
|
|
2561
|
+
"advertiser": {
|
|
2562
|
+
"base": 1,
|
|
2563
|
+
"max": 1
|
|
2564
|
+
},
|
|
2565
|
+
"ads": {
|
|
2566
|
+
"base": 1,
|
|
2567
|
+
"max": 1
|
|
2568
|
+
},
|
|
2569
|
+
"ad": {
|
|
2570
|
+
"base": 1,
|
|
2571
|
+
"max": 11
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2574
|
+
"params": {
|
|
2575
|
+
"advertisers": {
|
|
2576
|
+
"type": "object",
|
|
2577
|
+
"properties": {
|
|
2578
|
+
"query": {
|
|
2579
|
+
"type": "string",
|
|
2580
|
+
"minLength": 1,
|
|
2581
|
+
"description": "An advertiser's name or a website: the advertisers whose name matches, each with the `id` that `ads?advertiser=` takes, and the matching websites (for `ads?domain=`)."
|
|
2582
|
+
},
|
|
2583
|
+
"country": {
|
|
2584
|
+
"type": "string",
|
|
2585
|
+
"description": "Only advertisers whose ads were shown in this country (ISO 3166-1 alpha-2). Default: anywhere."
|
|
2586
|
+
},
|
|
2587
|
+
"limit": {
|
|
2588
|
+
"type": "integer",
|
|
2589
|
+
"minimum": 1,
|
|
2590
|
+
"maximum": 100,
|
|
2591
|
+
"description": "Advertisers per page, 1–100. Up to 10 (the default) also lists matching websites; more pages through every advertiser that matches."
|
|
2592
|
+
},
|
|
2593
|
+
"cursor": {
|
|
2594
|
+
"type": "string",
|
|
2595
|
+
"minLength": 1,
|
|
2596
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
2597
|
+
}
|
|
2598
|
+
},
|
|
2599
|
+
"additionalProperties": false,
|
|
2600
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2601
|
+
},
|
|
2602
|
+
"advertiser": {
|
|
2603
|
+
"type": "object",
|
|
2604
|
+
"properties": {
|
|
2605
|
+
"id": {
|
|
2606
|
+
"type": "string",
|
|
2607
|
+
"minLength": 1,
|
|
2608
|
+
"description": "The advertiser id (AR…), or its Transparency Center URL."
|
|
2609
|
+
},
|
|
2610
|
+
"country": {
|
|
2611
|
+
"type": "string",
|
|
2612
|
+
"description": "The country to read the advertiser for (ISO 3166-1 alpha-2). Default: anywhere."
|
|
2613
|
+
}
|
|
2614
|
+
},
|
|
2615
|
+
"additionalProperties": false,
|
|
2616
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2617
|
+
},
|
|
2618
|
+
"ads": {
|
|
2619
|
+
"type": "object",
|
|
2620
|
+
"properties": {
|
|
2621
|
+
"advertiser": {
|
|
2622
|
+
"anyOf": [
|
|
2623
|
+
{
|
|
2624
|
+
"type": "string"
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"type": "array",
|
|
2628
|
+
"items": {
|
|
2629
|
+
"type": "string"
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
],
|
|
2633
|
+
"description": "Every ad these advertisers ran: up to 10 advertiser ids (AR…), comma-separated (`advertisers?query=` finds one by name)."
|
|
2634
|
+
},
|
|
2635
|
+
"domain": {
|
|
2636
|
+
"type": "string",
|
|
2637
|
+
"description": "Every ad that leads to this website (nike.com), whichever advertiser ran it."
|
|
2638
|
+
},
|
|
2639
|
+
"country": {
|
|
2640
|
+
"type": "string",
|
|
2641
|
+
"description": "Only ads shown in this country (ISO 3166-1 alpha-2). Default: anywhere."
|
|
2642
|
+
},
|
|
2643
|
+
"platform": {
|
|
2644
|
+
"type": "string",
|
|
2645
|
+
"enum": [
|
|
2646
|
+
"play",
|
|
2647
|
+
"maps",
|
|
2648
|
+
"search",
|
|
2649
|
+
"shopping",
|
|
2650
|
+
"youtube"
|
|
2651
|
+
],
|
|
2652
|
+
"description": "Only ads shown on this Google platform: search, youtube, shopping, maps or play."
|
|
2653
|
+
},
|
|
2654
|
+
"format": {
|
|
2655
|
+
"type": "string",
|
|
2656
|
+
"enum": [
|
|
2657
|
+
"text",
|
|
2658
|
+
"image",
|
|
2659
|
+
"video"
|
|
2660
|
+
],
|
|
2661
|
+
"description": "Only ads of this format: text, image or video."
|
|
2662
|
+
},
|
|
2663
|
+
"startDate": {
|
|
2664
|
+
"type": "string",
|
|
2665
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
2666
|
+
"description": "Only ads shown on or after this day (YYYY-MM-DD)."
|
|
2667
|
+
},
|
|
2668
|
+
"endDate": {
|
|
2669
|
+
"type": "string",
|
|
2670
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
2671
|
+
"description": "Only ads shown on or before this day (YYYY-MM-DD)."
|
|
2672
|
+
},
|
|
2673
|
+
"political": {
|
|
2674
|
+
"type": "boolean",
|
|
2675
|
+
"description": "Political ads only (the Transparency Center's political ads report): these state impressions, spend and regions."
|
|
2676
|
+
},
|
|
2677
|
+
"limit": {
|
|
2678
|
+
"type": "integer",
|
|
2679
|
+
"minimum": 1,
|
|
2680
|
+
"maximum": 100,
|
|
2681
|
+
"description": "Ads per page, 1–100 (default 40)."
|
|
2682
|
+
},
|
|
2683
|
+
"cursor": {
|
|
2684
|
+
"type": "string",
|
|
2685
|
+
"minLength": 1,
|
|
2686
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
2687
|
+
}
|
|
2688
|
+
},
|
|
2689
|
+
"additionalProperties": false,
|
|
2690
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2691
|
+
},
|
|
2692
|
+
"ad": {
|
|
2693
|
+
"type": "object",
|
|
2694
|
+
"properties": {
|
|
2695
|
+
"id": {
|
|
2696
|
+
"type": "string",
|
|
2697
|
+
"minLength": 1,
|
|
2698
|
+
"description": "The ad's id (CR…) with `advertiser`, or the ad's Transparency Center URL (…/advertiser/AR…/creative/CR…)."
|
|
2699
|
+
},
|
|
2700
|
+
"advertiser": {
|
|
2701
|
+
"type": "string",
|
|
2702
|
+
"pattern": "^AR\\d{10,30}$",
|
|
2703
|
+
"description": "The advertiser id (AR…) that ran the ad; not needed with the ad's URL."
|
|
2704
|
+
},
|
|
2705
|
+
"country": {
|
|
2706
|
+
"type": "string",
|
|
2707
|
+
"description": "The country to read the ad for: it decides which countries come back, and in the EU their impressions. Default: the URL's region, else anywhere."
|
|
2708
|
+
},
|
|
2709
|
+
"political": {
|
|
2710
|
+
"type": "boolean",
|
|
2711
|
+
"description": "Read the ad from the political ads report (as `ads?political=true` lists it)."
|
|
2712
|
+
},
|
|
2713
|
+
"include": {
|
|
2714
|
+
"anyOf": [
|
|
2715
|
+
{
|
|
2716
|
+
"type": "string"
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
"type": "array",
|
|
2720
|
+
"items": {
|
|
2721
|
+
"type": "string"
|
|
2722
|
+
}
|
|
2723
|
+
}
|
|
2724
|
+
],
|
|
2725
|
+
"description": "content: also read each version's preview — the ad's text and pictures as it shows them, in `cards`. Best-effort: one unit per preview read; a preview that cannot be read is not billed and the ad is still returned."
|
|
2726
|
+
}
|
|
2727
|
+
},
|
|
2728
|
+
"additionalProperties": false,
|
|
2729
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2730
|
+
}
|
|
2731
|
+
},
|
|
2732
|
+
"ops": {
|
|
2733
|
+
"advertisers": {
|
|
2734
|
+
"method": "GET",
|
|
2735
|
+
"returns": "AdvertiserPage"
|
|
2736
|
+
},
|
|
2737
|
+
"advertiser": {
|
|
2738
|
+
"method": "GET",
|
|
2739
|
+
"returns": "Advertiser"
|
|
2740
|
+
},
|
|
2741
|
+
"ads": {
|
|
2742
|
+
"method": "GET",
|
|
2743
|
+
"returns": "AdPage"
|
|
2744
|
+
},
|
|
2745
|
+
"ad": {
|
|
2746
|
+
"method": "GET",
|
|
2747
|
+
"returns": "Ad"
|
|
2748
|
+
}
|
|
2749
|
+
}
|
|
2497
2750
|
},
|
|
2498
2751
|
{
|
|
2499
2752
|
"id": "google-ai-mode",
|
|
@@ -2575,6 +2828,12 @@ const snapshot = [
|
|
|
2575
2828
|
"additionalProperties": false,
|
|
2576
2829
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2577
2830
|
}
|
|
2831
|
+
},
|
|
2832
|
+
"ops": {
|
|
2833
|
+
"answer": {
|
|
2834
|
+
"method": "POST",
|
|
2835
|
+
"returns": "Answer"
|
|
2836
|
+
}
|
|
2578
2837
|
}
|
|
2579
2838
|
},
|
|
2580
2839
|
{
|
|
@@ -2651,6 +2910,12 @@ const snapshot = [
|
|
|
2651
2910
|
"additionalProperties": false,
|
|
2652
2911
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
2653
2912
|
}
|
|
2913
|
+
},
|
|
2914
|
+
"ops": {
|
|
2915
|
+
"answer": {
|
|
2916
|
+
"method": "POST",
|
|
2917
|
+
"returns": "Answer"
|
|
2918
|
+
}
|
|
2654
2919
|
}
|
|
2655
2920
|
},
|
|
2656
2921
|
{
|
|
@@ -3013,6 +3278,20 @@ const snapshot = [
|
|
|
3013
3278
|
"additionalProperties": false,
|
|
3014
3279
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3015
3280
|
}
|
|
3281
|
+
},
|
|
3282
|
+
"ops": {
|
|
3283
|
+
"search": {
|
|
3284
|
+
"method": "GET",
|
|
3285
|
+
"returns": "AppsPage"
|
|
3286
|
+
},
|
|
3287
|
+
"app": {
|
|
3288
|
+
"method": "GET",
|
|
3289
|
+
"returns": "App"
|
|
3290
|
+
},
|
|
3291
|
+
"reviews": {
|
|
3292
|
+
"method": "GET",
|
|
3293
|
+
"returns": "AppReviewsPage"
|
|
3294
|
+
}
|
|
3016
3295
|
}
|
|
3017
3296
|
},
|
|
3018
3297
|
{
|
|
@@ -3127,6 +3406,17 @@ const snapshot = [
|
|
|
3127
3406
|
],
|
|
3128
3407
|
"description": "The market, ISO 3166-1 alpha-2: US (default), GB, CA, AU. Sets the shops, prices and currency."
|
|
3129
3408
|
},
|
|
3409
|
+
"near": {
|
|
3410
|
+
"type": "string",
|
|
3411
|
+
"minLength": 1,
|
|
3412
|
+
"maxLength": 200,
|
|
3413
|
+
"description": "Shop as if from this place: a city, region or US state (\"Austin, Texas\", \"Austin, TX\", \"Texas\"), or Google's canonical location name. It must be in the market asked (`region`). A name that matches more than one place is refused with the candidates."
|
|
3414
|
+
},
|
|
3415
|
+
"uule": {
|
|
3416
|
+
"type": "string",
|
|
3417
|
+
"pattern": "^[wa][+ ][A-Za-z0-9+/_-]+={0,2}$",
|
|
3418
|
+
"description": "Search as if from this place, as Google's own `uule` value (`w+…`). Instead of `near`."
|
|
3419
|
+
},
|
|
3130
3420
|
"cursor": {
|
|
3131
3421
|
"type": "string",
|
|
3132
3422
|
"description": "Next page: pass the previous result's `cursor` alone."
|
|
@@ -3161,6 +3451,17 @@ const snapshot = [
|
|
|
3161
3451
|
"AU"
|
|
3162
3452
|
],
|
|
3163
3453
|
"description": "The market, ISO 3166-1 alpha-2: US (default), GB, CA, AU. Sets the shops, prices and currency."
|
|
3454
|
+
},
|
|
3455
|
+
"near": {
|
|
3456
|
+
"type": "string",
|
|
3457
|
+
"minLength": 1,
|
|
3458
|
+
"maxLength": 200,
|
|
3459
|
+
"description": "Shop as if from this place: a city, region or US state (\"Austin, Texas\", \"Austin, TX\", \"Texas\"), or Google's canonical location name. It must be in the market asked (`region`). A name that matches more than one place is refused with the candidates."
|
|
3460
|
+
},
|
|
3461
|
+
"uule": {
|
|
3462
|
+
"type": "string",
|
|
3463
|
+
"pattern": "^[wa][+ ][A-Za-z0-9+/_-]+={0,2}$",
|
|
3464
|
+
"description": "Search as if from this place, as Google's own `uule` value (`w+…`). Instead of `near`."
|
|
3164
3465
|
}
|
|
3165
3466
|
},
|
|
3166
3467
|
"additionalProperties": false,
|
|
@@ -3187,6 +3488,20 @@ const snapshot = [
|
|
|
3187
3488
|
"additionalProperties": false,
|
|
3188
3489
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3189
3490
|
}
|
|
3491
|
+
},
|
|
3492
|
+
"ops": {
|
|
3493
|
+
"search": {
|
|
3494
|
+
"method": "GET",
|
|
3495
|
+
"returns": "SearchResult"
|
|
3496
|
+
},
|
|
3497
|
+
"product": {
|
|
3498
|
+
"method": "GET",
|
|
3499
|
+
"returns": "Product"
|
|
3500
|
+
},
|
|
3501
|
+
"reviews": {
|
|
3502
|
+
"method": "GET",
|
|
3503
|
+
"returns": "ReviewPage"
|
|
3504
|
+
}
|
|
3190
3505
|
}
|
|
3191
3506
|
},
|
|
3192
3507
|
{
|
|
@@ -3980,6 +4295,16 @@ const snapshot = [
|
|
|
3980
4295
|
"additionalProperties": false,
|
|
3981
4296
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3982
4297
|
}
|
|
4298
|
+
},
|
|
4299
|
+
"ops": {
|
|
4300
|
+
"explore": {
|
|
4301
|
+
"method": "GET",
|
|
4302
|
+
"returns": "TrendsExplore"
|
|
4303
|
+
},
|
|
4304
|
+
"trending": {
|
|
4305
|
+
"method": "GET",
|
|
4306
|
+
"returns": "TrendingPage"
|
|
4307
|
+
}
|
|
3983
4308
|
}
|
|
3984
4309
|
},
|
|
3985
4310
|
{
|
|
@@ -4195,6 +4520,32 @@ const snapshot = [
|
|
|
4195
4520
|
"additionalProperties": false,
|
|
4196
4521
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4197
4522
|
}
|
|
4523
|
+
},
|
|
4524
|
+
"ops": {
|
|
4525
|
+
"profile": {
|
|
4526
|
+
"method": "GET",
|
|
4527
|
+
"returns": "Account"
|
|
4528
|
+
},
|
|
4529
|
+
"post": {
|
|
4530
|
+
"method": "GET",
|
|
4531
|
+
"returns": "Post"
|
|
4532
|
+
},
|
|
4533
|
+
"posts": {
|
|
4534
|
+
"method": "GET",
|
|
4535
|
+
"returns": "PostPage"
|
|
4536
|
+
},
|
|
4537
|
+
"comments": {
|
|
4538
|
+
"method": "GET",
|
|
4539
|
+
"returns": "CommentPage"
|
|
4540
|
+
},
|
|
4541
|
+
"group": {
|
|
4542
|
+
"method": "GET",
|
|
4543
|
+
"returns": "Group"
|
|
4544
|
+
},
|
|
4545
|
+
"groups": {
|
|
4546
|
+
"method": "GET",
|
|
4547
|
+
"returns": "GroupPage"
|
|
4548
|
+
}
|
|
4198
4549
|
}
|
|
4199
4550
|
},
|
|
4200
4551
|
{
|
|
@@ -4351,6 +4702,15 @@ const snapshot = [
|
|
|
4351
4702
|
"minLength": 1,
|
|
4352
4703
|
"description": "Location name (e.g. United States). Default: worldwide."
|
|
4353
4704
|
},
|
|
4705
|
+
"postedWithin": {
|
|
4706
|
+
"type": "string",
|
|
4707
|
+
"enum": [
|
|
4708
|
+
"day",
|
|
4709
|
+
"week",
|
|
4710
|
+
"month"
|
|
4711
|
+
],
|
|
4712
|
+
"description": "Only jobs posted within the past day, week, or month."
|
|
4713
|
+
},
|
|
4354
4714
|
"cursor": {
|
|
4355
4715
|
"type": "string",
|
|
4356
4716
|
"minLength": 1,
|
|
@@ -4360,25 +4720,362 @@ const snapshot = [
|
|
|
4360
4720
|
"additionalProperties": false,
|
|
4361
4721
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4362
4722
|
}
|
|
4723
|
+
},
|
|
4724
|
+
"ops": {
|
|
4725
|
+
"profile": {
|
|
4726
|
+
"method": "GET",
|
|
4727
|
+
"returns": "Account"
|
|
4728
|
+
},
|
|
4729
|
+
"post": {
|
|
4730
|
+
"method": "GET",
|
|
4731
|
+
"returns": "Post"
|
|
4732
|
+
},
|
|
4733
|
+
"posts": {
|
|
4734
|
+
"method": "GET",
|
|
4735
|
+
"returns": "PostPage"
|
|
4736
|
+
},
|
|
4737
|
+
"comments": {
|
|
4738
|
+
"method": "GET",
|
|
4739
|
+
"returns": "CommentPage"
|
|
4740
|
+
},
|
|
4741
|
+
"group": {
|
|
4742
|
+
"method": "GET",
|
|
4743
|
+
"returns": "Group"
|
|
4744
|
+
},
|
|
4745
|
+
"job": {
|
|
4746
|
+
"method": "GET",
|
|
4747
|
+
"returns": "Job"
|
|
4748
|
+
},
|
|
4749
|
+
"jobs": {
|
|
4750
|
+
"method": "GET",
|
|
4751
|
+
"returns": "JobPage"
|
|
4752
|
+
}
|
|
4363
4753
|
}
|
|
4364
4754
|
},
|
|
4365
4755
|
{
|
|
4366
|
-
"id": "
|
|
4367
|
-
"kind": "
|
|
4756
|
+
"id": "linkedin-ads",
|
|
4757
|
+
"kind": "ads",
|
|
4368
4758
|
"operations": [
|
|
4369
|
-
"
|
|
4370
|
-
|
|
4371
|
-
"includes": [
|
|
4372
|
-
"page"
|
|
4759
|
+
"ads",
|
|
4760
|
+
"ad"
|
|
4373
4761
|
],
|
|
4762
|
+
"includes": [],
|
|
4374
4763
|
"regions": [
|
|
4375
|
-
"US"
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
"
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4764
|
+
"US"
|
|
4765
|
+
],
|
|
4766
|
+
"cost": {
|
|
4767
|
+
"ads": {
|
|
4768
|
+
"base": 1,
|
|
4769
|
+
"max": 1
|
|
4770
|
+
},
|
|
4771
|
+
"ad": {
|
|
4772
|
+
"base": 1,
|
|
4773
|
+
"max": 1
|
|
4774
|
+
}
|
|
4775
|
+
},
|
|
4776
|
+
"params": {
|
|
4777
|
+
"ads": {
|
|
4778
|
+
"type": "object",
|
|
4779
|
+
"properties": {
|
|
4780
|
+
"query": {
|
|
4781
|
+
"type": "string",
|
|
4782
|
+
"minLength": 1,
|
|
4783
|
+
"description": "Keywords to search the Ad Library for."
|
|
4784
|
+
},
|
|
4785
|
+
"advertiser": {
|
|
4786
|
+
"type": "string",
|
|
4787
|
+
"minLength": 1,
|
|
4788
|
+
"description": "Every ad one company runs, by its numeric LinkedIn company id (an ad's `advertiser.id`)."
|
|
4789
|
+
},
|
|
4790
|
+
"company": {
|
|
4791
|
+
"type": "string",
|
|
4792
|
+
"minLength": 1,
|
|
4793
|
+
"description": "Every ad one company runs: its vanity name (e.g. microsoft), its company URL, or its numeric LinkedIn company id."
|
|
4794
|
+
},
|
|
4795
|
+
"advertiserName": {
|
|
4796
|
+
"type": "string",
|
|
4797
|
+
"minLength": 1,
|
|
4798
|
+
"description": "Ads from advertisers whose name matches this one (LinkedIn matches loosely: \"Microsoft\" also finds \"Microsoft Azure\"). For one company exactly, use `advertiser` or `company`."
|
|
4799
|
+
},
|
|
4800
|
+
"payer": {
|
|
4801
|
+
"type": "string",
|
|
4802
|
+
"minLength": 1,
|
|
4803
|
+
"description": "Ads paid for by this payer, as an ad's `paidBy` names it."
|
|
4804
|
+
},
|
|
4805
|
+
"country": {
|
|
4806
|
+
"anyOf": [
|
|
4807
|
+
{
|
|
4808
|
+
"type": "string"
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
"type": "array",
|
|
4812
|
+
"items": {
|
|
4813
|
+
"type": "string"
|
|
4814
|
+
}
|
|
4815
|
+
}
|
|
4816
|
+
],
|
|
4817
|
+
"description": "Only ads shown in these countries: ISO 3166-1 alpha-2 codes, comma-separated (e.g. DE,FR). Default: every country."
|
|
4818
|
+
},
|
|
4819
|
+
"dateOption": {
|
|
4820
|
+
"type": "string",
|
|
4821
|
+
"enum": [
|
|
4822
|
+
"last-30-days",
|
|
4823
|
+
"current-month",
|
|
4824
|
+
"current-year",
|
|
4825
|
+
"last-year"
|
|
4826
|
+
],
|
|
4827
|
+
"description": "Only ads shown in this window: last-30-days, current-month, current-year or last-year. Default: the last twelve months."
|
|
4828
|
+
},
|
|
4829
|
+
"startDate": {
|
|
4830
|
+
"type": "string",
|
|
4831
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
4832
|
+
"description": "With endDate: only ads shown from this day (YYYY-MM-DD), at most twelve months back."
|
|
4833
|
+
},
|
|
4834
|
+
"endDate": {
|
|
4835
|
+
"type": "string",
|
|
4836
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
4837
|
+
"description": "With startDate: only ads shown up to this day (YYYY-MM-DD)."
|
|
4838
|
+
},
|
|
4839
|
+
"sort": {
|
|
4840
|
+
"type": "string",
|
|
4841
|
+
"enum": [
|
|
4842
|
+
"newest",
|
|
4843
|
+
"oldest"
|
|
4844
|
+
],
|
|
4845
|
+
"description": "newest first (default) or oldest first."
|
|
4846
|
+
},
|
|
4847
|
+
"cursor": {
|
|
4848
|
+
"type": "string",
|
|
4849
|
+
"minLength": 1,
|
|
4850
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
4851
|
+
}
|
|
4852
|
+
},
|
|
4853
|
+
"additionalProperties": false,
|
|
4854
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4855
|
+
},
|
|
4856
|
+
"ad": {
|
|
4857
|
+
"type": "object",
|
|
4858
|
+
"properties": {
|
|
4859
|
+
"id": {
|
|
4860
|
+
"type": "string",
|
|
4861
|
+
"minLength": 1,
|
|
4862
|
+
"description": "The ad's Ad Library id, or its Ad Library URL (linkedin.com/ad-library/detail/<id>)."
|
|
4863
|
+
}
|
|
4864
|
+
},
|
|
4865
|
+
"additionalProperties": false,
|
|
4866
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4867
|
+
}
|
|
4868
|
+
},
|
|
4869
|
+
"ops": {
|
|
4870
|
+
"ads": {
|
|
4871
|
+
"method": "GET",
|
|
4872
|
+
"returns": "AdPage"
|
|
4873
|
+
},
|
|
4874
|
+
"ad": {
|
|
4875
|
+
"method": "GET",
|
|
4876
|
+
"returns": "Ad"
|
|
4877
|
+
}
|
|
4878
|
+
}
|
|
4879
|
+
},
|
|
4880
|
+
{
|
|
4881
|
+
"id": "meta-ads",
|
|
4882
|
+
"kind": "ads",
|
|
4883
|
+
"operations": [
|
|
4884
|
+
"ads",
|
|
4885
|
+
"advertisers"
|
|
4886
|
+
],
|
|
4887
|
+
"includes": [],
|
|
4888
|
+
"regions": [
|
|
4889
|
+
"US"
|
|
4890
|
+
],
|
|
4891
|
+
"cost": {
|
|
4892
|
+
"ads": {
|
|
4893
|
+
"base": 1,
|
|
4894
|
+
"max": 1
|
|
4895
|
+
},
|
|
4896
|
+
"advertisers": {
|
|
4897
|
+
"base": 1,
|
|
4898
|
+
"max": 1
|
|
4899
|
+
}
|
|
4900
|
+
},
|
|
4901
|
+
"params": {
|
|
4902
|
+
"ads": {
|
|
4903
|
+
"type": "object",
|
|
4904
|
+
"properties": {
|
|
4905
|
+
"query": {
|
|
4906
|
+
"type": "string",
|
|
4907
|
+
"minLength": 1,
|
|
4908
|
+
"description": "Keywords to search the Ad Library for."
|
|
4909
|
+
},
|
|
4910
|
+
"advertiser": {
|
|
4911
|
+
"anyOf": [
|
|
4912
|
+
{
|
|
4913
|
+
"type": "string"
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
"type": "array",
|
|
4917
|
+
"items": {
|
|
4918
|
+
"type": "string"
|
|
4919
|
+
}
|
|
4920
|
+
}
|
|
4921
|
+
],
|
|
4922
|
+
"description": "The advertiser's id, as `advertisers` returns it (or an ad's `advertiser.id`): every ad it runs. With `query`, up to 10 ids, comma-separated, narrow the keyword search to those advertisers."
|
|
4923
|
+
},
|
|
4924
|
+
"exact": {
|
|
4925
|
+
"type": "boolean",
|
|
4926
|
+
"description": "query: match the exact phrase instead of any of its words."
|
|
4927
|
+
},
|
|
4928
|
+
"country": {
|
|
4929
|
+
"type": "string",
|
|
4930
|
+
"description": "Where the ads ran: an ISO 3166-1 alpha-2 code, or ALL (default)."
|
|
4931
|
+
},
|
|
4932
|
+
"status": {
|
|
4933
|
+
"type": "string",
|
|
4934
|
+
"enum": [
|
|
4935
|
+
"active",
|
|
4936
|
+
"inactive",
|
|
4937
|
+
"all"
|
|
4938
|
+
],
|
|
4939
|
+
"description": "active (default), inactive or all."
|
|
4940
|
+
},
|
|
4941
|
+
"adType": {
|
|
4942
|
+
"type": "string",
|
|
4943
|
+
"enum": [
|
|
4944
|
+
"all",
|
|
4945
|
+
"political",
|
|
4946
|
+
"housing",
|
|
4947
|
+
"employment",
|
|
4948
|
+
"credit"
|
|
4949
|
+
],
|
|
4950
|
+
"description": "all (default), or one special category: political (social issues, elections or politics), housing, employment, credit."
|
|
4951
|
+
},
|
|
4952
|
+
"mediaType": {
|
|
4953
|
+
"type": "string",
|
|
4954
|
+
"enum": [
|
|
4955
|
+
"all",
|
|
4956
|
+
"image",
|
|
4957
|
+
"video",
|
|
4958
|
+
"meme",
|
|
4959
|
+
"image_and_meme",
|
|
4960
|
+
"none"
|
|
4961
|
+
],
|
|
4962
|
+
"description": "all (default), image, video, meme, image_and_meme, none."
|
|
4963
|
+
},
|
|
4964
|
+
"platforms": {
|
|
4965
|
+
"anyOf": [
|
|
4966
|
+
{
|
|
4967
|
+
"type": "string"
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
"type": "array",
|
|
4971
|
+
"items": {
|
|
4972
|
+
"type": "string"
|
|
4973
|
+
}
|
|
4974
|
+
}
|
|
4975
|
+
],
|
|
4976
|
+
"description": "Only ads that ran on these platforms."
|
|
4977
|
+
},
|
|
4978
|
+
"languages": {
|
|
4979
|
+
"anyOf": [
|
|
4980
|
+
{
|
|
4981
|
+
"type": "string"
|
|
4982
|
+
},
|
|
4983
|
+
{
|
|
4984
|
+
"type": "array",
|
|
4985
|
+
"items": {
|
|
4986
|
+
"type": "string"
|
|
4987
|
+
}
|
|
4988
|
+
}
|
|
4989
|
+
],
|
|
4990
|
+
"description": "Only ads in these languages (ISO 639-1)."
|
|
4991
|
+
},
|
|
4992
|
+
"startDate": {
|
|
4993
|
+
"type": "string",
|
|
4994
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
4995
|
+
"description": "Only ads that started running on or after this day (YYYY-MM-DD)."
|
|
4996
|
+
},
|
|
4997
|
+
"endDate": {
|
|
4998
|
+
"type": "string",
|
|
4999
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
5000
|
+
"description": "Only ads that started running on or before this day (YYYY-MM-DD)."
|
|
5001
|
+
},
|
|
5002
|
+
"sort": {
|
|
5003
|
+
"type": "string",
|
|
5004
|
+
"enum": [
|
|
5005
|
+
"relevance",
|
|
5006
|
+
"impressions"
|
|
5007
|
+
],
|
|
5008
|
+
"description": "relevance (default), or impressions (highest first; Facebook states impressions for political ads)."
|
|
5009
|
+
},
|
|
5010
|
+
"cursor": {
|
|
5011
|
+
"type": "string",
|
|
5012
|
+
"minLength": 1,
|
|
5013
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
5014
|
+
}
|
|
5015
|
+
},
|
|
5016
|
+
"additionalProperties": false,
|
|
5017
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5018
|
+
},
|
|
5019
|
+
"advertisers": {
|
|
5020
|
+
"type": "object",
|
|
5021
|
+
"properties": {
|
|
5022
|
+
"query": {
|
|
5023
|
+
"type": "string",
|
|
5024
|
+
"minLength": 1,
|
|
5025
|
+
"maxLength": 200,
|
|
5026
|
+
"description": "An advertiser's name (or part of it): the advertisers the Ad Library's search box suggests, each with the `id` that `ads?advertiser=` takes."
|
|
5027
|
+
},
|
|
5028
|
+
"country": {
|
|
5029
|
+
"type": "string",
|
|
5030
|
+
"description": "Where the ads ran: an ISO 3166-1 alpha-2 code, or ALL (default)."
|
|
5031
|
+
},
|
|
5032
|
+
"adType": {
|
|
5033
|
+
"type": "string",
|
|
5034
|
+
"enum": [
|
|
5035
|
+
"all",
|
|
5036
|
+
"political",
|
|
5037
|
+
"housing",
|
|
5038
|
+
"employment",
|
|
5039
|
+
"credit"
|
|
5040
|
+
],
|
|
5041
|
+
"description": "all (default), or one special category: political (social issues, elections or politics), housing, employment, credit."
|
|
5042
|
+
}
|
|
5043
|
+
},
|
|
5044
|
+
"required": [
|
|
5045
|
+
"query"
|
|
5046
|
+
],
|
|
5047
|
+
"additionalProperties": false,
|
|
5048
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5049
|
+
}
|
|
5050
|
+
},
|
|
5051
|
+
"ops": {
|
|
5052
|
+
"ads": {
|
|
5053
|
+
"method": "GET",
|
|
5054
|
+
"returns": "AdPage"
|
|
5055
|
+
},
|
|
5056
|
+
"advertisers": {
|
|
5057
|
+
"method": "GET",
|
|
5058
|
+
"returns": "AdvertiserPage"
|
|
5059
|
+
}
|
|
5060
|
+
}
|
|
5061
|
+
},
|
|
5062
|
+
{
|
|
5063
|
+
"id": "meta-ai",
|
|
5064
|
+
"kind": "answers",
|
|
5065
|
+
"operations": [
|
|
5066
|
+
"answer"
|
|
5067
|
+
],
|
|
5068
|
+
"includes": [
|
|
5069
|
+
"page"
|
|
5070
|
+
],
|
|
5071
|
+
"regions": [
|
|
5072
|
+
"US",
|
|
5073
|
+
"CA",
|
|
5074
|
+
"GB",
|
|
5075
|
+
"AU",
|
|
5076
|
+
"DE",
|
|
5077
|
+
"IN",
|
|
5078
|
+
"BR"
|
|
4382
5079
|
],
|
|
4383
5080
|
"cost": {
|
|
4384
5081
|
"answer": {
|
|
@@ -4418,6 +5115,12 @@ const snapshot = [
|
|
|
4418
5115
|
}
|
|
4419
5116
|
],
|
|
4420
5117
|
"description": "`page`: also return the answer as a self-contained HTML page, in `page`."
|
|
5118
|
+
},
|
|
5119
|
+
"near": {
|
|
5120
|
+
"type": "string",
|
|
5121
|
+
"minLength": 1,
|
|
5122
|
+
"maxLength": 200,
|
|
5123
|
+
"description": "Ask as if from this place: a city, region or US state (\"Austin, Texas\", \"Austin, TX\", \"Texas\"), or Google's canonical location name (\"Austin,Texas,United States\"). A name that matches more than one place is refused with the candidates. The place must be in the country asked."
|
|
4421
5124
|
}
|
|
4422
5125
|
},
|
|
4423
5126
|
"required": [
|
|
@@ -4426,6 +5129,12 @@ const snapshot = [
|
|
|
4426
5129
|
"additionalProperties": false,
|
|
4427
5130
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4428
5131
|
}
|
|
5132
|
+
},
|
|
5133
|
+
"ops": {
|
|
5134
|
+
"answer": {
|
|
5135
|
+
"method": "POST",
|
|
5136
|
+
"returns": "Answer"
|
|
5137
|
+
}
|
|
4429
5138
|
}
|
|
4430
5139
|
},
|
|
4431
5140
|
{
|
|
@@ -4646,6 +5355,28 @@ const snapshot = [
|
|
|
4646
5355
|
"additionalProperties": false,
|
|
4647
5356
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4648
5357
|
}
|
|
5358
|
+
},
|
|
5359
|
+
"ops": {
|
|
5360
|
+
"search": {
|
|
5361
|
+
"method": "GET",
|
|
5362
|
+
"returns": "ResultsPage"
|
|
5363
|
+
},
|
|
5364
|
+
"suggestions": {
|
|
5365
|
+
"method": "GET",
|
|
5366
|
+
"returns": "Suggestions"
|
|
5367
|
+
},
|
|
5368
|
+
"places": {
|
|
5369
|
+
"method": "GET",
|
|
5370
|
+
"returns": "PlacesPage"
|
|
5371
|
+
},
|
|
5372
|
+
"place": {
|
|
5373
|
+
"method": "GET",
|
|
5374
|
+
"returns": "SerpPlace"
|
|
5375
|
+
},
|
|
5376
|
+
"reviews": {
|
|
5377
|
+
"method": "GET",
|
|
5378
|
+
"returns": "PlaceReviewsPage"
|
|
5379
|
+
}
|
|
4649
5380
|
}
|
|
4650
5381
|
},
|
|
4651
5382
|
{
|
|
@@ -4706,6 +5437,12 @@ const snapshot = [
|
|
|
4706
5437
|
"additionalProperties": false,
|
|
4707
5438
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4708
5439
|
}
|
|
5440
|
+
},
|
|
5441
|
+
"ops": {
|
|
5442
|
+
"answer": {
|
|
5443
|
+
"method": "POST",
|
|
5444
|
+
"returns": "Answer"
|
|
5445
|
+
}
|
|
4709
5446
|
}
|
|
4710
5447
|
},
|
|
4711
5448
|
{
|
|
@@ -4772,6 +5509,12 @@ const snapshot = [
|
|
|
4772
5509
|
"additionalProperties": false,
|
|
4773
5510
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4774
5511
|
}
|
|
5512
|
+
},
|
|
5513
|
+
"ops": {
|
|
5514
|
+
"answer": {
|
|
5515
|
+
"method": "POST",
|
|
5516
|
+
"returns": "Answer"
|
|
5517
|
+
}
|
|
4775
5518
|
}
|
|
4776
5519
|
},
|
|
4777
5520
|
{
|
|
@@ -4847,6 +5590,12 @@ const snapshot = [
|
|
|
4847
5590
|
"additionalProperties": false,
|
|
4848
5591
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4849
5592
|
}
|
|
5593
|
+
},
|
|
5594
|
+
"ops": {
|
|
5595
|
+
"answer": {
|
|
5596
|
+
"method": "POST",
|
|
5597
|
+
"returns": "Answer"
|
|
5598
|
+
}
|
|
4850
5599
|
}
|
|
4851
5600
|
},
|
|
4852
5601
|
{
|
|
@@ -4887,13 +5636,13 @@ const snapshot = [
|
|
|
4887
5636
|
}
|
|
4888
5637
|
}
|
|
4889
5638
|
],
|
|
4890
|
-
"description": "Extra fields, comma-separated: `html` (the page as fetched), `contentHtml` (its main content as HTML)."
|
|
5639
|
+
"description": "Extra fields, comma-separated: `html` (the page as fetched), `contentHtml` (its main content as HTML), `text` (its main content as plain text), `links` (the links in its main content), `images` (the images in its main content)."
|
|
4891
5640
|
},
|
|
4892
5641
|
"maxChars": {
|
|
4893
5642
|
"type": "integer",
|
|
4894
5643
|
"minimum": 100,
|
|
4895
5644
|
"maximum": 1000000,
|
|
4896
|
-
"description": "Cut `markdown` to at most this many characters, at a paragraph break where one is near; `truncated` is then true."
|
|
5645
|
+
"description": "Cut `markdown` (and `text`) to at most this many characters, at a paragraph break where one is near; `truncated` is then true."
|
|
4897
5646
|
},
|
|
4898
5647
|
"country": {
|
|
4899
5648
|
"type": "string",
|
|
@@ -4910,6 +5659,12 @@ const snapshot = [
|
|
|
4910
5659
|
"additionalProperties": false,
|
|
4911
5660
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4912
5661
|
}
|
|
5662
|
+
},
|
|
5663
|
+
"ops": {
|
|
5664
|
+
"page": {
|
|
5665
|
+
"method": "GET",
|
|
5666
|
+
"returns": "ReaderPage"
|
|
5667
|
+
}
|
|
4913
5668
|
}
|
|
4914
5669
|
},
|
|
4915
5670
|
{
|
|
@@ -5266,6 +6021,36 @@ const snapshot = [
|
|
|
5266
6021
|
"additionalProperties": false,
|
|
5267
6022
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5268
6023
|
}
|
|
6024
|
+
},
|
|
6025
|
+
"ops": {
|
|
6026
|
+
"profile": {
|
|
6027
|
+
"method": "GET",
|
|
6028
|
+
"returns": "Account"
|
|
6029
|
+
},
|
|
6030
|
+
"profiles": {
|
|
6031
|
+
"method": "GET",
|
|
6032
|
+
"returns": "AccountPage"
|
|
6033
|
+
},
|
|
6034
|
+
"post": {
|
|
6035
|
+
"method": "GET",
|
|
6036
|
+
"returns": "Post"
|
|
6037
|
+
},
|
|
6038
|
+
"posts": {
|
|
6039
|
+
"method": "GET",
|
|
6040
|
+
"returns": "PostPage"
|
|
6041
|
+
},
|
|
6042
|
+
"comments": {
|
|
6043
|
+
"method": "GET",
|
|
6044
|
+
"returns": "CommentPage"
|
|
6045
|
+
},
|
|
6046
|
+
"group": {
|
|
6047
|
+
"method": "GET",
|
|
6048
|
+
"returns": "Group"
|
|
6049
|
+
},
|
|
6050
|
+
"groups": {
|
|
6051
|
+
"method": "GET",
|
|
6052
|
+
"returns": "GroupPage"
|
|
6053
|
+
}
|
|
5269
6054
|
}
|
|
5270
6055
|
},
|
|
5271
6056
|
{
|
|
@@ -5373,6 +6158,16 @@ const snapshot = [
|
|
|
5373
6158
|
"additionalProperties": false,
|
|
5374
6159
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5375
6160
|
}
|
|
6161
|
+
},
|
|
6162
|
+
"ops": {
|
|
6163
|
+
"search": {
|
|
6164
|
+
"method": "GET",
|
|
6165
|
+
"returns": "ResultsPage"
|
|
6166
|
+
},
|
|
6167
|
+
"suggestions": {
|
|
6168
|
+
"method": "GET",
|
|
6169
|
+
"returns": "Suggestions"
|
|
6170
|
+
}
|
|
5376
6171
|
}
|
|
5377
6172
|
},
|
|
5378
6173
|
{
|
|
@@ -5661,6 +6456,28 @@ const snapshot = [
|
|
|
5661
6456
|
"additionalProperties": false,
|
|
5662
6457
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5663
6458
|
}
|
|
6459
|
+
},
|
|
6460
|
+
"ops": {
|
|
6461
|
+
"search": {
|
|
6462
|
+
"method": "GET",
|
|
6463
|
+
"returns": "SearchResult"
|
|
6464
|
+
},
|
|
6465
|
+
"image-search": {
|
|
6466
|
+
"method": "POST",
|
|
6467
|
+
"returns": "SearchResult"
|
|
6468
|
+
},
|
|
6469
|
+
"catalog": {
|
|
6470
|
+
"method": "GET",
|
|
6471
|
+
"returns": "SearchResult"
|
|
6472
|
+
},
|
|
6473
|
+
"product": {
|
|
6474
|
+
"method": "GET",
|
|
6475
|
+
"returns": "Product"
|
|
6476
|
+
},
|
|
6477
|
+
"reviews": {
|
|
6478
|
+
"method": "GET",
|
|
6479
|
+
"returns": "ReviewPage"
|
|
6480
|
+
}
|
|
5664
6481
|
}
|
|
5665
6482
|
},
|
|
5666
6483
|
{
|
|
@@ -5768,6 +6585,16 @@ const snapshot = [
|
|
|
5768
6585
|
"additionalProperties": false,
|
|
5769
6586
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5770
6587
|
}
|
|
6588
|
+
},
|
|
6589
|
+
"ops": {
|
|
6590
|
+
"search": {
|
|
6591
|
+
"method": "GET",
|
|
6592
|
+
"returns": "ResultsPage"
|
|
6593
|
+
},
|
|
6594
|
+
"suggestions": {
|
|
6595
|
+
"method": "GET",
|
|
6596
|
+
"returns": "Suggestions"
|
|
6597
|
+
}
|
|
5771
6598
|
}
|
|
5772
6599
|
},
|
|
5773
6600
|
{
|
|
@@ -5956,6 +6783,24 @@ const snapshot = [
|
|
|
5956
6783
|
"additionalProperties": false,
|
|
5957
6784
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
5958
6785
|
}
|
|
6786
|
+
},
|
|
6787
|
+
"ops": {
|
|
6788
|
+
"profile": {
|
|
6789
|
+
"method": "GET",
|
|
6790
|
+
"returns": "Account"
|
|
6791
|
+
},
|
|
6792
|
+
"post": {
|
|
6793
|
+
"method": "GET",
|
|
6794
|
+
"returns": "Post"
|
|
6795
|
+
},
|
|
6796
|
+
"posts": {
|
|
6797
|
+
"method": "GET",
|
|
6798
|
+
"returns": "PostPage"
|
|
6799
|
+
},
|
|
6800
|
+
"comments": {
|
|
6801
|
+
"method": "GET",
|
|
6802
|
+
"returns": "CommentPage"
|
|
6803
|
+
}
|
|
5959
6804
|
}
|
|
5960
6805
|
},
|
|
5961
6806
|
{
|
|
@@ -6061,90 +6906,358 @@ const snapshot = [
|
|
|
6061
6906
|
"post": {
|
|
6062
6907
|
"type": "object",
|
|
6063
6908
|
"properties": {
|
|
6064
|
-
"id": {
|
|
6909
|
+
"id": {
|
|
6910
|
+
"type": "string",
|
|
6911
|
+
"minLength": 1,
|
|
6912
|
+
"description": "Numeric video id, or the video URL / share link (vm.tiktok.com/…)."
|
|
6913
|
+
}
|
|
6914
|
+
},
|
|
6915
|
+
"additionalProperties": false,
|
|
6916
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6917
|
+
},
|
|
6918
|
+
"posts": {
|
|
6919
|
+
"type": "object",
|
|
6920
|
+
"properties": {
|
|
6921
|
+
"username": {
|
|
6922
|
+
"type": "string",
|
|
6923
|
+
"minLength": 1,
|
|
6924
|
+
"description": "Creator @handle (with or without @), or the profile URL."
|
|
6925
|
+
},
|
|
6926
|
+
"userId": {
|
|
6927
|
+
"type": "string",
|
|
6928
|
+
"minLength": 1,
|
|
6929
|
+
"description": "Creator secUid. Pass it instead of a username to save the lookup (1 unit instead of 2)."
|
|
6930
|
+
},
|
|
6931
|
+
"type": {
|
|
6932
|
+
"type": "string",
|
|
6933
|
+
"enum": [
|
|
6934
|
+
"posts",
|
|
6935
|
+
"reposts",
|
|
6936
|
+
"likes"
|
|
6937
|
+
],
|
|
6938
|
+
"description": "username/userId: the creator's posts (default), reposts or likes."
|
|
6939
|
+
},
|
|
6940
|
+
"hashtag": {
|
|
6941
|
+
"type": "string",
|
|
6942
|
+
"minLength": 1,
|
|
6943
|
+
"description": "Videos under a hashtag: its name, or its numeric id (saves the lookup). A hashtag that is itself a number takes its # (#2024)."
|
|
6944
|
+
},
|
|
6945
|
+
"sound": {
|
|
6946
|
+
"type": "string",
|
|
6947
|
+
"minLength": 1,
|
|
6948
|
+
"description": "Videos using a sound: sound id or URL (…/music/-<id>)."
|
|
6949
|
+
},
|
|
6950
|
+
"playlist": {
|
|
6951
|
+
"type": "string",
|
|
6952
|
+
"minLength": 1,
|
|
6953
|
+
"description": "Videos in a playlist: id or URL (…/playlist/-<id>)."
|
|
6954
|
+
},
|
|
6955
|
+
"category": {
|
|
6956
|
+
"type": "string",
|
|
6957
|
+
"minLength": 1,
|
|
6958
|
+
"description": "Default feed only: explore category id (default 120)."
|
|
6959
|
+
},
|
|
6960
|
+
"limit": {
|
|
6961
|
+
"type": "integer",
|
|
6962
|
+
"minimum": 1,
|
|
6963
|
+
"maximum": 30,
|
|
6964
|
+
"description": "Items per page, 1–30."
|
|
6965
|
+
},
|
|
6966
|
+
"cursor": {
|
|
6967
|
+
"type": "string",
|
|
6968
|
+
"minLength": 1,
|
|
6969
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
6970
|
+
}
|
|
6971
|
+
},
|
|
6972
|
+
"additionalProperties": false,
|
|
6973
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6974
|
+
},
|
|
6975
|
+
"comments": {
|
|
6976
|
+
"type": "object",
|
|
6977
|
+
"properties": {
|
|
6978
|
+
"post": {
|
|
6979
|
+
"type": "string",
|
|
6980
|
+
"minLength": 1,
|
|
6981
|
+
"description": "The video's comments: numeric video id or URL."
|
|
6982
|
+
},
|
|
6983
|
+
"comment": {
|
|
6984
|
+
"type": "string",
|
|
6985
|
+
"minLength": 1,
|
|
6986
|
+
"description": "With `post`: the comment whose replies to load (its id)."
|
|
6987
|
+
},
|
|
6988
|
+
"limit": {
|
|
6989
|
+
"type": "integer",
|
|
6990
|
+
"minimum": 1,
|
|
6991
|
+
"maximum": 50,
|
|
6992
|
+
"description": "Items per page, 1–50."
|
|
6993
|
+
},
|
|
6994
|
+
"cursor": {
|
|
6995
|
+
"type": "string",
|
|
6996
|
+
"minLength": 1,
|
|
6997
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
6998
|
+
}
|
|
6999
|
+
},
|
|
7000
|
+
"additionalProperties": false,
|
|
7001
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7002
|
+
},
|
|
7003
|
+
"group": {
|
|
7004
|
+
"type": "object",
|
|
7005
|
+
"properties": {
|
|
7006
|
+
"hashtag": {
|
|
7007
|
+
"type": "string",
|
|
7008
|
+
"minLength": 1,
|
|
7009
|
+
"description": "A hashtag: its name, or its numeric id. A hashtag that is itself a number takes its # (#2024)."
|
|
7010
|
+
},
|
|
7011
|
+
"sound": {
|
|
7012
|
+
"type": "string",
|
|
7013
|
+
"minLength": 1,
|
|
7014
|
+
"description": "A sound: id or URL (…/music/-<id>)."
|
|
7015
|
+
}
|
|
7016
|
+
},
|
|
7017
|
+
"additionalProperties": false,
|
|
7018
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7019
|
+
},
|
|
7020
|
+
"groups": {
|
|
7021
|
+
"type": "object",
|
|
7022
|
+
"properties": {
|
|
7023
|
+
"username": {
|
|
7024
|
+
"type": "string",
|
|
7025
|
+
"minLength": 1,
|
|
7026
|
+
"description": "Creator @handle (with or without @), or the profile URL."
|
|
7027
|
+
},
|
|
7028
|
+
"userId": {
|
|
7029
|
+
"type": "string",
|
|
7030
|
+
"minLength": 1,
|
|
7031
|
+
"description": "Creator secUid. Pass it instead of a username to save the lookup (1 unit instead of 2)."
|
|
7032
|
+
},
|
|
7033
|
+
"type": {
|
|
7034
|
+
"type": "string",
|
|
7035
|
+
"enum": [
|
|
7036
|
+
"playlists"
|
|
7037
|
+
],
|
|
7038
|
+
"description": "playlists (the only list TikTok has)."
|
|
7039
|
+
},
|
|
7040
|
+
"limit": {
|
|
7041
|
+
"type": "integer",
|
|
7042
|
+
"minimum": 1,
|
|
7043
|
+
"maximum": 30,
|
|
7044
|
+
"description": "Items per page, 1–30."
|
|
7045
|
+
},
|
|
7046
|
+
"cursor": {
|
|
7047
|
+
"type": "string",
|
|
7048
|
+
"minLength": 1,
|
|
7049
|
+
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
7050
|
+
}
|
|
7051
|
+
},
|
|
7052
|
+
"additionalProperties": false,
|
|
7053
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7054
|
+
},
|
|
7055
|
+
"media": {
|
|
7056
|
+
"type": "object",
|
|
7057
|
+
"properties": {
|
|
7058
|
+
"post": {
|
|
7059
|
+
"type": "string",
|
|
7060
|
+
"minLength": 1,
|
|
7061
|
+
"description": "The post whose file to download: numeric id or URL. A video gives its MP4, a photo post one picture."
|
|
7062
|
+
},
|
|
7063
|
+
"index": {
|
|
7064
|
+
"type": "integer",
|
|
7065
|
+
"minimum": 1,
|
|
7066
|
+
"maximum": 100,
|
|
7067
|
+
"description": "Photo posts: which picture, 1-based (default 1)."
|
|
7068
|
+
}
|
|
7069
|
+
},
|
|
7070
|
+
"additionalProperties": false,
|
|
7071
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7072
|
+
}
|
|
7073
|
+
},
|
|
7074
|
+
"ops": {
|
|
7075
|
+
"profile": {
|
|
7076
|
+
"method": "GET",
|
|
7077
|
+
"returns": "Account"
|
|
7078
|
+
},
|
|
7079
|
+
"profiles": {
|
|
7080
|
+
"method": "GET",
|
|
7081
|
+
"returns": "AccountPage"
|
|
7082
|
+
},
|
|
7083
|
+
"post": {
|
|
7084
|
+
"method": "GET",
|
|
7085
|
+
"returns": "Post"
|
|
7086
|
+
},
|
|
7087
|
+
"posts": {
|
|
7088
|
+
"method": "GET",
|
|
7089
|
+
"returns": "PostPage"
|
|
7090
|
+
},
|
|
7091
|
+
"comments": {
|
|
7092
|
+
"method": "GET",
|
|
7093
|
+
"returns": "CommentPage"
|
|
7094
|
+
},
|
|
7095
|
+
"group": {
|
|
7096
|
+
"method": "GET",
|
|
7097
|
+
"returns": "Group"
|
|
7098
|
+
},
|
|
7099
|
+
"groups": {
|
|
7100
|
+
"method": "GET",
|
|
7101
|
+
"returns": "GroupPage"
|
|
7102
|
+
},
|
|
7103
|
+
"media": {
|
|
7104
|
+
"method": "GET",
|
|
7105
|
+
"returns": "MediaFile"
|
|
7106
|
+
}
|
|
7107
|
+
}
|
|
7108
|
+
},
|
|
7109
|
+
{
|
|
7110
|
+
"id": "tiktok-ads",
|
|
7111
|
+
"kind": "ads",
|
|
7112
|
+
"operations": [
|
|
7113
|
+
"ads",
|
|
7114
|
+
"ad",
|
|
7115
|
+
"advertisers"
|
|
7116
|
+
],
|
|
7117
|
+
"includes": [],
|
|
7118
|
+
"regions": [
|
|
7119
|
+
"AT",
|
|
7120
|
+
"BE",
|
|
7121
|
+
"BG",
|
|
7122
|
+
"HR",
|
|
7123
|
+
"CY",
|
|
7124
|
+
"CZ",
|
|
7125
|
+
"DK",
|
|
7126
|
+
"EE",
|
|
7127
|
+
"FI",
|
|
7128
|
+
"FR",
|
|
7129
|
+
"DE",
|
|
7130
|
+
"GR",
|
|
7131
|
+
"HU",
|
|
7132
|
+
"IE",
|
|
7133
|
+
"IT",
|
|
7134
|
+
"LV",
|
|
7135
|
+
"LT",
|
|
7136
|
+
"LU",
|
|
7137
|
+
"MT",
|
|
7138
|
+
"NL",
|
|
7139
|
+
"PL",
|
|
7140
|
+
"PT",
|
|
7141
|
+
"RO",
|
|
7142
|
+
"SK",
|
|
7143
|
+
"SI",
|
|
7144
|
+
"ES",
|
|
7145
|
+
"SE",
|
|
7146
|
+
"IS",
|
|
7147
|
+
"LI",
|
|
7148
|
+
"NO",
|
|
7149
|
+
"CH",
|
|
7150
|
+
"GB",
|
|
7151
|
+
"TR",
|
|
7152
|
+
"BR"
|
|
7153
|
+
],
|
|
7154
|
+
"cost": {
|
|
7155
|
+
"ads": {
|
|
7156
|
+
"base": 1,
|
|
7157
|
+
"max": 1
|
|
7158
|
+
},
|
|
7159
|
+
"ad": {
|
|
7160
|
+
"base": 1,
|
|
7161
|
+
"max": 1
|
|
7162
|
+
},
|
|
7163
|
+
"advertisers": {
|
|
7164
|
+
"base": 1,
|
|
7165
|
+
"max": 1
|
|
7166
|
+
}
|
|
7167
|
+
},
|
|
7168
|
+
"params": {
|
|
7169
|
+
"ads": {
|
|
7170
|
+
"type": "object",
|
|
7171
|
+
"properties": {
|
|
7172
|
+
"query": {
|
|
6065
7173
|
"type": "string",
|
|
6066
7174
|
"minLength": 1,
|
|
6067
|
-
"description": "
|
|
6068
|
-
}
|
|
6069
|
-
|
|
6070
|
-
"additionalProperties": false,
|
|
6071
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6072
|
-
},
|
|
6073
|
-
"posts": {
|
|
6074
|
-
"type": "object",
|
|
6075
|
-
"properties": {
|
|
6076
|
-
"username": {
|
|
7175
|
+
"description": "Keywords to search the library's ads for."
|
|
7176
|
+
},
|
|
7177
|
+
"advertiserName": {
|
|
6077
7178
|
"type": "string",
|
|
6078
7179
|
"minLength": 1,
|
|
6079
|
-
"description": "
|
|
7180
|
+
"description": "Every ad one advertiser ran: its name exactly as `advertisers` lists it."
|
|
6080
7181
|
},
|
|
6081
|
-
"
|
|
7182
|
+
"advertiser": {
|
|
6082
7183
|
"type": "string",
|
|
6083
7184
|
"minLength": 1,
|
|
6084
|
-
"description": "
|
|
7185
|
+
"description": "With `advertiserName`: the advertiser's id (`advertisers` and an ad's `advertiser.id` give it), which saves the name lookup. A comma list where the library lists several."
|
|
6085
7186
|
},
|
|
6086
|
-
"
|
|
7187
|
+
"country": {
|
|
6087
7188
|
"type": "string",
|
|
6088
7189
|
"enum": [
|
|
6089
|
-
"
|
|
6090
|
-
"
|
|
6091
|
-
"
|
|
7190
|
+
"AT",
|
|
7191
|
+
"BE",
|
|
7192
|
+
"BG",
|
|
7193
|
+
"HR",
|
|
7194
|
+
"CY",
|
|
7195
|
+
"CZ",
|
|
7196
|
+
"DK",
|
|
7197
|
+
"EE",
|
|
7198
|
+
"FI",
|
|
7199
|
+
"FR",
|
|
7200
|
+
"DE",
|
|
7201
|
+
"GR",
|
|
7202
|
+
"HU",
|
|
7203
|
+
"IE",
|
|
7204
|
+
"IT",
|
|
7205
|
+
"LV",
|
|
7206
|
+
"LT",
|
|
7207
|
+
"LU",
|
|
7208
|
+
"MT",
|
|
7209
|
+
"NL",
|
|
7210
|
+
"PL",
|
|
7211
|
+
"PT",
|
|
7212
|
+
"RO",
|
|
7213
|
+
"SK",
|
|
7214
|
+
"SI",
|
|
7215
|
+
"ES",
|
|
7216
|
+
"SE",
|
|
7217
|
+
"IS",
|
|
7218
|
+
"LI",
|
|
7219
|
+
"NO",
|
|
7220
|
+
"CH",
|
|
7221
|
+
"GB",
|
|
7222
|
+
"TR",
|
|
7223
|
+
"BR"
|
|
6092
7224
|
],
|
|
6093
|
-
"description": "
|
|
6094
|
-
},
|
|
6095
|
-
"hashtag": {
|
|
6096
|
-
"type": "string",
|
|
6097
|
-
"minLength": 1,
|
|
6098
|
-
"description": "Videos under a hashtag: its name, or its numeric id (saves the lookup). A hashtag that is itself a number takes its # (#2024)."
|
|
7225
|
+
"description": "Where the ads were shown (required): one of AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, IS, LI, NO, CH, GB, TR, BR — the EU, the EEA, Switzerland, the UK, Turkey and Brazil (not the US), which is what the library covers."
|
|
6099
7226
|
},
|
|
6100
|
-
"
|
|
7227
|
+
"startDate": {
|
|
6101
7228
|
"type": "string",
|
|
6102
7229
|
"minLength": 1,
|
|
6103
|
-
"description": "
|
|
7230
|
+
"description": "First day shown, YYYY-MM-DD (default: 30 days before `endDate`)."
|
|
6104
7231
|
},
|
|
6105
|
-
"
|
|
7232
|
+
"endDate": {
|
|
6106
7233
|
"type": "string",
|
|
6107
7234
|
"minLength": 1,
|
|
6108
|
-
"description": "
|
|
7235
|
+
"description": "Last day shown, YYYY-MM-DD (default: today)."
|
|
6109
7236
|
},
|
|
6110
|
-
"
|
|
7237
|
+
"sort": {
|
|
6111
7238
|
"type": "string",
|
|
6112
|
-
"
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
"
|
|
6118
|
-
"maximum": 30,
|
|
6119
|
-
"description": "Items per page, 1–30."
|
|
7239
|
+
"enum": [
|
|
7240
|
+
"lastShown",
|
|
7241
|
+
"created",
|
|
7242
|
+
"impressions"
|
|
7243
|
+
],
|
|
7244
|
+
"description": "Order: the day last shown (default), creation, or impressions."
|
|
6120
7245
|
},
|
|
6121
|
-
"
|
|
6122
|
-
"type": "string",
|
|
6123
|
-
"minLength": 1,
|
|
6124
|
-
"description": "Opaque cursor from the previous page's `cursor`. Pass it alone for the next page."
|
|
6125
|
-
}
|
|
6126
|
-
},
|
|
6127
|
-
"additionalProperties": false,
|
|
6128
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6129
|
-
},
|
|
6130
|
-
"comments": {
|
|
6131
|
-
"type": "object",
|
|
6132
|
-
"properties": {
|
|
6133
|
-
"post": {
|
|
7246
|
+
"order": {
|
|
6134
7247
|
"type": "string",
|
|
6135
|
-
"
|
|
6136
|
-
|
|
7248
|
+
"enum": [
|
|
7249
|
+
"desc",
|
|
7250
|
+
"asc"
|
|
7251
|
+
],
|
|
7252
|
+
"description": "desc (default) or asc."
|
|
6137
7253
|
},
|
|
6138
|
-
"
|
|
7254
|
+
"status": {
|
|
6139
7255
|
"type": "string",
|
|
6140
|
-
"
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
"
|
|
6145
|
-
"minimum": 1,
|
|
6146
|
-
"maximum": 50,
|
|
6147
|
-
"description": "Items per page, 1–50."
|
|
7256
|
+
"enum": [
|
|
7257
|
+
"all",
|
|
7258
|
+
"active"
|
|
7259
|
+
],
|
|
7260
|
+
"description": "all ads (default), or only those still running."
|
|
6148
7261
|
},
|
|
6149
7262
|
"cursor": {
|
|
6150
7263
|
"type": "string",
|
|
@@ -6155,75 +7268,43 @@ const snapshot = [
|
|
|
6155
7268
|
"additionalProperties": false,
|
|
6156
7269
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6157
7270
|
},
|
|
6158
|
-
"
|
|
7271
|
+
"ad": {
|
|
6159
7272
|
"type": "object",
|
|
6160
7273
|
"properties": {
|
|
6161
|
-
"
|
|
6162
|
-
"type": "string",
|
|
6163
|
-
"minLength": 1,
|
|
6164
|
-
"description": "A hashtag: its name, or its numeric id. A hashtag that is itself a number takes its # (#2024)."
|
|
6165
|
-
},
|
|
6166
|
-
"sound": {
|
|
7274
|
+
"id": {
|
|
6167
7275
|
"type": "string",
|
|
6168
7276
|
"minLength": 1,
|
|
6169
|
-
"description": "
|
|
7277
|
+
"description": "The ad's id in the library, or its library URL (…/ads/detail/?ad_id=<id>)."
|
|
6170
7278
|
}
|
|
6171
7279
|
},
|
|
6172
7280
|
"additionalProperties": false,
|
|
6173
7281
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6174
7282
|
},
|
|
6175
|
-
"
|
|
7283
|
+
"advertisers": {
|
|
6176
7284
|
"type": "object",
|
|
6177
7285
|
"properties": {
|
|
6178
|
-
"
|
|
6179
|
-
"type": "string",
|
|
6180
|
-
"minLength": 1,
|
|
6181
|
-
"description": "Creator @handle (with or without @), or the profile URL."
|
|
6182
|
-
},
|
|
6183
|
-
"userId": {
|
|
6184
|
-
"type": "string",
|
|
6185
|
-
"minLength": 1,
|
|
6186
|
-
"description": "Creator secUid. Pass it instead of a username to save the lookup (1 unit instead of 2)."
|
|
6187
|
-
},
|
|
6188
|
-
"type": {
|
|
6189
|
-
"type": "string",
|
|
6190
|
-
"enum": [
|
|
6191
|
-
"playlists"
|
|
6192
|
-
],
|
|
6193
|
-
"description": "playlists (the only list TikTok has)."
|
|
6194
|
-
},
|
|
6195
|
-
"limit": {
|
|
6196
|
-
"type": "integer",
|
|
6197
|
-
"minimum": 1,
|
|
6198
|
-
"maximum": 30,
|
|
6199
|
-
"description": "Items per page, 1–30."
|
|
6200
|
-
},
|
|
6201
|
-
"cursor": {
|
|
7286
|
+
"query": {
|
|
6202
7287
|
"type": "string",
|
|
6203
7288
|
"minLength": 1,
|
|
6204
|
-
"description": "
|
|
7289
|
+
"description": "An advertiser's name, or part of it: the advertisers the library's search box suggests, each with the `name` and `id` that `ads?advertiserName=&advertiser=` take."
|
|
6205
7290
|
}
|
|
6206
7291
|
},
|
|
6207
7292
|
"additionalProperties": false,
|
|
6208
7293
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7294
|
+
}
|
|
7295
|
+
},
|
|
7296
|
+
"ops": {
|
|
7297
|
+
"ads": {
|
|
7298
|
+
"method": "GET",
|
|
7299
|
+
"returns": "AdPage"
|
|
6209
7300
|
},
|
|
6210
|
-
"
|
|
6211
|
-
"
|
|
6212
|
-
"
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
},
|
|
6218
|
-
"index": {
|
|
6219
|
-
"type": "integer",
|
|
6220
|
-
"minimum": 1,
|
|
6221
|
-
"maximum": 100,
|
|
6222
|
-
"description": "Photo posts: which picture, 1-based (default 1)."
|
|
6223
|
-
}
|
|
6224
|
-
},
|
|
6225
|
-
"additionalProperties": false,
|
|
6226
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7301
|
+
"ad": {
|
|
7302
|
+
"method": "GET",
|
|
7303
|
+
"returns": "Ad"
|
|
7304
|
+
},
|
|
7305
|
+
"advertisers": {
|
|
7306
|
+
"method": "GET",
|
|
7307
|
+
"returns": "AdvertiserPage"
|
|
6227
7308
|
}
|
|
6228
7309
|
}
|
|
6229
7310
|
},
|
|
@@ -6380,6 +7461,32 @@ const snapshot = [
|
|
|
6380
7461
|
"additionalProperties": false,
|
|
6381
7462
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6382
7463
|
}
|
|
7464
|
+
},
|
|
7465
|
+
"ops": {
|
|
7466
|
+
"search": {
|
|
7467
|
+
"method": "GET",
|
|
7468
|
+
"returns": "SearchResult"
|
|
7469
|
+
},
|
|
7470
|
+
"browse": {
|
|
7471
|
+
"method": "GET",
|
|
7472
|
+
"returns": "SearchResult"
|
|
7473
|
+
},
|
|
7474
|
+
"categories": {
|
|
7475
|
+
"method": "GET",
|
|
7476
|
+
"returns": "CategoryList"
|
|
7477
|
+
},
|
|
7478
|
+
"catalog": {
|
|
7479
|
+
"method": "GET",
|
|
7480
|
+
"returns": "SearchResult"
|
|
7481
|
+
},
|
|
7482
|
+
"product": {
|
|
7483
|
+
"method": "GET",
|
|
7484
|
+
"returns": "Product"
|
|
7485
|
+
},
|
|
7486
|
+
"reviews": {
|
|
7487
|
+
"method": "GET",
|
|
7488
|
+
"returns": "ReviewPage"
|
|
7489
|
+
}
|
|
6383
7490
|
}
|
|
6384
7491
|
},
|
|
6385
7492
|
{
|
|
@@ -6596,6 +7703,20 @@ const snapshot = [
|
|
|
6596
7703
|
"additionalProperties": false,
|
|
6597
7704
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6598
7705
|
}
|
|
7706
|
+
},
|
|
7707
|
+
"ops": {
|
|
7708
|
+
"places": {
|
|
7709
|
+
"method": "GET",
|
|
7710
|
+
"returns": "PlacesPage"
|
|
7711
|
+
},
|
|
7712
|
+
"place": {
|
|
7713
|
+
"method": "GET",
|
|
7714
|
+
"returns": "SerpPlace"
|
|
7715
|
+
},
|
|
7716
|
+
"reviews": {
|
|
7717
|
+
"method": "GET",
|
|
7718
|
+
"returns": "PlaceReviewsPage"
|
|
7719
|
+
}
|
|
6599
7720
|
}
|
|
6600
7721
|
},
|
|
6601
7722
|
{
|
|
@@ -6680,6 +7801,12 @@ const snapshot = [
|
|
|
6680
7801
|
"additionalProperties": false,
|
|
6681
7802
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6682
7803
|
}
|
|
7804
|
+
},
|
|
7805
|
+
"ops": {
|
|
7806
|
+
"request": {
|
|
7807
|
+
"method": "POST",
|
|
7808
|
+
"returns": "UnlockResult"
|
|
7809
|
+
}
|
|
6683
7810
|
}
|
|
6684
7811
|
},
|
|
6685
7812
|
{
|
|
@@ -6814,9 +7941,10 @@ const snapshot = [
|
|
|
6814
7941
|
"price_asc",
|
|
6815
7942
|
"price_desc",
|
|
6816
7943
|
"newly_listed",
|
|
6817
|
-
"best_seller"
|
|
7944
|
+
"best_seller",
|
|
7945
|
+
"avg_review"
|
|
6818
7946
|
],
|
|
6819
|
-
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed` or `
|
|
7947
|
+
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed`, `best_seller` or `avg_review` (highest rated). Defaults to `best_match`, Walmart's own relevance ordering."
|
|
6820
7948
|
}
|
|
6821
7949
|
},
|
|
6822
7950
|
"required": [
|
|
@@ -6915,9 +8043,10 @@ const snapshot = [
|
|
|
6915
8043
|
"price_asc",
|
|
6916
8044
|
"price_desc",
|
|
6917
8045
|
"newly_listed",
|
|
6918
|
-
"best_seller"
|
|
8046
|
+
"best_seller",
|
|
8047
|
+
"avg_review"
|
|
6919
8048
|
],
|
|
6920
|
-
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed` or `
|
|
8049
|
+
"description": "Result ordering: `best_match`, `price_asc`, `price_desc`, `newly_listed`, `best_seller` or `avg_review` (highest rated). Defaults to `best_match`, Walmart's own relevance ordering."
|
|
6921
8050
|
}
|
|
6922
8051
|
},
|
|
6923
8052
|
"required": [
|
|
@@ -6988,6 +8117,28 @@ const snapshot = [
|
|
|
6988
8117
|
"additionalProperties": false,
|
|
6989
8118
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
6990
8119
|
}
|
|
8120
|
+
},
|
|
8121
|
+
"ops": {
|
|
8122
|
+
"search": {
|
|
8123
|
+
"method": "GET",
|
|
8124
|
+
"returns": "SearchResult"
|
|
8125
|
+
},
|
|
8126
|
+
"browse": {
|
|
8127
|
+
"method": "GET",
|
|
8128
|
+
"returns": "SearchResult"
|
|
8129
|
+
},
|
|
8130
|
+
"categories": {
|
|
8131
|
+
"method": "GET",
|
|
8132
|
+
"returns": "CategoryList"
|
|
8133
|
+
},
|
|
8134
|
+
"product": {
|
|
8135
|
+
"method": "GET",
|
|
8136
|
+
"returns": "Product"
|
|
8137
|
+
},
|
|
8138
|
+
"reviews": {
|
|
8139
|
+
"method": "GET",
|
|
8140
|
+
"returns": "ReviewPage"
|
|
8141
|
+
}
|
|
6991
8142
|
}
|
|
6992
8143
|
},
|
|
6993
8144
|
{
|
|
@@ -7086,6 +8237,24 @@ const snapshot = [
|
|
|
7086
8237
|
"additionalProperties": false,
|
|
7087
8238
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7088
8239
|
}
|
|
8240
|
+
},
|
|
8241
|
+
"ops": {
|
|
8242
|
+
"profile": {
|
|
8243
|
+
"method": "GET",
|
|
8244
|
+
"returns": "Account"
|
|
8245
|
+
},
|
|
8246
|
+
"post": {
|
|
8247
|
+
"method": "GET",
|
|
8248
|
+
"returns": "Post"
|
|
8249
|
+
},
|
|
8250
|
+
"posts": {
|
|
8251
|
+
"method": "GET",
|
|
8252
|
+
"returns": "PostPage"
|
|
8253
|
+
},
|
|
8254
|
+
"group": {
|
|
8255
|
+
"method": "GET",
|
|
8256
|
+
"returns": "Group"
|
|
8257
|
+
}
|
|
7089
8258
|
}
|
|
7090
8259
|
},
|
|
7091
8260
|
{
|
|
@@ -7237,6 +8406,16 @@ const snapshot = [
|
|
|
7237
8406
|
"additionalProperties": false,
|
|
7238
8407
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7239
8408
|
}
|
|
8409
|
+
},
|
|
8410
|
+
"ops": {
|
|
8411
|
+
"search": {
|
|
8412
|
+
"method": "GET",
|
|
8413
|
+
"returns": "ResultsPage"
|
|
8414
|
+
},
|
|
8415
|
+
"suggestions": {
|
|
8416
|
+
"method": "GET",
|
|
8417
|
+
"returns": "Suggestions"
|
|
8418
|
+
}
|
|
7240
8419
|
}
|
|
7241
8420
|
},
|
|
7242
8421
|
{
|
|
@@ -7344,6 +8523,16 @@ const snapshot = [
|
|
|
7344
8523
|
"additionalProperties": false,
|
|
7345
8524
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7346
8525
|
}
|
|
8526
|
+
},
|
|
8527
|
+
"ops": {
|
|
8528
|
+
"search": {
|
|
8529
|
+
"method": "GET",
|
|
8530
|
+
"returns": "ResultsPage"
|
|
8531
|
+
},
|
|
8532
|
+
"suggestions": {
|
|
8533
|
+
"method": "GET",
|
|
8534
|
+
"returns": "Suggestions"
|
|
8535
|
+
}
|
|
7347
8536
|
}
|
|
7348
8537
|
},
|
|
7349
8538
|
{
|
|
@@ -7606,6 +8795,28 @@ const snapshot = [
|
|
|
7606
8795
|
"additionalProperties": false,
|
|
7607
8796
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7608
8797
|
}
|
|
8798
|
+
},
|
|
8799
|
+
"ops": {
|
|
8800
|
+
"search": {
|
|
8801
|
+
"method": "GET",
|
|
8802
|
+
"returns": "ResultsPage"
|
|
8803
|
+
},
|
|
8804
|
+
"suggestions": {
|
|
8805
|
+
"method": "GET",
|
|
8806
|
+
"returns": "Suggestions"
|
|
8807
|
+
},
|
|
8808
|
+
"places": {
|
|
8809
|
+
"method": "GET",
|
|
8810
|
+
"returns": "PlacesPage"
|
|
8811
|
+
},
|
|
8812
|
+
"place": {
|
|
8813
|
+
"method": "GET",
|
|
8814
|
+
"returns": "SerpPlace"
|
|
8815
|
+
},
|
|
8816
|
+
"reviews": {
|
|
8817
|
+
"method": "GET",
|
|
8818
|
+
"returns": "PlaceReviewsPage"
|
|
8819
|
+
}
|
|
7609
8820
|
}
|
|
7610
8821
|
},
|
|
7611
8822
|
{
|
|
@@ -7713,7 +8924,7 @@ const snapshot = [
|
|
|
7713
8924
|
}
|
|
7714
8925
|
}
|
|
7715
8926
|
],
|
|
7716
|
-
"description": "Extra reads to attach under `ext`: transcript (the video's captions as timed segments, with every caption track it ships; +1 unit)."
|
|
8927
|
+
"description": "Extra reads to attach under `ext`: transcript (the video's captions as timed segments, with every caption track it ships; +1 unit) · related (the videos YouTube recommends beside it, ext.related; no extra cost)."
|
|
7717
8928
|
},
|
|
7718
8929
|
"lang": {
|
|
7719
8930
|
"anyOf": [
|
|
@@ -7732,6 +8943,11 @@ const snapshot = [
|
|
|
7732
8943
|
"generated": {
|
|
7733
8944
|
"type": "boolean",
|
|
7734
8945
|
"description": "include=transcript only: true for the auto-generated (speech recognition) track, false for a track the creator supplied. Default: the creator's first."
|
|
8946
|
+
},
|
|
8947
|
+
"trackName": {
|
|
8948
|
+
"type": "string",
|
|
8949
|
+
"minLength": 1,
|
|
8950
|
+
"description": "include=transcript only: read the caption track of this name, when several share a language (a track's `ext.trackName` or `ext.name` in `ext.transcript.tracks`, case-insensitive)."
|
|
7735
8951
|
}
|
|
7736
8952
|
},
|
|
7737
8953
|
"additionalProperties": false,
|
|
@@ -7774,15 +8990,17 @@ const snapshot = [
|
|
|
7774
8990
|
"live",
|
|
7775
8991
|
"community"
|
|
7776
8992
|
],
|
|
7777
|
-
"description": "username/userId: which channel tab — videos (default), shorts, live or community · query: only videos, only shorts or only movies (omitted: YouTube's mixed results page, Shorts shelves included)."
|
|
8993
|
+
"description": "username/userId: which channel tab — videos (default), shorts, live or community · query: only videos, only shorts or only movies (omitted: YouTube's mixed results page, Shorts shelves included) · hashtag: shorts (the hashtag's Shorts tab; omitted: all its videos)."
|
|
7778
8994
|
},
|
|
7779
8995
|
"sort": {
|
|
7780
8996
|
"type": "string",
|
|
7781
8997
|
"enum": [
|
|
7782
8998
|
"relevance",
|
|
7783
|
-
"top"
|
|
8999
|
+
"top",
|
|
9000
|
+
"recent",
|
|
9001
|
+
"oldest"
|
|
7784
9002
|
],
|
|
7785
|
-
"description": "query
|
|
9003
|
+
"description": "query: relevance (default) or top (YouTube's Popularity order, which leans on views; not a strict view-count sort) · username/userId (videos, shorts or live): recent (default, newest first), top (the channel's Popular order) or oldest."
|
|
7786
9004
|
},
|
|
7787
9005
|
"period": {
|
|
7788
9006
|
"type": "string",
|
|
@@ -7825,7 +9043,7 @@ const snapshot = [
|
|
|
7825
9043
|
"country": {
|
|
7826
9044
|
"type": "string",
|
|
7827
9045
|
"minLength": 1,
|
|
7828
|
-
"description": "query: the country YouTube ranks the
|
|
9046
|
+
"description": "query, hashtag, relatedTo: the country YouTube ranks the results for (ISO alpha-2, default US; it biases the ranking, it does not restrict it) · default feed: the country whose trending feed to read (default US)."
|
|
7829
9047
|
},
|
|
7830
9048
|
"cursor": {
|
|
7831
9049
|
"type": "string",
|
|
@@ -7909,6 +9127,32 @@ const snapshot = [
|
|
|
7909
9127
|
"additionalProperties": false,
|
|
7910
9128
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7911
9129
|
}
|
|
9130
|
+
},
|
|
9131
|
+
"ops": {
|
|
9132
|
+
"profile": {
|
|
9133
|
+
"method": "GET",
|
|
9134
|
+
"returns": "Account"
|
|
9135
|
+
},
|
|
9136
|
+
"profiles": {
|
|
9137
|
+
"method": "GET",
|
|
9138
|
+
"returns": "AccountPage"
|
|
9139
|
+
},
|
|
9140
|
+
"post": {
|
|
9141
|
+
"method": "GET",
|
|
9142
|
+
"returns": "Post"
|
|
9143
|
+
},
|
|
9144
|
+
"posts": {
|
|
9145
|
+
"method": "GET",
|
|
9146
|
+
"returns": "PostPage"
|
|
9147
|
+
},
|
|
9148
|
+
"comments": {
|
|
9149
|
+
"method": "GET",
|
|
9150
|
+
"returns": "CommentPage"
|
|
9151
|
+
},
|
|
9152
|
+
"groups": {
|
|
9153
|
+
"method": "GET",
|
|
9154
|
+
"returns": "GroupPage"
|
|
9155
|
+
}
|
|
7912
9156
|
}
|
|
7913
9157
|
}
|
|
7914
9158
|
];
|