object_media_previews

put/api/projects/{project_id}/object_media_previews/{id}/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/object_media_previews/{id}/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this object media preview.

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

idstring uuid required
created_atstring date-time required
updated_atstring date-time nullable required
media_urlstring required
media_typestring required

Return 'uploaded' or 'exported' based on which media is set

metadataunknown
uploaded_media_idstring uuid nullable
exported_asset_idstring uuid nullable
event_definition_idstring uuid nullable

Response

idstring uuid required
created_atstring date-time required
updated_atstring date-time nullable required
media_urlstring required
media_typestring required

Return 'uploaded' or 'exported' based on which media is set

metadataunknown
uploaded_media_idstring uuid nullable
exported_asset_idstring uuid nullable
event_definition_idstring uuid nullable

Changes

No recorded changes to this operation across all 1 revision of this API.