post https://example.com/v1/document
This API allows you to deploy NonStructured document to blockchain.
Rules for data which should be sent in request:
- Issue timestamp specifies the date and time when document has been created. For convenient we recommend you specify time 00:00 (at the beginning of the day) when document is created, as you probably will make search using this date.
- Data in 'data' field is a PDF document converted to base64 form.
- Specify [] (empty brackets) is document should be visible only for you (private mode), array of public keys for 'permissioned' document (for you and some other participants) and ["public"] if document should be
visible for everyone.
Response status codes:
201 - document has been successfully deployed
400 - you sent invalid data in one or few fields
401 - you are not authorized
500 - if unhandled and unexpected exception happened
502 - if exception happens while working with blockchain node