1"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[9407],{5573:(e,t,l)=>{l.r(t),l.d(t,{assets:()=>f,contentTitle:()=>h,default:()=>j,frontMatter:()=>g,metadata:()=>i,toc:()=>b});const i=JSON.parse('{"id":"api/get-all-collections","title":"Get all collections","description":"Get all collections","source":"@site/docs/api/get-all-collections.api.mdx","sourceDirName":"api","slug":"/api/get-all-collections","permalink":"/api/get-all-collections","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"get-all-collections","title":"Get all collections","description":"Get all collections","sidebar_label":"Get all collections","hide_title":true,"hide_table_of_contents":true,"api":"eJy1VmFv2zYQ/SvC7atiy05SrPrmNl2WIuiKLkGAGUZBS2eJDUVq5NGuZ+i/D0fJsZwYdja0/mJZfnx8d/d4vA04zLyVtIZ0uoE5Cot24qmEdDprZjGYGq0gafRNDikUSBOl3hulMOOXDmIgUThIp9B/O4vBoquNdugg3cA4SfgrR5dZWTMGUriVjiKziLLdwsj5LEPnFl6pdWSRrMQl5gOIITOaUBPTiLpWMguqht8cc23AZSVWgp9oXSOkYObfMCOIobYcA8lWyVZWDymsFWuIQRJW7jSDzHsYqQkLtBADfhdVrRDS8yYGLar+Do6s1EUfBL+jUFRGQufRAyql0Tlo4v0MHVt/KwgdRcKSzBS6yOio3FGuOsoBc8rsMNl+NSaZsRpi0F4pMec9yHrslj+gLEo6rmghlXqxPgbUvmJ7dH/PjcohBhX42CWFV4Lzl3tDRiMbqpQaZg2XXBl7fNNfEhSX+JbDrIVFTTcnqsPyDgXpPvu5kllv8dwYhUL3Fy+Ecow2K4321E4jjsCiIMzfrU+Bxzvw5GCeF8ZWgiCFXBCekaxwLw/jZHxxNhqfJeO7JEkvknQ8HozfXv7FifF1/lN4v2bGazp9YJTUj+7UmWmeKniI8Lmp/tuJfPOqE/kJV9Guh0FQVGE1R+v+f7Pw7rRRzlurdxufQl8wWuj3wSzH7dp5OxP6PljgtegrVPha9A/y7GV6Gbz15tfkh3r2Ba9D+7qqnTYMo0bwKm99NKWOrgyGdlyJ4jj8YI/a+8RwkYxe3qj3WngqjZX/YP5Tr8xOMwshSSHED9Ya+2UL7VTuy7tGioRS/Qsf+IxRabrhgvcWPHzAUNRyuBwN97HbYeVPlt6q648sT/pKoprhAcYGDiC+fsLDb1sDfXy4C0FIvTCHBhT9uBI2Rx39UaOefL6JrkzmK9QUMsljyRKta9GjQTJIYJcQht9osib3bUfhWy/DLpGtZ+D60300WSzQmugaNVqhovYiim5bbLQ8D6zeqi4ulw6Hq9VqUGg/MLYYdqRuKIpanZ0PkkFJlQph1cZRJXR/v4MlODx1EH6nYa2E1OHksIBNV54piFpy9CPo964w+JXGESM2m7lweG9V0/Drvz1aHjJnMSyFla2zp3zNlyhyPpXTDTziOowiGdbshaVQPjTd5+7lyfTJN9cf7iAGse+AZxUP7NsWrtc97s2mRdyZR9RNA3Engvg3NLOmaf4FFdTCWw==","sidebar_class_name":"get api-method","info_path":"api/api-introduction","custom_edit_url":null,"hide_send_button":true},"sidebar":"sidebar","previous":{"title":"Retrieves the avatar of a user by their ID","permalink":"/api/retrieves-the-avatar-of-a-user-by-their-id"},"next":{"title":"Get a collection by ID","permalink":"/api/get-collection-by-id"}}');var a=l(74848),o=l(28453),n=l(57742),s=l.n(n),r=l(78178),p=l.n(r),c=l(19624),d=l.n(c),m=l(96226),u=l.n(m),y=(l(77675),l(19365),l(51107));const g={id:"get-all-collections",title:"Get all collections",description:"Get all collections",sidebar_label:"Get all collections",hide_title:!0,hide_table_of_contents:!0,api:"eJy1VmFv2zYQ/SvC7atiy05SrPrmNl2WIuiKLkGAGUZBS2eJDUVq5NGuZ+i/D0fJsZwYdja0/mJZfnx8d/d4vA04zLyVtIZ0uoE5Cot24qmEdDprZjGYGq0gafRNDikUSBOl3hulMOOXDmIgUThIp9B/O4vBoquNdugg3cA4SfgrR5dZWTMGUriVjiKziLLdwsj5LEPnFl6pdWSRrMQl5gOIITOaUBPTiLpWMguqht8cc23AZSVWgp9oXSOkYObfMCOIobYcA8lWyVZWDymsFWuIQRJW7jSDzHsYqQkLtBADfhdVrRDS8yYGLar+Do6s1EUfBL+jUFRGQufRAyql0Tlo4v0MHVt/KwgdRcKSzBS6yOio3FGuOsoBc8rsMNl+NSaZsRpi0F4pMec9yHrslj+gLEo6rmghlXqxPgbUvmJ7dH/PjcohBhX42CWFV4Lzl3tDRiMbqpQaZg2XXBl7fNNfEhSX+JbDrIVFTTcnqsPyDgXpPvu5kllv8dwYhUL3Fy+Ecow2K4321E4jjsCiIMzfrU+Bxzvw5GCeF8ZWgiCFXBCekaxwLw/jZHxxNhqfJeO7JEkvknQ8HozfXv7FifF1/lN4v2bGazp9YJTUj+7UmWmeKniI8Lmp/tuJfPOqE/kJV9Guh0FQVGE1R+v+f7Pw7rRRzlurdxufQl8wWuj3wSzH7dp5OxP6PljgtegrVPha9A/y7GV6Gbz15tfkh3r2Ba9D+7qqnTYMo0bwKm99NKWOrgyGdlyJ4jj8YI/a+8RwkYxe3qj3WngqjZX/YP5Tr8xOMwshSSHED9Ya+2UL7VTuy7tGioRS/Qsf+IxRabrhgvcWPHzAUNRyuBwN97HbYeVPlt6q648sT/pKoprhAcYGDiC+fsLDb1sDfXy4C0FIvTCHBhT9uBI2Rx39UaOefL6JrkzmK9QUMsljyRKta9GjQTJIYJcQht9osib3bUfhWy/DLpGtZ+D60300WSzQmugaNVqhovYiim5bbLQ8D6zeqi4ulw6Hq9VqUGg/MLYYdqRuKIpanZ0PkkFJlQph1cZRJXR/v4MlODx1EH6nYa2E1OHksIBNV54piFpy9CPo964w+JXGESM2m7lweG9V0/Drvz1aHjJnMSyFla2zp3zNlyhyPpXTDTziOowiGdbshaVQPjTd5+7lyfTJN9cf7iAGse+AZxUP7NsWrtc97s2mRdyZR9RNA3Engvg3NLOmaf4FFdTCWw==",sidebar_class_name:"get api-method",info_path:"api/api-introduction",custom_edit_url:null,hide_send_button:!0},h=void 0,f={},b=[];function x(e){const t={p:"p",...(0,o.R)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y.default,{as:"h1",className:"openapi__heading",children:"Get all collections"}),"\n",(0,a.jsx)(s(),{method:"get",path:"/api/v1/collections",context:"endpoint"}),"\n",(0,a.jsx)(t.p,{children:"Get all collections"}),"\n",(0,a.jsx)(p(),{parameters:void 0}),"\n",(0,a.jsx)(d(),{title:"Body",body:void 0}),"\n",(0,a.jsx)(u(),{id:void 0,label:void 0,responses:{200:{description:"List of collections successfully retrieved.",content:{"application/json":{schema:{type:"object",properties:{response:{type:"array",items:{type:"object",properties:{id:{type:"integer",example:3},name:{type:"string",example:"Health and Wellness"},description:{type:"string",example:"Latest articles on health and wellness."}
1,icon:{type:"string",description:"Acorn",nullable:!0},iconWeight:{type:"string",example:"fill",nullable:!0,enum:["fill","bold","light","regular","duotone","thin"]},color:{type:"string",example:"#0ea5e9"},parentId:{type:"integer",example:null,nullable:!0},isPublic:{type:"boolean",example:!1},ownerId:{type:"integer",example:1},createdById:{type:"integer",example:2},createdAt:{type:"string",format:"date-time",example:"2024-12-02T00:40:22.295Z"},updatedAt:{type:"string",format:"date-time",example:"2024-12-02T00:40:22.295Z"},_count:{type:"object",properties:{links:{type:"integer",example:3}}},parent:{type:"object",nullable:!0,properties:{id:{type:"integer",example:6},name:{type:"string",example:"New Collection"}}},members:{type:"array",items:{type:"object",properties:{userId:{type:"integer",example:3},collectionId:{type:"integer",example:4},canCreate:{type:"boolean",example:!0},canUpdate:{type:"boolean",example:!0},canDelete:{type:"boolean",example:!0},createdAt:{type:"string",format:"date-time",example:"2024-12-02T05:50:22.680Z"},updatedAt:{type:"string",format:"date-time",example:"2024-12-02T05:50:22.680Z"},user:{type:"object",properties:{username:{type:"string",example:"user1"},name:{type:"string",example:"John Doe"},image:{type:"string",example:null,nullable:!0}}}}}}}}}}}}}},401:{description:"Unauthorized",content:{"application/json":{schema:{type:"object",properties:{response:{type:"string"}},title:"ErrorResponse"}}}}}})]})}function j(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(x,{...e})}):x(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.