action logoraisr_reports_create { label: "Create a new report." description: "This POST-Method creates a new report." provider: logoraisr method: POST path: "/reports/" encoding: json input: { type: "object" required: ["file_id", "process"] properties: { file_id: { type: "string" format: "uuid" description: "Id of the file on which the process is to be applied." } process: { type: "string" description: "Process which should applied. Processes are \"color-classification\"." } } } output: { type: "object" properties: { created: { type: "string" format: "date-time" description: "The Date when the project was created." } file_id: { type: "string" description: "Id of the file on which the process was applied." } processing_algorithm: { type: "string" description: "Process which was applied. Processes are \"color-classification\"." } report_number: { type: "integer" description: "Number of the report which was created." } result: { type: "object" properties: { colors: { type: "array" items: { type: "object" properties: { blue: { type: "integer" description: "RGB-Blue color value" } green: { type: "integer" description: "RGB-Green color value." } hex: { type: "string" description: "Hex-label of this color." } number_of_pixel: { type: "integer" description: "Number of pixels that holds this color." } percentage: { type: "string" format: "decimal" description: "Percentage of pixels that holds this color." } red: { type: "integer" description: "RGB-Red color value." } } } } height: { type: "integer" description: "Height of image." } number_of_pixel_in_image: { type: "integer" description: "Number of pixel in image." } width: { type: "integer" description: "Width of image." } } } } } }