@HTTPService(name="subsrc") public class ClientService extends java.lang.Object
SubtitlesService
Constructor and Description |
---|
ClientService() |
Modifier and Type | Method and Description |
---|---|
StringResponse |
generateSubtitles(AuthenticationParameter authenticatedUser,
StringParameter guid,
StringParameter fileFormat,
StringParameter subtitleFormat,
LongParameter userIdFilter) |
public ClientService()
@HTTPServiceMethod(name="getSubtitles", acceptedMethods="GET") public StringResponse generateSubtitles(@HTTPAuthenticationParameter(required=false) AuthenticationParameter authenticatedUser, @HTTPMethodParameter(name="uid") StringParameter guid, @HTTPMethodParameter(name="file_format") StringParameter fileFormat, @HTTPMethodParameter(name="subtitle_format") StringParameter subtitleFormat, @HTTPMethodParameter(name="user_id",required=false) LongParameter userIdFilter)
authenticatedUser
- guid
- video GUIDfileFormat
- format of the subtitle filesubtitleFormat
- one of the supported formatting optionsuserIdFilter
- optional user id filter for media objectsSubtitlesCore.SubtitleFormat
,
SubtitlesCore.FileFormat
Copyright © 2015 Tampere University of Technology, Pori Department.