MarvinAPI icon indicating copy to clipboard operation
MarvinAPI copied to clipboard

[REQUEST] Add _id fields to project creation response

Open TiteiKo opened this issue 2 years ago • 0 comments

Statement of purpose I affirm that this is an API feature request and not a Marvin feature request. For a Marvin feature request I would use Product Board.

Is your feature request related to a problem? Please describe. I am doing a plugin for obsidian to create projects and tasks in Marvin. After creating a project, I need to create tasks in it. Without the real unique _id of the project, the tasks or sub projects that need to be created in it can't reliably be linked to it.

The field parentId can take #Project or category name as a value, but consider this scenario:

Project A
  Sub project 1
    Task a

Project B
  Sub project 1
    Task b

Both Task a and Task b have #Sub project 1 as parent_id, but there's no way to know in which Sub project 1 those tasks would go.

Describe the solution you'd like post addProject response should contain the unique _id of the project/category as per the data types documentation, this _id should be recognized in parent_id of addProject and addTask.

TiteiKo avatar May 26 '22 06:05 TiteiKo