tasks.tasks.publicLink

Updates the task publishing status and its availability via a public link. If a task is published then the method returns its public links for all Teamwork app settlements. Editing access rights for the specified task are required.

HTTP method

POST

Content type

application/x-www-form-urlencoded

Parameters

  • id POST
    Task IDю
  • publish POST
    Flag denoting whether the task must be published (1) or unpublished (0).
  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Depending on the value of the publish parameter:

  • 1: array of URLs of the task’s public links for all Teamwork settlements.
  • 0: null.