Adobe Creative Cloud · Arazzo Workflow

Adobe Creative Cloud Libraries List and Inspect Element

Version 1.0.0

List the user's libraries, list elements in the first one, then inspect the first element.

1 workflow 1 source API 1 provider
View Spec View on GitHub AI/MLCloudCreativeDesignDocumentsPhotographySaaSVideoArazzoWorkflows

Provider

adobe-creative-cloud

Workflows

libraries-list-and-inspect-element
List libraries, list a library's elements, and inspect the first element.
Lists the user's libraries, lists elements in the first library, and reads the first element in full to inspect its details and representations.
3 steps inputs: accessToken, apiKey, elementType outputs: element, firstElementId, firstLibraryId
1
listLibraries
getLibraries
List the libraries accessible to the authenticated user and capture the first library's identifier.
2
listElements
getElements
List the elements within the first library, optionally filtered by type, and capture the first element's identifier.
3
inspectElement
getElement
Read the first element in full to inspect its details and available representations.

Source API Descriptions

Arazzo Workflow Specification

adobe-creative-cloud-libraries-list-and-inspect-element-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Adobe Creative Cloud Libraries List and Inspect Element
  summary: List the user's libraries, list elements in the first one, then inspect the first element.
  description: >-
    A read-only discovery flow over Creative Cloud Libraries. The workflow
    lists the libraries accessible to the authenticated user and captures the
    first library's identifier, lists the elements within that library
    optionally filtered by type and captures the first element's identifier,
    then reads that element in full to inspect its representations. Every step
    spells out its request inline, including the bearer token and x-api-key, so
    the flow can be read and run without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: librariesApi
  url: ../openapi/adobe-cc-libraries-api-openapi-original.yml
  type: openapi
workflows:
- workflowId: libraries-list-and-inspect-element
  summary: List libraries, list a library's elements, and inspect the first element.
  description: >-
    Lists the user's libraries, lists elements in the first library, and reads
    the first element in full to inspect its details and representations.
  inputs:
    type: object
    required:
    - accessToken
    - apiKey
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer access token from the Adobe IMS token endpoint.
      apiKey:
        type: string
        description: Client ID (x-api-key) from the Adobe Developer Console.
      elementType:
        type: string
        description: Optional element type filter (e.g. application/vnd.adobe.element.color+dcx).
        default: application/vnd.adobe.element.color+dcx
  steps:
  - stepId: listLibraries
    description: >-
      List the libraries accessible to the authenticated user and capture the
      first library's identifier.
    operationId: getLibraries
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    - name: limit
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstLibraryId: $response.body#/libraries/0/id
      totalCount: $response.body#/total_count
  - stepId: listElements
    description: >-
      List the elements within the first library, optionally filtered by type,
      and capture the first element's identifier.
    operationId: getElements
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    - name: libraryId
      in: path
      value: $steps.listLibraries.outputs.firstLibraryId
    - name: type
      in: query
      value: $inputs.elementType
    - name: limit
      in: query
      value: 100
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstElementId: $response.body#/elements/0/id
      elementCount: $response.body#/total_count
  - stepId: inspectElement
    description: >-
      Read the first element in full to inspect its details and available
      representations.
    operationId: getElement
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: x-api-key
      in: header
      value: $inputs.apiKey
    - name: libraryId
      in: path
      value: $steps.listLibraries.outputs.firstLibraryId
    - name: elementId
      in: path
      value: $steps.listElements.outputs.firstElementId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      element: $response.body
      representations: $response.body#/representations
  outputs:
    firstLibraryId: $steps.listLibraries.outputs.firstLibraryId
    firstElementId: $steps.listElements.outputs.firstElementId
    element: $steps.inspectElement.outputs.element