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

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

Return to bug 29810