LightNovelService_CreateLightNovel
LightNovelService_CreateLightNovel
Request Body required
lightNovel object required
- name string required
The id of the light novel.
- coverImage string
The cover image of the light novel.
- bannerImage string
The banner image of the light novel.
title object[]
The title of the light novel localized in multiple languages.
- text string
Localized string in the language corresponding to `language_code' below.
- languageCode string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
synopsis object[]
The synopsis of the light novel localized in multiple languages.
- text string
Localized string in the language corresponding to `language_code' below.
- languageCode string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
description object[]
The description of the light novel localized in multiple languages.
- text string
Localized string in the language corresponding to `language_code' below.
- languageCode string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
- type enum
Possible values: [
TYPE_UNSPECIFIED
]The type of light novel.
- releaseDate date
The original release date of light novel.
- publishingType enum
Possible values: [
PUBLISHING_TYPE_UNSPECIFIED
,SELF
,CORPORATE
]The original publishing type of this content. TODO: migrate this field to a more structured licensing history.
- state enum
Possible values: [
STATE_UNSPECIFIED
,ONGOING
,COMPLETED
,SCHEDULED
,INTERRUPTED
,CANCELED
,SUSPENDED
,WORK_IN_PROGRESS
]The current state of the light novel.
- original boolean
Whether this content is an original work or a derivative work (parody).
- idempotentResourceId int64
An idempotent identifier to be used as static resource id.
- 200
- default
OK
Schema
- name string required
The id of the light novel.
- coverImage string
The cover image of the light novel.
- bannerImage string
The banner image of the light novel.
title object[]
The title of the light novel localized in multiple languages.
- text string
Localized string in the language corresponding to `language_code' below.
- languageCode string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
synopsis object[]
The synopsis of the light novel localized in multiple languages.
- text string
Localized string in the language corresponding to `language_code' below.
- languageCode string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
description object[]
The description of the light novel localized in multiple languages.
- text string
Localized string in the language corresponding to `language_code' below.
- languageCode string
The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
- type enum
Possible values: [
TYPE_UNSPECIFIED
]The type of light novel.
- releaseDate date
The original release date of light novel.
- publishingType enum
Possible values: [
PUBLISHING_TYPE_UNSPECIFIED
,SELF
,CORPORATE
]The original publishing type of this content. TODO: migrate this field to a more structured licensing history.
- state enum
Possible values: [
STATE_UNSPECIFIED
,ONGOING
,COMPLETED
,SCHEDULED
,INTERRUPTED
,CANCELED
,SUSPENDED
,WORK_IN_PROGRESS
]The current state of the light novel.
- original boolean
Whether this content is an original work or a derivative work (parody).
Default error response
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
- @type string
The type of the serialized message.