Twilio: Media instance schemas
1 Twilio schema with complete fields and constraints.
โ Media instance operations ยท All schemas
Fetch a single Media resource associated with a specific Message resource โ response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
account_sid | JSON | Optional | |
account_sid (anyOf 1) | string | Alternative | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) associated with this Media resource. Maximum length: 34 Minimum length: 34 Pattern: ^AC[0-9a-fA-F]{32}$ |
account_sid (anyOf 2) | null | Alternative | |
content_type | JSON | Optional | |
content_type (anyOf 1) | string | Alternative | The default [MIME type](https://en.wikipedia.org/wiki/Internet_media_type) of the media, for example `image/jpeg`, `image/png`, or `image/gif`. |
content_type (anyOf 2) | null | Alternative | |
date_created | JSON | Optional | |
date_created (anyOf 1) | string | Alternative | The date and time in GMT when this Media resource was created, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. Format: date-time-rfc-2822 |
date_created (anyOf 2) | null | Alternative | |
date_updated | JSON | Optional | |
date_updated (anyOf 1) | string | Alternative | The date and time in GMT when this Media resource was last updated, specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. Format: date-time-rfc-2822 |
date_updated (anyOf 2) | null | Alternative | |
parent_sid | JSON | Optional | |
parent_sid (anyOf 1) | string | Alternative | The SID of the Message resource that is associated with this Media resource. Maximum length: 34 Minimum length: 34 Pattern: ^(SM|MM)[0-9a-fA-F]{32}$ |
parent_sid (anyOf 2) | null | Alternative | |
sid | JSON | Optional | |
sid (anyOf 1) | string | Alternative | The unique string that identifies this Media resource. Maximum length: 34 Minimum length: 34 Pattern: ^ME[0-9a-fA-F]{32}$ |
sid (anyOf 2) | null | Alternative | |
uri | JSON | Optional | |
uri (anyOf 1) | string | Alternative | The URI of this Media resource, relative to `https://api.twilio.com`. |
uri (anyOf 2) | null | Alternative |