Web Service Method: Create a Project Using JSON
Web Service Method: Create a Project Using JSON
Description |
---|
Creates a new project based on a specification provided in JSON format. |
URL: /PoolParty/api/projects/create
Content-Type
application/json
Supported Methods |
---|
POST |
JSON Request Object
JsonProjectFull
Type: JsonProject Full
PoolParty Project
Attribute | Type | Comment | Required |
---|---|---|---|
| String | Project author | false |
| Array of Strings | Additional languages | false |
| String | Base URL of the project | false |
| String | Project contributor | false |
| String | Default language of the project | true |
| String | Project description | false |
| boolean | Enable SKOS-XL | false |
| boolean | Enable workflow | false |
| String | ID-Generation method. Possible values: increment, prefLabel, uuid, manual | false |
| int | Increment start only needed when ID-Generation is 'increment'. | false |
| String | Project license. Must be a valid URI. | false |
| String | Project identifier | false |
| String | Project publisher | false |
| String | Quality setting. Possible values: default, autoIndexing, classification, documentsuggestion, restricted, disabled | false |
| String | Repository type. Possible values: memory, native, memgraphdb, remote | false |
| int | Snapshot interval. Possible values: 5,10,15,30,-1:disabled | false |
| String | Primary subject of the project | false |
| String | Project title | true |
| Array of Strings | User groups | true |
| String | UUID of the project. If provided, universal uniqueness must be guaranteed by the user. For more information on UUIDs, refer to the RFC 4122 standard. | false |
| String | URI of the user that will get assigned to the workflow. Only used when workflow is enabled. | false |
| String | State of the workflow. Possible values: DRAFT, APPROVED | false |
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 |