Skip to content

Commit

Permalink
www: Fix API doc formatting
Browse files Browse the repository at this point in the history
This commit fixes the markdown in tables that weren't rendering 
properly in the politeiawww API Specification.
  • Loading branch information
Seth Benton authored and lukebp committed Feb 1, 2019
1 parent 3cbf2f1 commit f2a7885
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion politeiawww/api/v1/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,7 @@ Set status of proposal to `PropStatusPublic`, `PropStatusCensored` or
**Results:**

| Parameter | Type | Description |
|-|-|-|-|
|-|-|-|
| proposal | [`Proposal`](#proposal) | an entire proposal and it's content |

On failure the call shall return `400 Bad Request` and one of the following
Expand Down Expand Up @@ -2209,13 +2209,15 @@ Returns the vote status for a single public proposal
| passpercentage | uint32 | Percent of total votes required to pass |

**VoteOptionResult:**

| | Type | Description |
|-|-|-|
| option | VoteOption | Option description |
| votesreceived | uint64 | Number of votes received |


**Proposal vote status map:**

| status | value |
|-|-|
| Vote status invalid | 0 |
Expand Down

0 comments on commit f2a7885

Please sign in to comment.