Web Service Method: Create a New Corpus
Web Service Method: Create a New Corpus
Description |
---|
Creates a new corpus. |
URL: /PoolParty/api/corpusmanagement/{project}/create
Request
Supported Methods |
---|
POST |
application/x-www-form-urlencoded
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
corpusTitle | The name of the corpus to be created. | String | true |
language | The language of the new corpus | String | true |
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. | IRI | true |
Response
http status code 200if OK + JSON formatted response
Attribute | Type | Comment |
---|---|---|
corpusName | String | Corpus name |
corpusId | URI | Generated corpus ID |
language | String | Language of corpus |
Example
Screenshot of an example call, done with Postman: