3:I[5613,[],""] 4:I[1778,[],""] 5:I[4840,["250","static/chunks/250-be60d4fb2ff03a8a.js","699","static/chunks/699-887279039e16d761.js","185","static/chunks/app/layout-c3213eefb1e63851.js"],"Providers"] 6:I[7495,["250","static/chunks/250-be60d4fb2ff03a8a.js","699","static/chunks/699-887279039e16d761.js","185","static/chunks/app/layout-c3213eefb1e63851.js"],"Layout"] 7:I[5250,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","769","static/chunks/app/docs/projects/endpoints/page-168f92a26f934c07.js"],""] 0:["Q81e8mFBx_fzIjHu7wdJj",[[["",{"children":["docs",{"children":["projects",{"children":["endpoints",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],["",{"children":["docs",{"children":["projects",{"children":["endpoints",{"children":["__PAGE__",{},["$L1","$L2",null]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","projects","children","endpoints","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children","projects","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","docs","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","html",null,{"lang":"en","className":"h-full antialiased __variable_aaf875 __variable_b436a8","suppressHydrationWarning":true,"children":["$","body",null,{"className":"flex min-h-full bg-white dark:bg-slate-900","children":["$","$L5",null,{"children":["$","$L6",null,{"children":["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L4",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","div",null,{"className":"min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pl-8 lg:pr-0 xl:px-16","children":["$","div",null,{"className":"flex h-full flex-col items-center justify-center text-center","children":[["$","p",null,{"className":"font-display text-sm font-medium text-slate-900 dark:text-white","children":"404"}],["$","h1",null,{"className":"mt-3 font-display text-3xl tracking-tight text-slate-900 dark:text-white","children":"Page not found"}],["$","p",null,{"className":"mt-2 text-sm text-slate-500 dark:text-slate-400","children":"Sorry, we couldn’t find the page you’re looking for."}],["$","$L7",null,{"href":"/","className":"mt-8 text-sm font-medium text-slate-900 dark:text-white","children":"Go back home"}]]}]}],"notFoundStyles":[],"styles":null}]}]}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/7d2966c6703556cd.css","precedence":"next","crossOrigin":""}]],"$L8"]]]] 9:I[4693,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","769","static/chunks/app/docs/projects/endpoints/page-168f92a26f934c07.js"],"DocsHeader"] a:I[4069,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","769","static/chunks/app/docs/projects/endpoints/page-168f92a26f934c07.js"],"PrevNextLinks"] b:I[5638,["250","static/chunks/250-be60d4fb2ff03a8a.js","67","static/chunks/67-2d4bb96cb6e2f43b.js","769","static/chunks/app/docs/projects/endpoints/page-168f92a26f934c07.js"],"TableOfContents"] 2:[["$","div",null,{"className":"min-w-0 max-w-2xl flex-auto px-4 py-16 lg:max-w-none lg:pl-8 lg:pr-0 xl:px-16","children":[["$","article",null,{"children":[["$","$L9",null,{"title":"Endpoints"}],["$","div",null,{"className":"prose prose-slate max-w-none dark:prose-invert dark:text-slate-400 prose-headings:scroll-mt-28 prose-headings:font-display prose-headings:font-normal lg:prose-headings:scroll-mt-[8.5rem] prose-lead:text-slate-500 dark:prose-lead:text-slate-400 prose-a:font-semibold dark:prose-a:text-blue-400 prose-a:no-underline prose-a:shadow-[inset_0_-2px_0_0_var(--tw-prose-background,#fff),inset_0_calc(-1*(var(--tw-prose-underline-size,4px)+2px))_0_0_var(--tw-prose-underline,theme(colors.sky.300))] hover:prose-a:[--tw-prose-underline-size:6px] dark:[--tw-prose-background:theme(colors.slate.900)] dark:prose-a:shadow-[inset_0_calc(-1*var(--tw-prose-underline-size,2px))_0_0_var(--tw-prose-underline,theme(colors.sky.800))] dark:hover:prose-a:[--tw-prose-underline-size:6px] prose-pre:rounded-xl prose-pre:bg-slate-900 prose-pre:shadow-lg dark:prose-pre:bg-slate-800/60 dark:prose-pre:shadow-none dark:prose-pre:ring-1 dark:prose-pre:ring-slate-300/10 dark:prose-hr:border-slate-800","children":[["$","p",null,{"children":"The API design tool is a powerful application that allows you to design your APIs in a visual way, making the complex process of API development more intuitive and efficient. It begins with an endpoint overview, where you can provide a brief description of the endpoint's purpose, organize it into categories, and define its unique path. This step sets the foundation for a well-structured and easily navigable API documentation."}],["$","h2",null,{"id":"http-method-and-path","children":"HTTP method and path"}],["$","p",null,{"children":"Selecting the appropriate HTTP method and specifying the endpoint path are straightforward tasks with this tool. It supports standard HTTP methods such as GET, POST, PUT, and DELETE, ensuring that you choose the right method for the desired operation. The endpoint path is clearly defined, following standard URL structures and conventions."}],["$","p",null,{"children":["$","img",null,{"src":"/images/projects/endpoints/path-parameter.png","alt":"Path parameters"}]}],["$","h2",null,{"id":"query-parameters","children":"Query parameters"}],["$","p",null,{"children":"Adding query parameters to filter or modify the request-response cycle is seamlessly integrated into the design process. You can define each parameter with a name, type, and example value, making the documentation comprehensive and clear. This ensures that users understand what parameters are required and how to format them."}],["$","p",null,{"children":["$","img",null,{"src":"/images/projects/endpoints/query-parameter.png","alt":"Query parameters"}]}],["$","h2",null,{"id":"request-and-response","children":"Request and response"}],["$","p",null,{"children":"The tool's interface allows you to toggle effortlessly between configuring the request and response. In the request section, you can add necessary headers, which might include content types or authorization tokens, and specify the body content if applicable. This supports complex data structures needed for various operations. The response section allows you to add response headers, set the appropriate HTTP status code, and define the structure of the response body. This clarity helps users understand the expected feedback from their requests, which is essential for debugging and integration."}],["$","p",null,{"children":"One of the standout features of this API design tool is the schema definition panel, which enables you to meticulously outline the structure of the data returned by the endpoint. This panel supports various data types and allows for nested structures and arrays, providing the flexibility to model complex data accurately. Each property within the schema can be annotated with example values, making the documentation more illustrative and easier to comprehend."}],["$","p",null,{"children":["$","img",null,{"src":"/images/projects/endpoints/api-designer.png","alt":"API designer"}]}],["$","h2",null,{"id":"real-time-examples","children":"Real time examples"}],["$","p",null,{"children":"Real-time examples boost the documentation's effectiveness. The tool provides dynamically generated examples that show sample request and response payloads based on the current data structure. It is a quick and efficient way to visualize how the API works and what data is expected in the request and response. This feature is particularly useful for testing and debugging, as it allows users to see the API in action without leaving the design environment."}],["$","p",null,{"children":["$","img",null,{"src":"/images/projects/endpoints/response-example.png","alt":"Query parameters"}]}],["$","h2",null,{"id":"endpoint-discussions","children":"Endpoint discussions"}],["$","p",null,{"children":"Collaboration and version control are integral to the tool, facilitating team efforts. Users can save their configurations to prevent work from being lost, and features like discussions and change history enable teams to track progress, provide feedback, and iterate on API designs collectively."}]]}]]}],["$","$La",null,{}]]}],["$","$Lb",null,{"tableOfContents":[{"level":2,"id":"http-method-and-path","title":"HTTP method and path","children":[]},{"level":2,"id":"query-parameters","title":"Query parameters","children":[]},{"level":2,"id":"request-and-response","title":"Request and response","children":[]},{"level":2,"id":"real-time-examples","title":"Real time examples","children":[]},{"level":2,"id":"endpoint-discussions","title":"Endpoint discussions","children":[]}]}]] 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Endpoints - Docs"}],["$","meta","3",{"name":"description","content":"Introduction to endpoints in DocDriven"}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"32x32"}],["$","meta","5",{"name":"next-size-adjust"}]] 1:null