projects
Cópia e compartilhamento

Compartilhar um projeto

Changed on

Liga ou desliga o compartilhamento público de um projeto e define o que o link exibe. Ao ligar, um token de compartilhamento é gerado (ou reaproveitado, se já existir); ao desligar, o token é descartado e o link deixa de funcionar.

Use refresh para invalidar o link atual e gerar um novo. A ativação e a desativação ficam registradas no histórico do projeto.

post/api/management/projects/{project}/share

Request

  • Base URL: https://api.olie.ai
  • URL: https://api.olie.ai/api/management/projects/{project}/share
  • Auth: HTTP bearer

Request body

enabledboolean required

true liga o compartilhamento; false desliga e descarta o link.

refreshboolean

true gera um link novo, invalidando o anterior.

Response

Compartilhamento ativado

responseboolean required

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

Changes

    • breaking

      the request property became required

    • breaking

      the request property became required

    • 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

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      api tag Cópia e compartilhamento added

    • info

      api tag share removed

    • info

      api tag {id} removed