action callfire_find_media { label: "Find media" description: "Find media files created by user" provider: callfire method: GET path: "/media" encoding: json input: { type: "object" properties: { fields: { type: "string" } filter: { type: "string" } limit: { type: "integer" format: "int32" } offset: { type: "integer" format: "int32" } } additionalProperties: false } output: { type: "object" description: "~" properties: { items: { type: "array" description: "~" items: { type: "object" description: "Represents a media file which can be added to a text message" properties: { accountId: { type: "integer" format: "int64" description: "~" } created: { type: "integer" format: "int64" description: "The time when the given resource was created, formatted in unix time milliseconds (read only). Example: 1473781817000 " } id: { type: "integer" format: "int64" description: "An id of a media file" } lengthInBytes: { type: "integer" format: "int64" description: "A size of a media file in bytes" } mediaType: { type: "string" description: "A MIME type of media file, ex: image/jpeg, image/png, video/mp4, audio/mp3, etc" } name: { type: "string" description: "A name of a media file" } publicUrl: { type: "string" description: "A public URL of a media file" } } } } limit: { type: "integer" format: "int32" description: "~" } offset: { type: "integer" format: "int32" description: "~" } totalCount: { type: "integer" format: "int32" description: "~" } } } }