22
spec.yml
22
spec.yml
@ -17,11 +17,14 @@ tags:
|
|||||||
description: CAD file operations.
|
description: CAD file operations.
|
||||||
- name: meta
|
- name: meta
|
||||||
description: Meta information about servers and instances.
|
description: Meta information about servers and instances.
|
||||||
|
- name: beta
|
||||||
|
description: Beta API endpoints.
|
||||||
paths:
|
paths:
|
||||||
/file/conversion/{sourceFormat}/{outputFormat}:
|
/file/conversion/{sourceFormat}/{outputFormat}:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- file
|
- file
|
||||||
|
- beta
|
||||||
security:
|
security:
|
||||||
- bearerAuth: []
|
- bearerAuth: []
|
||||||
summary: Convert CAD file
|
summary: Convert CAD file
|
||||||
@ -34,7 +37,7 @@ paths:
|
|||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ValidFileTypes'
|
$ref: '#/components/schemas/ValidFileTypes'
|
||||||
- name: ouputFormat
|
- name: outputFormat
|
||||||
in: path
|
in: path
|
||||||
description: The format the file should be converted to.
|
description: The format the file should be converted to.
|
||||||
required: true
|
required: true
|
||||||
@ -89,6 +92,7 @@ paths:
|
|||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- file
|
- file
|
||||||
|
- beta
|
||||||
security:
|
security:
|
||||||
- bearerAuth: []
|
- bearerAuth: []
|
||||||
summary: Get a file conversion
|
summary: Get a file conversion
|
||||||
@ -261,11 +265,11 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: The status of the file conversion.
|
description: The status of the file conversion.
|
||||||
enum:
|
enum:
|
||||||
- 'Queued'
|
- 'Queued'
|
||||||
- 'Uploaded'
|
- 'Uploaded'
|
||||||
- 'In Progress'
|
- 'In Progress'
|
||||||
- 'Completed'
|
- 'Completed'
|
||||||
- 'Failed'
|
- 'Failed'
|
||||||
src_format:
|
src_format:
|
||||||
$ref: '#/components/schemas/ValidFileTypes'
|
$ref: '#/components/schemas/ValidFileTypes'
|
||||||
description: The format of the original file uploaded to be converted.
|
description: The format of the original file uploaded to be converted.
|
||||||
@ -289,9 +293,9 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: The type of environment.
|
description: The type of environment.
|
||||||
enum:
|
enum:
|
||||||
- 'DEVELOPMENT'
|
- 'DEVELOPMENT'
|
||||||
- 'PREVIEW'
|
- 'PREVIEW'
|
||||||
- 'PRODUCTION'
|
- 'PRODUCTION'
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: The name of the instance.
|
description: The name of the instance.
|
||||||
|
Reference in New Issue
Block a user