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

Dev GuideAPI ReferenceChangelog
Dev GuideAPI ReferenceUser GuideLegal TermsDev CommunityOptimizely AcademySubmit a ticketLog In
Changelog
  • Updated experimental Asset and Folder Permission Routes and Request payload schema
    • Removed {accessor_type} from the following routes:
      • POST /assets/{asset_id}/permissions/{accessor_type} updated to POST /assets/{asset_id}/permissions.
      • PATCH /assets/{asset_id}/permissions/{accessor_type}/{accessor_id} updated to PATCH /assets/{asset_id}/permissions/{accessor_id}.
      • DELETE /asstes/{asset_id}/permissions/{accessor_type}/{accessor_id}updated to DELETE /asstes/{asset_id}/permissions/{accessor_id}.
      • POST /folders/{id}/permissions/{accessor_type} updated to POST /folders/{id}/permissions.
      • PATCH /folders/{folder_id}/permissions/{accessor_type}/{accessor_id} updated to PATCH /folders/{folder_id}/permissions/{accessor_id}.
    • Updated the request payload schema of POST /assets/{asset_id}/permissions and POST /folders/{id}/permissions.
  • Added DELETE /folders/{id}/permissions/{accessor_id} to support removing the accessor's access from a folder.
  • Introduced the GET v3/teams endpoint to list avialable teams.

Updated the following response fields for the GET v3/events/{id} endpoint:

  • reference_number is now reference_id
  • is_achieved is now is_archived

Introduced the POST v3/campaigns endpoint, which lets you create a campaign.

Introduced the GET v3/events/{id} endpoint, which provides details about the specific event.

  • Added the option to specify a draft_id query parameter value of latest to get the most recent draft of the asset within the task for the GET /tasks/{task_id}/assets/{asset_id}/drafts/{draft_id}/brand-compliance endpoint.
  • Added the option to specify a draft_id query parameter value of latest to put the most recent draft of the asset within the task for the PUT /tasks/{task_id}/assets/{asset_id}/drafts/{draft_id}/brand-compliance endpoint.
  • Added a related_resources link in the GET v3/work-requests endpoint response.
  • Added a related_resourceslink in the POST v3/work-requests endpoint response.
  • Added a related_resources link in the GET /work-requests/{id}/related-resources endpoint response.

Introduced the GET /work-requests/{id}/related-resources endpoint, letting you get a list of work request-related resources.

  • Added the campaign_id query param to the GET /assets endpoint, enabling the ability to filter assets by a campaign_id.
  • Introduced the DELETE /asstes/{asset_id}/permissions/{accessor_type}/{accessor_id} endpoint, allowing the removal of access from an asset.
  • Introduced the PATCH /folders/{folder_id}/permissions/{accessor_type}/{accessor_id} endpoint, letting you set the access level of a folder.
  • Introduced the PATCH /assets/{asset_id}/permissions/{accessor_type}/{accessor_id} endpoint, letting you set the access level of an asset.
  • Introduced the POST /assets/{asset_id}/permissions/{accessor_type} endpoint, letting you grant asset access to users or teams.
  • Introduced the POST /folders/{folder_id}/permissions/{accessor_type} endpoint, letting you grant folder access to users or teams.
  • Updated the GET /fields endpoint by adding the ids query param for filtering fields by IDs.
  • Fixed typo of richtext body parameter to rich_text for the following endpoints:
    • POST /fields
    • PATCH /fields/{id}
    • POST /fields/{id}/choices
    • PATCH /fields/{field_id}/choices/{choice_id}