Skip to main content
POST
Upload Single Category Sample

Authorizations

x-ti-app-id
string
header
required
x-ti-secret-code
string
header
required

Body

multipart/form-data
workspace_id
string
required

Workspace ID

Example:

"1234567890"

category_id
string
required

File category ID

Example:

"1234567890"

file
file
required

Sample file

with_detail
boolean

Whether to return full details. When true, the response additionally returns the full sample list of this category. When not set or false, only sample_id is returned.

Response

200 - application/json

Successfully uploaded category sample

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object