Recommandation Service
The API for the Recommandation Service from ViRe WaDe Project
Version: 1.0.0
BasePath:/StativaCamelia/Vire-Recommendation-Service/1.0.0
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
post /recommandation/input
(recommandationByInput)
get recommandation based on user input
Consumes
This API call consumes the following media types via the request header:
Request body
Request headers
Query parameters
limit (optional)
Query Parameter — The numbers of items to return
Return type
Example data
Content-Type: application/json
[ {
"artist" : "Vinyl artist",
"genre" : "Vinyl genre",
"title" : "Vinyl title"
}, {
"artist" : "Vinyl artist",
"genre" : "Vinyl genre",
"title" : "Vinyl title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of recommandations
Recommandation
Up
get /recommandation/playlist
(recommandationByPlaylist)
get recommandation based on user playlists
Request headers
Query parameters
limit (optional)
Query Parameter — The numbers of items to return
Return type
Example data
Content-Type: application/json
[ {
"artist" : "Vinyl artist",
"genre" : "Vinyl genre",
"title" : "Vinyl title"
}, {
"artist" : "Vinyl artist",
"genre" : "Vinyl genre",
"title" : "Vinyl title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of recommandations
Recommandation
Up
get /recommandation/purchases
(recommandationByPurchase)
get recommandation based on user past purchases
Request headers
Query parameters
limit (optional)
Query Parameter — The numbers of items to return
Return type
Example data
Content-Type: application/json
[ {
"artist" : "Vinyl artist",
"genre" : "Vinyl genre",
"title" : "Vinyl title"
}, {
"artist" : "Vinyl artist",
"genre" : "Vinyl genre",
"title" : "Vinyl title"
} ]
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
List of recommandations
Recommandation
[ Jump to Methods ]
Table of Contents
Recommandation
Recommandation_inner
RecommendationInput
title (optional)
example: Vinyl title
artist (optional)
example: Vinyl artist
genre (optional)
example: Vinyl genre