Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarv committed Jan 26, 2017
1 parent 336f838 commit d7d4735
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2086,4 +2086,27 @@ If a project is already unfeatured:
{
"status_code": 415,
"error": "Project.id 1069 is not featured"
}
}
Help privacy
~~~~~~~~~~~~
**Endpoint: /help/privacy**
*Allowed methods*: **GET**
**GET**
Gives you the privacy policy for your PYBOSSA
* **content**: Simplified HTML of rendered privacy policy.
* **template**: The Jinja2 template that could be rendered.
* **title**: the title for the endpoint.
**Example output**
.. code-block:: python
{
"content": "<html><body><p>privacy policy here</p></body></html>"
"template": "help/privacy.html",
"title": "Privacy Policy"
}

0 comments on commit d7d4735

Please sign in to comment.