You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we pay attention to the versions array we will notice that for each sbom_id there is a SINGLE version which seems to be the correct way abstracting data.
However, if I take the versions.sbom_id field and try to fetch the SBOM using /api/v1/sbom/{id} then I get this:
Using the products endpoints I get a one-one relationship between "sbom" and "version"
Using the SBOM endpoint I get a one-many relationship between "sbom" and "version". In this case there is not even a direct field but it is embedded within the "described_by" ARRAY field.
The text was updated successfully, but these errors were encountered:
GET /api/v1/product/{id}
I getIf we pay attention to the
versions
array we will notice that for eachsbom_id
there is a SINGLEversion
which seems to be the correct way abstracting data.However, if I take the
versions.sbom_id
field and try to fetch the SBOM using/api/v1/sbom/{id}
then I get this:Here is the problem:
The text was updated successfully, but these errors were encountered: