{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"1be36b68-07ee-4d97-938d-bc17e24f5341","name":"MangaJap API Docs","description":"MangaJap is a modern platform that helps you track the anime you're watching and the manga you're reading.  \nWith the MangaJap API you can do everything the client can do and much more.  \nBase API path: `{{baseUrl}}`\n\n# JSON:API\n\nJSON:API is a specification for how a client should request that resources be fetched or modified, and how a server should respond to those requests.  \nIt is designed to minimize both the number of requests and the amount of data transmitted between clients and servers. This efficiency is achieved without compromising readability, flexibility, or discoverability.\n\n**Note:** This documentation will display parameters with brackets (\\[ and \\]) for readability, but actual URLs will need to be percent-encoded (\\[ and \\]).\n\n## Request Headers\n\nAs per the JSON:API specification, all requests to the API should contain these headers:\n\n> **Accept: application/vnd.api+json**  \n**Content-Type: application/vnd.api+json** \n  \n\n## Filtering and Search\n\nFiltering lets you query data that contains certain matching attributes or relationships. These take the form of `filter[attribute]=value`.\n\nFor example, you can search manga based on the query text:\n\n> /manga?filter\\[query\\]=one \n  \n\n## Pagination\n\nYou can choose how much of a resource to receive by specifying pagination parameters. Pagination is supported via **limit** and **offset**. Resources are paginated in groups of **10 by default**.\n\n> /manga?page\\[limit\\]=5&page\\[offset\\]=0 \n  \n\nThe response will include URLs for the first, next and last page of resources in the links object based on your request.\n\n``` json\n\"links\": {\n    \"first\": \"{{baseUrl}}/manga?page[limit]=5&page[offset]=0\", \n    \"next\": \"{{baseUrl}}/manga?page[limit]=5&page[offset]=5\", \n    \"last\": \"{{baseUrl}}/manga?page[limit]=5&page[offset]=105\"   \n  }\n\n ```\n\n## Sorting\n\nSorting by attributes is also supported. By default, sorts are applied in ascending order. You can request a descending order by prepending **\\-** to the parameter. You can use a comma-delimited list to sort by multiple attributes.\n\n> /anime?sort=-popularity \n  \n\n## Includes\n\nYou can include related resources with **include=\\[relationship\\]**. You can also specify successive relationships using a **.**. A comma-delimited list can be used to request multiple relationships.\n\n> /manga/2?include=genres,staff.people \n  \n\n## Fieldsets\n\nYou can request a resource to only return a specific set of fields in its response. For example, to only receive a manga's titles and creation date:\n\n> /manga?fields\\[manga\\]=titles,createdAt \n  \n\n# Authentication\n\nMangaJap uses Firebase Authentication for authentication. Authentication is not required for most public-facing `GET` endpoints.\n\nIt is advised to use an Firebase Authentication client for the language you're using, however it is not required.\n\n## Environment\n\nThis Collection includes a pre-configured Environment. You will need to set up the following variables in order to run each request (depending on the authentication type used by the request you are sending):\n\n| Name | Description |\n| --- | --- |\n| `email` | Your email |\n| `password` | Your password |\n\n## Obtaining an Access Token\n\nSend a `POST` request to `https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key={{firebaseApiKey}}` with the following body:\n\n``` json\n{\n    \"email\": \"{{email}}\",\n    \"password\": \"{{password}}\",\n    \"returnSecureToken\": true,\n}\n\n ```\n\n## Access Token Responses\n\n### Successful Response\n\nIf the request for an access token is valid, the server will respond with the following data:\n\n``` json\n{\n  \"kind\": \"identitytoolkit#VerifyPasswordResponse\",\n  \"localId\": \"AbC123\",\n  \"email\": \"jdoe@example.com\",\n  \"displayName\": \"JohnDoe\",\n  \"idToken\": \"abc123\", // Token used in Authorization header\n  \"registered\": true,\n  \"refreshToken\": \"abc123\",\n  \"expiresIn\": \"3600\"\n}\n\n ```\n\n### Unsuccessful Response\n\nIf the access token request is invalid, the server will respond with the following format:\n\n``` json\n{\n    \"error\": {\n        \"code\": 400,\n        \"message\": \"INVALID_PASSWORD\",\n        \"errors\": [\n            {\n                \"message\": \"INVALID_PASSWORD\",\n                \"domain\": \"global\",\n                \"reason\": \"invalid\"\n            }\n        ]\n    }\n}\n\n ```\n\n## Using an Access Token\n\nOnce you've obtained the `bearer_token` using one of the grant types, you can add the following header to all API requests:\n\n> Authorization: Bearer &lt;bearer_token&gt; \n  \n\n# HTTP Methods\n\n| Method | Description |\n| --- | --- |\n| `GET` | Fetch - retrieve resources |\n| `POST` | Create - create new resources |\n| `PATCH` | Update - (partially) modify existing resources |\n| `DELETE` | Delete - remove resources |","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"10400618","collectionId":"1be36b68-07ee-4d97-938d-bc17e24f5341","publishedId":"2s9YeN3ora","public":true,"publicUrl":"https://documenter-api.postman.tech/view/10400618/2s9YeN3ora","privateUrl":"https://go.postman.co/documentation/10400618-1be36b68-07ee-4d97-938d-bc17e24f5341","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"MangaJap is a modern platform that helps you track the anime you're watching and the manga you're reading.\nWith the MangaJap API you can do everything the client can do and much more."},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.11.6","publishDate":"2023-12-07T10:29:04.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":"MangaJap is a modern platform that helps you track the anime you're watching and the manga you're reading.\nWith the MangaJap API you can do everything the client can do and much more."},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"Prod environment","id":"9c38e667-227d-47dc-b026-6ceda25e7733","owner":"10400618","values":[{"key":"baseUrl","value":"https://api-za7rwcomoa-uc.a.run.app","enabled":true,"type":"default"},{"key":"firebaseApiKey","value":"AIzaSyBiv4u6rtss6LP5UyVXLPM8QKvY-2Rogt8","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/768118b36f06c94b0306958b980558e6915839447e859fe16906e29d683976f0","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Prod environment","value":"10400618-9c38e667-227d-47dc-b026-6ceda25e7733"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2s9YeN3ora"}