Dayli Docs

Read currently authorized post media bytes

GET
/api/v1/posts/{postId}/media/{mediaId}/content

Rechecks the current post and attachment on every request, then streams the private object without exposing a provider URL or object key.

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

postId*string
Length1 <= length <= 128
mediaId*string
Length1 <= length <= 128

Response Body

application/octet-stream

application/octet-stream

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/posts/post-1/media/media-1/content"
null