Project

General

Profile

Actions

Bug #12744

open

APIforNG. Метод 3. Получение данных по поддереву. Отсутствует элемент parent

Added by Радек Мария about 1 year ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
11/13/2023
Due date:
% Done:

100%

Estimated time:
Detected in build:
git
Platform:
Published in build:
1.4.864

Description

При вызове метода 3. Получение данных по поддереву:
/projects/example_project/hierarchy/{uuid}
в ответе отсутствует информация о родительском элементе "parent".

Пример ответа по узлу с дочерними элементами:

{
   "success": true,
   "result":    {
      "haveChildren": true,
      "id": "0022",
      "name": "0022",
      "type": "Requirement",
      "uuid": "99ab66c6-a9d1-4f34-a71d-aa13d935bbee",
      "children":       [
                  {
            "id": "001",
            "name": "001",
            "type": "TextNode",
            "uuid": "332dfbbb-aa4f-4d53-b8d7-ee36fa1e1eef",
            "children": []
         },
                  {
            "id": "Comment 001",
            "name": "Comment 001",
            "type": "Comment",
            "uuid": "7341c111-d35b-4451-aa91-cb83d4e21cae",
            "children": []
         }
      ]
   }
}

Пример ответа по узлу без дочерних элементов
{
   "success": true,
   "result":    {
      "id": "001",
      "name": "001",
      "type": "TextNode",
      "uuid": "332dfbbb-aa4f-4d53-b8d7-ee36fa1e1eef",
      "children": []
   }
}

Actions #1

Updated by Denis Kildishev about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #2

Updated by Denis Kildishev 6 months ago

  • Published in build set to 1.4.864
Actions

Also available in: Atom PDF