View | Details | Raw Unified | Return to bug 27855
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/patron.json (+7 lines)
Lines 281-286 Link Here
281
      "type": "boolean",
281
      "type": "boolean",
282
      "readOnly": true,
282
      "readOnly": true,
283
      "description": "If the patron has been anonymized"
283
      "description": "If the patron has been anonymized"
284
    },
285
    "extended_attributes": {
286
      "type": "array",
287
      "description": "patron's extended attributes",
288
      "items": {
289
        "$ref": "extended_attribute.json"
290
      }
284
    }
291
    }
285
  },
292
  },
286
  "additionalProperties": false,
293
  "additionalProperties": false,
(-)a/api/v1/swagger/paths/patrons.json (-3 / +8 lines)
Lines 451-457 Link Here
451
        "permissions": {
451
        "permissions": {
452
          "borrowers": "1"
452
          "borrowers": "1"
453
        }
453
        }
454
      }
454
      },
455
      "x-koha-embed": [
456
        "extended_attributes"
457
      ]
455
    },
458
    },
456
    "post": {
459
    "post": {
457
      "x-mojo-to": "Patrons#add",
460
      "x-mojo-to": "Patrons#add",
Lines 580-586 Link Here
580
        "permissions": {
583
        "permissions": {
581
          "borrowers": "edit_borrowers"
584
          "borrowers": "edit_borrowers"
582
        }
585
        }
583
      }
586
      },
587
      "x-koha-embed": [
588
        "extended_attributes"
589
      ]
584
    },
590
    },
585
    "put": {
591
    "put": {
586
      "x-mojo-to": "Patrons#update",
592
      "x-mojo-to": "Patrons#update",
587
- 

Return to bug 27855