GET existing subscriptions (vnfpkgm)
Use this API to get the list of active subscriptions for VNF package management.
The following elements of the request, example, and response are described:
Request
Aspect | Value |
---|---|
Endpoint URL | /api/etsi/vnfpkgm/v2/subscriptions |
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 | When the list of subscriptions was queried successfully. The response body contains in an array the representations of all active subscriptions. Empty list means that no active VNFPKGMsubscriptions exist in database. |
400 | The response body contains details about the error. |
500 | An internal server error occurred. |
4xx/5xx | In addition to the response codes defined in this table, any common error response codes. |
Response headers
None
Response data
The response body contains an array of the representations of all active subscriptions.
[
{
"id": "0c58ddf7-71ce-409a-a11e-35d65cbd030b",
"filter": null,
"callbackUri": "https://example.com/status/204",
"_links": {
"self": {
"href":"https://<ishtar_route>/api/etsi/vnfpkgm/v2/subscriptions/0c58ddf7-71ce-409a-
a11e-35d65cbd030b"
}
}
},
{
"id": "102e0f23-362b-4b73-80a3-7aeb046f91e8",
"filter": {
"vnfPkgId": "346440c1-73ab-406e-a33e-7ff98c9fd831",
"notificationTypes": [
"VnfPackageChangeNotification"
]
},
"callbackUri": "https://example.com/status/204",
"_links": {
"self": {
"href": "https://<ishtar_route>/api/etsi/vnfpkgm/v2/subscriptions/102e0f2
3-362b-4b73-80a3-7aeb046f91e8"
}
}
},
{
"id": "4420e4e4-9f68-49ce-8e67-778bad005324",
"filter": {
"notificationTypes": [
"VnfPackageOnboardingNotification",
"VnfPackageChangeNotification"
],
"vnfProductsFromProviders": [
{
"vnfProducts": [
{
"versions": [
{
"vnfSoftwareVersion": "2.1",
"vnfdVersions": [
"1.0"
]
}
],
"vnfProductName": "sample"
}
],
"vnfProvider": "Acme"
}
]
},
"callbackUri": "http://httpbin.org/status/204",
"_links": {
"self": {
"href": "https://<ishtar_route>/api/etsi/vnfpkgm/v2/subscriptions/4420e4e4-9f68-49ce-8e67-778bad005324"
}
}
}
]