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 79 revisions of this API.417

  • 3c590152d5b5412See the full diff
    • the request property enabled became required

      request-property-became-required

    • the request property settings became required

      request-property-became-required

    • the response property result/share_settings became nullable for the status 200

      response-property-became-nullable

    • the response property result/share_token became nullable for the status 200

      response-property-became-nullable

    • removed the optional property result/share_settings/attributes from the response with the 200 status

      response-optional-property-removed

    • the response property response became required for the status 200

      response-property-became-required

    • the response property result became required for the status 200

      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 200

      response-media-type-added

    • added optional request body

      request-body-added-optional