Agent

Publish the draft

Changed on

Makes the draft the live version, numbered v1, v2, ... Fails with 409 if the draft was edited after expectedRevision, if another version was published since the draft started, or if it changes nothing; with 400 and the issues if the version cannot run.

post/v1/agent/{agentId}/draft/publish

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/agent/{agentId}/draft/publish
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required

Request body

expectedRevisioninteger required

The draft revision you reviewed.

summarystring

What changed.

Response

The published version.

Changes

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • breaking

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

    • info

      added the required property /// to the response with the status

    • breaking

      removed the required property / from the response with the status

    • info

      added the required property / to the response with the status