HTTP request
GET https://api.wevoteusa.org/apis/v1/organizationLinkToIssue (Jump to "Try It Now")
Optional Parameters
Parameter name | Value | Description |
organization_we_vote_id | string | The we vote id for the Endorser |
issue_we_vote_id | string | The we vote id for the Issue |
organization_linked_to_issue | boolean | Specifies if the organization to issue link should be active or blocked |
reason_for_link | string | The reason why the link is being made activePossible reasons for making link active: NO_REASON, LINKED_BY_ORGANIZATION, LINKED_BY_WE_VOTE, AUTO_LINKED_BY_HASHTAG, AUTO_LINKED_BY_HASHTAG |
reason_for_unlink | string | The reason why the link is being blocked or unlinkedPossible reasons for making link inactive(blocking the link): BLOCKED_BY_ORGANIZATION, BLOCKED_BY_WE_VOTE, FLAGGED_BY_VOTERS |
Response
[{ "success": boolean, "status": string, "organization_we_vote_id": string, "issue_we_vote_id": string, "organization_linked_to_issue": boolean, "reason_for_link": string, "reason_for_unlink": string, "link_issue_found": boolean, "link_issue": { "organization_we_vote_id": string, "issue_id": integer, "issue_we_vote_id": string, "link_active": boolean, "reason_for_link": string, "link_blocked": boolean, "reason_link_is_blocked": boolean, "}" }]
Try It Now: API Variables