PageSourceSearch

https://rajarepair.id/_rr/B43LJCxI.js

js rajarepair.id collected 2026-10-06 20:54:23 UTC 7,013 bytes, 1 lines download raw bytes

1import{_ as g}from"./3EBg3iUg.js";import{u as f}from"./CbqWd3-v.js";import{f as h,u as _,z as i,C as t,D as o,v as n,G as a,F as u,A as m,B as y,t as w,i as D,y as r}from"./D5MLA-hU.js";import"./B1_oImu8.js";import"./BsSRCWlq.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new l.Error().stack;e&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[e]="4849687e-9db0-4d42-83c9-cb0150cc2f38",l._sentryDebugIdIdentifier="sentry-dbid-4849687e-9db0-4d42-83c9-cb0150cc2f38")}catch{}})();const k={class:"border-b border-slate-100 bg-[#fafaff] pt-32 pb-12 sm:pt-40 sm:pb-14"},v={class:"mx-auto max-w-5xl px-6"},q={class:"text-sm font-semibold uppercase tracking-wide text-brand-600"},j={class:"display mt-2 text-3xl text-ink-900 sm:text-4xl md:text-5xl"},C={class:"mt-4 max-w-2xl text-base leading-relaxed text-ink-700"},I={class:"py-14 sm:py-20"},A={class:"mx-auto max-w-5xl space-y-12 px-6"},B={class:"text-xl font-semibold text-ink-900 sm:text-2xl"},N={class:"mt-4 divide-y divide-slate-100 rounded-2xl bg-white p-6 text-[15px] leading-7 text-ink-700 ring-1 ring-slate-200"},P={class:"flex gap-3 pb-3"},R={class:"flex gap-3 py-3"},S={class:"flex gap-3 py-3"},H={class:"flex gap-3 py-3"},L={class:"flex gap-3 pt-3"},T={class:"text-xl font-semibold text-ink-900 sm:text-2xl"},E={class:"mt-4 overflow-x-auto rounded-2xl bg-white ring-1 ring-slate-200"},F={class:"w-full min-w-[34rem] border-collapse text-left"},V={class:"text-xs uppercase tracking-wide text-slate-500"},G={class:"px-5 py-3 font-semibold"},z={class:"px-5 py-3 font-semibold"},M={class:"px-5 py-3 font-semibold"},O={class:"divide-y divide-slate-100 text-[15px] text-ink-700"},Q={class:"px-5 py-3 align-top whitespace-nowrap"},J={class:"rounded bg-brand-50 px-1.5 py-0.5 font-mono text-[13px] text-brand-800"},K={class:"px-5 py-3 align-top"},U={class:"px-5 py-3 align-top"},W={class:"mt-3 text-sm text-slate-500"},X={class:"text-xl font-semibold text-ink-900 sm:text-2xl"},Y={class:"rounded-2xl bg-brand-500 px-6 py-8 text-white sm:px-8 sm:py-10"},Z={class:"display text-2xl"},$={class:"mt-2 max-w-xl text-brand-100"},d="https://rajarepair.id/api/v1",lt=h({__name:"api-docs",setup(l){const{t:e}=_();f({title:e("apiDocs.seoTitle"),description:e("apiDocs.seoDescription")});const c=D(()=>[{path:"/locations",query:[],returns:e("apiDocs.epLocations")},{path:"/nearest-locations",query:["lat","lng"],returns:e("apiDocs.epNearest")},{path:"/device-models",query:["brand_id"],returns:e("apiDocs.epModels")},{path:"/repair-services",query:["device_model_id"],returns:e("apiDocs.epServices")},{path:"/availability",query:["location_id","date"],returns:e("apiDocs.epAvailability")},{path:"/reviews",query:[],returns:e("apiDocs.epReviews")},{path:"/stats",query:[],returns:e("apiDocs.epStats")},{path:"/reward-catalog",query:[],returns:e("apiDocs.epRewards")},{path:"/check",query:["search_type=job_sheet_no","search_number"],returns:e("apiDocs.epCheck")},{path:"/cms/articles",query:["page","per_page","locale"],returns:e("apiDocs.epArticles")},{path:"/cms/articles/{slug}",query:["locale"],returns:e("apiDocs.epArticle")},{path:"/cms/promos",query:["per_page","locale"],returns:e("apiDocs.epPromos")},{path:"/cms/promos/{slug}",query:["locale"],returns:e("apiDocs.epPromo")}]);return(tt,s)=>{const b=g;return r(),i("div",null,[t("section",k,[t("div",v,[t("p",q,o(n(e)("apiDocs.eyebrow")),1),t("h1",j,o(n(e)("apiDocs.title")),1),t("p",C,o(n(e)("apiDocs.lede")),1),t("div",{class:"mt-6 flex flex-wrap gap-2"},[t("span",{class:"inline-flex items-center gap-2 rounded-full bg-white px-3.5 py-1.5 text-sm text-ink-700 ring-1 ring-slate-200"},[s[0]||(s[0]=t("b",{class:"font-semibold text-ink-900"},"Base",-1)),t("code",{class:"font-mono text-[13px] text-brand-700"},o(d))]),s[1]||(s[1]=t("a",{href:"/openapi.json",class:"inline-flex items-center gap-2 rounded-full bg-white px-3.5 py-1.5 text-sm text-ink-700 ring-1 ring-slate-200 transition-colors hover:text-brand-600"},[t("b",{class:"font-semibold text-ink-900"},"OpenAPI 3.1"),a(" /openapi.json ")],-1)),s[2]||(s[2]=t("a",{href:"/.well-known/api-catalog",class:"inline-flex items-center gap-2 rounded-full bg-white px-3.5 py-1.5 text-sm text-ink-700 ring-1 ring-slate-200 transition-colors hover:text-brand-600"},[t("b",{class:"font-semibold text-ink-900"},"Catalog"),a(" RFC 9727 ")],-1))])])]),t("section",I,[t("div",A,[t("div",null,[t("h2",B,o(n(e)("apiDocs.basicsHeading")),1),t("ul",N,[t("li",P,[s[3]||(s[3]=t("span",{class:"mt-3 h-1.5 w-1.5 shrink-0 rounded-full bg-gold-500"},null,-1)),t("span",null,[a(o(n(e)("apiDocs.basicAuth"))+" ",1),t("code",{class:"rounded bg-brand-50 px-1.5 py-0.5 font-mono text-[13px] text-brand-800"},o(d))])]),t("li",R,[s[4]||(s[4]=t("span",{class:"mt-3 h-1.5 w-1.5 shrink-0 rounded-full bg-gold-500"},null,-1)),t("span",null,o(n(e)("apiDocs.basicGet")),1)]),t("li",S,[s[5]||(s[5]=t("span",{class:"mt-3 h-1.5 w-1.5 shrink-0 rounded-full bg-gold-500"},null,-1)),t("span",null,o(n(e)("apiDocs.basicRate")),1)]),t("li",H,[s[7]||(s[7]=t("span",{class:"mt-3 h-1.5 w-1.5 shrink-0 rounded-full bg-gold-500"},null,-1)),t("span",null,[a(o(n(e)("apiDocs.basicEnvelope"))+" ",1),s[6]||(s[6]=t("code",{class:"rounded bg-brand-50 px-1.5 py-0.5 font-mono text-[13px] text-brand-800"},'{ "data": ... }',-1))])]),t("li",L,[s[12]||(s[12]=t("span",{class:"mt-3 h-1.5 w-1.5 shrink-0 rounded-full bg-gold-500"},null,-1)),t("span",null,[a(o(n(e)("apiDocs.basicSpec"))+" ",1),s[8]||(s[8]=t("a",{href:"/openapi.json",class:"font-medium text-brand-600 hover:underline"},"/openapi.json",-1)),s[9]||(s[9]=a(", ",-1)),s[10]||(s[10]=t("a",{href:"/.well-known/api-catalog",class:"font-medium text-brand-600 hover:underline"},"/.well-known/api-catalog",-1)),s[11]||(s[11]=a(". ",-1))])])])]),t("div",null,[t("h2",T,o(n(e)("apiDocs.endpointsHeading")),1),t("div",E,[t("table",F,[t("thead",null,[t("tr",V,[t("th",G,o(n(e)("apiDocs.colPath")),1
1),t("th",z,o(n(e)("apiDocs.colQuery")),1),t("th",M,o(n(e)("apiDocs.colReturns")),1)])]),t("tbody",O,[(r(!0),i(u,null,m(n(c),p=>(r(),i("tr",{key:p.path},[t("td",Q,[t("code",J,o(p.path),1)]),t("td",K,[(r(!0),i(u,null,m(p.query,x=>(r(),i("code",{key:x,class:"mr-1 inline-block rounded bg-slate-100 px-1.5 py-0.5 font-mono text-[13px] text-ink-700"},o(x),1))),128))]),t("td",U,o(p.returns),1)]))),128))])])]),t("p",W,o(n(e)("apiDocs.localeNote")),1)]),t("div",null,[t("h2",X,o(n(e)("apiDocs.exampleHeading")),1),t("pre",{class:"mt-4 overflow-x-auto rounded-2xl bg-brand-950 px-5 py-4 text-[13px] leading-6 text-brand-100"},[t("code",null,"curl "+o(d)+"/locations")])]),t("div",Y,[t("h2",Z,o(n(e)("apiDocs.contactHeading")),1),t("p",$,o(n(e)("apiDocs.contactBody")),1),y(b,{to:"/kontak",class:"mt-6 inline-flex items-center justify-center rounded-full bg-white px-7 py-3.5 text-base font-semibold text-brand-600 transition-all duration-300 hover:shadow-lg hover:shadow-brand-950/25"},{default:w(()=>[a(o(n(e)("apiDocs.contactCta")),1)]),_:1})])])])])}}});export{lt as default};

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.