An opinion is a vote for an Idea.
Each opinion is accessed via /api/ideaopinion and has the following properties.
Complete details in IdeaOpinionProperties.
The unique id for this opinion. It will never change.
ideaopinion.
A date when the opinion was created.
A date when the opinion was last updated.
A User id. The unique id of a User that this opinion was submitted by.
Must be one of yes or skip.
An integer indicating the number of crafter points attached to this opinion.
An Idea id. The idea that this opinion is about.
The methods used to fetch and manipulate opinions.
POST /api/ideaopinion
Required. The unique session id provided by a Session method.
Required.
Returns:
{
"id" : "xxx",
"opinion" : "yes",
...
}
PUT /api/ideaopinion/xxx
See Create Opinion for details.
DELETE /api/ideaopinion/xxx
Required. The unique session id provided by a Session method.
Returns:
{
"success" : 1
}
GET /api/ideaopinion/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and Opinion Relationships above for details.
Returns:
{
"id" : "xxx",
"opinion" : "yes",
...
}