GET existing subscriptions (nslcm)

Use this API to get the list of active subscriptions for NS lifecycle management.

The following elements of the request, example, and response are described:

Request

Table 1. Request
Aspect Value
Endpoint URL /api/etsi/nslcm/v2/subscriptions
HTTP Method GET

Request headers

Table 2. Request headers
Content-Type application/json
Header Value
Version 2.0.0

Request data

None

Request data example

None

Response codes

Table 3. 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 NSLCM subscriptions 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 in an array the representations of all active subscriptions.

[
            {
                "id": "505c7fb9-4dc6-43df-b269-3e25476895e5",
                "filter": null,
                "callbackUri": "https://example.com/status/204",
                "_links": {
                      "self": {
                           "href": "https://<ishtar_route>/api/etsi/nslcm/v2/subscriptions/505c7fb9-4dc6-43df-b269-
                       3e25476895e5"
                       }
               }
},
{
               "id": "55af024d-614b-46a8-b2ec-7a9c832077bd",
               "filter": {
                    "notificationTypes": [
                          "NsLcmOperationOccurenceNotification",
                          "NsIdentifierCreationNotification",
                          "NsIdentifierDeletionNotification"
                    ],
                    "operationTypes": [
                         "INSTANTIATE"
                    ],
                    "operationStates": [
                          "COMPLETED",
                          "FAILED"
                    ]
            },
            "callbackUri": "https://example.com/status/204",
            "_links": {
                  "self": {
                        "href": "https://<ishtar_route>/api/etsi/nslcm/v2/subscriptions/55af024d-614b-46a8-b2ec-
                   7a9c832077bd"
                   }
             }
       }
]