Uploads a review task

Code samples

require 'rest-client'
require 'json'

headers = {
  'Content-Type' => 'multipart/form-data',
  'Accept' => 'application/json'
}

result = RestClient.post 'https://fusion.oxygenxml.com/api/review/tasks/upload',
  params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'Content-Type': 'multipart/form-data',
  'Accept': 'application/json'
}

r = requests.post('https://fusion.oxygenxml.com/api/review/tasks/upload', headers = headers)

print(r.json())

POST /api/review/tasks/upload

Body parameter

formData:
  property1:
    contentTypeFromMessage: true
    headers:
      property1:
        - string
      property2:
        - string
    mediaType:
      type: string
      subtype: string
      parameters:
        property1: string
        property2: string
      wildcardType: true
      wildcardSubtype: true
    bodyAsString: string
  property2:
    contentTypeFromMessage: true
    headers:
      property1:
        - string
      property2:
        - string
    mediaType:
      type: string
      subtype: string
      parameters:
        property1: string
        property2: string
      wildcardType: true
      wildcardSubtype: true
    bodyAsString: string
formDataMap:
  property1:
    - contentTypeFromMessage: true
      headers:
        property1:
          - string
        property2:
          - string
      mediaType:
        type: string
        subtype: string
        parameters:
          property1: string
          property2: string
        wildcardType: true
        wildcardSubtype: true
      bodyAsString: string
  property2:
    - contentTypeFromMessage: true
      headers:
        property1:
          - string
        property2:
          - string
      mediaType:
        type: string
        subtype: string
        parameters:
          property1: string
          property2: string
        wildcardType: true
        wildcardSubtype: true
      bodyAsString: string
preamble: string
parts:
  - contentTypeFromMessage: true
    headers:
      property1:
        - string
      property2:
        - string
    mediaType:
      type: string
      subtype: string
      parameters:
        property1: string
        property2: string
      wildcardType: true
      wildcardSubtype: true
    bodyAsString: string