Skip to main content

Web Service Method: Create a Project Using JSON

Abstract

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

author

String

Project author

false

availableLanguages

Array of Strings

Additional languages

false

baseURL

String

Base URL of the project

false

contributor

String

Project contributor

false

defaultLanguage

String

Default language of the project

true

description

String

Project description

false

enableSkosXl

boolean

Enable SKOS-XL

false

enableWorkflow

boolean

Enable workflow

false

idGeneration

String

ID-Generation method. Possible values: increment, prefLabel, uuid, manual

false

incrementStart

int

Increment start only needed when ID-Generation is 'increment'.

false

license

String

Project license. Must be a valid URI.

false

projectIdentifier

String

Project identifier

false

publisher

String

Project publisher

false

qualitySetting

String

Quality setting. Possible values: default, autoIndexing, classification, documentsuggestion, restricted, disabled

false

repositoryType

String

Repository type. Possible values: memory, native, memgraphdb, remote

false

snapshotInterval

int

Snapshot interval. Possible values: 5,10,15,30,-1:disabled

false

subject

String

Primary subject of the project

false

title

String

Project title

true

userGroups

Array of Strings

User groups

true

uuid

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

workflowAssignee

String

URI of the user that will get assigned to the workflow. Only used when workflow is enabled.

false

workflowState

String

State of the workflow. Possible values: DRAFT, APPROVED

false

Returns

Content-Type: application/json

JsonProject

PoolParty Project

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