OBJECT
Mutation
link GraphQL Schema definition
- type Mutation {
- # Tell the application to index all the supported files in the given directory.
- # 'kind' can be 0 for movies and 1 for series.
- # 'backend' can be 0 for local and 1 for Rclone.
- #
- # Arguments
- # name: [Not documented]
- # filePath: [Not documented]
- # kind: [Not documented]
- # backend: [Not documented]
- # rcloneName: [Not documented]
- (
- String!, :
- String!, :
- Int!, :
- Int!, :
- String :
- ): LibraryResponse!
- # Delete a library and remove all collected metadata.
- #
- # Arguments
- # id: [Not documented]
- Int!): LibraryResponse! ( :
- # Create a invite code so a user can register on the server
- UserInviteResponse! :
- # Create a playstate for the given media item can be the UUID of an episode or
- # movie.
- # Playtime should always be given in seconds.
- #
- # Arguments
- # uuid: [Not documented]
- # finished: [Not documented]
- # playtime: [Not documented]
- String!, : Boolean!, : Float!): PlayStateResponse! ( :
- # Request permission to play a certain file
- #
- # Arguments
- # uuid: [Not documented]
- String!): CreateSTResponse! ( :
- # Delete a user from the database, please note that the user will be able to keep
- # using the account until the JWT expires.
- #
- # Arguments
- # id: [Not documented]
- Int!): UserResponse! ( :
- # Rescans the mediaFile with the given ID (or all, if ID omitted) and updates the
- # stream information in the database.
- #
- # Arguments
- # uuid: [Not documented]
- String): Boolean! ( :
- # Refreshes all external agent information (poster/overviews etc.) for the given
- # library or season/series/episode.
- #
- # Arguments
- # libraryID: [Not documented]
- # uuid: [Not documented]
- Int, : String): Boolean! ( :
- # Rescan all library paths for new files that are not indexed yet.
- Boolean! :
- # Rescan a library based on the given filters.
- # 1. If supply a "ID" it will refresh the entire library
- # 2. If you supply it an "ID" and a "filepath" it will only scan the specific
- # filepath in the given library
- # 3. If you supply just a "filepath" it will loop over all libraries seeing if any
- # of the given libraries match the given path and then scan only that path.
- #
- # Arguments
- # id: [Not documented]
- # filepath: [Not documented]
- Int, : String): Boolean! ( :
- # Tag an unidentified MovieFile
- #
- # Arguments
- # input: [Not documented]
- (
- UpdateMovieFileMetadataInput! :
- ): UpdateMovieFileMetadataPayload!
- # Retag one or multiple EpisodeFiles
- #
- # Arguments
- # input: [Not documented]
- (
- UpdateEpisodeFileMetadataInput! :
- ): UpdateEpisodeFileMetadataPayload!
- }
link Require by
This element is not required by anyone