action twitter_post_users_id_bookmarks { label: "Add Tweet to Bookmarks" description: "Adds a Tweet (ID in the body) to the requesting User's (in the path) bookmarks" provider: twitter method: POST path: "/2/users/{id}/bookmarks" encoding: json input: { type: "object" properties: { id: { type: "string" description: "Unique identifier of this User. The value must be the same as the authenticated user." } tweet_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." } } required: ["id", "tweet_id"] additionalProperties: false } output: { type: "object" properties: { data: { type: "object" properties: { bookmarked: { 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" } } } } } } }