forge/public/docs/collection.json

486 lines
239 KiB
JSON
Raw Permalink Normal View History

{
"variable": [
{
"id": "baseUrl",
"key": "baseUrl",
"type": "string",
"name": "string",
"value": "http:\/\/forge.test"
}
],
"info": {
"name": "The Forge API Documentation",
"_postman_id": "111f14f0-1551-4ff3-a8c0-1301df26b9c2",
"description": "",
"schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
},
"item": [
{
"name": "Authentication",
"description": "",
"item": [
{
"name": "Login",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/login",
"query": [],
"raw": "{{baseUrl}}\/api\/login"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"email\":\"olson.margret@example.net\",\"password\":\"j\\\/.0^{~eOsyx^\",\"token_name\":\"Dynamic API Token\"}"
},
"description": "Authenticates the user and returns a read-only API token. This API token can then be saved and used for future\nrequests that require authentication. <aside class=\"warning\">This method is made available for mod authors to\nincorporate into their mods so that users can easily authenticate using their own API token. For typical API use,\nyou should log into the website, create an API token, and use that token for your API requests.<\/aside>",
"auth": {
"type": "noauth"
}
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"message\":\"authenticated\",\"data\":{\"token\":\"YOUR_API_KEY\"},\"status\":200}",
"name": "Authenticated successfully"
},
{
"header": [],
"code": 401,
"body": "{\"message\":\"invalid credentials\",\"status\":401}",
"name": "Invalid credentials"
}
]
},
{
"name": "Logout",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/logout",
"query": [],
"raw": "{{baseUrl}}\/api\/logout"
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Destroys the user's current API token, effectively logging them out."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"message\":\"success\",\"status\":200}",
"name": "Token destroyed successfully"
}
]
},
{
"name": "Logout All",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/logout\/all",
"query": [],
"raw": "{{baseUrl}}\/api\/logout\/all"
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Destroys all the user's API tokens, effectively logging everyone out of the account."
},
"response": [
{
"header": [],
"code": 200,
"body": "{\"message\":\"success\",\"status\":200}",
"name": "Tokens destroyed successfully"
}
]
}
]
},
{
"name": "Mods",
"description": "",
"item": [
{
"name": "Get Mods",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/v0\/mods",
"query": [
{
"key": "include",
"value": "users%2Cversions%2Clicense",
"description": "The relationships to include within the `includes` key. By default no relationships are automatically included.",
"disabled": false
},
{
"key": "filter%5Bid%5D",
"value": "5%2C10%2C15",
"description": "Filter by the `id`. Select multiple by separating the IDs with a comma.",
"disabled": false
},
{
"key": "filter%5Bhub_id%5D",
"value": "20",
"description": "Filter by the `hub_id` attribute. Select multiple by separating the IDs with a comma.",
"disabled": false
},
{
"key": "filter%5Bname%5D",
"value": "%2ASAIN%2A",
"description": "Filter by the `name` attribute. Use `*` as the wildcard character.",
"disabled": false
},
{
"key": "filter%5Bslug%5D",
"value": "%2Araid-times",
"description": "Filter by the `slug` attribute. Use `*` as the wildcard character.",
"disabled": false
},
{
"key": "filter%5Bteaser%5D",
"value": "%2Aweighted%2Arandom%2Atimes%2A",
"description": "Filter by the `teaser` attribute. Use `*` as the wildcard character.",
"disabled": false
},
{
"key": "filter%5Bsource_code_link%5D",
"value": "%2Ahttps%2A.net%2A",
"description": "Filter by the `source_code_link` attribute. Use `*` as the wildcard character.",
"disabled": false
},
{
"key": "filter%5Bfeatured%5D",
"value": "true",
"description": "Filter by the `featured` attribute. All \"truthy\" or \"falsy\" values are supported.",
"disabled": false
},
{
"key": "filter%5Bcontains_ads%5D",
"value": "true",
"description": "Filter by the `contains_ads` attribute. All \"truthy\" or \"falsy\" values are supported.",
"disabled": false
},
{
"key": "filter%5Bcontains_ai_content%5D",
"value": "true",
"description": "Filter by the `contains_ai_content` attribute. All \"truthy\" or \"falsy\" values are supported.",
"disabled": false
},
{
"key": "filter%5Bcreated_at%5D",
"value": "2023-12-31%2C2024-12-31",
"description": "Filter by the `created_at` attribute. Ranges are possible by separating the dates with a comma.",
"disabled": false
},
{
"key": "filter%5Bupdated_at%5D",
"value": "2023-12-31%2C2024-12-31",
"description": "Filter by the `updated_at` attribute. Ranges are possible by separating the dates with a comma.",
"disabled": false
},
{
"key": "filter%5Bpublished_at%5D",
"value": "2023-12-31%2C2024-12-31",
"description": "Filter by the `published_at` attribute. Ranges are possible by seperating the dates with a comma.",
"disabled": false
},
{
"key": "sort",
"value": "-featured%2Cname",
"description": "Sort the results by a comma seperated list of attributes. The default sort direction is ASC, append the attribute name with a minus to sort DESC.",
"disabled": false
}
],
"raw": "{{baseUrl}}\/api\/v0\/mods?include=users%2Cversions%2Clicense&filter%5Bid%5D=5%2C10%2C15&filter%5Bhub_id%5D=20&filter%5Bname%5D=%2ASAIN%2A&filter%5Bslug%5D=%2Araid-times&filter%5Bteaser%5D=%2Aweighted%2Arandom%2Atimes%2A&filter%5Bsource_code_link%5D=%2Ahttps%2A.net%2A&filter%5Bfeatured%5D=true&filter%5Bcontains_ads%5D=true&filter%5Bcontains_ai_content%5D=true&filter%5Bcreated_at%5D=2023-12-31%2C2024-12-31&filter%5Bupdated_at%5D=2023-12-31%2C2024-12-31&filter%5Bpublished_at%5D=2023-12-31%2C2024-12-31&sort=-featured%2Cname"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "List, filter, and sort basic information about mods."
},
"response": [
{
"header": [
{
"key": "cache-control",
"value": "no-cache, private"
},
{
"key": "content-type",
"value": "application\/json"
},
{
"key": "access-control-allow-origin",
"value": "*"
}
],
"code": 200,
"body": "{\"data\":[{\"type\":\"mod\",\"id\":1578,\"attributes\":{\"hub_id\":2084,\"name\":\"Assort editor\",\"slug\":\"assort-editor\",\"teaser\":\"A webtool to edit your existing trader assort prices, for balancing reasons.\\r\\n\\r\\n2 boxes of matches a bit too cheap for that fully kitted MDR762, but you like the mod otherwise? This can fix that in an easy to understand way. No fiddling with .json files!\",\"license_id\":11,\"source_code_link\":\"https:\\\/\\\/dev.sp-tarkov.com\\\/archon0ne\\\/Assort_editor\",\"featured\":true,\"contains_ai_content\":true,\"contains_ads\":false,\"created_at\":\"2024-07-03T18:05:35.000000Z\",\"updated_at\":\"2024-09-15T18:48:13.000000Z\",\"published_at\":\"2024-07-03 18:05:35\"},\"relationships\":{\"users\":[{\"data\":{\"type\":\"user\",\"id\":28317},\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/28317\\\/archon0ne\"}}],\"versions\":[{\"data\":{\"type\":\"version\",\"id\":7745},\"links\":{\"self\":\"https:\\\/\\\/dev.sp-tarkov.com\\\/archon0ne\\\/Assort_editor\\\/releases\\\/download\\\/1.1.0\\\/Assort_Editor.zip\"}},{\"data\":{\"type\":\"version\",\"id\":7739},\"links\":{\"self\":\"https:\\\/\\\/dev.sp-tarkov.com\\\/archon0ne\\\/Assort_editor\\\/archive\\\/main.zip\"}}],\"license\":[{\"data\":{\"type\":\"license\",\"id\":11}}]},\"includes\":[{\"type\":\"user\",\"id\":28317,\"attributes\":{\"name\":\"archon0ne\",\"user_role_id\":null,\"created_at\":\"2023-03-09T14:05:22.000000Z\",\"updated_at\":\"2024-09-15T18:43:50.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/28317\\\/archon0ne\"}},{\"type\":\"license\",\"id\":11,\"attributes\":{\"name\":\"MIT License\",\"link\":\"https:\\\/\\\/choosealicense.com\\\/licenses\\\/mit\\\/\",\"created_at\":null,\"updated_at\":null}},{\"type\":\"mod_version\",\"id\":7745,\"attributes\":{\"hub_id\":10456,\"mod_id\":1578,\"version\":\"1.1.0\",\"link\":\"https:\\\/\\\/dev.sp-tarkov.com\\\/archon0ne\\\/Assort_editor\\\/releases\\\/download\\\/1.1.0\\\/Assort_Editor.zip\",\"virus_total_link\":\"https:\\\/\\\/www.virustotal.com\\\/gui\\\/url\\\/c59d29876cb827c82bcc93082a7b71407d42a76d2e7509dd1710b7f913773253?nocache=1\",\"downloads\":1535,\"created_at\":\"2024-07-04T09:59:54.000000Z\",\"updated_at\":\"2024-07-04T09:59:54.000000Z\",\"published_at\":\"2024-07-04 09:59:54\"},\"relationships\":{\"spt_version\":[{\"data\":{\"type\":\"spt_version\"}}]}},{\"type\":\"mod_version\",\"id\":7739,\"attributes\":{\"hub_id\":10450,\"mod_id\":1578,\"version\":\"1.0.0\",\"link\":\"https:\\\/\\\/dev.sp-tarkov.com\\\/archon0ne\\\/Assort_editor\\\/archive\\\/main.zip\",\"virus_total_link\":\"https:\\\/\\\/www.virustotal.com\\\/gui\\\/url\\\/c59d29876cb827c82bcc93082a7b71407d42a76d2e7509dd1710b7f913773253?nocache=1\",\"downloads\":110,\"created_at\":\"2024-07-03T18:05:35.000000Z\",\"updated_at\":\"2024-07-03T18:05:35.000000Z\",\"published_at\":\"2024-07-03 18:05:35\"},\"relationships\":{\"spt_version\":[{\"data\":{\"type\":\"spt_version\"}}]}}],\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/mod\\\/1578\\\/assort-editor\"}},{\"type\":\"mod\",\"id\":1525,\"attributes\":{\"hub_id\":2027,\"name\":\"AutoDeposit\",\"slug\":\"autodeposit\",\"teaser\":\"Transfer items into stash containers with matching items, inspired by Terraria's Quick Stack.\",\"license_id\":11,\"source_code_link\":\"https:\\\/\\\/github.com\\\/tyfon7\\\/AutoDeposit\",\"featured\":true,\"contains_ai_content\":false,\"contains_ads\":false,\"created_at\":\"2024-06-07T08:03:44.000000Z\",\"updated_at\":\"2024-09-15T18:48:13.000000Z\",\"published_at\":\"2024-06-07 08:03:44\"},\"relationships\":{\"users\":[{\"data\":{\"type\":\"user\",\"id\":46006},\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/46006\\\/tyfon\"}}],\"versions\":[{\"data\":{\"type\":\"version\",\"id\":7812},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/tyfon7\\\/AutoDeposit\\\/releases\\\/download\\\/v2.0.0\\\/Tyfon-AutoDeposit-2.0.0.7z\"}},{\"data\":{\"type\":\"version\",\"id\":7751},\"links\":{\"self
"name": ""
}
]
},
{
"name": "Get Mod",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/v0\/mods\/:id",
"query": [
{
"key": "include",
"value": "users%2Cversions%2Clicense",
"description": "The relationships to include within the `includes` key. By default no relationships are automatically included.",
"disabled": false
}
],
"raw": "{{baseUrl}}\/api\/v0\/mods\/:id?include=users%2Cversions%2Clicense",
"variable": [
{
"id": "id",
"key": "id",
"value": "558",
"description": "The ID of the mod."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Display more detailed information about a specific mod."
},
"response": [
{
"header": [
{
"key": "cache-control",
"value": "no-cache, private"
},
{
"key": "content-type",
"value": "application\/json"
},
{
"key": "access-control-allow-origin",
"value": "*"
}
],
"code": 200,
"body": "{\"data\":{\"type\":\"mod\",\"id\":558,\"attributes\":{\"hub_id\":771,\"name\":\"Custom Raid Times\",\"slug\":\"custom-raid-times\",\"teaser\":\"Change the raid time of maps individually or override them all to one single time. Supports weighted, random times. Automatically adjusts the train schedules to fit within the new raid times.\",\"description\":\" Custom Raid Times \\n===================\\n\\n Features: \\n-----------\\n\\n- Adjust global raid times, or raid times for individual maps.\\n- Raid times can be random ranges, grouped, and weighted.\\n- Extract train schedules automatically adjust to the new raid time. \\n - Earliest arrival time (given enough overall time) can be anywhere in between 35% to 80% of the total raid time, making train arrival less predictable and also more usable in extra long raids.\\n - The number of seconds the train waits before closing the doors and departing is now randomized; but always between 14 and 7 minutes.\\n - Raids can now be as short as 3 minutes and still have an active and functional train extract.\\n \\n To install: \\n-------------\\n\\n1. Decompress the contents of the download into your root SPT directory.\\n2. Open the CustomRaidTimes\\\/config\\\/config.json5 file to adjust raid time options.\\n3. Leave a review and let me know what you think.\\n\\n Issues? \\n---------\\n\\n- If you experience any problems, please [submit a detailed bug report.](https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/issues)\\n\\n\\u2665\",\"license_id\":11,\"source_code_link\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\",\"featured\":false,\"contains_ai_content\":false,\"contains_ads\":false,\"created_at\":\"2022-08-15T03:30:59.000000Z\",\"updated_at\":\"2024-09-15T18:48:12.000000Z\",\"published_at\":\"2022-08-15 03:30:59\"},\"relationships\":{\"users\":[{\"data\":{\"type\":\"user\",\"id\":14605},\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/14605\\\/refringe\"}}],\"versions\":[{\"data\":{\"type\":\"version\",\"id\":8810},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/releases\\\/download\\\/v1.7.3\\\/refringe-customraidtimes-1.7.3.zip\"}},{\"data\":{\"type\":\"version\",\"id\":8099},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/releases\\\/download\\\/v1.7.2\\\/refringe-customraidtimes-1.7.2.zip\"}},{\"data\":{\"type\":\"version\",\"id\":7953},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/releases\\\/download\\\/v1.7.1\\\/refringe-customraidtimes-1.7.1.zip\"}},{\"data\":{\"type\":\"version\",\"id\":7931},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/releases\\\/download\\\/v1.7.0\\\/refringe-customraidtimes-1.7.0.zip\"}},{\"data\":{\"type\":\"version\",\"id\":6843},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/releases\\\/download\\\/v1.6.0\\\/refringe-customraidtimes-1.6.0.zip\"}},{\"data\":{\"type\":\"version\",\"id\":5308},\"links\":{\"self\":\"https:\\\/\\\/github.com\\\/refringe\\\/CustomRaidTimes\\\/releases\\\/download\\\/v1.5.0\\\/refringe-customraidtimes-1.5.0.zip\"}},{\"data\":{\"type\":\"version\",\"id\":5031},\"links\":{\"self\":\"https:\\\/\\\/downloadthisfor.me\\\/spt-aki-mods\\\/refringe-customraidtimes-1.4.0.zip\"}},{\"data\":{\"type\":\"version\",\"id\":4672},\"links\":{\"self\":\"https:\\\/\\\/downloadthisfor.me\\\/spt-aki-mods\\\/Refringe-CustomRaidTimes-1.3.3.zip\"}},{\"data\":{\"type\":\"version\",\"id\":4084},\"links\":{\"self\":\"https:\\\/\\\/downloadthisfor.me\\\/spt-aki-mods\\\/Refringe-CustomRaidTimes-1.3.2.zip\"}},{\"data\":{\"type\":\"version\",\"id\":3813},\"links\":{\"self\":\"https:\\\/\\\/downloadthisfor.me\\\/spt-aki-mods\\\/Refringe-CustomRaidTimes-1.3.1.zip\"}},{\"data\":{\"type\":\"version\",\"id\":3671},\"links\":{\"self\":\"https:\\\/\\\/downloadthisfor.me\\\/spt-aki-mods\\\/Refringe-CustomRaidTimes-1.3.0.zip\"}},{\"data\":{\"type\":\"version\",\"id\":3370},\"links\":{\"self\":\"https:\\\/\\\/dow
"name": ""
}
]
}
]
},
{
"name": "Users",
"description": "",
"item": [
{
"name": "Get Users",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/v0\/users",
"query": [
{
"key": "include",
"value": "user_role",
"description": "The relationships to include within the `includes` key. By default no relationships are automatically included.",
"disabled": false
},
{
"key": "filter%5Bid%5D",
"value": "5%2C10%2C15",
"description": "Filter by the `id`. Select multiple by separating the IDs with a comma.",
"disabled": false
},
{
"key": "filter%5Bname%5D",
"value": "%2Afringe",
"description": "Filter by the `name` attribute. Use `*` as the wildcard character.",
"disabled": false
},
{
"key": "filter%5Bcreated_at%5D",
"value": "2023-12-31%2C2024-12-31",
"description": "Filter by the `created_at` attribute. Ranges are possible by separating the dates with a comma.",
"disabled": false
},
{
"key": "filter%5Bupdated_at%5D",
"value": "2023-12-31%2C2024-12-31",
"description": "Filter by the `updated_at` attribute. Ranges are possible by separating the dates with a comma.",
"disabled": false
},
{
"key": "sort",
"value": "created_at%2C-name",
"description": "Sort the results by a comma seperated list of attributes. The default sort direction is ASC, append the attribute name with a minus to sort DESC.",
"disabled": false
}
],
"raw": "{{baseUrl}}\/api\/v0\/users?include=user_role&filter%5Bid%5D=5%2C10%2C15&filter%5Bname%5D=%2Afringe&filter%5Bcreated_at%5D=2023-12-31%2C2024-12-31&filter%5Bupdated_at%5D=2023-12-31%2C2024-12-31&sort=created_at%2C-name"
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "List, filter, and sort basic information about users."
},
"response": [
{
"header": [
{
"key": "cache-control",
"value": "no-cache, private"
},
{
"key": "content-type",
"value": "application\/json"
},
{
"key": "access-control-allow-origin",
"value": "*"
}
],
"code": 200,
"body": "{\"data\":[{\"type\":\"user\",\"id\":2,\"attributes\":{\"name\":\"Tyranidex#1942\",\"user_role_id\":null,\"created_at\":\"2020-06-11T09:40:21.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/2\\\/tyranidex1942\"}},{\"type\":\"user\",\"id\":3,\"attributes\":{\"name\":\"AssAssIn#1193\",\"user_role_id\":null,\"created_at\":\"2020-06-15T16:07:01.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/3\\\/assassin1193\"}},{\"type\":\"user\",\"id\":4,\"attributes\":{\"name\":\"Ivandrov#9094\",\"user_role_id\":null,\"created_at\":\"2020-06-15T23:03:26.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/4\\\/ivandrov9094\"}},{\"type\":\"user\",\"id\":5,\"attributes\":{\"name\":\"Vengeance#6753\",\"user_role_id\":null,\"created_at\":\"2020-06-15T23:07:12.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/5\\\/vengeance6753\"}},{\"type\":\"user\",\"id\":6,\"attributes\":{\"name\":\"RedNukem\",\"user_role_id\":null,\"created_at\":\"2020-06-15T23:10:29.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/6\\\/rednukem\"}},{\"type\":\"user\",\"id\":7,\"attributes\":{\"name\":\"JazzFunkGreats\",\"user_role_id\":null,\"created_at\":\"2020-06-15T23:15:52.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/7\\\/jazzfunkgreats\"}},{\"type\":\"user\",\"id\":8,\"attributes\":{\"name\":\"yimi\",\"user_role_id\":null,\"created_at\":\"2020-06-16T01:22:40.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/8\\\/yimi\"}},{\"type\":\"user\",\"id\":9,\"attributes\":{\"name\":\"lubyankaxlf\",\"user_role_id\":null,\"created_at\":\"2020-06-16T01:43:09.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/9\\\/lubyankaxlf\"}},{\"type\":\"user\",\"id\":10,\"attributes\":{\"name\":\"Stalbay#3177\",\"user_role_id\":null,\"created_at\":\"2020-06-16T01:51:08.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/10\\\/stalbay3177\"}},{\"type\":\"user\",\"id\":11,\"attributes\":{\"name\":\"Drill#0596\",\"user_role_id\":null,\"created_at\":\"2020-06-16T01:55:19.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/11\\\/drill0596\"}},{\"type\":\"user\",\"id\":12,\"attributes\":{\"name\":\"Samwise\",\"user_role_id\":null,\"created_at\":\"2020-06-16T03:59:58.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/12\\\/samwise\"}},{\"type\":\"user\",\"id\":13,\"attributes\":{
"name": ""
}
]
},
{
"name": "Get User",
"request": {
"url": {
"host": "{{baseUrl}}",
"path": "api\/v0\/users\/:id",
"query": [
{
"key": "include",
"value": "user_role",
"description": "The relationships to include within the `includes` key. By default no relationships are automatically included.",
"disabled": false
}
],
"raw": "{{baseUrl}}\/api\/v0\/users\/:id?include=user_role",
"variable": [
{
"id": "id",
"key": "id",
"value": "1",
"description": "The ID of the user."
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application\/json"
},
{
"key": "Accept",
"value": "application\/json"
}
],
"body": null,
"description": "Display more detailed information about a specific user."
},
"response": [
{
"header": [
{
"key": "cache-control",
"value": "no-cache, private"
},
{
"key": "content-type",
"value": "application\/json"
},
{
"key": "access-control-allow-origin",
"value": "*"
}
],
"code": 200,
"body": "{\"data\":{\"type\":\"user\",\"id\":1,\"attributes\":{\"name\":\"SPT Team\",\"user_role_id\":null,\"created_at\":\"2021-06-02T01:01:13.000000Z\",\"updated_at\":\"2024-09-15T18:42:01.000000Z\"},\"relationships\":{\"user_role\":{\"data\":{\"type\":\"user_role\",\"id\":null}}},\"includes\":null,\"links\":{\"self\":\"http:\\\/\\\/forge.test\\\/user\\\/1\\\/spt-team\"}}}",
"name": ""
}
]
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "Authorization",
"type": "string"
}
]
}
}