Adobe Premiere Pro · Arazzo Workflow

Adobe Premiere Provision Creative Cloud Library

Version 1.0.0

Create a Creative Cloud Library and read it back to confirm it exists.

1 workflow 1 source API 1 provider
View Spec View on GitHub AdobeAutomationCreative CloudMediaPremiere ProVideo EditingVideo ProductionArazzoWorkflows

Provider

adobe-premiere

Workflows

provision-library
Create a Creative Cloud Library then read it back to verify creation.
Creates a library using the supplied name, captures the server-assigned library id, and performs a follow-up get to confirm the library is retrievable and to expose its created and modified timestamps.
2 steps inputs: accessToken, name outputs: createdDate, libraryId, name
1
createLibrary
createLibrary
Create a new Creative Cloud Library for the authenticated user using the supplied name.
2
getLibrary
getLibrary
Fetch the newly created library by its id to confirm it persisted and to read back its metadata.

Source API Descriptions

Arazzo Workflow Specification

adobe-premiere-provision-library-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Adobe Premiere Provision Creative Cloud Library
  summary: Create a Creative Cloud Library and read it back to confirm it exists.
  description: >-
    A create-then-get provisioning flow for the Adobe Creative Cloud Libraries
    API used by Premiere Pro. The workflow creates a new library with the
    supplied name and then fetches the newly created library by its returned id
    to confirm the resource was persisted and to surface its server-assigned
    metadata. Each step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: creativeCloudLibrariesApi
  url: ../openapi/adobe-premiere-creative-cloud-libraries-openapi.yml
  type: openapi
workflows:
- workflowId: provision-library
  summary: Create a Creative Cloud Library then read it back to verify creation.
  description: >-
    Creates a library using the supplied name, captures the server-assigned
    library id, and performs a follow-up get to confirm the library is
    retrievable and to expose its created and modified timestamps.
  inputs:
    type: object
    required:
    - accessToken
    - name
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer access token for the Creative Cloud Libraries API.
      name:
        type: string
        description: Name to assign to the new Creative Cloud Library.
  steps:
  - stepId: createLibrary
    description: >-
      Create a new Creative Cloud Library for the authenticated user using the
      supplied name.
    operationId: createLibrary
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      libraryId: $response.body#/id
  - stepId: getLibrary
    description: >-
      Fetch the newly created library by its id to confirm it persisted and to
      read back its metadata.
    operationId: getLibrary
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: libraryId
      in: path
      value: $steps.createLibrary.outputs.libraryId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      libraryId: $response.body#/id
      name: $response.body#/name
      createdDate: $response.body#/created_date
      totalElements: $response.body#/total_elements
  outputs:
    libraryId: $steps.getLibrary.outputs.libraryId
    name: $steps.getLibrary.outputs.name
    createdDate: $steps.getLibrary.outputs.createdDate