Web Service Method: Create a Project Using JSON
Web Service Method: Create a Project Using JSON
Description |
---|
Creates a new project with JSON |
URL: /PoolParty/api/projects/create
Content-Type
application/json
Supported Methods |
---|
POST |
JSON Request Object
JsonProjectFull
Type: JsonProject Full
PoolParty Project
Attribute | Type | Comment |
---|---|---|
| String | Project author |
| Array of Strings | Additional languages |
| String | Base URL of the project |
| String | Project contributor |
| String | Mandatory: Default language of the project |
| String | Project description |
| boolean | Enable SKOS-XL |
| boolean | Enable Workflow |
| String | ID-Generation Method. Possible Values: increment, prefLabel, uuid, manual |
| int | Increment start only needed when ID-Generation is 'increment' |
| String | Project licensce. Must be a valid URI |
| String | Project Identifier |
| String | Project publisher |
| String | Quality Setting. Possible Values:default, autoIndexing, classification, documentsuggestion, restricted, disabled |
| String | Repository Type. Possible Values: memory, native, memgraphdb, remote |
| int | SnapshotInterval. Possible Values:5,10,15,30,-1:disabled |
| String | Primary subject of the project |
| String | Mandatory: Project title |
| Array of Strings | Mandatory: User groups |
| String | URI of the user that will get assigned to the workflow. Only used when workflow enabled |
| String | State of the workflow. Possible values: DRAFT, APPROVED |
Content-Type: application/json
JsonProject
Attribute | Type | Comment |
---|---|---|
| Array of Strings | Available Languages |
| String | Default Language |
| String | Project description |
| String | UUID of the project |
| String | Project last modified date |
| String | Primary subject of the project |
| String | Project title |
| String | Linked data URI of the project |
| String | Project URI supplement |
Web Service Method: Create a Project Using PPAR
Web Service Method: Create a Project Using PPAR
Description |
---|
Creates a new project with ppar. |
URL: /PoolParty/api/projects/create
application/x-www-form-urlencoded
Supported Methods |
---|
POST |
Parameter | Description | Type | Required |
---|---|---|---|
file | .ppar file | MultipartFile | true |
title | Project title | String | false |
projectIdentifier | Project Identifier | String | false |
userGroups | User groups | Array of Strings | false |
Content-Type: application/json
Attribute | Type | Comment |
---|---|---|
availableLanguages | Array of Strings | Available Languages |
defaultLanguage | String | Default Language |
description | String | Project description |
id | String | UUID of the project |
lastModified | String | Project last modified date |
subject | String | Primary subject of the project |
title | String | Project title |
uri | String | Linked data URI of the project |
uriSupplement | String | Project URI supplement |