issues
search
Fierro-Labs
/
Fierro
IPNS API and pinning service
https://www.fierro.io
MIT License
34
stars
4
forks
source link
Feat: Correct json return values over API
#10
Closed
mrodriguez3313
closed
2 years ago
mrodriguez3313
commented
2 years ago
Major upgrades:
Return values on successful operations over API:
PostKey() & AddFile
Return values on errored out operations over API:
GetKey(), PostKey(), & AddFile
WriteJsonError function:
Used to shorten error case code and write headers
WriteJsonSuccess function:
Used to deduplicate code on successful operations and write headers
Minor upgrades:
Update Readme to reflect current working/available endpoints
remove/move code
make err conditions consistent across all functions
spelling/capitalization
Major upgrades:
Minor upgrades: