User Tools

Site Tools


daemon:api



Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
daemon:api [2017/03/24 22:12]
Daisychain first text draft
daemon:api [2018/09/10 13:59] (current)
Fornax update gitlab links
Line 1: Line 1:
 ====== Siad API ====== ====== Siad API ======
-The [[:daemon|Sia Daemon]] provider API routes for all of its modules. Documentation for each module's API routes are found in the [[https://github.com/NebulousLabs/Sia/tree/master/doc/api|Sia GitHub repository]].+The [[:daemon|Sia Daemon]] provider API routes for all of its modules. Documentation for each module's API routes are found in the [[https://gitlab.com/NebulousLabs/Sia/tree/master/doc/api|Sia GitLab repository]].
  
 All Siad API calls return either JSON or no content. All Siad API calls return either JSON or no content.
Line 12: Line 12:
  
 ===Example GET curl call:=== ===Example GET curl call:===
-''curl -A "Sia-Agent" "localhost:9980/wallet/transactions?startheight=1&endheight=250"''+  curl -A "Sia-Agent" "localhost:9980/wallet/transactions?startheight=1&endheight=250"
  
 ===Example POST curl call:=== ===Example POST curl call:===
-''curl -A "Sia-Agent" --data "amount=123&destination=abcd" "localhost:9980/wallet/siacoins"''+  curl -A "Sia-Agent" --data "amount=123&destination=abcd" "localhost:9980/wallet/siacoins"
  
  
 ===Sources:=== ===Sources:===
-[[https://github.com/NebulousLabs/Sia/blob/master/doc/API.md|Siad API documentation on GitHub]]+[[https://gitlab.com/NebulousLabs/Sia/blob/master/doc/API.md|Siad API documentation on GitHub]]
  
daemon/api.1490393532.txt.gz ยท Last modified: 2017/03/24 22:12 by Daisychain