FitLayout REST API
FitLayout API for artifact creation, storage and manipulation
Version: 1.0.0
BasePath:/fitlayout-web
Access
- HTTP Bearer Authentication (JWT)
[ Jump to Models ]
Table of Contents
Creates a new repository. (createRepository)
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"owner" : "owner",
"expires" : "2000-01-23",
"accessedOn" : "2000-01-23",
"description" : "description",
"readOnly" : true,
"id" : "id",
"version" : "version",
"createdOn" : "2000-01-23",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The new repository description
RepositoryInfo
Up
delete /api/repository/{repoId}
Deletes a repository identified by its ID. (deleteRepository)
Path parameters
repoId (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Repository deleted
ResultValue
400
Invalid parametres
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/repository/{repoId}
Gets information about a repository identified by its ID. (getRepositoryInfo)
Path parameters
repoId (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"owner" : "owner",
"expires" : "2000-01-23",
"accessedOn" : "2000-01-23",
"description" : "description",
"readOnly" : true,
"id" : "id",
"version" : "version",
"createdOn" : "2000-01-23",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Selected repository information
RepositoryInfo
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/repository/all
Gets a list of all available repositories (admin only). (listAllRepositories)
Return type
Example data
Content-Type: application/json
{
"owner" : "owner",
"expires" : "2000-01-23",
"accessedOn" : "2000-01-23",
"description" : "description",
"readOnly" : true,
"id" : "id",
"version" : "version",
"createdOn" : "2000-01-23",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of repository information
403
Not authorized
ResultErrorMessage
Gets a list of available repositories for current user. (listRepositories)
Return type
Example data
Content-Type: application/json
{
"owner" : "owner",
"expires" : "2000-01-23",
"accessedOn" : "2000-01-23",
"description" : "description",
"readOnly" : true,
"id" : "id",
"version" : "version",
"createdOn" : "2000-01-23",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of repository information
Up
get /api/repository/remind/{email}
Sends an e-mail reminder containing all repositories that have the given e-mail assigned (sendRepositoriesReminder)
Path parameters
email (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
E-mail sent (or nothing set if no repository is assigned to the given e-mail
ResultValue
Up
get /api/repository/status
Gets overall storage status. (status)
Return type
Example data
Content-Type: application/json
{
"createAvailable" : true,
"repositories" : 0,
"available" : 6,
"singleMode" : true
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Selected repository information
StorageStatus
Up
put /api/repository/{repoId}
Gets information about a repository identified by its ID. (updateRepositoryInfo)
Path parameters
repoId (required)
Path Parameter — default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"owner" : "owner",
"expires" : "2000-01-23",
"accessedOn" : "2000-01-23",
"description" : "description",
"readOnly" : true,
"id" : "id",
"version" : "version",
"createdOn" : "2000-01-23",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The updated repository description
RepositoryInfo
400
Invalid service parametres
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
delete /api/r/{repoId}/artifact/clear
Clears the repository - deletes all artifacts and metadata (clear)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Repository cleared
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/artifact/create
Creates a new artifact by invoking a service. (createArtifact)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The IRI of the new artifact created
ResultValue
400
Invalid service parametres
ResultErrorMessage
404
Repository or service with the given ID not found
ResultErrorMessage
Up
delete /api/r/{repoId}/artifact/item/{iri}
Deletes an artifact identified by its IRI (deleteArtifact)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Artifact deleted
ResultValue
404
Repository or artifact with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/artifact/item/{iri}
Gets a complete artifact including its contents identified by its IRI (getArtifact)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
text/xml
text/html
image/png
application/json
Responses
200-JSONLD
The complete artifact RDF description serialized in JSON-LD
200-TURTLE
The complete artifact RDF description serialized in TURTLE
200-RDFXML
The complete artifact RDF description serialized in RDF/XML
200-NTRIPLES
The complete artifact RDF description serialized in N-TRIPLES
200-NQUADS
The complete artifact RDF description serialized in N-QUADS
200-XML
The complete artifact serialized in XML
200-HTML
The complete artifact serialized in HTML
200-PNG
The complete artifact in a PNG image
400
Invalid IRI provided
ResultErrorMessage
404
Repository or service with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/artifact/info/{iri}
Retrieves information about an artifact identified by its IRI (artifact content not included). (getArtifactInfo)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
application/json
Responses
200-JSONLD
The artifact RDF description serialized in JSON-LD
200-TURTLE
The artifact RDF description serialized in TURTLE
200-RDFXML
The artifact RDF description serialized in RDF/XML
200-NTRIPLES
The artifact RDF description serialized in N-TRIPLES
200-NQUADS
The artifact RDF description serialized in N-QUADS
400
Invalid IRI provided
ResultErrorMessage
404
Repository or service with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/artifact
Retrieves information about all artifacts in the repository (artifact contents not included). (getArtifactsInfo)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Query parameters
page (optional)
Query Parameter — default: null
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
application/json
Responses
200-JSONLD
The artifacts RDF description serialized in JSON-LD
200-TURTLE
The artifacts RDF description serialized in TURTLE
200-RDFXML
The artifacts RDF description serialized in RDF/XML
200-NTRIPLES
The artifacts RDF description serialized in N-TRIPLES
200-NQUADS
The artifacts RDF description serialized in N-QUADS
400
Invalid service parametres
ResultErrorMessage
404
Repository with the given ID not found or could not be serialized
ResultErrorMessage
Up
get /api/r/{repoId}/artifact/list
Gets a list of artifact IRIs. (listArtifacts)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Query parameters
page (optional)
Query Parameter — default: null
Return type
array[String]
Example data
Content-Type: application/json
""
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of artifact IRIs
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/artifact/refresh/{iri}
Recomputes the computed artifact properties (refreshArtifact)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Artifact recomputed
ResultValue
404
Repository or artifact with the given ID not found
ResultErrorMessage
Up
get /api/auth/userInfo
Get current user information based on the credentials (Bearer JWT token) obtained (getUserInfo)
Return type
Example data
Content-Type: application/json
{
"expires" : "2000-01-23",
"roles" : [ "roles", "roles" ],
"anonymous" : true,
"guest" : true,
"userId" : "userId",
"email" : "email"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Current user information
UserInfo
Up
post /api/r/{repoId}/query
Adds a saved a query (addQuery)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
Query saved
Up
delete /api/r/{repoId}/query/{id}
Deletes a saved query (deleteQuery)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
id (required)
Path Parameter — default: null format: int64
Responses
200
Query deleted
Up
get /api/r/{repoId}/query/{id}
Obtains a saved query (getQuery)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
id (required)
Path Parameter — default: null format: int64
Responses
200
A saved query
Up
get /api/r/{repoId}/query
Obtains all the saved queries (list)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Responses
200
Saved query list
Up
put /api/r/{repoId}/repository/namespaces/{prefix}
Adds a namespace definition for the given prefix (addNamespace)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
prefix (required)
Path Parameter — default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Namespace added
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/repository/add
Adds a new quadruple to the repository (addQuadruple)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The quadruple added
ResultValue
400
Invalid quadruple specification
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/repository/addQuads
Adds a list of new quadruple to the repository (addQuadruples)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The quadruples added
ResultValue
400
Invalid quadruple specification
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/repository/statements
Imports (adds) statements to the repository (addStatements)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
Request body
Query parameters
baseURI (optional)
Query Parameter — default: null
context (optional)
Query Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Statements added
ResultValue
400
Invalid service parametres
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/checkRepo
Checks the repository whether it exists and is properly initialized (checkRepo)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Repository check result
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
delete /api/r/{repoId}/repository/namespaces
Removes all namespace declarations from the repository (clearNamespaces)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Namespaces removed
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
delete /api/r/{repoId}/repository/namespaces/{prefix}
Removes a namespace definition for the given prefix (deleteNamespace)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
prefix (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Namespace deleted
ResultValue
404
Repository or namespace with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/repository/deleteQuads
Removes a list of quadruples from the repository (deleteQuadruples)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Quadruples removed
ResultValue
400
Invalid quadruple specification
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
delete /api/r/{repoId}/repository/statements
Deletes statements from the repository (deleteStatements)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Query parameters
context (optional)
Query Parameter — default: null
obj (optional)
Query Parameter — default: null
pred (optional)
Query Parameter — default: null
subj (optional)
Query Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Statements deleted
ResultValue
400
Invalid service parametres
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/describe/{iri}
Gets the RDF description for the given subject IRI (describeSubject)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Query parameters
limit (optional)
Query Parameter — default: 2048 format: int32
Return type
Example data
Content-Type: application/json
{
"description" : {
"key" : [ {
"type" : "type",
"value" : "value"
}, {
"type" : "type",
"value" : "value"
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Subject description
SubjectDescriptionResult
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/forceInitRepo
Re-initializes an empty repository with the necessary RDF metadata (schemas) (forceInitRepo)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Repository initialized
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/contexts
Gets a list of contexts that have been defined for the repository (getContexts)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"head" : {
"vars" : [ "vars", "vars" ]
},
"results" : {
"bindings" : [ {
"key" : {
"type" : "type",
"value" : "value"
}
}, {
"key" : {
"type" : "type",
"value" : "value"
}
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Context query result
SelectQueryResult
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/namespaces/{prefix}
Gets a namespace URI for the given prefix (getNamespace)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
prefix (required)
Path Parameter — default: null
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Namespace URI
404
Repository or namespace with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/namespaces
Gets a list of namespace declarations that have been defined for the repository (getNamespaces)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"head" : {
"vars" : [ "vars", "vars" ]
},
"results" : {
"bindings" : [ {
"key" : {
"type" : "type",
"value" : "value"
}
}, {
"key" : {
"type" : "type",
"value" : "value"
}
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Namespace query result
SelectQueryResult
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/statements
Gets all RDF statements from the repository (getStatements)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Query parameters
context (optional)
Query Parameter — default: null
obj (optional)
Query Parameter — default: null
pred (optional)
Query Parameter — default: null
subj (optional)
Query Parameter — default: null
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
application/json
Responses
200-JSONLD
RDF statements serialized in JSON-LD
200-TURTLE
RDF statements serialized in TURTLE
200-RDFXML
RDF statements serialized in RDF/XML
200-NTRIPLES
RDF statements serialized in N-Triples
200-NQUADS
RDF statements serialized in N-Quads
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/type/{iri}
Gets the assigned rdf:type IRI for the given subject IRI (getSubjectType)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Type IRI or 'unknown'
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/subject/{subjIri}/{propertyIri}
Gets the property value for the given subject and property IRIs (getSubjectValue)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
propertyIri (required)
Path Parameter — default: null
subjIri (required)
Path Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"type" : "type",
"value" : "value"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Select query result assigning (p)redicate and (v)alue
ResultBinding
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/initRepo
Initializes an empty repository with the necessary RDF metadata (schemas) (initRepo)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Repository initialized
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/repository/query
Executes any SPARQL query on the underlying RDF repository (query)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Query parameters
distinct (optional)
Query Parameter — default: false
limit (optional)
Query Parameter — default: 2048 format: int64
offset (optional)
Query Parameter — default: 0 format: int64
Return type
Example data
Content-Type: application/json
{
"head" : {
"vars" : [ "vars", "vars" ]
},
"results" : {
"bindings" : [ {
"key" : {
"type" : "type",
"value" : "value"
}
}, {
"key" : {
"type" : "type",
"value" : "value"
}
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/json
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
text/boolean
text/xml
Responses
200
SELECT query result (tuple query)
SelectQueryResult
200-JSONLD
CONSTRUCT query result (graph query) serialized in JSON-LD
200-TURTLE
CONSTRUCT query result (graph query) serialized in TURTLE
200-RDFXML
CONSTRUCT query result (graph query) serialized in RDF/XML
200-NTRIPLES
CONSTRUCT query result (graph query) serialized in N-TRIPLES
200-NQUADS
CONSTRUCT query result (graph query) serialized in N-QUADS
200-JSON
ASK query result (boolean query) serialized in JSON
200-TEXT
ASK query result (boolean query) serialized in text
404
Repository with the given ID not found
ResultErrorMessage
500
Query evaluation error
ResultErrorMessage
Up
get /api/r/{repoId}/repository/object/{iri}
Gets all triples for the given object IRI (queryObject)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Query parameters
limit (optional)
Query Parameter — default: 2048 format: int32
Return type
Example data
Content-Type: application/json
{
"head" : {
"vars" : [ "vars", "vars" ]
},
"results" : {
"bindings" : [ {
"key" : {
"type" : "type",
"value" : "value"
}
}, {
"key" : {
"type" : "type",
"value" : "value"
}
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Select query result assigning (v)alue and (p)redicate
SelectQueryResult
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/repository/subject/{iri}
Gets all triples for the given subject IRI (querySubject)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
iri (required)
Path Parameter — default: null
Query parameters
limit (optional)
Query Parameter — default: 2048 format: int32
Return type
Example data
Content-Type: application/json
{
"head" : {
"vars" : [ "vars", "vars" ]
},
"results" : {
"bindings" : [ {
"key" : {
"type" : "type",
"value" : "value"
}
}, {
"key" : {
"type" : "type",
"value" : "value"
}
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Select query result assigning (p)redicate and (v)alue
SelectQueryResult
404
Repository with the given ID not found
ResultErrorMessage
Up
put /api/r/{repoId}/repository/statements
Replaces all statements in the repository (replaceStatements)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
Request body
Query parameters
baseURI (optional)
Query Parameter — default: null
context (optional)
Query Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Statements replaced
ResultValue
400
Invalid service parametres
ResultErrorMessage
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/repository/selectQuery
Executes a SPARQL SELECT query on the underlying RDF repository (selectQuery)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Query parameters
distinct (optional)
Query Parameter — default: false
limit (optional)
Query Parameter — default: 2048 format: int64
offset (optional)
Query Parameter — default: 0 format: int64
Return type
Example data
Content-Type: application/json
{
"head" : {
"vars" : [ "vars", "vars" ]
},
"results" : {
"bindings" : [ {
"key" : {
"type" : "type",
"value" : "value"
}
}, {
"key" : {
"type" : "type",
"value" : "value"
}
} ]
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
SPARQL select query result (bindings)
SelectQueryResult
404
Repository with the given ID not found
ResultErrorMessage
500
Query evaluation error
ResultErrorMessage
Up
get /api/r/{repoId}/repository/touch
Updates the last access time of the given repository to current time (touch)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Repository touched
ResultValue
Up
post /api/r/{repoId}/repository/updateQuery
Executes a SPARQL UPDATE query on the underlying RDF repository (updateQuery)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"result" : "{}",
"status" : "status"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Update performed
ResultValue
404
Repository with the given ID not found
ResultErrorMessage
500
Query evaluation error
ResultErrorMessage
Up
get /api/r/{repoId}/operator
Gets a list of available area tree operator services for the repository. (repositoryListOperators)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"name" : "name",
"produces" : "produces",
"description" : "description",
"id" : "id",
"category" : "category",
"params" : {
"key" : {
"name" : "name",
"description" : "description",
"type" : "type"
}
},
"consumes" : "consumes"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of service descriptions
404
Repository with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/service/config
Gets the default configuration of an artifact service. (getRepoServiceConfig)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Query parameters
id (optional)
Query Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"parentIri" : "parentIri",
"serviceId" : "serviceId",
"params" : {
"key" : ""
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Service configuration
ServiceParams
404
Repository or service with the given ID not found
ResultErrorMessage
Up
get /api/r/{repoId}/service
Gets a list of available artifact services for the repository. (repositoryGetServiceList)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"name" : "name",
"produces" : "produces",
"description" : "description",
"id" : "id",
"category" : "category",
"params" : {
"key" : {
"name" : "name",
"description" : "description",
"type" : "type"
}
},
"consumes" : "consumes"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of service descriptions
404
Repository with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/service
Invokes a service and returns the resulting artifact (repositoryInvoke)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
application/ld+json
text/turtle
application/rdf+xml
application/n-triples
application/n-quads
Responses
200
The complete artifact data
404
Repository or service with the given ID not found
ResultErrorMessage
Up
post /api/r/{repoId}/run/renderJson
Creates a new Page artifact from a JSON page description (e.g. obtained from a puppeteer backend or a client browser extension). (renderJsonPage)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
OK
Up
get /api/service/config
Gets the default configuration of an artifact service. (getServiceConfig)
Query parameters
id (optional)
Query Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"parentIri" : "parentIri",
"serviceId" : "serviceId",
"params" : {
"key" : ""
}
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
Service configuration
ServiceParams
Gets a list of available artifact services. (getServiceList)
Return type
Example data
Content-Type: application/json
{
"name" : "name",
"produces" : "produces",
"description" : "description",
"id" : "id",
"category" : "category",
"params" : {
"key" : {
"name" : "name",
"description" : "description",
"type" : "type"
}
},
"consumes" : "consumes"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of service descriptions
Invokes a service and returns the resulting artifact (invoke)
Consumes
This API call consumes the following media types via the request header:
Request body
Responses
200
The complete artifact data
Gets a list of available area tree operator services. (listOperators)
Return type
Example data
Content-Type: application/json
{
"name" : "name",
"produces" : "produces",
"description" : "description",
"id" : "id",
"category" : "category",
"params" : {
"key" : {
"name" : "name",
"description" : "description",
"type" : "type"
}
},
"consumes" : "consumes"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of service descriptions
Returns 'ok'. (ping)
Return type
String
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
OK
String
Up
get /api/r/{repoId}/tags
Reads a list of tags defined in the repository (getTags)
Path parameters
repoId (required)
Path Parameter — The ID of the artifact repository to use default: null
Return type
Example data
Content-Type: application/json
{
"iri" : "iri",
"name" : "name",
"context" : "context",
"type" : "type"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
The list of tags
TagInfo
404
Repository with the given ID not found
ResultErrorMessage
[ Jump to Methods ]
Table of Contents
ArtifactServiceDescr
-
ParamBooleanDescr
-
ParamDescr
-
ParamFloatDescr
-
ParamIntDescr
-
ParamStringDescr
-
ParametrizedServiceDescr
-
QuadrupleData
-
RepositoryInfo
-
ResultBinding
-
ResultBody
-
ResultErrorMessage
-
ResultHeader
-
ResultValue
-
SavedQueryDTO
-
SelectQueryResult
-
ServiceParams
-
StorageStatus
-
SubjectDescriptionResult
-
TagInfo
-
UserInfo
-
id
name
description
category (optional)
String Service category used for grouping services
params (optional)
consumes (optional)
produces (optional)
name
description (optional)
String Text description of the parameter
type
String Type of the parameter {bolean, int, float, string}
Service parameter description
name
description (optional)
String Text description of the parameter
type
String Type of the parameter {bolean, int, float, string}
name
description (optional)
String Text description of the parameter
type
String Type of the parameter {bolean, int, float, string}
minValue (optional)
maxValue (optional)
name
description (optional)
String Text description of the parameter
type
String Type of the parameter {bolean, int, float, string}
minValue (optional)
maxValue (optional)
name
description (optional)
String Text description of the parameter
type
String Type of the parameter {bolean, int, float, string}
minLength (optional)
maxLength (optional)
Description of a parametrized service
id
name
description
consumes (optional)
String Type IRI of the input artifacts
produces
String Type IRI of the produced artifacts
category (optional)
String Service category used for grouping services
params (optional)
RDF quadruple data
s (optional)
p (optional)
o (optional)
value (optional)
artifact (optional)
ok (optional)
Information about an artifact repository
id
description (optional)
version (optional)
String Metadata schema version
email (optional)
owner
createdOn (optional)
date Creation date format: date
accessedOn (optional)
date Last access date format: date
expires (optional)
date Expiration date format: date
readOnly (optional)
Assigned result value
type (optional)
String Value type {iri, literal}
value (optional)
Query result body (bindings)
Error result of an operation
status (optional)
message (optional)
Query result header (column names)
Result of an operation conaining an optional result value
status (optional)
result (optional)
id (optional)
title (optional)
queryString (optional)
A result of a SPARQL SELECT query
head (optional)
results (optional)
Service input parametres
serviceId
String ID of the service to invoke
parentIri (optional)
String IRI of the input artifact if required by the given service
params (optional)
Overall storage status
singleMode (optional)
createAvailable (optional)
repositories (optional)
available (optional)
Represents the subject descripton as map of properties.
Tag information
iri (optional)
type (optional)
name (optional)
context (optional)
Current user information
userId (optional)
email (optional)
anonymous (optional)
guest (optional)
expires (optional)
roles (optional)