Skip to content
This repository was archived by the owner on Jul 2, 2025. It is now read-only.

Add summaries endpoint #7

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