-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia_Rick_and_Morty_API.json
1 lines (1 loc) · 20.9 KB
/
Insomnia_Rick_and_Morty_API.json
1
{"_type":"export","__export_format":4,"__export_date":"2021-11-10T10:39:06.835Z","__export_source":"insomnia.desktop.app:v2021.6.0","resources":[{"_id":"req_b3ffb664fde74a3487498cc94abba570","parentId":"fld_3f5a4d7f438a4a609bae637085243df2","modified":1636540166062,"created":1636538674222,"url":"{{ _.url }}/api/character","name":"Get all characters","description":"[Get all characters](https://rickandmortyapi.com/documentation/#get-all-characters)\n\nYou can access the list of characters by using the `/character` endpoint.","method":"GET","body":{},"parameters":[{"id":"pair_a8fd3b9afd0e4590b1a9fb1d0531350a","name":"page","value":"1","description":""}],"headers":[],"authentication":{},"metaSortKey":-1636538674222,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_3f5a4d7f438a4a609bae637085243df2","parentId":"fld_57433ec65d54414c908be85131ce4403","modified":1636538674223,"created":1636538674223,"name":"Character","description":"There is a total of `671` characters sorted by id.\n\n## Character Schema\n\n| Key | Type | Description |\n|----------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| id | int | The id of the character. |\n| name | string | The name of the character. |\n| status | string | The status of the character ('Alive', 'Dead' or 'unknown'). |\n| species | string | The species of the character. |\n| type | string | The type or subspecies of the character. |\n| gender | string | The gender of the character ('Female', 'Male', 'Genderless' or 'unknown'). |\n| origin | object | Name and link to the character's origin location. |\n| location | object | Name and link to the character's last known location endpoint. |\n| image | string (url) | Link to the character's image. All images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars. |\n| episode | array (urls) | List of episodes in which this character appeared. |\n| url | string (url) | Link to the character's own URL endpoint. |\n| created | string | Time at which the character was created in the database. |","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636538674223,"_type":"request_group"},{"_id":"fld_57433ec65d54414c908be85131ce4403","parentId":"wrk_f0b4771f0a86490daf58eeafdeac34e7","modified":1636538682820,"created":1636538674224,"name":"REST","description":"Base url: `https://rickandmortyapi.com/api`\n\nThe `baseUrl` contains information about all available API's resources. All requests are `GET` requests and go over `https`. All responses will return data in `json`.","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636538676115,"_type":"request_group"},{"_id":"wrk_f0b4771f0a86490daf58eeafdeac34e7","parentId":null,"modified":1636540677258,"created":1636538663270,"name":"Rick and Morty API","description":"The [Rick and Morty API](https://rickandmortyapi.com/) is a RESTful and GraphQL API based on the television show Rick and Morty. You will access data about hundreds of characters, images, locations and episodes.","scope":"collection","_type":"workspace"},{"_id":"req_215feaa729db4c3fa009fce5d5b9dafd","parentId":"fld_3f5a4d7f438a4a609bae637085243df2","modified":1636540142357,"created":1636538674220,"url":"{{ _.url }}/api/character/{{ _.characterId }}","name":"Get a single character","description":"[Get a single character](https://rickandmortyapi.com/documentation/#get-a-single-character)\n\nYou can get a single character by adding the `id` as a parameter: `/character/2`","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674220,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c02d50f7b3bd40e7a9778c7d4533943a","parentId":"fld_3f5a4d7f438a4a609bae637085243df2","modified":1636540147783,"created":1636538674218,"url":"{{ _.url }}/api/character/[1,2,3]","name":"Get multiple characters","description":"[Get multiple characters](https://rickandmortyapi.com/documentation/#get-multiple-characters)\n\nYou can get multiple characters by adding an array of `ids` as parameter: `/character/[1,2,3]` or `/character/1,2,3`","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674218,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7034b909c299413d96d0f30366f292c0","parentId":"fld_3f5a4d7f438a4a609bae637085243df2","modified":1636540155298,"created":1636538674217,"url":"{{ _.url }}/api/character/?name=rick&status=alive","name":"Filter characters","description":"[Filter characters](https://rickandmortyapi.com/documentation/#filter-characters)\n\nYou can also include filters in the URL by including additional query parameters. To start filtering add a `?` followed by the query `<query>=<value>`. If you want to chain several queries in the same call, use `&` followed by the query.\n\nFor example, If you want to check how many alive Ricks exist, just add `?name=rick&status=alive` to the URL.\n\nAvailable parameters:\n\n- `name`: filter by the given name.\n- `status`: filter by the given status (alive, dead or unknown).\n- `species`: filter by the given species.\n- `type`: filter by the given type.\n- `gender`: filter by the given gender (female, male, genderless or unknown).","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674217,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_eabefbbc1e1f48888625c345abe63101","parentId":"fld_8bb6408024e443d1a40e2823e797795c","modified":1636540126313,"created":1636538674215,"url":"{{ _.url }}/api/location","name":"Get all locations","description":"[Get all locations](https://rickandmortyapi.com/documentation/#get-all-locations)\n\nYou can access the list of locations by using the `/location` endpoint.\n\n","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674215,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_8bb6408024e443d1a40e2823e797795c","parentId":"fld_57433ec65d54414c908be85131ce4403","modified":1636538674216,"created":1636538674216,"name":"Location","description":"There is a total of `108` locations sorted by id.\n\n## Location schema\n| Key | Type | Description |\n|-----------|--------------|------------------------------------------------------------|\n| id | int | The id of the location. |\n| name | string | The name of the location. |\n| type | string | The type of the location. |\n| dimension | string | The dimension in which the location is located. |\n| residents | array (urls) | List of character who have been last seen in the location. |\n| url | string (url) | Link to the location's own endpoint. |\n| created | string | Time at which the location was created in the database. |","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636538674216,"_type":"request_group"},{"_id":"req_b1950ea6b49a40beb985d640818d49d5","parentId":"fld_8bb6408024e443d1a40e2823e797795c","modified":1636540118346,"created":1636538674214,"url":"{{ _.url }}/api/location/3","name":"Get single location","description":"[Get a single location](https://rickandmortyapi.com/documentation/#get-a-single-location)\n\nYou can get a single location by adding the `id` as a parameter: `/location/3`","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674214,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c0af2b9e5f904ad286e823cd1ba41b62","parentId":"fld_8bb6408024e443d1a40e2823e797795c","modified":1636540113381,"created":1636538674212,"url":"{{ _.url }}/api/location/3,21","name":"Get multiple locations","description":"[Get multiple locations](https://rickandmortyapi.com/documentation/#get-multiple-locations)\n\nYou can get multiple locations by adding an array of `ids` as parameter: `/location/[1,2,3]` or `/location/1,2,3`\n\n","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674212,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_70d22034d3db4281a1bd68d5fcfb0222","parentId":"fld_8bb6408024e443d1a40e2823e797795c","modified":1636540106311,"created":1636538674211,"url":"{{ _.url }}/api/location?type=planet","name":"Filter locations","description":"[Filter locations](https://rickandmortyapi.com/documentation/#filter-locations)\n\nAvailable parameters:\n\n- `name`: filter by the given name.\n- `type`: filter by the given type.\n- `dimension`: filter by the given dimension.\n- If you want to know how to use queries, check [here](https://rickandmortyapi.com/documentation/#filter-characters)\n\n","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674211,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1ab73743313a4ca0912aaf5cdf5fa484","parentId":"fld_333e0669e1344c1299af43072ad9fbca","modified":1636540218745,"created":1636538674208,"url":"{{ _.url }}/api/episode","name":"Get all episodes","description":"[Get all episodes](https://rickandmortyapi.com/documentation/#get-all-episodes)\n\nYou can access the list of episodes by using the `/episode` endpoint.","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674208,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_333e0669e1344c1299af43072ad9fbca","parentId":"fld_57433ec65d54414c908be85131ce4403","modified":1636538674209,"created":1636538674209,"name":"Episode","description":"There is a total of `41` episodes sorted by id (which is of course the order of the episodes)\n\n## Episode schema\n\n| Key | Type | Description |\n|----------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| id | int | The id of the character. |\n| name | string | The name of the character. |\n| status | string | The status of the character ('Alive', 'Dead' or 'unknown'). |\n| species | string | The species of the character. |\n| type | string | The type or subspecies of the character. |\n| gender | string | The gender of the character ('Female', 'Male', 'Genderless' or 'unknown'). |\n| origin | object | Name and link to the character's origin location. |\n| location | object | Name and link to the character's last known location endpoint. |\n| image | string (url) | Link to the character's image. All images are 300x300px and most are medium shots or portraits since they are intended to be used as avatars. |\n| episode | array (urls) | List of episodes in which this character appeared. |\n| url | string (url) | Link to the character's own URL endpoint. |\n| created | string | Time at which the character was created in the database. |","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636538674209,"_type":"request_group"},{"_id":"req_cbd8ec7634c24e3c8f1022bda884c444","parentId":"fld_333e0669e1344c1299af43072ad9fbca","modified":1636540261385,"created":1636538674207,"url":"{{ _.url }}/api/episode/{{ _.episode }}","name":"Get a single episode","description":"[Get a single episode](https://rickandmortyapi.com/documentation/#get-a-single-episode)\n\nYou can get a single episode by adding the `id` as a parameter: `/episode/28`\n\n","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674207,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a3f160d023a04a6e90d31f9b01f988c2","parentId":"fld_333e0669e1344c1299af43072ad9fbca","modified":1636540327313,"created":1636538674205,"url":"{{ _.url }}/api/episode/10,28","name":"Get multiple episodes","description":"[Get multiple episodes](https://rickandmortyapi.com/documentation/#get-multiple-episodes)\n\nYou can get multiple episodes by adding an array of `ids` as parameter: `/episode/[1,2,3]` or `/episode/1,2,3`","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674205,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3aab398b67664e388489d8b1831082e8","parentId":"fld_333e0669e1344c1299af43072ad9fbca","modified":1636540387825,"created":1636538674204,"url":"{{ _.url }}/api/episode?name=Pilot","name":"Filter episodes","description":"[Filter episodes](https://rickandmortyapi.com/documentation/#filter-episodes)\n\nAvailable parameters:\n\n- `name`: filter by the given name.\n- `episode`: filter by the given episode code.\n- If you want to know how to use queries, check [here](https://rickandmortyapi.com/documentation/#filter-characters).\n\n","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674204,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8ab7702ba1dc431ea816d7f0f7f270a7","parentId":"fld_57433ec65d54414c908be85131ce4403","modified":1636540487530,"created":1636538674202,"url":"{{ _.url }}/api","name":"Resources","description":"The base url contains information about all available API's resources. All requests are `GET` requests and go over `https`. All responses will return data in `json`.\n\nThere are currently three available resources:\n\n- [Character](https://rickandmortyapi.com/documentation/#character): used to get all the characters.\n- [Location](https://rickandmortyapi.com/documentation/#location): used to get all the locations.\n- [Episode](https://rickandmortyapi.com/documentation/#episode): used to get all the episodes.\n","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1636538674202,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d7126cdb70894d818c89fd35dcce6d58","parentId":"wrk_f0b4771f0a86490daf58eeafdeac34e7","modified":1636540704893,"created":1636538674201,"url":"https://{{ _.url }}/graphql","name":"GraphQL","description":"[GraphQL](https://rickandmortyapi.com/documentation/#graphql)\n\nExample query:\n\n```\nquery {\n characters(page: 2, filter: { name: \"rick\" }) {\n info {\n count\n }\n results {\n name\n }\n }\n location(id: 1) {\n id\n }\n episodesByIds(ids: [1, 2]) {\n id\n }\n}\n```","method":"POST","body":{"mimeType":"application/graphql","text":"{\"query\":\"query {\\n characters(page: 2, filter: { name: \\\"morty\\\" }) {\\n info {\\n count\\n }\\n results {\\n name\\n }\\n }\\n location(id: 1) {\\n id\\n }\\n episodesByIds(ids: [1, 2]) {\\n id\\n }\\n}\"}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_51175a3a3bad46699130b9e04970d463"}],"authentication":{},"metaSortKey":-1636538676090,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_a689bf39bc197d1398610afdff7fa49d958beb30","parentId":"wrk_f0b4771f0a86490daf58eeafdeac34e7","modified":1636538694922,"created":1636538663277,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1636538663277,"_type":"environment"},{"_id":"jar_a689bf39bc197d1398610afdff7fa49d958beb30","parentId":"wrk_f0b4771f0a86490daf58eeafdeac34e7","modified":1636538938182,"created":1636538663278,"name":"Default Jar","cookies":[{"key":"countryCode","value":"PT","domain":"www.adultswim.com","path":"/","hostOnly":true,"creation":"2021-11-10T10:06:57.631Z","lastAccessed":"2021-11-10T10:08:58.182Z","id":"827758050433328"}],"_type":"cookie_jar"},{"_id":"spc_343d3be0c5ad402283ca7a4bb79e8507","parentId":"wrk_f0b4771f0a86490daf58eeafdeac34e7","modified":1636538663273,"created":1636538663273,"fileName":"Rick and Morty API","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_60ce242d6c1943b39beb1780a53787b1","parentId":"env_a689bf39bc197d1398610afdff7fa49d958beb30","modified":1636539288969,"created":1636538698201,"name":"Default","data":{"url":"rickandmortyapi.com","characterId":"2","episode":"10"},"dataPropertyOrder":{"&":["url","characterId","episode"]},"color":null,"isPrivate":false,"metaSortKey":1636538698201,"_type":"environment"},{"_id":"env_24568818f7954695929abdf5c57409d6","parentId":"env_a689bf39bc197d1398610afdff7fa49d958beb30","modified":1636539285762,"created":1636538723437,"name":"Local","data":{"url":"localhost:8080","characterId":"2","episode":"1"},"dataPropertyOrder":{"&":["url","characterId","episode"]},"color":null,"isPrivate":false,"metaSortKey":1636538723437,"_type":"environment"}]}