Skip to main content

Web Service Method: Export Subtree Data in RDF Format and Store on Remote Server

Abstract

Web Service Method: Export Subtree Data in RDF Format and Store on Remote Server

Description

Exports data from a subtree of a project in RDF format and stores it on a remote server.

URL: /PoolParty/api/projects/{project}/subtree/remoteExport

Request

Supported Methods

POST

Content Type

application/json

Path Variables

Variable

Comment

{project}

The UUID or the URI supplement (textual identifier) of the project to be used.

Request Body

Attribute

Comment

Type

Required

graph

IRI of the remote server graph where data need to be stored. By default same graph is used as where data currently resides.

String

false

nodeType

Type of the specified root node. Can be Concept or ConceptScheme.

String

true

properties

List of properties to exclude in export.

Array of string

false

remoteServerID

The IRI (assigned by PoolParty to the remote store) of the remote store to export to.

Note

If no value is supplied and there is only one store configured for remote export than the system will export to it, otherwise the IRI has to be specified.

String

true

rootNode

URI of the concept/concept scheme.

String

true

Example

{
  "remoteServerID" : "some remoteServerID",
  "nodeType" : "some nodeType",
  "graph" : "some graph",
  "properties" : [ "https://semantic-web.com/api/properties#20475", "https://semantic-web.com/api/properties#14940" ],
  "rootNode" : "some rootNode"
}

Response

Content Type

text/plain

Status: 200 - Ok