|
2 | 2 | "openapi" : "3.0.0", |
3 | 3 | "info" : { |
4 | 4 | "description" : "X API v2 available endpoints", |
5 | | - "version" : "2.161", |
| 5 | + "version" : "2.162", |
6 | 6 | "title" : "X API v2", |
7 | 7 | "termsOfService" : "https://developer.x.com/en/developer-terms/agreement-and-policy.html", |
8 | 8 | "contact" : { |
|
15 | 15 | } |
16 | 16 | }, |
17 | 17 | "paths" : { |
18 | | - "/2/account_activity/replay/webhooks/{webhook_id}/subscriptions/all" : { |
19 | | - "post" : { |
20 | | - "security" : [ |
21 | | - { |
22 | | - "BearerToken" : [ ] |
23 | | - } |
24 | | - ], |
25 | | - "tags" : [ |
26 | | - "Account Activity" |
27 | | - ], |
28 | | - "summary" : "Create replay job", |
29 | | - "description" : "Creates a replay job to retrieve activities from up to the past 5 days for all subscriptions associated with a given webhook.", |
30 | | - "externalDocs" : { |
31 | | - "url" : "https://docs.x.com/x-api/account-activity/introduction" |
32 | | - }, |
33 | | - "operationId" : "createAccountActivityReplayJob", |
34 | | - "parameters" : [ |
35 | | - { |
36 | | - "name" : "webhook_id", |
37 | | - "in" : "path", |
38 | | - "description" : "The unique identifier for the webhook configuration.", |
39 | | - "required" : true, |
40 | | - "schema" : { |
41 | | - "$ref" : "#/components/schemas/WebhookConfigId" |
42 | | - }, |
43 | | - "style" : "simple" |
44 | | - }, |
45 | | - { |
46 | | - "name" : "from_date", |
47 | | - "in" : "query", |
48 | | - "description" : "The oldest (starting) UTC timestamp (inclusive) from which events will be provided, in `yyyymmddhhmm` format.", |
49 | | - "required" : true, |
50 | | - "schema" : { |
51 | | - "type" : "string", |
52 | | - "pattern" : "^\\d{12}$", |
53 | | - "example" : "202504242000" |
54 | | - }, |
55 | | - "style" : "form" |
56 | | - }, |
57 | | - { |
58 | | - "name" : "to_date", |
59 | | - "in" : "query", |
60 | | - "description" : "The latest (ending) UTC timestamp (exclusive) up to which events will be provided, in `yyyymmddhhmm` format.", |
61 | | - "required" : true, |
62 | | - "schema" : { |
63 | | - "type" : "string", |
64 | | - "pattern" : "^\\d{12}$", |
65 | | - "example" : "202504242200" |
66 | | - }, |
67 | | - "style" : "form" |
68 | | - } |
69 | | - ], |
70 | | - "responses" : { |
71 | | - "200" : { |
72 | | - "description" : "The request has succeeded.", |
73 | | - "content" : { |
74 | | - "application/json" : { |
75 | | - "schema" : { |
76 | | - "$ref" : "#/components/schemas/ReplayJobCreateResponse" |
77 | | - } |
78 | | - } |
79 | | - } |
80 | | - }, |
81 | | - "default" : { |
82 | | - "description" : "The request has failed.", |
83 | | - "content" : { |
84 | | - "application/json" : { |
85 | | - "schema" : { |
86 | | - "$ref" : "#/components/schemas/Error" |
87 | | - } |
88 | | - }, |
89 | | - "application/problem+json" : { |
90 | | - "schema" : { |
91 | | - "$ref" : "#/components/schemas/Problem" |
92 | | - } |
93 | | - } |
94 | | - } |
95 | | - } |
96 | | - } |
97 | | - } |
98 | | - }, |
99 | 18 | "/2/account_activity/subscriptions/count" : { |
100 | 19 | "get" : { |
101 | 20 | "security" : [ |
|
22385 | 22304 | "description" : "Language of the Tweet, if detected by X. Returned as a BCP47 language tag.", |
22386 | 22305 | "example" : "en" |
22387 | 22306 | }, |
| 22307 | + "matched_media_notes" : { |
| 22308 | + "type" : "object", |
| 22309 | + "description" : "The matched media notes for the post.", |
| 22310 | + "properties" : { |
| 22311 | + "match_status" : { |
| 22312 | + "type" : "string", |
| 22313 | + "description" : "The status of the media note match.", |
| 22314 | + "example" : "matched_and_shown" |
| 22315 | + }, |
| 22316 | + "note_id" : { |
| 22317 | + "$ref" : "#/components/schemas/NoteId" |
| 22318 | + } |
| 22319 | + } |
| 22320 | + }, |
22388 | 22321 | "non_public_metrics" : { |
22389 | 22322 | "type" : "object", |
22390 | 22323 | "description" : "Nonpublic engagement metrics for the Tweet at the time of the request.", |
|
22759 | 22692 | "media_ids" |
22760 | 22693 | ], |
22761 | 22694 | "properties" : { |
| 22695 | + "description" : { |
| 22696 | + "type" : "string", |
| 22697 | + "description" : "Description for the media. Rendered on the Post card for video and Amplify content." |
| 22698 | + }, |
22762 | 22699 | "media_ids" : { |
22763 | 22700 | "type" : "array", |
22764 | 22701 | "description" : "A list of Media Ids to be attached to a created Tweet.", |
|
22768 | 22705 | "$ref" : "#/components/schemas/MediaId" |
22769 | 22706 | } |
22770 | 22707 | }, |
| 22708 | + "preview_media_id" : { |
| 22709 | + "$ref" : "#/components/schemas/MediaId" |
| 22710 | + }, |
22771 | 22711 | "tagged_user_ids" : { |
22772 | 22712 | "type" : "array", |
22773 | 22713 | "description" : "A list of User Ids to be tagged in the media for created Tweet.", |
|
22776 | 22716 | "items" : { |
22777 | 22717 | "$ref" : "#/components/schemas/UserId" |
22778 | 22718 | } |
| 22719 | + }, |
| 22720 | + "title" : { |
| 22721 | + "type" : "string", |
| 22722 | + "description" : "Title for the media. Rendered on the Post card for video and Amplify content." |
22779 | 22723 | } |
22780 | 22724 | }, |
22781 | 22725 | "additionalProperties" : false |
|
25977 | 25921 | "id", |
25978 | 25922 | "in_reply_to_user_id", |
25979 | 25923 | "lang", |
| 25924 | + "matched_media_notes", |
25980 | 25925 | "media_metadata", |
25981 | 25926 | "non_public_metrics", |
25982 | 25927 | "note_tweet", |
|
26011 | 25956 | "id", |
26012 | 25957 | "in_reply_to_user_id", |
26013 | 25958 | "lang", |
| 25959 | + "matched_media_notes", |
26014 | 25960 | "media_metadata", |
26015 | 25961 | "non_public_metrics", |
26016 | 25962 | "note_tweet", |
|
0 commit comments