Skip to main content

Web Service Method: Create a New Training Box

Abstract

Web Service Method: Create a New Training Box

Description

Creates a new training box for the Semantic Classifier.

URL: /PoolParty/api/classification/{project}/boxes/create

Content-Type

Content-Type: application/x-www-form-urlencoded

Request

Supported Methods

POST

Path Variables

Variable

Description

{project}

The project UUID or textual identifier

Request Parameters

Parameter

Type

Required

Description

title

String

true

The name of the box to be created.

language

String

true

The language of the documents contained in the new box.

Response

This method returns execution results in JSON format.

JsonBucket

Attribute

Type

Comment

language

String

Language of box (en|de|es|fr|...)

name

String

Box name

uri

String

Box id

Example Response

{
  "name" : "some name",
  "language" : "nl",
  "uri" : "https://semantic-web.com/api/uri#8514"
}