GET subscription by ID (nsd)

Use this API to retrieve information about a specific subscription that is related to NS lifecycle management.

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

Request

Table 1. Request
Aspect Value
Endpoint URL /api/etsi/nsd/v2/subscriptions/<subscription-id>
HTTP Method GET

Request headers

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

Request data

GET request on /api/etsi/nsd/v2/subscriptions/d53364e3-615a-49f4-b99e-c34b690f8926.

Request data example

None

Response codes

Table 3. Response codes
HTTP status code Description
200 When information about an individual subscription was retrieved successfully.
404 When information about an individual subscription was queried successfully and the subscription does not exist.
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 a representation of the created "Individual subscription" resource.

{
               "id": "d53364e3-615a-49f4-b99e-c34b690f8926",
               "filter": {
                     "notificationTypes": [
                         "NsdOnboardingFailureNotification",
                         "NsdChangeNotification",
                         "NsdDeletionNotification"],
                     "nsdInfoId": ["assembly::example_assembly::1.0"]
               },
               "callbackUri": "https://example.com/status/204",
               "_links": {
                     "self": {
                           "href": 
                           "https://<ishtar_route>/api/etsi/nsd/v2/subscriptions/d53364e3
                           -615a-49f4-b99e-c34b690f8926"

                      }
              }
}