Closed mpeuster closed 5 years ago
See: https://github.com/sonata-nfv/tng-cat/issues/64
get_content_of_type
_get_package_content_of_type
curl -X POST -v -H "Content-Type: multipart/form-data" \ -F username="tango_user1" \ -F package="@misc/eu.5gtango.mixed-ns-package-example.0.1.tgo" \ http://127.0.0.1:5099/api/v1/packages
Catalogue requests:
We put the fields into the query to the catalogue when uploading artifacts:
POST /foobar?platform=osm&username=user1
platform = 5gtango, osm, onap
platform
5gtango, osm, onap
See: https://github.com/sonata-nfv/tng-cat/issues/64
get_content_of_type
_get_package_content_of_type
to return dict: full_mime_type -> pathCatalogue requests:
We put the fields into the query to the catalogue when uploading artifacts:
platform
=5gtango, osm, onap