projects
Cópia e compartilhamento

Compartilhar um projeto

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 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

Changed in 4 of the 98 revisions of this API.417

  • 3c590152d5b5412See the full diff
    • ▲

      the request property became required

      request-property-became-required

    • ▲

      the request property became required

      request-property-became-required

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ▲

      the response property / became nullable for the status

      response-property-became-nullable

    • ●

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

      response-optional-property-removed

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      the response property became required for the status

      response-property-became-required

    • ○

      api tag Cópia e compartilhamento added

      api-tag-added

    • ○

      api tag share removed

      api-tag-removed

    • ○

      api tag {id} removed

      api-tag-removed

    • ○

      added the media type application/json for the response with the status

      response-media-type-added

    • ○

      added optional request body

      request-body-added-optional