wrote bru requests for posting data
This commit is contained in:
		
							
								
								
									
										105
									
								
								bruno/AniTrack/Get Items/AniList Item.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										105
									
								
								bruno/AniTrack/Get Items/AniList Item.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,105 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: AniList Item
 | 
				
			||||||
 | 
					  type: graphql
 | 
				
			||||||
 | 
					  seq: 1
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: https://graphql.anilist.co
 | 
				
			||||||
 | 
					  body: graphql
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Content-Type: "application/json"
 | 
				
			||||||
 | 
					  Accept: "application/json"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql {
 | 
				
			||||||
 | 
					  query($userId: Int, $mediaId: Int, $listType: MediaType) {
 | 
				
			||||||
 | 
					  			  MediaList(mediaId: $mediaId, userId: $userId, type: $listType) {
 | 
				
			||||||
 | 
					  				id
 | 
				
			||||||
 | 
					  				mediaId
 | 
				
			||||||
 | 
					  				userId
 | 
				
			||||||
 | 
					  				media {
 | 
				
			||||||
 | 
					  				  id
 | 
				
			||||||
 | 
					  				  idMal
 | 
				
			||||||
 | 
					  				  title {
 | 
				
			||||||
 | 
					  					romaji
 | 
				
			||||||
 | 
					  					english
 | 
				
			||||||
 | 
					  					native
 | 
				
			||||||
 | 
					  				  }
 | 
				
			||||||
 | 
					  				  description
 | 
				
			||||||
 | 
					  				  coverImage {
 | 
				
			||||||
 | 
					  					large
 | 
				
			||||||
 | 
					  				  }
 | 
				
			||||||
 | 
					  				  season
 | 
				
			||||||
 | 
					  				  seasonYear
 | 
				
			||||||
 | 
					  				  status
 | 
				
			||||||
 | 
					  				  episodes
 | 
				
			||||||
 | 
					  				  nextAiringEpisode {
 | 
				
			||||||
 | 
					  					airingAt
 | 
				
			||||||
 | 
					  					timeUntilAiring
 | 
				
			||||||
 | 
					  					episode
 | 
				
			||||||
 | 
					  				  }
 | 
				
			||||||
 | 
					  				}
 | 
				
			||||||
 | 
					  				status
 | 
				
			||||||
 | 
					  				startedAt{
 | 
				
			||||||
 | 
					  				  year
 | 
				
			||||||
 | 
					  				  month
 | 
				
			||||||
 | 
					  				  day
 | 
				
			||||||
 | 
					  				}
 | 
				
			||||||
 | 
					  				completedAt{
 | 
				
			||||||
 | 
					  				  year
 | 
				
			||||||
 | 
					  				  month
 | 
				
			||||||
 | 
					  				  day
 | 
				
			||||||
 | 
					  				}
 | 
				
			||||||
 | 
					  				notes
 | 
				
			||||||
 | 
					  				progress
 | 
				
			||||||
 | 
					  				score
 | 
				
			||||||
 | 
					  				repeat
 | 
				
			||||||
 | 
					  				user {
 | 
				
			||||||
 | 
					  				  id
 | 
				
			||||||
 | 
					  				  name
 | 
				
			||||||
 | 
					  				  avatar {
 | 
				
			||||||
 | 
					  					large
 | 
				
			||||||
 | 
					  					medium
 | 
				
			||||||
 | 
					  				  }
 | 
				
			||||||
 | 
					  				  statistics {
 | 
				
			||||||
 | 
					  					anime {
 | 
				
			||||||
 | 
					  					  count
 | 
				
			||||||
 | 
					  					  statuses {
 | 
				
			||||||
 | 
					  						status
 | 
				
			||||||
 | 
					  						count
 | 
				
			||||||
 | 
					  					  }
 | 
				
			||||||
 | 
					  					}
 | 
				
			||||||
 | 
					  				  }
 | 
				
			||||||
 | 
					  				}
 | 
				
			||||||
 | 
					  			  }
 | 
				
			||||||
 | 
					  			}
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql:vars {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "userId": 413504,
 | 
				
			||||||
 | 
					    "mediaId": 157371,
 | 
				
			||||||
 | 
					    "listType": "ANIME"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					docs {
 | 
				
			||||||
 | 
					  Title
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Image
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Description
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Episodes
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Status
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Season
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  External & Streaming Links
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										103
									
								
								bruno/AniTrack/Get Items/AniList MediaList User Query.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										103
									
								
								bruno/AniTrack/Get Items/AniList MediaList User Query.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,103 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: AniList MediaList User Query
 | 
				
			||||||
 | 
					  type: graphql
 | 
				
			||||||
 | 
					  seq: 4
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: https://graphql.anilist.co
 | 
				
			||||||
 | 
					  body: graphql
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Content-Type: "application/json"
 | 
				
			||||||
 | 
					  Accept: "application/json"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql {
 | 
				
			||||||
 | 
					  # Write your query or mutation here
 | 
				
			||||||
 | 
					  query(
 | 
				
			||||||
 | 
					    $page: Int
 | 
				
			||||||
 | 
					    $perPage: Int
 | 
				
			||||||
 | 
					    $userId: Int
 | 
				
			||||||
 | 
					    $listType: MediaType
 | 
				
			||||||
 | 
					    $status: MediaListStatus
 | 
				
			||||||
 | 
					  ) {
 | 
				
			||||||
 | 
					    Page(page: $page, perPage: $perPage) {
 | 
				
			||||||
 | 
					      pageInfo {
 | 
				
			||||||
 | 
					        total
 | 
				
			||||||
 | 
					        perPage
 | 
				
			||||||
 | 
					        currentPage
 | 
				
			||||||
 | 
					        lastPage
 | 
				
			||||||
 | 
					        hasNextPage
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      mediaList(userId: $userId, type: $listType, status: $status) {
 | 
				
			||||||
 | 
					        id
 | 
				
			||||||
 | 
					        mediaId
 | 
				
			||||||
 | 
					        userId
 | 
				
			||||||
 | 
					        media {
 | 
				
			||||||
 | 
					          id
 | 
				
			||||||
 | 
					          idMal
 | 
				
			||||||
 | 
					          title {
 | 
				
			||||||
 | 
					            romaji
 | 
				
			||||||
 | 
					            english
 | 
				
			||||||
 | 
					            native
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          description
 | 
				
			||||||
 | 
					          coverImage {
 | 
				
			||||||
 | 
					            large
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          season
 | 
				
			||||||
 | 
					          seasonYear
 | 
				
			||||||
 | 
					          episodes
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        status
 | 
				
			||||||
 | 
					        notes
 | 
				
			||||||
 | 
					        progress
 | 
				
			||||||
 | 
					        score
 | 
				
			||||||
 | 
					        repeat
 | 
				
			||||||
 | 
					        user {
 | 
				
			||||||
 | 
					          id
 | 
				
			||||||
 | 
					          statistics {
 | 
				
			||||||
 | 
					            anime {
 | 
				
			||||||
 | 
					              count
 | 
				
			||||||
 | 
					              statuses {
 | 
				
			||||||
 | 
					                status
 | 
				
			||||||
 | 
					                count
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql:vars {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "page": 1,
 | 
				
			||||||
 | 
					    "perPage": 20,
 | 
				
			||||||
 | 
					    "userId": 413504,
 | 
				
			||||||
 | 
					    "listType": "ANIME",
 | 
				
			||||||
 | 
					    "status": "CURRENT"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					docs {
 | 
				
			||||||
 | 
					  Title
 | 
				
			||||||
 | 
					  Image
 | 
				
			||||||
 | 
					  Description
 | 
				
			||||||
 | 
					  Episodes
 | 
				
			||||||
 | 
					  Status
 | 
				
			||||||
 | 
					  Season
 | 
				
			||||||
 | 
					  External & Streaming Links
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  User Stuff Per Item
 | 
				
			||||||
 | 
					  Status
 | 
				
			||||||
 | 
					  Score
 | 
				
			||||||
 | 
					  Episode Progress
 | 
				
			||||||
 | 
					  Total Rewatches
 | 
				
			||||||
 | 
					  Notes
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										75
									
								
								bruno/AniTrack/Get Items/AniList Search.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										75
									
								
								bruno/AniTrack/Get Items/AniList Search.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,75 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: AniList Search
 | 
				
			||||||
 | 
					  type: graphql
 | 
				
			||||||
 | 
					  seq: 2
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: https://graphql.anilist.co
 | 
				
			||||||
 | 
					  body: graphql
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Content-Type: "application/json"
 | 
				
			||||||
 | 
					  Accept: "application/json"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql {
 | 
				
			||||||
 | 
					  query ($search: String!, $listType: MediaType) {
 | 
				
			||||||
 | 
					  				 Page (page: 1, perPage: 100) {
 | 
				
			||||||
 | 
					  					pageInfo {
 | 
				
			||||||
 | 
					  					  total
 | 
				
			||||||
 | 
					  					  currentPage
 | 
				
			||||||
 | 
					  					  lastPage
 | 
				
			||||||
 | 
					  					  hasNextPage
 | 
				
			||||||
 | 
					  					  perPage
 | 
				
			||||||
 | 
					  					}
 | 
				
			||||||
 | 
					  					media (search: $search, type: $listType) {
 | 
				
			||||||
 | 
					  						id						
 | 
				
			||||||
 | 
					  						idMal
 | 
				
			||||||
 | 
					  						title {
 | 
				
			||||||
 | 
					  						  romaji
 | 
				
			||||||
 | 
					  						  english
 | 
				
			||||||
 | 
					  						  native
 | 
				
			||||||
 | 
					  						}
 | 
				
			||||||
 | 
					  						description
 | 
				
			||||||
 | 
					  						coverImage {
 | 
				
			||||||
 | 
					  						  large
 | 
				
			||||||
 | 
					  						}
 | 
				
			||||||
 | 
					  						season
 | 
				
			||||||
 | 
					  						seasonYear
 | 
				
			||||||
 | 
					  						status
 | 
				
			||||||
 | 
					  						episodes
 | 
				
			||||||
 | 
					  						nextAiringEpisode{
 | 
				
			||||||
 | 
					  						  airingAt
 | 
				
			||||||
 | 
					  						  timeUntilAiring
 | 
				
			||||||
 | 
					  						  episode
 | 
				
			||||||
 | 
					  						}
 | 
				
			||||||
 | 
					  					}
 | 
				
			||||||
 | 
					  				}
 | 
				
			||||||
 | 
					  			}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql:vars {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "search": "frieren",
 | 
				
			||||||
 | 
					    "listType": "ANIME"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					docs {
 | 
				
			||||||
 | 
					  Title
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Image
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Description
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Episodes
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Status
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Season
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  External & Streaming Links
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										125
									
								
								bruno/AniTrack/Get Items/GetAniListUserWatchingList.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								bruno/AniTrack/Get Items/GetAniListUserWatchingList.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,125 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: GetAniListUserWatchingList
 | 
				
			||||||
 | 
					  type: graphql
 | 
				
			||||||
 | 
					  seq: 3
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: https://graphql.anilist.co
 | 
				
			||||||
 | 
					  body: graphql
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Content-Type: "application/json"
 | 
				
			||||||
 | 
					  Accept: "application/json"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql {
 | 
				
			||||||
 | 
					  # Write your query or mutation here
 | 
				
			||||||
 | 
					  query (
 | 
				
			||||||
 | 
					    $page: Int
 | 
				
			||||||
 | 
					    $perPage: Int
 | 
				
			||||||
 | 
					    $userId: Int
 | 
				
			||||||
 | 
					    $listType: MediaType
 | 
				
			||||||
 | 
					    $status: MediaListStatus
 | 
				
			||||||
 | 
					    $sort: [MediaListSort]
 | 
				
			||||||
 | 
					  ) {
 | 
				
			||||||
 | 
					    Page(page: $page, perPage: $perPage) {
 | 
				
			||||||
 | 
					      pageInfo {
 | 
				
			||||||
 | 
					        total
 | 
				
			||||||
 | 
					        perPage
 | 
				
			||||||
 | 
					        currentPage
 | 
				
			||||||
 | 
					        lastPage
 | 
				
			||||||
 | 
					        hasNextPage
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      mediaList(userId: $userId, type: $listType, status: $status, sort: $sort) {
 | 
				
			||||||
 | 
					        id
 | 
				
			||||||
 | 
					        mediaId
 | 
				
			||||||
 | 
					        userId
 | 
				
			||||||
 | 
					        media {
 | 
				
			||||||
 | 
					          id
 | 
				
			||||||
 | 
					          idMal
 | 
				
			||||||
 | 
					          title {
 | 
				
			||||||
 | 
					            romaji
 | 
				
			||||||
 | 
					            english
 | 
				
			||||||
 | 
					            native
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          description
 | 
				
			||||||
 | 
					          coverImage {
 | 
				
			||||||
 | 
					            large
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          season
 | 
				
			||||||
 | 
					          seasonYear
 | 
				
			||||||
 | 
					          status
 | 
				
			||||||
 | 
					          episodes
 | 
				
			||||||
 | 
					          nextAiringEpisode {
 | 
				
			||||||
 | 
					            airingAt
 | 
				
			||||||
 | 
					            timeUntilAiring
 | 
				
			||||||
 | 
					            episode
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        status
 | 
				
			||||||
 | 
					        startedAt {
 | 
				
			||||||
 | 
					          year
 | 
				
			||||||
 | 
					          month
 | 
				
			||||||
 | 
					          day
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        completedAt {
 | 
				
			||||||
 | 
					          year
 | 
				
			||||||
 | 
					          month
 | 
				
			||||||
 | 
					          day
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        notes
 | 
				
			||||||
 | 
					        progress
 | 
				
			||||||
 | 
					        score
 | 
				
			||||||
 | 
					        repeat
 | 
				
			||||||
 | 
					        user {
 | 
				
			||||||
 | 
					          id
 | 
				
			||||||
 | 
					          name
 | 
				
			||||||
 | 
					          avatar {
 | 
				
			||||||
 | 
					            large
 | 
				
			||||||
 | 
					            medium
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					          statistics {
 | 
				
			||||||
 | 
					            anime {
 | 
				
			||||||
 | 
					              count
 | 
				
			||||||
 | 
					              statuses {
 | 
				
			||||||
 | 
					                status
 | 
				
			||||||
 | 
					                count
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql:vars {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "page": 1,
 | 
				
			||||||
 | 
					    "perPage": 20,
 | 
				
			||||||
 | 
					    "userId": 413504,
 | 
				
			||||||
 | 
					    "listType": "ANIME",
 | 
				
			||||||
 | 
					    "status": "CURRENT",
 | 
				
			||||||
 | 
					    "sort": "UPDATED_TIME_DESC"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					docs {
 | 
				
			||||||
 | 
					  Title
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Image
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Description
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Episodes
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Status
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  Season
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  External & Streaming Links
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										48
									
								
								bruno/AniTrack/Set Items/AniList Change Episode Watched.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								bruno/AniTrack/Set Items/AniList Change Episode Watched.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,48 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: AniList Change Episode Watched
 | 
				
			||||||
 | 
					  type: graphql
 | 
				
			||||||
 | 
					  seq: 1
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: https://graphql.anilist.co
 | 
				
			||||||
 | 
					  body: graphql
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Authorization: Bearer {{process.env.ANILIST_ACCESS_TOKEN}}
 | 
				
			||||||
 | 
					  Content-Type: "application/json"
 | 
				
			||||||
 | 
					  Accept: "application/json"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql {
 | 
				
			||||||
 | 
					  mutation($mediaId:Int, $progress:Int, $status:MediaListStatus){
 | 
				
			||||||
 | 
					    SaveMediaListEntry(mediaId:$mediaId, progress:$progress, status:$status){   
 | 
				
			||||||
 | 
					      mediaId
 | 
				
			||||||
 | 
					      progress
 | 
				
			||||||
 | 
					      status
 | 
				
			||||||
 | 
					      score
 | 
				
			||||||
 | 
					      repeat
 | 
				
			||||||
 | 
					      notes
 | 
				
			||||||
 | 
					      startedAt{
 | 
				
			||||||
 | 
					        year
 | 
				
			||||||
 | 
					        month
 | 
				
			||||||
 | 
					        day
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      completedAt{
 | 
				
			||||||
 | 
					        year
 | 
				
			||||||
 | 
					        month
 | 
				
			||||||
 | 
					        day
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql:vars {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "mediaId": 1,
 | 
				
			||||||
 | 
					    "progress": 26,
 | 
				
			||||||
 | 
					    "status":"COMPLETED"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										33
									
								
								bruno/AniTrack/Set Items/AniList Change Status.bru
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								bruno/AniTrack/Set Items/AniList Change Status.bru
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
				
			|||||||
 | 
					meta {
 | 
				
			||||||
 | 
					  name: AniList Change Status
 | 
				
			||||||
 | 
					  type: graphql
 | 
				
			||||||
 | 
					  seq: 2
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					post {
 | 
				
			||||||
 | 
					  url: https://graphql.anilist.co
 | 
				
			||||||
 | 
					  body: graphql
 | 
				
			||||||
 | 
					  auth: none
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					headers {
 | 
				
			||||||
 | 
					  Authorization: Bearer {{process.env.ANILIST_ACCESS_TOKEN}}
 | 
				
			||||||
 | 
					  Content-Type: "application/json"
 | 
				
			||||||
 | 
					  Accept: "application/json"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql {
 | 
				
			||||||
 | 
					  mutation($mediaId:Int, $status:MediaListStatus){
 | 
				
			||||||
 | 
					    SaveMediaListEntry(mediaId:$mediaId, status:$status){
 | 
				
			||||||
 | 
					      id
 | 
				
			||||||
 | 
					      status
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					body:graphql:vars {
 | 
				
			||||||
 | 
					  {
 | 
				
			||||||
 | 
					    "mediaId": 1,
 | 
				
			||||||
 | 
					    "status": "CURRENT"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										0
									
								
								frontend/src/ChangeDataDialogue.svelte
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								frontend/src/ChangeDataDialogue.svelte
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								frontend/src/Header.svelte
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								frontend/src/Header.svelte
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user