Merge pull request #379 from gsiou/api-search-user

Docs for api/lists/:email
This commit is contained in:
Tomas Bures 2018-02-18 19:28:40 +01:00 committed by GitHub
commit ca145edaef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,3 +277,22 @@
<pre>curl -XPOST '{{serviceUrl}}api/blacklist/delete?access_token={{accessToken}}' \
--data 'EMAIL=test@example.com&amp;'</pre>
<h3>GET /api/lists/:email {{#translate}}Get the lists a user has subscribed to{{/translate}}</h3>
<p>
{{#translate}}Retrieve the lists that the user with :email has subscribed to. {{/translate}}
</p>
<p>
<strong>GET</strong> {{#translate}}arguments{{/translate}}
</p>
<ul>
<li><strong>access_token</strong> {{#translate}}your personal access token{{/translate}}
</ul>
<p>
<strong>{{#translate}}Example{{/translate}}</strong>
</p>
<pre>curl -XGET '{{serviceUrl}}api/lists/test@example.com?access_token={{accessToken}} </pre>