Closed Bug 1900932 Opened 1 year ago Closed 1 year ago

Create API for adding/removing/listing current bug reminders based on work from bug 1894968

Categories

(bugzilla.mozilla.org :: API, enhancement)

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

Details

Attachments

(1 file)

GET https//bugzilla.mozilla.org/rest/reminders

{
  "reminders": [
    {
      "id": 123,
      "bug_id": 456,
      "note": "This is a reminder note",
      "reminder_ts": "2024-06-08",
      "creation_ts": "2024-06-07",
      "sent": false
    }
  ]
}

GET https//bugzilla.mozilla.org/rest/reminders/123

{
  "id": 123,
  "bug_id": 456,
  "note": "This is a reminder note",
  "reminder_ts": "2024-06-08",
  "creation_ts": "2024-06-07",
  "sent": false
}

POST https//bugzilla.mozilla.org/rest/reminders

{
  "bug_id": 456,
  "note": "This is a reminder note",
  "reminder_ts": "2024-06-08"
}
{      
  "id": 123,
  "bug_id": 456,
  "note": "This is a reminder note",
  "reminder_ts": "2024-06-08",
  "creation_ts": "2024-06-07",
  "sent": false
}

DELETE https//bugzilla.mozilla.org/rest/reminders/123

{
  "success": 1,
}
Summary: Create API for adding/removing/updating current bug reminders based on work from bug 1894968 → Create API for adding/removing/listing current bug reminders based on work from bug 1894968
Depends on: 1894968
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: