Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 320 Bytes

File metadata and controls

19 lines (12 loc) · 320 Bytes

HTTP

Assets

GetAsset

  • Method: GET
  • URL: /api/assets/hash/
  • Parameters: hash — a SHA-256 hash
  • Returns: the contents of the asset with the given hash

AddAsset

  • Method: POST
  • URL: /api/assets/
  • Request Body: the asset
  • Returns: the hash of the given asset