Get information about a proposition.
EXAMPLE
http://voxe.org/api/v1/propositions/4ef479fdbc60fb000400027a
Search for propositions.
| limit | 10 |
| offset | 50 |
| tagIds | id1,id2 |
| candidacyIds | id1,id2 |
EXAMPLE
http://voxe.org/api/v1/propositions/search?candidacyIds=4ef479fdbc60fb0004000263
Get the list of comments on a proposition.
EXAMPLE
http://voxe.org/api/v1/propositions/{id}/comments
Create a proposition.
| proposition[text] | More taxes for poor people |
| proposition[candidacyId] | 4f0a16e556cc600ad6000263 |
| proposition[tagIds] | 4f0a16e456cc600ad6000168,4f0a16e456cc600ad60001b0 |
EXAMPLE
http://voxe.org/api/v1/propositions
Delete a proposition.
EXAMPLE
http://voxe.org/api/v1/propositions/{id}
Add a comment on a proposition. User have to be signed in.
| text (note that this is not comment[text]) | Life is beautiful |
EXAMPLE
http://voxe.org/api/v1/propositions/{id}/addcomment
Remove a comment from database.
| commentId | 4f0a16e456cc600ad6000168 |
EXAMPLE
http://voxe.org/api/v1/propositions/{id}/removecomment
Add an embed content on a proposition. It can be videos, links, articles, etc...
| url | http://www.youtube.com/watch?v=XGQewDiDN_E |
| title (optional: used only if url is not embedable) | General statistics |
EXAMPLE
http://voxe.org/api/v1/propositions/{id}/addembed
Remove an embed from a proposition.
| embedId | 4f2716dd56cc6002fa000001 |
EXAMPLE
http://voxe.org/api/v1/propositions/{id}/removeembed