MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / MetadataRequest

Struct MetadataRequest

api/metadata.go:12–14  ·  view source on GitHub ↗

MetadataRequest represents the structure for metadata update requests. It contains a required metadata field that holds key-value pairs for updating entity metadata.

Source from the content-addressed store, hash-verified

10// MetadataRequest represents the structure for metadata update requests.
11// It contains a required metadata field that holds key-value pairs for updating entity metadata.
12type MetadataRequest struct {
13 Metadata map[string]interface{} `json:"meta_data" binding:"required"`
14}
15
16// UpdateMetadata handles HTTP requests to update metadata for various entity types.
17// It processes requests to update metadata for ledgers, transactions, balances, and identities.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected