Метод возвращает список компонентов в продукте, идентификатор которого передан в параметр пути {id}.

Адрес/v1.0/products/{id}/features
ТипGET 
LoginТребуется 
Пример запроса
https://station.guardant.ru/v1.0/products/10082/features

Ответ

Возвращает массив features, включая лицензионные условия по умолчанию:

Пример результата запроса
"features": [
{
  "_id": 10029,
  "defaultLicense": {
    "canexclude": true,
    "canmodify": true,
    "consumptionmode": 0,

    "flags": 0,
    "netlicensescount": 0,
    "rentbegindate": 0,
    "rentdayscount": 10,
    "rentenddate": 0,
    "runcounter": 0,
    "licensingmodel": 4,
    "isremote": false
  },
  "description": "My test feature",
  "featurenumber": 1,
  "name": "Feature 1",
  "pubkey":"11 45 0A B6 77 EC AA 9F 63 79 32 C1 82 8A 14 EC 6B 52 54 BC 80 45 7D 49 BB 73 1E 56 6B 52 54 BC 80 45 7D 34 56 BB AA 99",
  "crmid": "",
  "refid": ""
},
{
  "_id": 10030,
  "defaultLicense": {
    "canexclude": true,
    "canmodify": true,
    "consumptionmode": 0,

    "flags": 0,
    "netlicensescount": 10,
    "rentbegindate": 0,
    "rentdayscount": 0,
    "rentenddate": 0,
    "runcounter": 0,
    "licensingmodel": 4,
    "isremote": true
},
  "description": "Feature2",
  "featurenumber": 2,
  "name": "Feature2",
  "pubkey":"F9 E5 EC 6B 52 54 BC 80 45 7D 49 BB F0 61 F9 F2 EC AA 9F 63 79 32 0A B6 77 44 8A E7 16 AC C1 82 8A 14 73 1E 56 B6 EF 53",
  "crmid": "",
  "refid": ""
}]
  • No labels