From 67a8f119d8fe4e84e833034c4baec65f2b5ffd7a Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Aug 28 2017 20:46:53 +0000 Subject: fix some type errors in the API docs examples --- diff --git a/waiverdb/api_v1.py b/waiverdb/api_v1.py index 194d4f2..d24b433 100644 --- a/waiverdb/api_v1.py +++ b/waiverdb/api_v1.py @@ -126,8 +126,8 @@ class WaiversResource(Resource): Content-Length: 91 { - "result_id": "1", - "waived": "false", + "result_id": 1, + "waived": false, "product_version": "Parrot", "comment": "It's dead!" } @@ -148,10 +148,10 @@ class WaiversResource(Resource): "comment": "It's dead!", "id": 15, "product_version": "Parrot", - "result_id": "1", + "result_id": 1, "timestamp": "2017-03-16T17:42:04.209638", - "username": "http://jcline.id.fedoraproject.org/", - "waived": "false" + "username": "jcline", + "waived": false } :json int result_id: The result ID for the waiver.