Bug 1588661 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

**WebHook POST BODY**

Should the BODY of the post to a WebHook be a list of all the bug ids the user has set up hooks for which have changes over a given period of time?

```
{
   "bugs": [ "bug_id", "bug_id", ... ]
}
```

Or should it be a list of URLs, for a single use capability, which when authenticated to as the user who set the WebHook, will return the changes to the bug.

```
{
  "changes": [ "URL", "URL", ... ]
}
```
```
URL + Auth  =>
{
  "bug_id": "NNNNN",
  "changes": [ { ... }, { ... }, ... ]
}
```
**WebHook POST BODY**

Should the BODY of the post to a WebHook be a list of all the bug ids the user has set up hooks for which have changes over a given period of time?

```
{
   "bugs": [ "bug_id", "bug_id", ... ]
}
```

The user would then fetch the bug and pick up the changes. 

Or should it be a list of URLs, for a single use capability, which when sent an authenticated request, as the user who set the WebHook, will return the changes to the bug.

```
{
  "changes": [ "URL", "URL", ... ]
}
```
```
URL + Auth  =>
{
  "bug_id": "NNNNN",
  "changes": [ { ... }, { ... }, ... ]
}
```

Back to Bug 1588661 Comment 1