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

(-)a/api/v1/swagger/paths.json (+3 lines)
Lines 95-100 Link Here
95
  "/rotas/{rota_id}/stages/{stage_id}/position": {
95
  "/rotas/{rota_id}/stages/{stage_id}/position": {
96
    "$ref": "paths/rotas.json#/~1rotas~1{rota_id}~1stages~1{stage_id}~1position"
96
    "$ref": "paths/rotas.json#/~1rotas~1{rota_id}~1stages~1{stage_id}~1position"
97
  },
97
  },
98
  "/public/biblios/{biblio_id}": {
99
    "$ref": "paths/biblios.json#/~1public~1biblios~1{biblio_id}"
100
  },
98
  "/public/patrons/{patron_id}/password": {
101
  "/public/patrons/{patron_id}/password": {
99
    "$ref": "paths/public_patrons.json#/~1public~1patrons~1{patron_id}~1password"
102
    "$ref": "paths/public_patrons.json#/~1public~1patrons~1{patron_id}~1password"
100
  },
103
  },
(-)a/api/v1/swagger/paths/biblios.json (-1 / +65 lines)
Lines 133-137 Link Here
133
        }
133
        }
134
      }
134
      }
135
    }
135
    }
136
  },
137
  "/public/biblios/{biblio_id}": {
138
    "get": {
139
      "x-mojo-to": "Biblios#get_public",
140
      "operationId": "getBiblioPublic",
141
      "tags": [
142
        "biblios"
143
      ],
144
      "parameters": [
145
        {
146
          "$ref": "../parameters.json#/biblio_id_pp"
147
        }
148
      ],
149
      "produces": [
150
        "application/marcxml+xml",
151
        "application/marc-in-json",
152
        "application/marc",
153
        "text/plain"
154
      ],
155
      "responses": {
156
        "200": {
157
          "description": "A biblio"
158
        },
159
        "401": {
160
          "description": "Authentication required",
161
          "schema": {
162
            "$ref": "../definitions.json#/error"
163
          }
164
        },
165
        "403": {
166
          "description": "Access forbidden",
167
          "schema": {
168
            "$ref": "../definitions.json#/error"
169
          }
170
        },
171
        "404": {
172
          "description": "Biblio not found",
173
          "schema": {
174
            "$ref": "../definitions.json#/error"
175
          }
176
        },
177
        "406": {
178
          "description": "Not acceptable",
179
          "schema": {
180
            "type": "array",
181
            "description": "Accepted content-types",
182
            "items": {
183
                "type": "string"
184
            }
185
          }
186
        },
187
        "500": {
188
          "description": "Internal server error",
189
          "schema": {
190
            "$ref": "../definitions.json#/error"
191
          }
192
        },
193
        "503": {
194
          "description": "Under maintenance",
195
          "schema": {
196
            "$ref": "../definitions.json#/error"
197
          }
198
        }
199
      }
200
    }
136
  }
201
  }
137
}
202
}
138
- 

Return to bug 24909