Bug 21786: Add library_id to the spec definitions
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Nov 2018 19:35:31 +0000 (16:35 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 8 Jan 2019 15:50:47 +0000 (15:50 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

api/v1/swagger/definitions/account_line.json
api/v1/swagger/definitions/patron_account_credit.json

index ba1c717..0d84cb2 100644 (file)
     "user_id": {
       "type": "integer",
       "description": "Internal patron identifier for the staff member that introduced the account line"
+    },
+    "library_id": {
+      "type": "string",
+      "description": "Internal identifier for the library in which the transaction took place"
     }
   }
 }
index ddb71e3..be33366 100644 (file)
       "minimum": 0,
       "description": "Credit amount"
     },
+    "library_id": {
+      "type": "string",
+      "description": "Internal identifier for the library in which the transaction took place"
+    },
     "account_lines_ids": {
         "type": "array",
         "items": {