Skip to content

Add summaries endpoint #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inv-spec/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ description: |

Beside this documentation, diving into the code is always an option: everything starts in the [router](https://github.com/inventaire/inventaire/blob/master/server/controllers/routes.coffee), and is then delegated to the [controllers](https://github.com/inventaire/inventaire/tree/master/server/controllers).

Then, feel welcome to [improve this documentation](https://github.com/inventaire/swagger-ui/tree/master/inv-spec)!
Then, feel welcome to [improve this documentation](https://github.com/inventaire/inventaire-api/tree/main/inv-spec)!

version: "1.0.0"
16 changes: 16 additions & 0 deletions inv-spec/paths/data/summaries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
get:
summary: An endpoint to get summaries
parameters:
- name: uri
in: query
description: An ISBN
required: true
type: string
x-example: 9782377290888
- name: langs
description: Filter to get only the desired language
required: false
type: string
x-example: fr
tags:
- Data