Tasks

Изменить связь с pull request

Changed on

Частично обновляет выбранную связь с pull request. Идентификатор связи задаётся в URL.

patch/api/v1/tasks/pull-requests/{id}

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Path parameters

id, string uuid required

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

PullRequestUpdate required
provider, string
repository, string
number, string
title, string
url, string uri
status, string
branch, string
commit_sha, string
is_archived, boolean

Response

Обновлённая связь

PullRequest required
id, string uuid required
owner_type, 'task' | 'section' required
owner_id, string uuid required
owner_key, string required
owner_name, string required
provider, string required
repository, string required
number, string required
title, string required
url, string uri required
status, string required
branch, string required
commit_sha, string required
is_archived, boolean required
created_at, string required
updated_at, string required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision