From 24a4d4e0d69a2371dd27fb9a9f2056d36dce45a3 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Thu, 25 Jul 2024 09:12:38 -0400 Subject: [PATCH] created requests to change data anilist --- bruno/AniTrack/AniList Item.bru | 58 ---------- .../AniTrack/AniList MediaList User Query.bru | 103 ------------------ bruno/AniTrack/AniList MediaList User.bru | 28 ----- bruno/AniTrack/GetAuthorizationToken.bru | 2 +- bruno/AniTrack/Load AniList Oauth Page.bru | 2 +- 5 files changed, 2 insertions(+), 191 deletions(-) delete mode 100644 bruno/AniTrack/AniList Item.bru delete mode 100644 bruno/AniTrack/AniList MediaList User Query.bru delete mode 100644 bruno/AniTrack/AniList MediaList User.bru diff --git a/bruno/AniTrack/AniList Item.bru b/bruno/AniTrack/AniList Item.bru deleted file mode 100644 index b199c71..0000000 --- a/bruno/AniTrack/AniList Item.bru +++ /dev/null @@ -1,58 +0,0 @@ -meta { - name: AniList Item - 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 ($id: Int, $listType: MediaType) { - Media(id: $id, type: $listType) { - id - idMal - title { - romaji - english - native - } - description - coverImage { - large - } - } - } - -} - -body:graphql:vars { - { - "id": 157371, - "listType": "ANIME" - } -} - -docs { - Title - - Image - - Description - - Episodes - - Status - - Season - - External & Streaming Links -} diff --git a/bruno/AniTrack/AniList MediaList User Query.bru b/bruno/AniTrack/AniList MediaList User Query.bru deleted file mode 100644 index 783cd53..0000000 --- a/bruno/AniTrack/AniList MediaList User Query.bru +++ /dev/null @@ -1,103 +0,0 @@ -meta { - name: AniList MediaList User Query - type: graphql - seq: 6 -} - -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 -} diff --git a/bruno/AniTrack/AniList MediaList User.bru b/bruno/AniTrack/AniList MediaList User.bru deleted file mode 100644 index 29c028d..0000000 --- a/bruno/AniTrack/AniList MediaList User.bru +++ /dev/null @@ -1,28 +0,0 @@ -meta { - name: AniList MediaList User - type: http - seq: 5 -} - -post { - url: https://graphql.anilist.co - body: none - auth: none -} - -docs { - Title - Image - Description - Episodes - Status - Season - External & Streaming Links - - User Stuff Per Item - Status - Score - Episode Progress - Total Rewatches - Notes -} diff --git a/bruno/AniTrack/GetAuthorizationToken.bru b/bruno/AniTrack/GetAuthorizationToken.bru index 2d0d718..1697474 100644 --- a/bruno/AniTrack/GetAuthorizationToken.bru +++ b/bruno/AniTrack/GetAuthorizationToken.bru @@ -1,7 +1,7 @@ meta { name: GetAuthorizationToken type: http - seq: 4 + seq: 2 } post { diff --git a/bruno/AniTrack/Load AniList Oauth Page.bru b/bruno/AniTrack/Load AniList Oauth Page.bru index 49f10c7..b857146 100644 --- a/bruno/AniTrack/Load AniList Oauth Page.bru +++ b/bruno/AniTrack/Load AniList Oauth Page.bru @@ -1,7 +1,7 @@ meta { name: Load AniList Oauth Page type: http - seq: 3 + seq: 1 } get {