upload

Create a project from pre-categorised uploaded files (member+)

post/api/workspaces/{workspace_id}/projects/upload

Request

  • Base URL
    https://api.hillstar.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hillstar.ai/api/workspaces/{workspace_id}/projects/upload
  • Auth
    none declared

Path parameters

workspace_idinteger required

Workspace ID

Request body multipart/form-data

categories_jsonstring

JSON object {categories:[CategoryTemplate...]} (logically required; handler returns 400 when empty or wrong-shaped)

file_categorizations_jsonstring

JSON object {files:[FileCategorization...]} (logically required; handler returns 400 with a helpful message when empty)

project_namestring

Optional project name; defaults to first file's original filename

weights_jsonstring

Optional JSON object {weights:{name:int}} summing to 100

Response

Created

$schemastring uri

A URL to the JSON Schema for this object.

messagestring required
project_idinteger required
project_namestring required
statusstring required

Example response

{
  "$schema": "https://example.com/api/schemas/Response.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.