Skip to content

Commit ee4a624

Browse files
committed
Update OpenAPI spec
1 parent 0272fd7 commit ee4a624

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

openapi.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"openapi" : "3.0.0",
33
"info" : {
44
"description" : "X API v2 available endpoints",
5-
"version" : "2.145",
5+
"version" : "2.146",
66
"title" : "X API v2",
77
"termsOfService" : "https://developer.x.com/en/developer-terms/agreement-and-policy.html",
88
"contact" : {
@@ -11395,6 +11395,9 @@
1139511395
},
1139611396
"AltText" : {
1139711397
"type" : "object",
11398+
"required" : [
11399+
"text"
11400+
],
1139811401
"properties" : {
1139911402
"text" : {
1140011403
"type" : "string",
@@ -11765,6 +11768,9 @@
1176511768
},
1176611769
"ContentExpiration" : {
1176711770
"type" : "object",
11771+
"required" : [
11772+
"timestamp_sec"
11773+
],
1176811774
"properties" : {
1176911775
"timestamp_sec" : {
1177011776
"type" : "number",
@@ -12284,6 +12290,9 @@
1228412290
},
1228512291
"DomainRestrictions" : {
1228612292
"type" : "object",
12293+
"required" : [
12294+
"whitelist"
12295+
],
1228712296
"properties" : {
1228812297
"whitelist" : {
1228912298
"type" : "array",
@@ -12608,6 +12617,10 @@
1260812617
},
1260912618
"FoundMediaOrigin" : {
1261012619
"type" : "object",
12620+
"required" : [
12621+
"provider",
12622+
"id"
12623+
],
1261112624
"properties" : {
1261212625
"id" : {
1261312626
"type" : "string",
@@ -15252,6 +15265,9 @@
1525215265
},
1525315266
"ManagementInfo" : {
1525415267
"type" : "object",
15268+
"required" : [
15269+
"managed"
15270+
],
1525515271
"properties" : {
1525615272
"managed" : {
1525715273
"type" : "boolean",
@@ -16610,6 +16626,9 @@
1661016626
},
1661116627
"PreviewImage" : {
1661216628
"type" : "object",
16629+
"required" : [
16630+
"media_key"
16631+
],
1661316632
"properties" : {
1661416633
"media_key" : {
1661516634
"type" : "object",
@@ -17103,6 +17122,9 @@
1710317122
},
1710417123
"SharedInfo" : {
1710517124
"type" : "object",
17125+
"required" : [
17126+
"shared"
17127+
],
1710617128
"properties" : {
1710717129
"shared" : {
1710817130
"type" : "boolean",
@@ -17323,6 +17345,9 @@
1732317345
},
1732417346
"StickerInfo" : {
1732517347
"type" : "object",
17348+
"required" : [
17349+
"stickers"
17350+
],
1732617351
"properties" : {
1732717352
"stickers" : {
1732817353
"type" : "array",
@@ -18237,6 +18262,11 @@
1823718262
"verified"
1823818263
]
1823918264
},
18265+
"share_with_followers" : {
18266+
"type" : "boolean",
18267+
"description" : "Share community post with followers too.",
18268+
"default" : false
18269+
},
1824018270
"text" : {
1824118271
"$ref" : "#/components/schemas/TweetText"
1824218272
}
@@ -18694,6 +18724,9 @@
1869418724
},
1869518725
"UploadSource" : {
1869618726
"type" : "object",
18727+
"required" : [
18728+
"upload_source"
18729+
],
1869718730
"properties" : {
1869818731
"upload_source" : {
1869918732
"type" : "string",

0 commit comments

Comments
 (0)