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 132-136 Link Here
132
        }
132
        }
133
      }
133
      }
134
    }
134
    }
135
  },
136
  "/public/biblios/{biblio_id}": {
137
    "get": {
138
      "x-mojo-to": "Biblios#get_public",
139
      "operationId": "getBiblioPublic",
140
      "tags": [
141
        "biblios"
142
      ],
143
      "parameters": [
144
        {
145
          "$ref": "../parameters.json#/biblio_id_pp"
146
        }
147
      ],
148
      "produces": [
149
        "application/marcxml+xml",
150
        "application/marc-in-json",
151
        "application/marc",
152
        "text/plain"
153
      ],
154
      "responses": {
155
        "200": {
156
          "description": "A biblio"
157
        },
158
        "401": {
159
          "description": "Authentication required",
160
          "schema": {
161
            "$ref": "../definitions.json#/error"
162
          }
163
        },
164
        "403": {
165
          "description": "Access forbidden",
166
          "schema": {
167
            "$ref": "../definitions.json#/error"
168
          }
169
        },
170
        "404": {
171
          "description": "Biblio not found",
172
          "schema": {
173
            "$ref": "../definitions.json#/error"
174
          }
175
        },
176
        "406": {
177
          "description": "Not acceptable",
178
          "schema": {
179
            "type": "array",
180
            "description": "Accepted content-types",
181
            "items": {
182
                "type": "string"
183
            }
184
          }
185
        },
186
        "500": {
187
          "description": "Internal server error",
188
          "schema": {
189
            "$ref": "../definitions.json#/error"
190
          }
191
        },
192
        "503": {
193
          "description": "Under maintenance",
194
          "schema": {
195
            "$ref": "../definitions.json#/error"
196
          }
197
        }
198
      }
199
    }
135
  }
200
  }
136
}
201
}
137
- 

Return to bug 24909