ynput / ayon-backend

Server codebase with API access to AYON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow creating project level entities with explicit ID

martastain opened this issue · comments

Story

operations endpoint allow setting explicit (client generated) ID for new entities. This is currently not possible using REST [POST] requests (e.g. /api/projects/{projectName}/folders).

This would simplify tasks such as hierarchy creation without using operations endpoint.

Proposed solution

  • Adding optional id field to entity post model
  • When not set, it will be auto-generated as it is now