Commit Graph

11 Commits

Author SHA1 Message Date
Kleissner
2a2d549d13 New command line parameter to start the webapi. This overrides the config.yaml API settings, if used. Added proper documentation in the readme. 2021-11-10 14:04:12 +01:00
Kleissner
2d2297bccc Refactor API into the core package. 2021-09-10 13:45:34 +02:00
Kleissner
4297b522c7 New API functions /profile/list, /profile/read, /profile/write 2021-09-03 02:33:28 +02:00
Kleissner
59618bcd98 Minor fix date shared 2021-08-28 13:43:35 +02:00
Kleissner
4cb3688767 Support new file tag FileTagDateShared 2021-08-28 13:40:09 +02:00
Kleissner
7a1662a562 Update API documentation. Changes in apiBlockRecordFile regarding metadata. Support for writing metadata and custom tags in file add function. 2021-08-28 13:21:04 +02:00
Kleissner
b21e977285 Update API to reflect latest core library. /blockchain functions use changed JSON structures (apiBlockRecordFile, apiBlockRecordProfile). #1 2021-08-27 17:50:07 +02:00
Kleissner
1afeb4b211 New API function /blockchain/self/list/file to list all files in the blockchain 2021-08-19 16:51:32 +02:00
Kleissner
4c704626aa New API functions #1:
/blockchain/self/header
/blockchain/self/append
/blockchain/self/read
/blockchain/self/add/file

The local blockchain now works, files metadata can be added and blocks read and decoded successfully.
2021-08-19 04:44:34 +02:00
Kleissner
24d80fe7d6 Finish /console API endpoint. The code handling input/output from the user/command line needed to be adjusted. 2021-08-10 04:58:53 +02:00
Kleissner
6d6a25b1d9 Start with API development. First endpoints are /status and /peer/self. More in development. 2021-08-09 10:19:05 +02:00