-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from spotify/preserve-uri-order-37
Fix for issue 37: preserve URI order
- Loading branch information
Showing
8 changed files
with
122 additions
and
27 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
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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#%RAML 0.8 | ||
title: Example API - Preserve URI Param order | ||
version: v1 | ||
protocols: [ HTTPS ] | ||
baseUri: https://{subHostName}.{bucketName}.example.com/{version}/{lang} | ||
baseUriParameters: | ||
subHostName: | ||
description: The name of the sub domain host | ||
bucketName: | ||
description: The name of the bucket | ||
uriParameters: | ||
lang: | ||
description: Language desired | ||
mediaType: application/json | ||
/users/{user_id}/playlists: | ||
uriParameters: | ||
user_id: | ||
displayName: User ID | ||
type: string | ||
description: The user's Spotify user ID. | ||
example: smedjan | ||
displayName: playlists | ||
get: | ||
description: Get a List of a User's Playlists | ||
/{playlist_id}: | ||
get: | ||
description: Get a Playlist's Details | ||
uriParameters: | ||
playlist_id: | ||
displayName: Playlist Id | ||
type: string | ||
description: ID of playlist | ||
example: 123456 |
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