action twitter_users_id_muting { label: "Returns User objects that are muted by the provided User ID" description: "Returns a list of Users that are muted by the provided User ID" provider: twitter method: GET path: "/2/users/{id}/muting" 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." } max_results: { type: "integer" format: "int32" } pagination_token: { type: "string" description: "A 'long' pagination token." } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { data: { type: "array" items: { type: "object" description: "The Twitter User object." required: ["id", "name", "username"] properties: { created_at: { type: "string" format: "date-time" description: "Creation time of this User." } description: { type: "string" description: "The text of this User's profile description (also known as bio), if the User provided one." } entities: { type: "object" description: "A list of metadata found in the User's profile description." properties: { description: { type: "object" properties: { annotations: { type: "array" items: { description: "Annotation for entities based on the Tweet text." type: "object" } } cashtags: { type: "array" items: { type: "object" } } hashtags: { type: "array" items: { type: "object" } } mentions: { type: "array" items: { type: "object" } } urls: { type: "array" items: { description: "Represent the portion of text recognized as a URL, and its start and end position within the text." type: "object" } } } } url: { type: "object" description: "Expanded details for the URL specified in the User's profile, with start and end indices." properties: { urls: { type: "array" items: { type: "object" additionalProperties: true } } } } } } id: { type: "string" description: "Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers." } location: { type: "string" description: "The location specified in the User's profile, if the User provided one. As this is a freeform value, it may not indicate a valid location, but it may be fuzzily evaluated when performing searches with location queries." } name: { type: "string" description: "The friendly name of this User, as shown on their profile." } pinned_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." } profile_image_url: { type: "string" format: "uri" description: "The URL to the profile image for this User." } protected: { type: "boolean" description: "Indicates if this User has chosen to protect their Tweets (in other words, if this User's Tweets are private)." } public_metrics: { type: "object" description: "A list of metrics for this User." required: ["followers_count", "following_count", "tweet_count", "listed_count"] properties: { followers_count: { type: "integer" description: "Number of Users who are following this User." } following_count: { type: "integer" description: "Number of Users this User is following." } listed_count: { type: "integer" description: "The number of lists that include this User." } tweet_count: { type: "integer" description: "The number of Tweets (including Retweets) posted by this User." } } } url: { type: "string" description: "The URL specified in the User's profile." } username: { type: "string" description: "The Twitter handle (screen name) of this user." } verified: { type: "boolean" description: "Indicate if this User is a verified Twitter User." } verified_type: { type: "string" description: "The Twitter Blue verified type of the user, eg: blue, government, business or none." } withheld: { type: "object" description: "Indicates withholding details for [withheld content](https://help.twitter.com/en/rules-and-policies/tweet-withheld-by-country)." required: ["country_codes"] properties: { country_codes: { type: "array" description: "Provides a list of countries where this content is not available." items: { type: "string" description: "A two-letter ISO 3166-1 alpha-2 country code." } } scope: { type: "string" description: "Indicates that the content being withheld is a `user`." enum: ["user"] } } } } } } 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" } } } } includes: { type: "object" properties: { media: { type: "array" items: { type: "object" required: ["type"] properties: { height: { type: "integer" description: "The height of the media in pixels." } media_key: { type: "string" description: "The Media Key identifier for this attachment." } type: { type: "string" } width: { type: "integer" description: "The width of the media in pixels." } } } } places: { type: "array" items: { type: "object" required: ["id", "full_name"] properties: { contained_within: { type: "array" items: { type: "string" description: "The identifier for this place." } } country: { type: "string" description: "The full name of the county in which this place exists." } country_code: { type: "object" additionalProperties: true } full_name: { type: "string" description: "The full name of this place." } geo: { type: "object" required: ["type", "bbox", "properties"] properties: { bbox: { type: "array" items: { type: "number" format: "double" } } geometry: { type: "object" description: "A [GeoJson Point](https://tools.ietf.org/html/rfc7946#section-3.1.2) geometry object." required: ["type", "coordinates"] properties: { coordinates: { type: "array" description: "A [GeoJson Position](https://tools.ietf.org/html/rfc7946#section-3.1.1) in the format `[longitude,latitude]`." items: { type: "number" } } type: { type: "string" enum: ["Point"] } } } properties: { type: "object" } type: { type: "string" enum: ["Feature"] } } } id: { type: "object" additionalProperties: true } name: { type: "string" description: "The human readable name of this place." } place_type: { type: "string" enum: ["poi", "neighborhood", "city", "admin", "country", "unknown"] } } } } polls: { type: "array" items: { type: "object" description: "Represent a Poll attached to a Tweet." required: ["id", "options"] properties: { duration_minutes: { type: "integer" format: "int32" } end_datetime: { type: "string" format: "date-time" } id: { type: "string" description: "Unique identifier of this poll." } options: { type: "array" items: { type: "object" description: "Describes a choice in a Poll object." required: ["position", "label", "votes"] properties: { label: { type: "string" description: "The text of a poll choice." } position: { type: "integer" description: "Position of this choice in the poll." } votes: { type: "integer" description: "Number of users who voted for this choice." } } } } voting_status: { type: "string" enum: ["open", "closed"] } } } } topics: { type: "array" items: { type: "object" description: "The topic of a Space, as selected by its creator." required: ["id", "name"] properties: { description: { type: "string" description: "The description of the given topic." } id: { type: "string" description: "Unique identifier of this Topic." } name: { type: "string" description: "The name of the given topic." } } } } tweets: { type: "array" items: { type: "object" required: ["id", "text", "edit_history_tweet_ids"] properties: { attachments: { type: "object" description: "Specifies the type of attachments (if any) present in this Tweet." properties: { media_keys: { type: "array" description: "A list of Media Keys for each one of the media attachments (if media are attached)." items: { type: "object" additionalProperties: true } } poll_ids: { type: "array" description: "A list of poll IDs (if polls are attached)." items: { type: "object" additionalProperties: true } } } } author_id: { type: "object" additionalProperties: true } context_annotations: { type: "array" items: { type: "object" description: "Annotation inferred from the Tweet text." required: ["domain", "entity"] properties: { domain: { type: "object" description: "Represents the data for the context annotation domain." required: ["id"] properties: { description: { type: "string" description: "Description of the context annotation domain." } id: { type: "string" description: "The unique id for a context annotation domain." } name: { type: "string" description: "Name of the context annotation domain." } } } entity: { type: "object" description: "Represents the data for the context annotation entity." required: ["id"] properties: { description: { type: "string" description: "Description of the context annotation entity." } id: { type: "string" description: "The unique id for a context annotation entity." } name: { type: "string" description: "Name of the context annotation entity." } } } } } } conversation_id: { type: "object" additionalProperties: true } created_at: { type: "string" format: "date-time" description: "Creation time of the Tweet." } edit_controls: { type: "object" required: ["is_edit_eligible", "editable_until", "edits_remaining"] properties: { editable_until: { type: "string" format: "date-time" description: "Time when Tweet is no longer editable." } edits_remaining: { type: "integer" description: "Number of times this Tweet can be edited." } is_edit_eligible: { type: "boolean" description: "Indicates if this Tweet is eligible to be edited." } } } edit_history_tweet_ids: { type: "array" description: "A list of Tweet Ids in this Tweet chain." items: { type: "object" additionalProperties: true } } entities: { type: "object" additionalProperties: true } geo: { type: "object" description: "The location tagged on the Tweet, if the user provided one." properties: { coordinates: { type: "object" additionalProperties: true } place_id: { type: "object" additionalProperties: true } } } id: { type: "object" additionalProperties: true } in_reply_to_user_id: { type: "object" additionalProperties: true } lang: { type: "string" description: "Language of the Tweet, if detected by Twitter. Returned as a BCP47 language tag." } non_public_metrics: { type: "object" description: "Nonpublic engagement metrics for the Tweet at the time of the request." properties: { impression_count: { type: "integer" format: "int32" description: "Number of times this Tweet has been viewed." } } } organic_metrics: { type: "object" description: "Organic nonpublic engagement metrics for the Tweet at the time of the request." required: ["impression_count", "retweet_count", "reply_count", "like_count"] properties: { impression_count: { type: "integer" description: "Number of times this Tweet has been viewed." } like_count: { type: "integer" description: "Number of times this Tweet has been liked." } reply_count: { type: "integer" description: "Number of times this Tweet has been replied to." } retweet_count: { type: "integer" description: "Number of times this Tweet has been Retweeted." } } } possibly_sensitive: { type: "boolean" description: "Indicates if this Tweet contains URLs marked as sensitive, for example content suitable for mature audiences." } promoted_metrics: { type: "object" description: "Promoted nonpublic engagement metrics for the Tweet at the time of the request." properties: { impression_count: { type: "integer" format: "int32" description: "Number of times this Tweet has been viewed." } like_count: { type: "integer" format: "int32" description: "Number of times this Tweet has been liked." } reply_count: { type: "integer" format: "int32" description: "Number of times this Tweet has been replied to." } retweet_count: { type: "integer" format: "int32" description: "Number of times this Tweet has been Retweeted." } } } public_metrics: { type: "object" description: "Engagement metrics for the Tweet at the time of the request." required: ["retweet_count", "reply_count", "like_count", "impression_count"] properties: { impression_count: { type: "integer" format: "int32" description: "Number of times this Tweet has been viewed." } like_count: { type: "integer" description: "Number of times this Tweet has been liked." } quote_count: { type: "integer" description: "Number of times this Tweet has been quoted." } reply_count: { type: "integer" description: "Number of times this Tweet has been replied to." } retweet_count: { type: "integer" description: "Number of times this Tweet has been Retweeted." } } } referenced_tweets: { type: "array" description: "A list of Tweets this Tweet refers to. For example, if the parent Tweet is a Retweet, a Quoted Tweet or a Reply, it will include the related Tweet referenced to by its parent." items: { type: "object" required: ["type", "id"] properties: { id: { type: "object" additionalProperties: true } type: { type: "string" enum: ["retweeted", "quoted", "replied_to"] } } } } reply_settings: { type: "string" description: "Shows who can reply a Tweet. Fields returned are everyone, mentioned_users, and following." enum: ["everyone", "mentionedUsers", "following", "other"] } source: { type: "string" description: "This is deprecated." } text: { type: "string" description: "The content of the Tweet." } withheld: { type: "object" description: "Indicates withholding details for [withheld content](https://help.twitter.com/en/rules-and-policies/tweet-withheld-by-country)." required: ["copyright", "country_codes"] properties: { copyright: { type: "boolean" description: "Indicates if the content is being withheld for on the basis of copyright infringement." } country_codes: { type: "array" description: "Provides a list of countries where this content is not available." items: { type: "object" additionalProperties: true } } scope: { type: "string" description: "Indicates whether the content being withheld is the `tweet` or a `user`." enum: ["tweet", "user"] } } } } } } users: { type: "array" items: { type: "object" additionalProperties: true } } } } meta: { type: "object" properties: { next_token: { type: "string" description: "The next token." } previous_token: { type: "string" description: "The previous token." } result_count: { type: "integer" format: "int32" description: "The number of results returned in this response." } } } } } }