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

VariableDescription
{project}The project UUID or textual identifier

Request Parameters

ParameterTypeRequiredDescription
titleStringtrueThe name of the box to be created.
languageStringtrueThe language of the documents contained in the new box.

Response

This method returns execution results in JSON format.

JsonBucket

AttributeTypeComment
languageStringLanguage of box (en|de|es|fr|...)
nameStringBox name
uriStringBox id

Example Response

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