API summary
The API includes topic service tasks that retrieve information about topics or actions, or save to a topic or action.
All input is validated, including checks to verify that a user has permission to save to topic or action. Any data that is retrieved is based on the user's work team permissions and topic workflow configuration permissions.
Table 3-1 summarizes the Topics service tasks.
Note:
All endpoints are POST tasks, except forgetProperties, which is a GET.
| Operation | Task Name | Description | Path (BaseURL +) | Input | Response |
|---|---|---|---|---|---|
| Get a list of topics | getTopicContexts | Retrieves topic names and IDs. | /topics @QueryParam: findTopicId | TopicsServiceContext | TopicContexts |
|
getActionContexts |
Retrieves action names and IDs for a topic, for which user can add an attachment. | /actions @QueryParam: topicId | TopicsServiceContext | ActionContexts | |
|
getWorkteamContexts |
Retrieves work team names and IDs. | /workteams | TopicsServiceContext | WorkteamContexts | |
|
getTopicTemplateContexts |
Retrieves topic template names and IDs. | /topictemplates | TopicsServiceContext | TopicTemplateContexts | |
|
attachTopic |
Creates an attachment to an existing topic. | /topic/attach | {TopicsServiceContext | Empty (status only) | |
|
attachNewTopic |
Creates an attachment to a new topic. Creates a topic without an attachment. | /topic/attachnew | {TopicsServiceContext, TopicInput, AttachmentInput} | TopicResult | |
|
attachAction |
Creates an attachment to an existing action. | /action/attach | {TopicsServiceContext, ActionContext, AttachmentInput} | Empty (status only) | |
| Attach to a new action | attachNewAction | Create the action, and optional attachment, added to existing topic. | /action/attachnew | /file @QueryParam: guid | Empty |
| Stream a file | streamFileAttachment | Create a temporary file. | /file @QueryParam: guid | BINARY_INPUT_STREAM | Empty |
|
getFieldMetadata |
Retrieves field properties for topics, topic templates, or work teams. | /{context}/field Where context is a Field Context value Where context is a Field Context value {topics, topicTemplates, workteams, actions} | TopicsServiceContext | FieldMetadata | |
|
getFieldValues |
Retrieves field values for topics, topic templates, or work teams. | /{context}/value Where context is a Field Context value {topics, topicTemplates, workteams, actions} | TopicsServiceContext | FieldValues | |
|
getFilters |
Retrieves fields defined as filters and their values for topics, topic templates, workteams or actions. | /{context}/filter
Where context is a Field Context value {topics, TopicTemplates, Workteams, actions} |
TopicsServiceContext | Filters | |
|
getProjects |
Retrieves projects used by the user's topics. | /project | TopicsServiceContext | ProjectList | |
| Get a list of action types | getActionTypes | Retrieves Active Action Types visible to the user. | /actionTypes | TopicsServiceContext | ActionTypeContexts |
|
getUserInfo |
Retrieves topic permissions for the user; for example, can the user save to a topic. | /user | TopicsServiceContext | TopicsUserInfo | |
|
getTopicsServiceProperties |
Retrieves the Oracle Empirica Topics service version and other service properties. | /props | [None] | TopicsServiceProperties | |
| Get a list of topic workflow configurations (TWCs) | getTopicConfigs | Retrieves a list of TWCs available to the user. | /twc | TopicsServiceContext | TopicConfigContexts |
Parent topic: API