{"info":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This API has endpoints that allows users to create an account, create or share folders, and manage their cards</p>\n<h1 id=\"overview\">Overview</h1>\n<p>What are things that the developers should know about?</p>\n<ol>\n<li><p>You can ping for connection by requesting GET <code>/heartbeat</code>. This will return <code>200</code> HTTP code. This may be helpful to determine internet connection in case of failure. (Example: <code>api.mygame.com/heartbeat</code>) </p>\n</li>\n<li><p>Every <code>Card</code> resource is just a code (A, B, C) and has a <code>CardModel</code> that describes the card. When a card model is updated or deleted, folders containing that card might have invalid IDs. Manual pruning may be required. Pruning can be achieved by subsequent update calls to every folder that has that ID - specifically removing those card IDs from the folder list. </p>\n</li>\n<li><p>The same goes for udating card codes. If a previous card had the codes A, B, and C before updating. And after updating the chip has the 2 codes D, F. Then all those folders containing card 'C' are now invalid. Users will need to manually remove these invalid cards from their folder.</p>\n</li>\n<li><p>All success requests return with json with property <code>data</code></p>\n</li>\n<li><p>All failed requests return with json with property <code>error</code> or <code>message</code>. Warning: multiple error messages can happen at once in which they can be retrieved via <code>error.errors</code> json array object.</p>\n</li>\n</ol>\n<h1 id=\"authentication\">Authentication</h1>\n<p>What is the preferred way of using the API?</p>\n<p>Basic Auth with HTTP - First time sign in.\nThe API uses session cookies after the first sign.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>What errors and status codes can a user expect?</p>\n<ol>\n<li>If there is no valid endpoint, <code>404</code> HTTP code is returned</li>\n<li>If there is a problem with the request <code>500</code> HTTP code is returned. Check for error json replies. </li>\n<li>If a user is not authenticated to make a request <code>401</code> HTTP code is returned.</li>\n<li>If a user does not have any folders, the request will succeed <code>200</code> HTTP code however the json <code>data</code> object will be <code>null</code>.</li>\n</ol>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>Is there a limit to the number of requests an user can send?</p>\n<p>There should be a limit set to avoid bots. This can be done in your own environment.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"9873403","collectionId":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","publishedId":"SWLYAWAU","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-01-12T00:20:20.000Z"},"item":[{"name":"GetFoldersList","id":"466bae9e-e34c-4d75-907f-220b0f61962a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"url":"/v1/folders","description":"<p>If signed in as a user, returns a list of folders for that user</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","folders"],"query":[],"variable":[]}},"response":[],"_postman_id":"466bae9e-e34c-4d75-907f-220b0f61962a"},{"name":"GetFolderByID","id":"19746cf0-2b62-4b8f-95a2-4440ce708de2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/folders/:id","description":"<p>If signed in as a user, returns the folder name and list of cards as an array of IDs.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","folders",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"19746cf0-2b62-4b8f-95a2-4440ce708de2"},{"name":"GetPublicFolderList","id":"9e1ae69c-821d-40ec-978c-94bef5946d11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/public-folders","description":"<p>Lists all public folders that can be imported to the user's account</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","public-folders"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e1ae69c-821d-40ec-978c-94bef5946d11"},{"name":"GetPublicFolderByID","id":"eaed21ae-7093-4615-89ae-c232f530aa72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/public-folders/:id","description":"<p>Returns the name and list of cards as an array of IDs</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","public-folders",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"eaed21ae-7093-4615-89ae-c232f530aa72"},{"name":"GetCardsList","id":"2f49515f-c05e-481c-8269-8e5f3e22efa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/cards","description":"<p>Lists all cards in the database</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","cards"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f49515f-c05e-481c-8269-8e5f3e22efa2"},{"name":"GetCardByID","id":"ef2ff91e-3bed-4a6b-b63e-1e4bb477c3f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/cards/:id","description":"<p>Returns details about a particular card</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","cards",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"ef2ff91e-3bed-4a6b-b63e-1e4bb477c3f5"},{"name":"GetCardsByModel","id":"d0897572-51ef-46d9-bced-1126f0d4994b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/cards/byModel/:id","description":"<p>Returns a list of cards using a particular card model</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","cards","byModel",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"d0897572-51ef-46d9-bced-1126f0d4994b"},{"name":"GetCardModelByID","id":"07085d49-c63d-4624-ba3a-9b274affe21f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/card-models/:id","description":"<p>Returns details about a particular card</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","card-models",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"07085d49-c63d-4624-ba3a-9b274affe21f"},{"name":"GetUsersList","id":"7daafa94-23db-4ddc-9730-f8aab07ea497","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"/v1/users","description":"<p>(Admin only) retrieve all users and their account info</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","users"],"query":[],"variable":[]}},"response":[],"_postman_id":"7daafa94-23db-4ddc-9730-f8aab07ea497"},{"name":"GetUserByID","id":"2ccda499-93c8-4a6f-b398-d9564b25d79f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"/v1/users/:id","description":"<p>(Admin only) Return account info for a particular user</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","users",":id"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"2ccda499-93c8-4a6f-b398-d9564b25d79f"},{"name":"CreateFolder","id":"b9007b07-0867-493f-b59d-bef43b479305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"","description":"<p>String. Will be truncated to 8 character.</p>\n","type":"text"},{"key":"chips","value":"","description":"<p>array of Ids</p>\n","type":"text"}]},"url":"/v1/folders","description":"<p>If signed in as a user, creates a folder with a name and list of code IDs</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","folders"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9007b07-0867-493f-b59d-bef43b479305"},{"name":"CreatePublicFolder","id":"4aab9290-2788-43af-876f-718dd09460f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"","description":"<p>String. Will be truncated to 8 characters</p>\n","type":"text"},{"key":"chips","value":"","description":"<p>Array of Ids.</p>\n","type":"text"}]},"url":"/v1/public-folders","description":"<p>Creates a public folder than can be view and imported by a user but cannot be modified directly</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","public-folders"],"query":[],"variable":[]}},"response":[],"_postman_id":"4aab9290-2788-43af-876f-718dd09460f8"},{"name":"CreateCardModel","id":"3aa0434a-5895-4286-994d-8d2714dbd2bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":""},"url":"/v1/card-models","description":"<p>(Admin only) Creates a new card model and creates cards for each code in the model. Those new card IDs are used by folders.</p>\n","urlObject":{"path":["v1","card-models"],"query":[],"variable":[]}},"response":[],"_postman_id":"3aa0434a-5895-4286-994d-8d2714dbd2bc"},{"name":"CreateUser","id":"39e55432-7299-41d3-a918-21126fa3d3d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"","description":"<p>String. Username must be unique.</p>\n","type":"text"},{"key":"password","value":"","description":"<p>String. Password will be encrypted by API</p>\n","type":"text"},{"key":"twitter","value":"","description":"<p>Optional/String. Handle to a user's twitter account.</p>\n","type":"text"},{"key":"email","value":"","description":"<p>String. Email must be unique.</p>\n","type":"text"}]},"url":"/v1/users ","description":"<p>(Admin only) Creates a new user account</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","users "],"query":[],"variable":[]}},"response":[],"_postman_id":"39e55432-7299-41d3-a918-21126fa3d3d6"},{"name":"CreateAdmin","id":"3b69cc57-5e26-4bc6-b14b-6812ce391059","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"","description":"<p>String. Username must be unique</p>\n","type":"text"},{"key":"password","value":"","description":"<p>String. Will be encrypted by API</p>\n","type":"text"}]},"url":"/v1/admin","description":"<p>(Server restricted) Creates a new admin account</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","admin"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b69cc57-5e26-4bc6-b14b-6812ce391059"},{"name":"UpdateUserByID","id":"d9c428c6-057a-428d-840f-f9b31743d988","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"","description":"<p>Optional/String. Updates the account name.</p>\n","type":"text"},{"key":"password","value":"","description":"<p>Optional/String. Encrypts and then updates the password for the account</p>\n","type":"text"},{"key":"twitter","value":"","description":"<p>Optional/String. Updates the twitter account name.</p>\n","type":"text"},{"key":"email","value":"","description":"<p>Optional/String. Updates the email on the account.</p>\n","type":"text"}]},"url":"/v1/users/:id","description":"<p>Updates a user. If not an admin, the user being updated must be the same user that is requesting the update. Otherwise the request will fail.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","users",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"d9c428c6-057a-428d-840f-f9b31743d988"},{"name":"UpdateCardModelByID","id":"ca8e57ee-e48e-464a-b47d-dec9a1a24189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"description":"<p>Optional/String</p>\n","key":"name","type":"text","value":""},{"description":"<p>Optional/String</p>\n","key":"description","type":"text","value":""},{"description":"<p>Optional/String</p>\n","key":"verboseDescription","type":"text","value":""},{"description":"<p>Optional/String</p>\n","key":"element","type":"text","value":""},{"description":"<p>Optional/String</p>\n","key":"secondaryElement","type":"text","value":""},{"description":"<p>Optional/Number</p>\n","key":"damage","type":"text","value":""},{"description":"<p>Optional/Array of Letters</p>\n","key":"codes","type":"text","value":""},{"description":"<p>Optional/String</p>\n","key":"image","type":"text","value":""},{"description":"<p>Optional/String</p>\n","key":"icon","type":"text","value":""}]},"url":"/v1/card-models/:id","description":"<p>(Admin only) Updates a card model. This may effectively delete cards with codes and invalidate IDs if folders are tracking them. Manual pruning may be required.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","card-models",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"ca8e57ee-e48e-464a-b47d-dec9a1a24189"},{"name":"UpdateFolderByID","id":"bd577510-cb0b-4dbb-85e3-14d203512635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"","description":"<p>Optional/String. Changes the folder name. Limits the new folder name to 8 characters.</p>\n","type":"text"},{"key":"chips","value":"","description":"<p>Optional/Array of IDs. If supplied, changes the array of chips</p>\n","type":"text"}]},"url":"/v1/folders/:id","description":"<p>If signed in as user, updates that folder</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","folders",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"bd577510-cb0b-4dbb-85e3-14d203512635"},{"name":"DeleteUserByID","id":"dcef5117-dd85-4235-bba0-c20624e29145","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"/v1/users/:id","description":"<p>(Admin Only) Deletes a user permanently</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","users",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"dcef5117-dd85-4235-bba0-c20624e29145"},{"name":"DeleteCardModelAndAllCards","id":"5d98a746-4f70-42af-ab63-b73513910f69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"/v1/card-models/:id","description":"<p>(Admin Only) Deletes a card model and all linked cards with codes permanently. Folders that contain these cards will have invalidated IDs. Manual pruning may be required.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","card-models",":id"],"query":[],"variable":[{"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"5d98a746-4f70-42af-ab63-b73513910f69"},{"name":"DeleteCardByID","id":"21a1b694-8115-42d2-aa0d-b2eec55848b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"/v1/cards/:id","description":"<p>(Admin Only) Deletes a lingering card that has no model.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","cards",":id"],"query":[],"variable":[{"description":{"content":"<p>ID of card to delete (Admin only)</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"21a1b694-8115-42d2-aa0d-b2eec55848b3"},{"name":"DeleteFolderByID","id":"2dfc1c94-8a84-4aea-9b6a-e68606bbe8c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"/v1/folders/:id","description":"<p>If signed in as user, deletes their folder permanently</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","folders",":id"],"query":[],"variable":[{"description":{"content":"<p>ID of user folder to delete. (You must be the user that owns this folder or admin)</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"2dfc1c94-8a84-4aea-9b6a-e68606bbe8c4"},{"name":"DeletePublicFolderByID","id":"92cdfc9e-3bb1-4315-902c-80e12a1e0d8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"/v1/public-folders/:id","description":"<p>(Admin only) deletes a public folder permanently</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["v1","public-folders",":id"],"query":[],"variable":[{"description":{"content":"<p>ID of public folder to delete</p>\n","type":"text/plain"},"type":"string","value":"","key":"id"}]}},"response":[],"_postman_id":"92cdfc9e-3bb1-4315-902c-80e12a1e0d8c"},{"name":"Login","id":"237376f3-3906-4848-951d-8bd388d13cf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"v1/login","description":"<p>Creates a session and returns a cookie to authenticate the session for up to 60 minutes</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["login"],"host":["v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"237376f3-3906-4848-951d-8bd388d13cf0"},{"name":"Logout","id":"d0c018a2-fefe-4559-94af-47c4095ee97f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"v1/logout","description":"<p>Logout and clears the session cookie.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","id":"e3a929a6-4e72-4fbb-8ac3-3fa8367f2c2e","name":"Open Net Battle Data API","type":"collection"}},"urlObject":{"path":["logout"],"host":["v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0c018a2-fefe-4559-94af-47c4095ee97f"}],"auth":{"type":"basic","basic":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"id":"c65477c3-ce6e-4d36-a47b-b6eba866db01","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2d86d6cd-c466-45de-917f-29c4aedf4035","type":"text/javascript","exec":[""]}}]}