Topic

Top  Previous  Next

Path

/topicmaps/{tm}/topics/{topic}

 

Description

A single topic in a topic map

 

Supported HTTP Operations

 

HTTP Method

Description

Supported Formats

GET

Returns a representation of the topic as either a TopicRepr or FullTopicRepr representation. If a query parameter named "full" is present with the value "true", then a full topic representation, including all associations that the topic is in will be returned; otherwise a standard TopicRepr that includes all labels, identifiers and properties but excludes associations will be returned.

XML, JSON, HTML, RDF, XTM

PUT

Updates the labels, identifiers and properties of a topic. Accepts a TopicRepr item. The following optional parameters are supported:

nomerge={true|false} - specifies if the process should skip checks for topics that would merge with the updated topic. Defaults to false.

XML, JSON

DELETE

Deletes a topic from its parent topic map. This operation cannot be undone.

N/A

HEAD

Returns the Last-Modified and ETag headers for the topic

XML, JSON, HTML, RDF, XTM

 

Notes