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 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

author

String

Project author

availableLanguages

Array of Strings

Additional languages

baseURL

String

Base URL of the project

contributor

String

Project contributor

defaultLanguage

String

Mandatory: Default language of the project

description

String

Project description

enableSkosXl

boolean

Enable SKOS-XL

enableWorkflow

boolean

Enable Workflow

idGeneration

String

ID-Generation Method. Possible Values: increment, prefLabel, uuid, manual

incrementStart

int

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

license

String

Project licensce. Must be a valid URI

projectIdentifier

String

Project Identifier

publisher

String

Project publisher

qualitySetting

String

Quality Setting. Possible Values:default, autoIndexing, classification, documentsuggestion, restricted, disabled

repositoryType

String

Repository Type. Possible Values: memory, native, memgraphdb, remote

snapshotInterval

int

SnapshotInterval. Possible Values:5,10,15,30,-1:disabled

subject

String

Primary subject of the project

title

String

Mandatory: Project title

userGroups

Array of Strings

Mandatory: User groups

workflowAssignee

String

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

workflowState

String

State of the workflow. Possible values: DRAFT, APPROVED

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

Web Service Method: Create a Project Using PPAR

Abstract

Web Service Method: Create a Project Using PPAR

Description

Creates a new project with ppar.

URL: /PoolParty/api/projects/create

Content-Type

application/x-www-form-urlencoded

Supported Methods

POST

HTTP Parameters

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

Returns

Content-Type: application/json

JsonProjectPoolParty 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