Confluence Questions REST ResourcesPUBLIC SINCE 2.3
by Atlassian for Confluence Server 5.3+
ExpertResource
The following resources are applicable:
/expert
Mount Point: /rest/questions/1.0/expert
GET
Get experts of a set of topics
Parameters
name | description | type | default |
---|---|---|---|
topicId | the set of topic IDs | query | |
spaceId | the space ID | query | -1 |
Response Body
element: | expertDTO |
media types: | application/json |
a JSON array of the experts
/expert/period/{time}
Mount Point: /rest/questions/1.0/expert/period/{time}
GET
Get the experts for all time or some weeks
Parameters
name | description | type | default |
---|---|---|---|
time | "alltime" or the number of weeks | path | alltime |
limit | the number of experts returned (10 by default) | query | 10 |
Response Body
element: | (custom) |
media types: | application/json |
a JSON map that contains 2 entries: the "list" of experts and the top expert's detailed information (in a specific period or all time)
/expert/reputation
Mount Point: /rest/questions/1.0/expert/reputation
GET
Get the reputation of an expert
Parameters
name | description | type | default |
---|---|---|---|
username | the expert's username | query |
Response Body
element: | detailedExpertDTO |
media types: | application/json |
the detailed expert information or 400 BAD REQUEST if the user is not found
/expert/reputation/timeseries
Mount Point: /rest/questions/1.0/expert/reputation/timeseries
GET
Get reputation time series
Parameters
name | description | type | default |
---|---|---|---|
username | the expert's username | query |
Response Body
element: | dataPointDTO |
media types: | application/json |
the reputation time series data in JSON format or 400 BAD REQUEST if the user is not found