TrackerService_CreateTracker
TrackerService_CreateTracker
Path Parameters
- user string required
The user id.
Request Body required
- parent string required
The parent this tracker belongs to.
tracker object required
A tracker tracks the progress of one or more users related to releasable resources such as animes, graphic novels, light novels, and visual novels. It is important to notice that users cannot
watch
an anime from a technical perspective but rather they can watch one of its releases such as its pysical DVD copy or its broadcast on Funimation. Nevertheless, for a better user experience a releasable content is considered completed whenever a user watched, played, or read all of its "regular" episodes, chapters, or releases. This means that "recaps" and "specials" are ultimately ignored. Animes and novels are easier to track as they have a countable and defined amount of resources that can be consumed (episodes and chapters). Their progress is therefore automatically updated whenever a new user activity is generated. Visual novels and video games in general do not always have a clear progress and therefore must be updated manually by the user. A tracker accounts only for the overall progress on a releasable content, this means that it won't provide any information about rewatches. Additionally, trackers can be shared among multiple users thorough audiences, this is useful whenever a user is, for example, watching an anime together with a group of friends and wants to keep track of the progress separately from his/her own personal progress or from the progress on the same resource with another group of friends (i.e. audience). The progress of audience trackers affects the personal progress, that is whenever new resources are consumed by an audience the personal tracker of each member belonging to that audience will be updated automatically as well. This behavior makes sense as a group of people watching the Episode N of the Anime XYZ also means that each member of the group also watched the episode and therefore their collective personal progress changed.- name string required
The id of the tracker.
- resource string required
The content whose progress is being tracked.
- startTime date-time
When the progress started.
- endTime date-time
When the progress ended.
- completedResources string[]
The list of completed sub-resources (e.g episodes or chapters).
progressPercentage object
Wrapper message for
float
. The JSON representation forFloatValue
is JSON number.- value float
The float value.
- state enum
Possible values: [
STATE_UNSPECIFIED
,IN_PROGRESS
,COMPLETED
,ON_HOLD
]The progress state of the tracker.
- 200
- default
OK
Schema
- name string required
The id of the tracker.
- resource string required
The content whose progress is being tracked.
- startTime date-time
When the progress started.
- endTime date-time
When the progress ended.
- completedResources string[]
The list of completed sub-resources (e.g episodes or chapters).
progressPercentage object
Wrapper message for
float
. The JSON representation forFloatValue
is JSON number.- value float
The float value.
- state enum
Possible values: [
STATE_UNSPECIFIED
,IN_PROGRESS
,COMPLETED
,ON_HOLD
]The progress state of the tracker.
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.