User Tools

Site Tools


api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
api [2018/07/31 18:31] – [Detailed Documentation] lucyapi [2022/01/11 09:17] – [Detailed Documentation] lucysecurity
Line 33: Line 33:
  
 ===== Example Usage ===== ===== Example Usage =====
 +
 +**WARNING!**
 +It's recommended to use "//limit//" GET parameter to specify the max number of entries to get.\\
 +This might help to avoid situations when the amount of data would not be comprehensible by the system.\\
 +Example:\\
 +  {GET /api/campaigns?sort=-created_at&offset=10&limit=10}
  
 First you need to auth: First you need to auth:
Line 75: Line 81:
   {"recipient":{"email":"oliver@test.com","phone":null,"name":"Oliver   Test","staff_type":null,"location":null,"division":null,"comment":null,"link":null,"language_id":null,"recipient_group_id":262,"id":"158928","last_tested":null,"links":[{"rel":"self","href":"/api/recipients/158928"},  {"rel":"recipient_group","href":"/api/recipient-groups/262"}]}}   {"recipient":{"email":"oliver@test.com","phone":null,"name":"Oliver   Test","staff_type":null,"location":null,"division":null,"comment":null,"link":null,"language_id":null,"recipient_group_id":262,"id":"158928","last_tested":null,"links":[{"rel":"self","href":"/api/recipients/158928"},  {"rel":"recipient_group","href":"/api/recipient-groups/262"}]}}
  
 +===== API End Points =====
 +
 +The complete list of API End Points supported by LUCY can be found [[api_end_points|here]]
  
 ===== Detailed Documentation ===== ===== Detailed Documentation =====
  
-A more detailed documentation can be found {{::lucy-rest-api-latest.pdf|here}}.+The detailed documentation for LUCY REST API is available from within the LUCY web interface in the section Settings > API Whitelist > API Documentation. 
 + 
 +{{ api_documentation.png?600 }} 
 + 
 +There's also PDF documentation (for v.4.8.3) can be found {{::lucy_rest_api_documentation.pdf|here}}.
  
api.txt · Last modified: 2022/03/05 18:12 by lucysecurity