API

Please obtain API token from your developer portal first. *Currently API token is issued for selected developers only.

End Point


https://api.eronovels.com/api/{version-number}/


GET: /content/{id}

Request

x-token header Your API token
id parameter ID of content that you want to fetch.

Response

Sample Code


GET: /content/list/

Sample Code


PUT: /content/{id}

Sample Code


DELETE: /content/{id}

Sample Code


Model

Video Object

Name Type Description
file string location of the file
name string name of the video object
length string length of the video in time format. ISO8601 format.

Text Object

Name Type Description
name string name of the video object
length string length of the voice in time format. ISO8601 format.
start string the point where the voice should be played.
content string the text content.
order int order of the voice.
voice Voice the voice object
background BackgroundSound the background sound object

Voice Object

Name Type Description
file string location of the file
name string name of the video object
length string length of the voice in time format. ISO8601 format.
start string the point where the voice should be played.
order int order of the voice.

Response Code

200 OK the request was successful (some API calls may return 201 instead).
201 Created the request was successful and a resource was created.
204 No Content the request was successful but there is no representation to return (i.e. the response is empty).
400 Bad Request the request could not be understood or was missing required parameters.
401 Unauthorized authentication failed or user doesn't have permissions for requested operation.
403 Forbidden access denied.
404 Not Found resource was not found.
405 Method Not Allowed requested method is not supported for resource.