{"info":{"_postman_id":"e93f8ff8-1753-4b1e-94a9-ed41a482da12","name":"ARTILITIES REST API","description":"<html><head></head><body><h1 id=\"overview\">Overview</h1>\n<p>This is an official REST API for <a href=\"https://artilities.vercel.app/\">Artilties</a>. A website for helping artists improving their creative process. Parameters marked with (*) are <strong>not</strong> optional. If you have any problems with an API, feel free to share them with us in <a href=\"https://github.com/artilities/artilities-api/issues\">Github issues</a>.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>We recommend you get yourself a DEVKEY (API key) before starting using Artilities API. To get one, follow these steps:</p>\n<ol>\n<li><p>Join our <a href=\"https://discord.com/invite/u7dBmKyMWa\">Discord server</a></p>\n</li>\n<li><p>Go to <strong>#ticket-menu</strong> channel and click on <strong>get api key</strong>. This will create a private channel between you and moderators on the server</p>\n</li>\n<li><p>Go to the newly created private channel and explain what your project is about. Our moderators will get in contact very soon and approve/decline your request for an API key</p>\n</li>\n</ol>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p>In case of any errors, API response will contain <code>status_code</code> (error type) and <code>error_response</code> (error description) attributes. In case of a successful request <code>status_code</code> will be <code>200</code> and <code>error_response</code> will be <code>undefined</code>. Here's a list of <code>status_code</code>'s you might meet along the way:</p>\n<p>* 400 (Server Error or incorrect request body)<br>* 404 (Not found)<br>* 403 (Access denied)<br>* 401 (Unauthorised action)</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>The rate limit for requests is ~300/10min. We suggest performing 1 request per 2 seconds.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"18286844","collectionId":"e93f8ff8-1753-4b1e-94a9-ed41a482da12","publishedId":"2s7YYvZ1tu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-09-14T10:47:41.000Z"},"item":[{"name":"Generators","item":[{"name":"Get random idea","id":"aacb9ee7-d3d9-4a1d-bfe1-f2b10d67a806","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://artilities-web-api.vercel.app/api/ideas/","urlObject":{"protocol":"https","path":["api","ideas",""],"host":["artilities-web-api","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"aacb9ee7-d3d9-4a1d-bfe1-f2b10d67a806"},{"name":"Get random challenge","id":"f13a19c2-8aa6-4df2-b597-4d3388141271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://artilities-web-api.vercel.app/api/challenges/","urlObject":{"protocol":"https","path":["api","challenges",""],"host":["artilities-web-api","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"f13a19c2-8aa6-4df2-b597-4d3388141271"}],"id":"de90692d-466c-4b83-a871-b8c9488777b5","_postman_id":"de90692d-466c-4b83-a871-b8c9488777b5","description":""},{"name":"Interactions with users","item":[{"name":"Getting data about a user","id":"27c4db38-5ec8-452b-802e-c7ba277d9216","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://artilities-web-api.vercel.app/api/user/getinfo?devkey=468470176887734288&userid=468470176887734288&searched_userid=468470176887734288","urlObject":{"protocol":"https","path":["api","user","getinfo"],"host":["artilities-web-api","vercel","app"],"query":[{"description":{"content":"<p>(*)</p>\n","type":"text/plain"},"key":"devkey","value":"468470176887734288"},{"description":{"content":"<p>(*)</p>\n","type":"text/plain"},"key":"userid","value":"468470176887734288"},{"description":{"content":"<p>(*)</p>\n","type":"text/plain"},"key":"searched_userid","value":"468470176887734288"}],"variable":[]}},"response":[],"_postman_id":"27c4db38-5ec8-452b-802e-c7ba277d9216"}],"id":"e0c1d185-ee80-4850-a103-e6f11482a1ea","_postman_id":"e0c1d185-ee80-4850-a103-e6f11482a1ea","description":""},{"name":"Dictionary","item":[{"name":"Browsing dictionary","id":"67da1054-01b1-4b7e-81f6-4f2ef22b8dee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://artilities-web-api.vercel.app/api/dict/?query=ych&lang=ru","urlObject":{"protocol":"https","path":["api","dict",""],"host":["artilities-web-api","vercel","app"],"query":[{"key":"query","value":"ych"},{"key":"lang","value":"ru"}],"variable":[]}},"response":[],"_postman_id":"67da1054-01b1-4b7e-81f6-4f2ef22b8dee"}],"id":"ecf324c9-c16e-4825-86b5-5ed075627efd","_postman_id":"ecf324c9-c16e-4825-86b5-5ed075627efd","description":""},{"name":"Other","item":[{"name":"Get a list of patrons","id":"dd3eeda6-abc9-42a7-8589-65262f31b5c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://artilities-web-api.vercel.app/api/other/patrons/","urlObject":{"protocol":"https","path":["api","other","patrons",""],"host":["artilities-web-api","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd3eeda6-abc9-42a7-8589-65262f31b5c0"},{"name":"Get a random banner","id":"760daf08-9972-470f-bf55-b78a327ccfaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://artilities-web-api.vercel.app/api/other/banners/","urlObject":{"protocol":"https","path":["api","other","banners",""],"host":["artilities-web-api","vercel","app"],"query":[],"variable":[]}},"response":[],"_postman_id":"760daf08-9972-470f-bf55-b78a327ccfaf"}],"id":"d090626c-faf1-49d1-b0a7-aeaceb6a8ce1","_postman_id":"d090626c-faf1-49d1-b0a7-aeaceb6a8ce1","description":""}],"event":[{"listen":"prerequest","script":{"id":"08ae4c83-7c06-4051-a893-c85f407a55a9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"69065f15-6682-4438-a87f-dc8901bcb586","type":"text/javascript","exec":[""]}}]}