Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.86 KB

api20100401_media.md

File metadata and controls

24 lines (17 loc) · 1.86 KB

Api20100401Media — operations

Accessor: client.api20100401_media · Source: twilio_sdk/apis/api20100401_media.py · 1 operation

Each ### block is one operation and assumes sdk-map.md is loaded: blocks omit what its invariants table covers and are otherwise self-contained, so chunk at block level. Signatures are the sync parsed spelling; the async and raw spellings take the same parameters (see sdk-map.md). Type sources names the module declaring each type an operation mentions, so resolving a body, return or error payload is a lookup rather than a search; the runtime types RawError and ApiResult are excluded.

client.api20100401_media.list_media

  • Route: GET /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media.json
  • Auth: account_sid_auth_token
  • Server: default
  • Signature: def list_media(account_sid: str, message_sid: str, *, date_created: RFC3339DateTime | None = None, date_created_query: RFC3339DateTime | None = None, date_created_query_query: RFC3339DateTime | None = None, page_size: int | None = None, page: int | None = None, page_token: str | None = None, request_options: RequestOptionsOrDict | None = None)
    • required, positional: account_sid, message_sid
  • Params: account_sid — path AccountSid · message_sid — path MessageSid · date_created — query DateCreated · date_created_query — query DateCreated< · date_created_query_query — query DateCreated> · page_size — query PageSize · page — query Page · page_token — query PageToken
  • Returns (parsed): ListMediaResponse
  • Returns (raw): ApiResult[ListMediaResponse, RawError]
  • Error: RawError — Case B
Type Source
ListMediaResponse twilio_sdk/models/list_media_response.py