projects
Hierarquia

Mover um projeto para outro pai

Changed on

Muda o projeto de lugar na estrutura, colocando-o sob outro pai. Enviar new_parent_id como null promove o projeto a raiz.

A movimentação é recusada quando criaria um ciclo ou quando a subárvore do projeto ultrapassaria o limite de quatro níveis de profundidade — veja Hierarquia de projetos.

put/api/management/projects/{project}/hierarchy/move-to-parent

Request

  • Base URL: https://api.olie.ai
  • URL: https://api.olie.ai/api/management/projects/{project}/hierarchy/move-to-parent
  • Auth: HTTP bearer

Request body

new_parent_idstring uuid

ID (UUID) do novo pai. null promove o projeto a raiz.

Response

Sucesso

responseboolean required

Sempre true quando a operação é concluída.

Changes

    • breaking

      the request property became not nullable

    • breaking

      the request property type changed from no type to string, and format from no format to uuid

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status