Appearance
Record Update Handler
Allows to update a record in your MongoDB instance.
typescript
type handlers = {
UpdateRecord: {
handle(context: Context): Promise<Response>
}
}
Endpoint
Method: PUT
Path: /your-endpoint/api/record/:sri
Payload:
typescript
type Payload = {
/**
* The record data
*/
data: { [key: string]: any }
}