Question

Question Service

Web service endpoints specific to forum threads marked as questions.

Create Have Same Question

POST /questions/{contentID}/sameQuestion

Register that the requesting person also has the same question that this thread is asking.

Path Parameters:
NameTypeRequiredDescription
contentIDStringtrueID of the thread for which "I have the same question" acclaim should be marked
Return Status:
HTTP Status CodeDescription
204 (No Content)Request was successful
400 (Bad Request)An input field is malformed
403 (Forbidden)You are not allowed to access or mark this thread
404 (Not Found)The specified thread does not exist

Destroy Have Same Question

DELETE /questions/{contentID}/sameQuestion

Delete the "I have the same question" acclaim attached to the specified thread by the requesting user.

Path Parameters:
NameTypeRequiredDescription
contentIDStringtrueID of the thread for which "I have the same question" acclaim is being removed
Return Status:
HTTP Status CodeDescription
204 (No Content)Request was successful
400 (Bad Request)An input field is malformed
409 (Conflict)You do not currently have a "I have the same question" acclaim registered for this thread
403 (Forbidden)You are not allowed to create or delete "I have the same question" acclaim for this thread
404 (Not Found)The specified thread does not exist

Get Have Same Questions

GET /questions/{contentID}/sameQuestion

Return a paginated list of the people who also have the same question outlined in this thread.

Path Parameters:
NameTypeRequiredDescription
contentIDStringtrueID of the thread for which to return people who marked "I have the same question"
Query Parameters:
NameTypeRequiredDescription
startIndexIntegerfalseZero-relative index of the first person to be returned (default is 0)
countIntegerfalseMaximum number of people to be returned (default is 25)
fieldsStringfalseFields to be returned on people who have the same question (default is @summary)
Retrieves:
  • Person[] listing people who also have the same question that this thread is asking
  • Return Status:
    HTTP Status CodeDescription
    200 (OK)Request was successful
    400 (Bad Request)An input field is malformed
    403 (Forbidden)You are not allowed to access this thread
    404 (Not Found)The specified thread does not exist