Query access configuration for external artifacts
Use this API to read the access configuration information that is used by the orchestration component to get the content of external VNF package artifacts.
The following elements of the request, example, and responses are described:
Request
Aspect | Value |
---|---|
Endpoint URL | /api/etsi/vnfpkgm/v2/vnf_packages/<package-id>/ext_artifacts_access |
HTTP Method | GET |
Request headers
Header | Value |
---|---|
Content-Type | application/json |
Version | 2.1.0 |
Request data
None
Request data example
None
Response codes
HTTP status code | Description |
---|---|
200 | This code is returned when the access configuration information was read successfully. If no information was provided previously, an empty array is returned. |
400 | The response body contains details about the error. |
404 | When no package for supplied ID is found. |
500 | Internal Server Error |
4xx/5xx | In addition to the response codes defined in this table, any common error response codes. |
Response headers
Header | Value |
---|---|
Content-Type | application/json |
Response data
The response body contains details of external artifact access configuration, with password information redacted.
Example Response:
{
"artifact": {
"artifactUri": "http://127.0.0.1/path/to/images/abc-def-
ghi/file.img",
"authType" : "BASIC",
"username" : "admin"
}
}