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

(-)a/api/v1/swagger/definitions/basket.yaml (-1 / +6 lines)
Lines 84-87 properties: Link Here
84
      - null
84
      - null
85
    description: "When items should be created for orders in this basket (Options:
85
    description: "When items should be created for orders in this basket (Options:
86
      'ordering', 'receiving', 'cataloguing'. Null means system wide config)"
86
      'ordering', 'receiving', 'cataloguing'. Null means system wide config)"
87
additionalProperties: false
87
  late_since_days:
88
    type:
89
      - integer
90
      - "null"
91
    description: The number of days the basket is late (x-koha-embed)
92
additionalProperties: false
(-)a/api/v1/swagger/paths/acquisitions_baskets.yaml (+10 lines)
Lines 14-19 Link Here
14
      - $ref: "../swagger.yaml#/parameters/per_page"
14
      - $ref: "../swagger.yaml#/parameters/per_page"
15
      - $ref: "../swagger.yaml#/parameters/q_param"
15
      - $ref: "../swagger.yaml#/parameters/q_param"
16
      - $ref: "../swagger.yaml#/parameters/q_body"
16
      - $ref: "../swagger.yaml#/parameters/q_body"
17
      - name: x-koha-embed
18
        in: header
19
        required: false
20
        description: Embed list sent as a request header
21
        type: array
22
        items:
23
          type: string
24
          enum:
25
            - late_since_days
26
        collectionFormat: csv
17
    produces:
27
    produces:
18
      - application/json
28
      - application/json
19
    responses:
29
    responses:
(-)a/api/v1/swagger/paths/acquisitions_orders.yaml (-1 / +2 lines)
Lines 53-58 Link Here
53
            - basket
53
            - basket
54
            - basket.basket_group
54
            - basket.basket_group
55
            - basket.creator
55
            - basket.creator
56
            - basket.late_since_days
56
            - biblio
57
            - biblio
57
            - biblio.uncancelled_orders+count
58
            - biblio.uncancelled_orders+count
58
            - biblio.holds+count
59
            - biblio.holds+count
Lines 180-185 Link Here
180
            - basket
181
            - basket
181
            - basket.basket_group
182
            - basket.basket_group
182
            - basket.creator
183
            - basket.creator
184
            - basket.late_since_days
183
            - biblio
185
            - biblio
184
            - biblio.uncancelled_orders+count
186
            - biblio.uncancelled_orders+count
185
            - biblio.holds+count
187
            - biblio.holds+count
186
- 

Return to bug 39816