action x_repost_post { label: "Repost Post" description: "Causes the authenticated user to repost a specific Post by its ID." provider: x method: POST path: "/2/users/{id}/retweets" encoding: json scopes: ["tweet.write", "tweet.read", "users.read"] input: { type: "object" properties: { id: { type: "string" description: "Unique identifier of this User. The value must be the same as the authenticated user." } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { data: { type: "object" properties: { id: { type: "string" description: "Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers." } retweeted: { type: "boolean" } } } errors: { type: "array" items: { type: "object" description: "An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807)." required: ["type", "title"] properties: { detail: { type: "string" } status: { type: "integer" } title: { type: "string" } type: { type: "string" } } } } } } }