Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI ReferenceChangelog
Dev GuideAPI ReferenceChangelogUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
Changelog

API update

Updated POST /tasks/:taskId/assets to accommodate adding assets to tasks in different mechanisms. Previously, the API only let you add uploaded assets by providing the key and title of the asset. The updated API lets you fork an existing asset from the Library and add it to the task using the content guid of the Library asset.

A new type parameter has been added to the request body with these values:

  • direct_upload - This is an asset uploaded using the upload assets endpoint.
  • fork_from_library - This forks an existing asset from the Library and adds it to the task. The type field is optional and defaults to direct_upload if not provided.

📘

Note

Renditions is currently not supported for Library assets.

See the API documentation for the full request body details.