projects
Execuções

Iniciar uma execução

Inicia a contagem de tempo do usuário autenticado no projeto, na etapa informada. Qualquer execução que ele tenha em andamento é encerrada automaticamente antes; se já houver uma execução rodando naquela mesma etapa, ela é devolvida sem que uma nova seja criada.

O projeto precisa estar na etapa indicada, e tanto o funil quanto a etapa precisam permitir execução — veja Permitir execução. Tokens de aplicação não podem iniciar execuções.

post/api/management/projects/{project}/project-executions

Query parameters

funnel_step_idstring

ID da etapa onde será executado o projeto

Request body

funnel_step_idinteger required

ID da etapa do funil em que o tempo será contado.

Response

Sucesso

responseboolean required

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

Changes

Changed in 3 of the 79 revisions of this API.131211

  • 3c590152d5b512125See the full diff
    • the request property funnel_step_id became not nullable

      request-property-became-not-nullable

    • the request property funnel_step_id became required

      request-property-became-required

    • the funnel_step_id request property type/format changed from / to integer/

      request-property-type-changed

    • the response property data/funnel_step became nullable for the status 201

      response-property-became-nullable

    • the response property data/hourly_rate became nullable for the status 201

      response-property-became-nullable

    • the response property data/project became nullable for the status 201

      response-property-became-nullable

    • the response property data/user became nullable for the status 201

      response-property-became-nullable

    • the data/finished_at response's property type/format changed from / to string/date-time for status 201

      response-property-type-changed

    • the data/finished_at_real response's property type/format changed from / to string/date-time for status 201

      response-property-type-changed

    • the data/finished_reason response's property type/format changed from / to string/ for status 201

      response-property-type-changed

    • the data/hourly_rate response's property type/format changed from integer/ to number/ for status 201

      response-property-type-changed

    • the data/started_at_real response's property type/format changed from / to string/date-time for status 201

      response-property-type-changed

    • removed the optional property data/funnel_step/funnel from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/funnel_step/id from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/funnel_step/name from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/funnel_step/project_funnel_id from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/project/code from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/project/deleted_at from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/project/id from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/project/is_template from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/project/name from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/user/avatar_url from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/user/id from the response with the 201 status

      response-optional-property-removed

    • removed the optional property data/user/name from the response with the 201 status

      response-optional-property-removed

    • the response property data became required for the status 201

      response-property-became-required

    • the response property error became required for the status 422

      response-property-became-required

    • the response property message became required for the status 422

      response-property-became-required

    • the response property response became required for the status 201

      response-property-became-required

    • the response property response became required for the status 422

      response-property-became-required

  • 3d619d9db20d15See the full diff
    • removed the success response with the status 200

      response-success-status-removed

    • api tag Execuções added

      api-tag-added

    • api tag project-execution removed

      api-tag-removed

    • api tag {id} removed

      api-tag-removed

    • added the non-success response with the status 422

      response-non-success-status-added

    • added the success response with the status 201

      response-success-status-added

    • added optional request body

      request-body-added-optional