ES
Español
English
Português
    Webhook para tareas DevOps

    Webhook DevOps

    Método: POST
    Url: /webhooks/99003/devops/task
    Descripción: Notifica el cambio de un caso en DevOps

    Encabezados

    Nombre Descripción
    X-Authorization Token JWT de autorización.
    Debe tener el formato: Bearer token

    Body

    {
      "subscriptionId": "",
      "notificationId": 0,
      "id": "",
      "eventType": "",
      "publisherId": "",
      "message": {
        "text": "",
        "html": "",
        "markdown": ""
      },
      "detailedMessage": {
        "text": "",
        "html": "",
        "markdown": ""
      },
      "resource": {
        "id": 0,
        "workItemId": 0,
        "rev": 0,
        "revisedBy": {
          "id": "",
          "name": "",
          "displayName": "",
          "url": "",
          "_links": {
            "avatar": {
              "href": ""
            }
          },
          "uniqueName": "",
          "imageUrl": "",
          "descriptor": ""
        },
        "revisedDate": "",
        "relations": {
          "added": [
            {
              "rel": "",
              "url": "",
              "attributes": {
                "isLocked": false,
                "name": ""
              }
            }
          ]
        },
        "_links": {
          "self": {
            "href": ""
          },
          "workItemUpdates": {
            "href": ""
          },
          "parent": {
            "href": ""
          },
          "html": {
            "href": ""
          }
        },
        "url": "",
        "revision": {
          "id": 0,
          "rev": 0,
          "fields": {},
          "relations": [],
          "commentVersionRef": {
            "commentId": 0,
            "version": 0,
            "url": ""
          },
          "_links": {
            "self": {
              "href": ""
            },
            "workItemRevisions": {
              "href": ""
            },
            "parent": {
              "href": ""
            }
          },
          "url": ""
        }
      },
      "resourceVersion": "",
      "resourceContainers": {
        "collection": {
          "id": "",
          "baseUrl": ""
        },
        "account": {
          "id": "",
          "baseUrl": ""
        },
        "project": {
          "id": "",
          "baseUrl": ""
        }
      },
      "createdDate": ""
    }
    

    Configuración webhook DevOps

    ENDPOINT WEBHOOK

    webhooks/99003/devops/task
    

    Para configurar el webhook en DevOps, entrar a project settings, seleccione la opción de service hooks y cree un nuevo service hook con la url de configuración como se muestra en la siguiente imagen: