Skip to content

Commit

Permalink
Merge pull request #36 from wptide/fix/api-docs-url-typo
Browse files Browse the repository at this point in the history
Add missing forward slash in URL
  • Loading branch information
jeffpaul authored Feb 18, 2020
2 parents 64a9aec + 477e115 commit 44219f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _docpress/services/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ <h4 id="delete">DELETE</h4>
</table>
<h4 id="usage">Usage</h4>
<p>Retrieve the audit with a <code>GET</code> request:</p>
<pre><code>curl -X GET http://tide.local/api/tide/v1/audit&lt;id&gt;
<pre><code>curl -X GET http://tide.local/api/tide/v1/audit/&lt;id&gt;
</code></pre>
<p>Update the title by making a <code>POST</code> request:</p>
<pre><code>curl -X POST \
Expand Down Expand Up @@ -838,4 +838,4 @@ <h4 id="get"><code>GET</code></h4>
<div class="right"><a href="../services/sync-server.html"><span class="label">Next: </span><span class="title">Sync Server</span></a></div>
</div>
</div>
</div>
</div>
4 changes: 2 additions & 2 deletions docs/services/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Delete an audit by `id`.
Retrieve the audit with a `GET` request:

```
curl -X GET http://tide.local/api/tide/v1/audit<id>
curl -X GET http://tide.local/api/tide/v1/audit/<id>
```

Update the title by making a `POST` request:
Expand Down Expand Up @@ -354,4 +354,4 @@ Get a specific `type` of report by `altid` and `standard`.
| :--- | :--- |
| `altid` | An alternate unique id to query on (e.g. checksum). |
| `type` | The report type. Must be one of: `raw`, `parsed`. |
| `standard` | The report standard. Must be one of: `phpcs_wordpress`, `phpcs_phpcompatibility`, `lighthouse`. |
| `standard` | The report standard. Must be one of: `phpcs_wordpress`, `phpcs_phpcompatibility`, `lighthouse`. |

0 comments on commit 44219f0

Please sign in to comment.