Web Service Method: Create a New Corpus

Description
Creates a new corpus.


URL: /PoolParty/api/corpusmanagement/{project}/create

Request

Supported Methods
POST

Content-Type

application/x-www-form-urlencoded

Path Variables

VariableComment
{project}The UUID or the URI supplement (textual identifier) of the project to be used.

HTTP Parameters


ParameterCommentTypeRequired
corpusTitleThe name of the corpus to be created.Stringtrue
languageThe language of the new corpusStringtrue
repositoryUri

The URI of a repository where the corpus should be stored. Possible values are:

For a remote repository this parameter coincides with this repository's IRI. 

IRItrue

Response

http status code 200 if OK + JSON formatted response

AttributeTypeComment
corpusNameStringCorpus name
corpusIdURIGenerated corpus ID
languageStringLanguage of corpus

Example

Screenshot of an example call, done with Postman: