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

(-)a/api/v1/swagger/paths/acquisitions_orders.yaml (-1 / +44 lines)
Lines 43-48 Link Here
43
      - $ref: "../swagger.yaml#/parameters/q_body"
43
      - $ref: "../swagger.yaml#/parameters/q_body"
44
      - $ref: "../swagger.yaml#/parameters/q_header"
44
      - $ref: "../swagger.yaml#/parameters/q_header"
45
      - $ref: "../swagger.yaml#/parameters/request_id_header"
45
      - $ref: "../swagger.yaml#/parameters/request_id_header"
46
      - name: x-koha-embed
47
        in: header
48
        required: false
49
        description: Embed list sent as a request header
50
        type: array
51
        items:
52
          type: string
53
          enum:
54
            - basket
55
            - basket.basket_group
56
            - basket.creator
57
            - biblio
58
            - biblio.active_orders+count
59
            - biblio.holds+count
60
            - biblio.items+count
61
            - biblio.suggestions.suggester
62
            - fund
63
            - current_item_level_holds+count
64
            - invoice
65
            - items
66
            - subscription
67
        collectionFormat: csv
46
    responses:
68
    responses:
47
      "200":
69
      "200":
48
        description: A list of orders
70
        description: A list of orders
Lines 151-156 Link Here
151
    summary: Get order
173
    summary: Get order
152
    parameters:
174
    parameters:
153
      - $ref: "../swagger.yaml#/parameters/order_id_pp"
175
      - $ref: "../swagger.yaml#/parameters/order_id_pp"
176
      - name: x-koha-embed
177
        in: header
178
        required: false
179
        description: Embed list sent as a request header
180
        type: array
181
        items:
182
          type: string
183
          enum:
184
            - basket
185
            - basket.basket_group
186
            - basket.creator
187
            - biblio
188
            - biblio.active_orders+count
189
            - biblio.holds+count
190
            - biblio.items+count
191
            - biblio.suggestions.suggester
192
            - fund
193
            - current_item_level_holds+count
194
            - invoice
195
            - items
196
            - subscription
197
        collectionFormat: csv
154
    produces:
198
    produces:
155
      - application/json
199
      - application/json
156
    responses:
200
    responses:
157
- 

Return to bug 29810