openapi: 3.2.0 info: description: REST API for Adobe Substance 3D - Firefly Services. title: Adobe Substance 3D API - Firefly Services Spaces Frame IO API version: 1.0.0 servers: - url: https://s3d.adobe.io security: - bearerAuth: [] ApiKeyAuth: [] tags: - name: SpacesFrameIO paths: /v2/spacesFrameIO: post: operationId: createSpaceFromFrameIO_v2 summary: Create Space From Frame IO API description: "## Overview\n\nThe **Substance 3D API** provides a way to upload and temporary store files.\nYou can upload folders from **frame.io** to create a space.\nTo upload a folder from frame.io, you must pass the following parameters:\n\n- **access Token**\n- **folder ID**\n\nThe result of the post is a **JSON** which contained the **id** of the space created. \nSpace **id** can be used into a space source to use space content as a source for API operations.\n\nExample of a space source:\n\n```json\n{\n \"space\": {\n \"id\": \"\"\n }\n}\n```" requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/rest_base.FileFrameIO' responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/rest_base.Space' '403': description: Forbidden content: application/json: examples: access_error: value: error_code: access_error message: '' schema: $ref: '#/components/schemas/ffapierrors.FFAPIError' '408': description: Request Timeout content: application/json: examples: timeout_error: value: error_code: timeout_error message: '' schema: $ref: '#/components/schemas/ffapierrors.FFAPIError' '413': description: Request Entity Too Large content: application/json: examples: entity_too_large: value: error_code: entity_too_large message: '' schema: $ref: '#/components/schemas/ffapierrors.FFAPIError' '422': description: Unprocessable Entity content: application/json: examples: validation_error: value: error_code: validation_error message: '' schema: $ref: '#/components/schemas/ffapierrors.FFAPIError' '429': description: Too Many Requests content: application/json: examples: rate_limited: value: error_code: rate_limited message: '' schema: $ref: '#/components/schemas/ffapierrors.FFAPIError' '500': description: Internal Server Error content: application/json: examples: runtime_error: value: error_code: runtime_error message: '' schema: $ref: '#/components/schemas/ffapierrors.FFAPIError' tags: - SpacesFrameIO x-s3d-public: true components: schemas: ffapierrors.FFAPIError: description: The error within the error response. type: object properties: $schema: description: A URL to the JSON schema for this object. type: string format: uri examples: - https://s3d.adobe.io/schemas/ffapierrors.FFAPIError.json readOnly: true error_code: description: Associated error code. type: string error_details: description: Optional list of individual error details. type: array items: type: object message: description: Error message. type: string additionalProperties: false required: - error_code rest_base.Space: type: object properties: $schema: description: A URL to the JSON schema for this object. type: string format: uri examples: - https://s3d.adobe.io/schemas/rest_base.Space.json readOnly: true expiry: description: time at which the space will be deleted type: string format: date-time files: description: List of all files contained in Space, ordered by name. type: - array - 'null' items: $ref: '#/components/schemas/rest_base.SpaceFile' id: description: Unique identifier of this Space. type: string url: description: URL to the full description of this Space. type: string archiveUrl: description: URL to fetch the whole space as an archive (usually a ZIP file). additionalProperties: false required: - url - id - expiry - files rest_base.SpaceFile: type: object properties: name: type: string size: type: integer format: int64 minimum: 0 url: type: string additionalProperties: false required: - url - name - size rest_base.FileFrameIO: type: object properties: $schema: description: A URL to the JSON Schema for this object. type: string format: uri examples: - https://s3d.adobe.io/schemas/rest_base.FileFrameIO.json readOnly: true accessToken: description: Frame.io access token or Developer token. See https://developer.frame.io/docs/getting-started/authentication for obtaining a token. type: string examples: - base64.jwt.token folderId: description: Frame.io folder ID containing the assets. This should be the ID of the folder (not an asset ID). For best performance and to avoid [size limitations](/#what-is-the-maximum-size-of-assets-i-can-process), use the folder ID closest to your target assets. The system will retrieve all content from the specified folder, so choosing a parent folder with many subfolders may exceed the maximum retrieval size limit type: string examples: - 01234567-89ab-cdef-0123-456789abcdef additionalProperties: false required: - folderId - accessToken securitySchemes: bearerAuth: description: 'Adobe service-to-service (S2S) access token. Pass `Authorization: Bearer `. The token is not a JWT.' scheme: bearer type: http ApiKeyAuth: type: apiKey in: header name: x-api-key description: 'Your client ID, which acts as the API key. Pass `x-api-key: ` using `` as the placeholder in examples.'