-
Notifications
You must be signed in to change notification settings - Fork 11
Codius Contract Service
wilsonianb edited this page Feb 10, 2015
·
3 revisions
The primary public interface for uploading contracts and retrieving contract meta data
POST /contracts
Request Parameters:
- manifest
Response Body:
- token
- payment_uris (Array)
- balance
- minimum
- state
- manifest_hash
- signature
GET /contracts/:token
Response Body:
- payment_uris (Array)
- balance
- minimum
- state
- manifest
- manifest_hash
- signature
POST /contracts/:token/containers
Request Parameters:
- container (multipart binary upload)
Response Body:
- success (Boolean)
- hash
- signature
Response Errors:
- insufficient_funds
- invalid_hash