List Media

plivo.list_media
ActionVoice & SMSconnection required

Calls the Plivo API with the connection's credentials.

List the media files uploaded to the account's MMS media store.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Plivo
Secret shape
{"username": "<Auth ID>", "password": "<Auth Token>"}
Config it needs
auth_id, src, answer_url, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
limit
How many records to return in one page. Plivo caps a page at 20.
numberNo—1–20—
offset
How many records to skip before this page, for paging through a long list.
numberNo—≥ 0—

Output

One shape.

result

FieldTypeExample
items
The records on this page, exactly as Plivo returned them.
array—
count
How many records this page contains.
number—
total_count
How many records match in total, across all pages.
number—
offset
How many records were skipped before this page.
number—
limit
The page size Plivo applied.
number—
next
Relative URI of the next page, or null on the last page.
string—
previous
Relative URI of the previous page, or null on the first.
string—
api_id
Plivo's identifier for this API request.
string—
{
  "api_id": "",
  "count": 0,
  "items": [],
  "limit": 0,
  "next": "",
  "offset": 0,
  "previous": "",
  "total_count": 0
}

See List Media run in a workflow.

In a technical demo we add the Plivo connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.