Imports
Begin the import of an image analyzed by Syft into the system
post/imports/images/{operation_id}/packages
Path parameters
operation_idstring required
Request body
Example request
{
"schema": {
"version": "version",
"url": "url"
},
"distro": {
"idLike": "idLike",
"name": "name",
"version": "version"
},
"source": {
"type": "type",
"target": "{}"
},
"descriptor": {
"name": "name",
"version": "version"
},
"artifactRelationships": [
{
"parent": "parent",
"metadata": "{}",
"type": "type",
"child": "child"
},
{
"parent": "parent",
"metadata": "{}",
"type": "type",
"child": "child"
}
],
"artifacts": [
{
"foundBy": "foundBy",
"licenses": [
"licenses",
"licenses"
],
"metadata": "{}",
"cpes": [
"cpes",
"cpes"
],
"name": "name",
"locations": [
{
"path": "path",
"layerID": "layerID"
},
{
"path": "path",
"layerID": "layerID"
}
],
"language": "language",
"id": "id",
"purl": "purl",
"type": "type",
"version": "version",
"metadataType": "metadataType"
},
{
"foundBy": "foundBy",
"licenses": [
"licenses",
"licenses"
],
"metadata": "{}",
"cpes": [
"cpes",
"cpes"
],
"name": "name",
"locations": [
{
"path": "path",
"layerID": "layerID"
},
{
"path": "path",
"layerID": "layerID"
}
],
"language": "language",
"id": "id",
"purl": "purl",
"type": "type",
"version": "version",
"metadataType": "metadataType"
}
]
}Response
success
Example response
{
"digest": "digest",
"created_at": "2000-01-23T04:56:07.000+00:00"
}