You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
improvement(buffer): explicit mediaType override instead of guessing on ambiguous media (#5642)
* improvement(buffer): explicit mediaType override; error instead of guessing on ambiguous media
* fix(buffer): forward validated mediaType from routes into the media resolver
* fix(buffer): presign uploaded media for 7 days — Buffer fetches assets at publish time
* docs(buffer): document presign lifetime bound by signing credentials
* fix(buffer): always mint fresh presigned URLs from verified storage keys for media
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/buffer.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ Create a post in Buffer for a channel — add it to the queue, share it immediat
33
33
|`schedulingType`| string | No | How the post publishes: automatic \(Buffer publishes it, default\) or notification \(you get a mobile reminder\)|
34
34
|`dueAt`| string | No | Publish time as an ISO 8601 timestamp \(required when mode is customScheduled\)|
35
35
|`saveToDraft`| boolean | No | Save the post as a draft instead of scheduling it |
36
-
|`media`| file | No | Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL |
36
+
|`media`| file | No | Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL. Buffer downloads the media at publish time; uploaded files are shared via a link valid for 7 days, so use a public URL for posts scheduled further out |
37
+
|`mediaType`| string | No | Force the attachment type when it cannot be detected from the file or URL: image or video \(default auto\)|
37
38
|`mediaAltText`| string | No | Alt text for an attached image |
38
39
39
40
#### Output
@@ -82,7 +83,8 @@ Edit an existing Buffer post — update its text, schedule, or media. Attaching
82
83
|`schedulingType`| string | No | How the post publishes: automatic \(Buffer publishes it, default\) or notification \(you get a mobile reminder\)|
83
84
|`dueAt`| string | No | Publish time as an ISO 8601 timestamp \(required when mode is customScheduled\)|
84
85
|`saveToDraft`| boolean | No | Save the post as a draft instead of scheduling it |
85
-
|`media`| file | No | Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL. Replaces existing attachments |
86
+
|`media`| file | No | Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL. Buffer downloads the media at publish time; uploaded files are shared via a link valid for 7 days, so use a public URL for posts scheduled further out. Replaces existing attachments |
87
+
|`mediaType`| string | No | Force the attachment type when it cannot be detected from the file or URL: image or video \(default auto\)|
86
88
|`mediaAltText`| string | No | Alt text for an attached image |
'Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL',
65
+
'Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL. Buffer downloads the media at publish time; uploaded files are shared via a link valid for 7 days, so use a public URL for posts scheduled further out',
66
+
},
67
+
mediaType: {
68
+
type: 'string',
69
+
required: false,
70
+
visibility: 'user-or-llm',
71
+
description:
72
+
'Force the attachment type when it cannot be detected from the file or URL: image or video (default auto)',
'Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL. Replaces existing attachments',
65
+
'Image or video to attach — an uploaded file, a file reference from a previous block, or a publicly accessible URL. Buffer downloads the media at publish time; uploaded files are shared via a link valid for 7 days, so use a public URL for posts scheduled further out. Replaces existing attachments',
66
+
},
67
+
mediaType: {
68
+
type: 'string',
69
+
required: false,
70
+
visibility: 'user-or-llm',
71
+
description:
72
+
'Force the attachment type when it cannot be detected from the file or URL: image or video (default auto)',
0 commit comments