Koha/api/v1/swagger/x-primitives.json
Tomas Cohen Arazi 217d0df517 Bug 17428: [REST] Cities swagger specification
This patch adds the swagger definitions for the /cities endpoint

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-10-28 14:42:48 +00:00

45 lines
1.1 KiB
JSON

{
"biblionumber": {
"type": "string",
"description": "internally assigned biblio identifier"
},
"borrowernumber": {
"type": "string",
"description": "internally assigned user identifier"
},
"branchcode": {
"type": ["string", "null"],
"description": "code of patron's home branch"
},
"cardnumber": {
"type": ["string", "null"],
"description": "library assigned user identifier"
},
"cityid": {
"type": "string",
"description": "internally assigned city identifier"
},
"email": {
"type": ["string", "null"],
"description": "primary email address for patron's primary address"
},
"firstname": {
"type": ["string", "null"],
"description": "patron's first name"
},
"itemnumber": {
"type": ["string", "null"],
"description": "internally assigned item identifier"
},
"phone": {
"type": ["string", "null"],
"description": "primary phone number for patron's primary address"
},
"reserve_id": {
"description": "Internal hold identifier"
},
"surname": {
"type": "string",
"description": "patron's last name"
}
}