Closed upperwal closed 3 years ago
https://github.com/DataSpace-Mobility/data-standard-registry-doc/blob/5a211e2d3430719a9c385f1060e62737d83ffd35/api/controllers/standard/standard.controller.js#L4-L6
res.body will have the same structure as the standard.model without uuid, versions.uuid and versions.version.
res.body
uuid
versions.uuid
versions.version
Check against info.short_name for duplicate entry before inserting in the DB.
info.short_name
Resolved under commit ID 248b9485faf494b26ccc7842b7830ad495c5b97c
Resolved under #7
https://github.com/DataSpace-Mobility/data-standard-registry-doc/blob/5a211e2d3430719a9c385f1060e62737d83ffd35/api/controllers/standard/standard.controller.js#L4-L6
res.body
will have the same structure as the standard.model withoutuuid
,versions.uuid
andversions.version
.Check against
info.short_name
for duplicate entry before inserting in the DB.