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