internal/api/assertions.go
internal/api · 48 lines · 2 declarations · source
Declarations
type recordAssertionRequest
type recordAssertionRequest struct {
Records []pg.RecordAssertion `json:"records"`
}
method Server.assertRecords
func (s *Server) assertRecords(w http.ResponseWriter, r *http.Request, grant credential.Grant)
The credential supplies project and authorship. The transaction owns successful audit, including replay counts; client content and low-level storage errors never enter failure diagnostics.