Path: / {BASE} / context

Indirect context identification, listing in case 'graph' is missing


Sub-Resources
Resources
NameDescription
listList all contexts
{uuid}Returns the content stored on this context

Resource Methods
Method Summary
NameDescription
GET /{BASE}/context?graph=…&format=…Indirect context identification, listing in case 'graph' is missing
POST /{BASE}/context?graph=…Merge of the enclosed RDF payload enclosed into the RDF graph content identified by the encoded URI.
POST /{BASE}/contextMerge of the enclosed RDF payload enclosed into the RDF graph content identified by the request URI.
PUT /{BASE}/context?graph=…Store the enclosed RDF payload in the context identified by the encoded URI.
PUT /{BASE}/contextStore the enclosed RDF payload in the context identified by the requested URI.
DELETE /{BASE}/context?graph=…Deletes a named graph from the system

Method Detail

GET /{BASE}/context

Indirect context identification, listing in case 'graph' is missing

HTTP Example:
GET /{BASE}/context?graph=…&format=…
Accept: …
API Example:

ContextWebService.get({'graph': /* context uri */,
  'format': /* format format requested (overwrites accept header) */,
  'Accept': /* accept Accept HTTP header */});

Output:
Response - response
Query parameters:
graph - uri
format - format requested (overwrites accept header)
Header parameters:
Accept - Accept HTTP header
See Also:
Indirect Graph Identification

POST /{BASE}/context

Merge of the enclosed RDF payload enclosed into the RDF graph content identified by the encoded URI.

HTTP Example:
POST /{BASE}/context?graph=…
Content-Type: …
API Example:

ContextWebService.post({'graph': /* context context URI */,
  'Content-Type': /* type Content-Type header */});

Output:
Response - response
Query parameters:
graph - context URI
Header parameters:
Content-Type - Content-Type header

POST /{BASE}/context

Merge of the enclosed RDF payload enclosed into the RDF graph content identified by the request URI.

HTTP Example:
POST /{BASE}/context
Content-Type: …
API Example:

ContextWebService.postContext({'uuid': /* uuid context local id */,
  'Content-Type': /* type Content-Type header */});

Output:
Response - response
Header parameters:
Content-Type - Content-Type header

PUT /{BASE}/context

Store the enclosed RDF payload in the context identified by the encoded URI.

HTTP Example:
PUT /{BASE}/context?graph=…
Content-Type: …
API Example:

ContextWebService.put({'graph': /* context context uri */,
  'Content-Type': /* type Content-Type of the payload */});

Output:
Response - response
Query parameters:
graph - context uri
Header parameters:
Content-Type - Content-Type of the payload

PUT /{BASE}/context

Store the enclosed RDF payload in the context identified by the requested URI.

HTTP Example:
PUT /{BASE}/context
Content-Type: …
API Example:

ContextWebService.putContext({'uuid': /* uuid context local id */,
  'Content-Type': /* type Content-Type of the payload */});

Output:
Response - response
Header parameters:
Content-Type - Content-Type of the payload

DELETE /{BASE}/context

Deletes a named graph from the system

HTTP Example:
DELETE /{BASE}/context?graph=…
API Example:

ContextWebService.delete({'graph': /* context context uri */});

Output:
Response - status code
Query parameters:
graph - context uri