Get information about a proposition.

EXAMPLE

http://voxe.org/api/v1/propositions/4ef479fdbc60fb000400027a

Try

Search for propositions.

Parameters

limit 10
offset 50
tagIds id1,id2
candidacyIds id1,id2

EXAMPLE

http://voxe.org/api/v1/propositions/search?candidacyIds=4ef479fdbc60fb0004000263

Try

Get the list of comments on a proposition.

EXAMPLE

http://voxe.org/api/v1/propositions/{id}/comments

Create a proposition.

Parameters

proposition[text] More taxes for poor people
proposition[candidacyId] 4f0a16e556cc600ad6000263
proposition[tagIds] 4f0a16e456cc600ad6000168,4f0a16e456cc600ad60001b0

EXAMPLE

http://voxe.org/api/v1/propositions

Try

Delete a proposition.

EXAMPLE

http://voxe.org/api/v1/propositions/{id}

Try

Add a comment on a proposition. User have to be signed in.

Parameters

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.

Parameters

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...

Parameters

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.

Parameters

embedId 4f2716dd56cc6002fa000001

EXAMPLE

http://voxe.org/api/v1/propositions/{id}/removeembed