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 [2019/11/29 16:04] flackapi [2020/04/22 10:01] flack
Line 1: Line 1:
 API base url: https://mcule.com/api/v1/ API base url: https://mcule.com/api/v1/
  
-Examples are demonstrated with [[https://github.com/jkbrzt/httpie|HTTPie]].+Examples are demonstrated with [[https://httpie.org|HTTPie]]
 + 
 +Only the most important request/response headers are shown in the examples below.
  
 ====== Response status codes ====== ====== Response status codes ======
Line 90: Line 92:
 } }
 </code> </code>
 +
 +If you call this API endpoint as an authenticated user (=you provide a [[api#authentication|valid token]]) you might get additional private entries if you have permission to access them.
  
  
Line 231: Line 235:
  
 Authentication is currently a token based authentication. Authentication is currently a token based authentication.
-If you would like to access our protected API endpoints, please drop us an email at support@mcule.com and we can provide you with token.+If you would like to access our protected API endpoints, please drop us an email at support@mcule.com including a brief summary on why and how you would like to use the API. We'll review your request, and if accepted, we'll provide you with an access token which you can use to call the API as an authenticated user.
  
 Once you have a valid token you have to send it in the Authorization header: Once you have a valid token you have to send it in the Authorization header:
api.txt · Last modified: 2023/06/03 07:19 by flack