2. API Independent of Process Type

2.1. GET /v1/processes

Show the SPP processes connected to the spp-ctl.

  • Normarl response codes: 200

2.1.1. Request example

$ curl -X GET -H 'application/json' \
http://127.0.0.1:7777/v1/processes

2.1.2. Response

An array of process objects.

Process objects:

Table 2.1 Response params of getting processes info.
Name Type Description
type string process type. one of primary, nfv or vf.
client-id integer client id. if type is primary this member does not exist.

2.1.3. Response example

[
  {
    "type": "primary"
  },
  {
    "type": "vf",
    "client-id": 1
  },
  {
    "type": "nfv",
    "client-id": 2
  }
]