Merge pull request #421 from gsiou/master
API functionality: get all lists, get list by id
This commit is contained in:
commit
b74c4d9438
2 changed files with 69 additions and 0 deletions
|
@ -296,3 +296,41 @@
|
|||
</p>
|
||||
|
||||
<pre>curl -XGET '{{serviceUrl}}api/lists/test@example.com?access_token={{accessToken}} </pre>
|
||||
|
||||
<h3>GET /api/lists – {{#translate}}Get all lists{{/translate}}</h3>
|
||||
|
||||
<p>
|
||||
{{#translate}}Retrieve every list. {{/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?access_token={{accessToken}}'</pre>
|
||||
|
||||
<h3>GET /api/list/:id – {{#translate}}Get list by id{{/translate}}</h3>
|
||||
|
||||
<p>
|
||||
{{#translate}}Retrieve the list with :id {{/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/list/1?access_token={{accessToken}}'</pre>
|
Loading…
Add table
Add a link
Reference in a new issue