API endpoint for creating a DMN table from a spreadsheet

This commit is contained in:
mike cullerton 2021-08-11 08:55:10 -04:00
parent dce95189cb
commit 19e0caa700
2 changed files with 33 additions and 0 deletions

View File

@ -941,6 +941,35 @@ paths:
type: string type: string
format: binary format: binary
example: '<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions></bpmn:definitions>' example: '<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions></bpmn:definitions>'
/dmn_from_ss:
parameters:
- name: workflow_spec_id
in: query
required: true
description: The unique id of a workflow specification
schema:
type: string
post:
operationId: crc.api.file.dmn_from_ss
summary: Create a DMN table from a spreadsheet
tags:
- Files
requestBody:
content:
multipart/form-data:
schema:
type: object
properties:
file:
type: string
format: binary
responses:
'200':
description: DMN file for workflow spec
content:
application/json:
schema:
$ref: "#/components/schemas/File"
/task_events: /task_events:
parameters: parameters:
- name: action - name: action

View File

@ -167,3 +167,7 @@ def update_file_info(file_id, body):
def delete_file(file_id): def delete_file(file_id):
FileService.delete_file(file_id) FileService.delete_file(file_id)
def dmn_from_ss(workflow_spec_id):
pass