records
Create a new record
Create a new record with an already encrypted payload. This is the non-porcelain endpoint. If you want to create a new record with plaintext data, use the record create porcelain command or the records ingest command with a proxy.
The response will be the newly created record object.
On the command line:
blind records create --data encrypted-record.json
post/api/records/
Request
- Base URLhttps://docs.blindinsight.io (the document declares no server; this is the origin it was published from)
- Auth
- API key in cookie sessionid
- or HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"hashed_label_map": {
"b92e749344f081287b034c57b7a02c77f": {
"hashed_value": "b4486fe169178ec73d3dfad17227da820b89d27e1994f7",
"field_schema": {
"type": "string"
}
},
"961298e17a97e7d0b847b8b743e179b2b": {
"hashed_value": "8d90841201a70611da0b964a743564e035fc",
"field_schema": {
"type": "number",
"minimum": 0,
"maximum": 10
}
}
}
}Response
Example response
{
"hashed_label_map": {
"b92e749344f081287b034c57b7a02c77f": {
"hashed_value": "b4486fe169178ec73d3dfad17227da820b89d27e1994f7",
"field_schema": {
"type": "string"
}
},
"961298e17a97e7d0b847b8b743e179b2b": {
"hashed_value": "8d90841201a70611da0b964a743564e035fc",
"field_schema": {
"type": "number",
"minimum": 0,
"maximum": 10
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.