-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[update] updated documentation for all amenity methods
- Loading branch information
1 parent
3c43514
commit 83a9633
Showing
3 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
gets all amenities of a place | ||
gets amenity by ID | ||
--- | ||
tags: | ||
- Amenities | ||
parameters: | ||
- name: place_id | ||
- name: amenity_id | ||
in: path | ||
type: string | ||
required: true | ||
description: The id of the place to look at | ||
description: The id of the amenity | ||
responses: | ||
404: | ||
description: place id is not linked to any place. | ||
description: amenity not found. | ||
200: | ||
description: request executed successfully |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
This is the language awesomeness API | ||
Call this api passing a language name and get back its features | ||
Updates an amenity | ||
--- | ||
tags: | ||
- Amenities | ||
parameters: | ||
- name: amenity_id | ||
in: path | ||
type: string | ||
required: false | ||
required: true | ||
description: The id of the amenity | ||
- name: update_request | ||
in: body | ||
required: true | ||
responses: | ||
404: | ||
description: resource not found! | ||
400: | ||
description: Not a JSON | ||
200: | ||
description: request executed successfully |