Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10347

Browse Webhook deliveries payloads

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Web, Webhook
    • Labels:
      None

      Description

      Add new parameters to api/webhooks/deliveries for pagination and finding deliveries of a webhook :

      * opt webhook -> webhook uniq key
      * opt p -> page number (default: 1)
      * opt ps -> page size (default: 10/20/50 ?)
      

      Add the pagination object to the response :

      {
        "deliveries": [
          {
            "id": "d1",
            "componentKey": "my-project",
            "ceTaskId": "task-1",
            "name": "Jenkins",
            "url": "http://jenkins",
            "at": "2017-07-14T04:40:00+0200",
            "success": true,
            "httpStatus": 200,
            "durationMs": 10
          }
        ],
        "paging": {
          "pageIndex": 1,
          "pageSize": 50,
          "total": 2
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guillaume.jambet Guillaume Jambet (Inactive)
                Reporter:
                gregoire.aubert Gregoire Aubert
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: