[{"data":1,"prerenderedAt":742},["ShallowReactive",2],{"navigation":3,"\u002Fdigging-deeper\u002Ftranslations":307,"\u002Fdigging-deeper\u002Ftranslations-surround":739},{"3.x":4,"2.x":203},[5,32,61,99,121,147,165],{"title":6,"icon":7,"path":8,"stem":9,"children":10,"page":31},"Getting Started","i-heroicons-star","\u002Fgetting-started","1.getting-started",[11,15,19,23,27],{"title":12,"path":13,"stem":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":16,"path":17,"stem":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":20,"path":21,"stem":22},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":24,"path":25,"stem":26},"Configuration","\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F4.configuration",{"title":28,"path":29,"stem":30},"Upgrade guide","\u002Fgetting-started\u002Fupgrade-guide","1.getting-started\u002F5.upgrade-guide",false,{"title":33,"icon":34,"path":35,"stem":36,"children":37,"page":31},"Resources","i-heroicons-document-text","\u002Fresources","2.resources",[38,41,45,49,53,57],{"title":33,"path":39,"stem":40},"\u002Fresources\u002Fresources","2.resources\u002F1.resources",{"title":42,"path":43,"stem":44},"Fields","\u002Fresources\u002Ffields","2.resources\u002F2.fields",{"title":46,"path":47,"stem":48},"Relationships","\u002Fresources\u002Frelations","2.resources\u002F3.relations",{"title":50,"path":51,"stem":52},"Validation","\u002Fresources\u002Fvalidation","2.resources\u002F4.validation",{"title":54,"path":55,"stem":56},"Perimeter","\u002Fresources\u002Fperimeter","2.resources\u002F5.perimeter",{"title":58,"path":59,"stem":60},"Limits","\u002Fresources\u002Flimits","2.resources\u002F6.limits",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":31},"Search","i-heroicons-magnifying-glass","\u002Fsearch","3.search",[67,71,75,79,83,87,91,95],{"title":68,"path":69,"stem":70},"Search overview","\u002Fsearch\u002Foverview","3.search\u002F1.overview",{"title":72,"path":73,"stem":74},"Search filters","\u002Fsearch\u002Ffilters","3.search\u002F2.filters",{"title":76,"path":77,"stem":78},"Sorts and selects","\u002Fsearch\u002Fsorts-and-selects","3.search\u002F3.sorts-and-selects",{"title":80,"path":81,"stem":82},"Includes and aggregates","\u002Fsearch\u002Fincludes-and-aggregates","3.search\u002F4.includes-and-aggregates",{"title":84,"path":85,"stem":86},"Scopes and instructions","\u002Fsearch\u002Fscopes-and-instructions","3.search\u002F5.scopes-and-instructions",{"title":88,"path":89,"stem":90},"Text search","\u002Fsearch\u002Ftext-search","3.search\u002F6.text-search",{"title":92,"path":93,"stem":94},"Search engines","\u002Fsearch\u002Fsearch-engines","3.search\u002F7.search-engines",{"title":96,"path":97,"stem":98},"Searching outside HTTP","\u002Fsearch\u002Foutside-http","3.search\u002F8.outside-http",{"title":100,"icon":101,"path":102,"stem":103,"children":104,"page":31},"Writing","i-heroicons-pencil-square","\u002Fwriting","4.writing",[105,109,113,117],{"title":106,"path":107,"stem":108},"Mutate","\u002Fwriting\u002Fmutate","4.writing\u002F1.mutate",{"title":110,"path":111,"stem":112},"Writing relations","\u002Fwriting\u002Frelations","4.writing\u002F2.relations",{"title":114,"path":115,"stem":116},"Versioned rows","\u002Fwriting\u002Fversioned-rows","4.writing\u002F3.versioned-rows",{"title":118,"path":119,"stem":120},"Deleting and restoring","\u002Fwriting\u002Fdeleting","4.writing\u002F4.deleting",{"title":122,"icon":123,"path":124,"stem":125,"children":126,"page":31},"Actions and Metrics","i-heroicons-bolt","\u002Factions-and-metrics","5.actions-and-metrics",[127,131,135,139,143],{"title":128,"path":129,"stem":130},"Actions","\u002Factions-and-metrics\u002Factions","5.actions-and-metrics\u002F1.actions",{"title":132,"path":133,"stem":134},"Queued Actions","\u002Factions-and-metrics\u002Fqueued-actions","5.actions-and-metrics\u002F2.queued-actions",{"title":136,"path":137,"stem":138},"Confirmation","\u002Factions-and-metrics\u002Fconfirmation","5.actions-and-metrics\u002F3.confirmation",{"title":140,"path":141,"stem":142},"Metrics","\u002Factions-and-metrics\u002Fmetrics","5.actions-and-metrics\u002F4.metrics",{"title":144,"path":145,"stem":146},"Exports","\u002Factions-and-metrics\u002Fexports","5.actions-and-metrics\u002F5.exports",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":31},"Authorization","i-heroicons-lock-closed","\u002Fauthorization","6.authorization",[153,157,161],{"title":154,"path":155,"stem":156},"Policies","\u002Fauthorization\u002Fpolicies","6.authorization\u002F1.policies",{"title":158,"path":159,"stem":160},"Gates","\u002Fauthorization\u002Fgates","6.authorization\u002F2.gates",{"title":162,"path":163,"stem":164},"Decision Cache","\u002Fauthorization\u002Fdecision-cache","6.authorization\u002F3.decision-cache",{"title":166,"icon":167,"path":168,"stem":169,"children":170,"page":31},"Digging Deeper","i-heroicons-list-bullet","\u002Fdigging-deeper","7.digging-deeper",[171,175,179,183,187,191,195,199],{"title":172,"path":173,"stem":174},"Details","\u002Fdigging-deeper\u002Fdetails","7.digging-deeper\u002F1.details",{"title":176,"path":177,"stem":178},"Events and Hooks","\u002Fdigging-deeper\u002Fevents-and-hooks","7.digging-deeper\u002F2.events-and-hooks",{"title":180,"path":181,"stem":182},"Custom Responses","\u002Fdigging-deeper\u002Fresponses","7.digging-deeper\u002F3.responses",{"title":184,"path":185,"stem":186},"OpenAPI Documentation","\u002Fdigging-deeper\u002Fopenapi","7.digging-deeper\u002F4.openapi",{"title":188,"path":189,"stem":190},"Precognition","\u002Fdigging-deeper\u002Fprecognition","7.digging-deeper\u002F5.precognition",{"title":192,"path":193,"stem":194},"Artisan Commands","\u002Fdigging-deeper\u002Fartisan","7.digging-deeper\u002F6.artisan",{"title":196,"path":197,"stem":198},"Laravel Boost Skill","\u002Fdigging-deeper\u002Fai-skill","7.digging-deeper\u002F7.ai-skill",{"title":200,"path":201,"stem":202},"Translations","\u002Fdigging-deeper\u002Ftranslations","7.digging-deeper\u002F8.translations",[204,215,237,260,297],{"title":6,"icon":7,"path":205,"stem":206,"children":207,"page":31},"\u002F2.x\u002Fgetting-started","2.x\u002F1.getting-started",[208,211],{"title":16,"path":209,"stem":210},"\u002F2.x\u002Fgetting-started\u002Finstallation","2.x\u002F1.getting-started\u002F1.installation",{"title":212,"path":213,"stem":214},"Upgrade Guide","\u002F2.x\u002Fgetting-started\u002Fupgrade-guide","2.x\u002F1.getting-started\u002F2.upgrade-guide",{"title":216,"icon":217,"path":218,"stem":219,"children":220,"page":31},"Endpoints","i-heroicons-arrow-uturn-left","\u002F2.x\u002Fendpoints","2.x\u002F2.endpoints",[221,224,227,230,233],{"title":172,"path":222,"stem":223},"\u002F2.x\u002Fendpoints\u002Fdetails","2.x\u002F2.endpoints\u002F1.details",{"title":62,"path":225,"stem":226},"\u002F2.x\u002Fendpoints\u002Fsearch","2.x\u002F2.endpoints\u002F2.search",{"title":106,"path":228,"stem":229},"\u002F2.x\u002Fendpoints\u002Fmutate","2.x\u002F2.endpoints\u002F3.mutate",{"title":128,"path":231,"stem":232},"\u002F2.x\u002Fendpoints\u002Factions","2.x\u002F2.endpoints\u002F4.actions",{"title":234,"path":235,"stem":236},"Delete","\u002F2.x\u002Fendpoints\u002Fdelete","2.x\u002F2.endpoints\u002F5.delete",{"title":33,"icon":34,"path":238,"stem":239,"children":240,"page":31},"\u002F2.x\u002Fresources","2.x\u002F3.resources",[241,245,249,252,256],{"title":242,"path":243,"stem":244},"Basics","\u002F2.x\u002Fresources\u002Fbasics","2.x\u002F3.resources\u002F1.basics",{"title":246,"path":247,"stem":248},"Exposed Data","\u002F2.x\u002Fresources\u002Fexposed-data","2.x\u002F3.resources\u002F2.exposed-data",{"title":46,"path":250,"stem":251},"\u002F2.x\u002Fresources\u002Frelationships","2.x\u002F3.resources\u002F3.relationships",{"title":253,"path":254,"stem":255},"Validations","\u002F2.x\u002Fresources\u002Fvalidations","2.x\u002F3.resources\u002F4.validations",{"title":257,"path":258,"stem":259},"Interactions","\u002F2.x\u002Fresources\u002Finteractions","2.x\u002F3.resources\u002F5.interactions",{"title":166,"icon":167,"path":261,"stem":262,"children":263,"page":31},"\u002F2.x\u002Fdigging-deeper","2.x\u002F4.digging-deeper",[264,267,271,274,278,282,286,290,294],{"title":128,"path":265,"stem":266},"\u002F2.x\u002Fdigging-deeper\u002Factions","2.x\u002F4.digging-deeper\u002F1.actions",{"title":268,"path":269,"stem":270},"Hooks","\u002F2.x\u002Fdigging-deeper\u002Fhooks","2.x\u002F4.digging-deeper\u002F2.hooks",{"title":158,"path":272,"stem":273},"\u002F2.x\u002Fdigging-deeper\u002Fgates","2.x\u002F4.digging-deeper\u002F3.gates",{"title":275,"path":276,"stem":277},"Authorizations","\u002F2.x\u002Fdigging-deeper\u002Fauthorizations","2.x\u002F4.digging-deeper\u002F4.authorizations",{"title":279,"path":280,"stem":281},"Full Text Search","\u002F2.x\u002Fdigging-deeper\u002Ffull-text-search","2.x\u002F4.digging-deeper\u002F5.full-text-search",{"title":283,"path":284,"stem":285},"Instructions","\u002F2.x\u002Fdigging-deeper\u002Finstructions","2.x\u002F4.digging-deeper\u002F6.instructions",{"title":287,"path":288,"stem":289},"Responses","\u002F2.x\u002Fdigging-deeper\u002Fresponses","2.x\u002F4.digging-deeper\u002F7.responses",{"title":291,"path":292,"stem":293},"Documentation","\u002F2.x\u002Fdigging-deeper\u002Fdocumentation","2.x\u002F4.digging-deeper\u002F8.documentation",{"title":188,"path":295,"stem":296},"\u002F2.x\u002Fdigging-deeper\u002Fprecognition","2.x\u002F4.digging-deeper\u002F9.precognition",{"title":298,"icon":299,"path":300,"stem":301,"children":302,"page":31},"Integrations","i-lucide-puzzle","\u002F2.x\u002Fintegrations","2.x\u002F5.integrations",[303],{"title":304,"path":305,"stem":306},"Flutter","\u002F2.x\u002Fintegrations\u002Fflutter","2.x\u002F5.integrations\u002F1.flutter",{"id":308,"title":200,"body":309,"description":731,"extension":732,"links":733,"meta":734,"navigation":735,"path":201,"seo":736,"sitemap":737,"stem":202,"__hash__":738},"docs3x\u002F7.digging-deeper\u002F8.translations.md",{"type":310,"value":311,"toc":727},"minimark",[312,329,368,483,488,569,626,666,670,676,696,710,723],[313,314,315,316,320,321,324,325,328],"p",{},"Every message that the package writes for a client is a translation line under the ",[317,318,319],"code",{},"rest"," namespace: its validation texts, the caps of an action, the default denial and the version conflict. The package ships ",[317,322,323],{},"en"," and ",[317,326,327],{},"fr",", and answers in the locale of the application.",[330,331,336],"pre",{"className":332,"code":333,"language":334,"meta":335,"style":335},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","app()->setLocale('fr');\n","php","",[317,337,338],{"__ignoreMap":335},[339,340,343,347,351,354,357,360,363,365],"span",{"class":341,"line":342},"line",1,[339,344,346],{"class":345},"s2Zo4","app",[339,348,350],{"class":349},"sMK4o","()->",[339,352,353],{"class":345},"setLocale",[339,355,356],{"class":349},"(",[339,358,359],{"class":349},"'",[339,361,327],{"class":362},"sfazB",[339,364,359],{"class":349},[339,366,367],{"class":349},");\n",[330,369,374],{"className":370,"code":371,"filename":372,"language":373,"meta":335,"style":335},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"message\": \"L'élément a été modifié par une autre requête.\",\n  \"conflicts\": [{\"path\": \"mutate.0\", \"key\": 2, \"version\": \"2026-03-01T10:00:00.000000Z\"}]\n}\n","409 Conflict","json",[317,375,376,381,408,477],{"__ignoreMap":335},[339,377,378],{"class":341,"line":342},[339,379,380],{"class":349},"{\n",[339,382,384,387,391,394,397,400,403,405],{"class":341,"line":383},2,[339,385,386],{"class":349},"  \"",[339,388,390],{"class":389},"spNyl","message",[339,392,393],{"class":349},"\"",[339,395,396],{"class":349},":",[339,398,399],{"class":349}," \"",[339,401,402],{"class":362},"L'élément a été modifié par une autre requête.",[339,404,393],{"class":349},[339,406,407],{"class":349},",\n",[339,409,411,413,416,418,420,423,425,429,431,433,435,438,440,443,445,448,450,452,456,458,460,463,465,467,469,472,474],{"class":341,"line":410},3,[339,412,386],{"class":349},[339,414,415],{"class":389},"conflicts",[339,417,393],{"class":349},[339,419,396],{"class":349},[339,421,422],{"class":349}," [{",[339,424,393],{"class":349},[339,426,428],{"class":427},"sBMFI","path",[339,430,393],{"class":349},[339,432,396],{"class":349},[339,434,399],{"class":349},[339,436,437],{"class":362},"mutate.0",[339,439,393],{"class":349},[339,441,442],{"class":349},",",[339,444,399],{"class":349},[339,446,447],{"class":427},"key",[339,449,393],{"class":349},[339,451,396],{"class":349},[339,453,455],{"class":454},"sbssI"," 2",[339,457,442],{"class":349},[339,459,399],{"class":349},[339,461,462],{"class":427},"version",[339,464,393],{"class":349},[339,466,396],{"class":349},[339,468,399],{"class":349},[339,470,471],{"class":362},"2026-03-01T10:00:00.000000Z",[339,473,393],{"class":349},[339,475,476],{"class":349},"}]\n",[339,478,480],{"class":341,"line":479},4,[339,481,482],{"class":349},"}\n",[484,485,487],"h2",{"id":486},"the-lines","The lines",[489,490,491,507],"table",{},[492,493,494],"thead",{},[495,496,497,501,504],"tr",{},[498,499,500],"th",{},"File",[498,502,503],{},"Holds",[498,505,506],{},"Example",[508,509,510,533,551],"tbody",{},[495,511,512,518,524],{},[513,514,515],"td",{},[317,516,517],{},"rest::validation",[513,519,520,521],{},"the validation texts of the package: totals, depths, unknown and not writable keys, include aliases, the values of ",[317,522,523],{},"with",[513,525,526,529,530],{},[317,527,528],{},"validation.filters_total",": ",[317,531,532],{},"The :attribute field goes over the limit of :max filters in one search.",[495,534,535,540,543],{},[513,536,537],{},[317,538,539],{},"rest::actions",[513,541,542],{},"the caps of an action on a search",[513,544,545,529,548],{},[317,546,547],{},"actions.row_cap",[317,549,550],{},"This action can be run on at most :max resources; narrow the search.",[495,552,553,558,561],{},[513,554,555],{},[317,556,557],{},"rest::errors",[513,559,560],{},"the default denial and the version conflict",[513,562,563,529,566],{},[317,564,565],{},"errors.unauthorized",[317,567,568],{},"This action is unauthorized.",[330,570,572],{"className":332,"code":571,"language":334,"meta":335,"style":335},"__('rest::errors.version_conflict'); \u002F\u002F The record was changed by another request.\n__('rest::errors.version_conflict', locale: 'fr'); \u002F\u002F L'élément a été modifié par une autre requête.\n",[317,573,574,595],{"__ignoreMap":335},[339,575,576,579,581,583,586,588,591],{"class":341,"line":342},[339,577,578],{"class":345},"__",[339,580,356],{"class":349},[339,582,359],{"class":349},[339,584,585],{"class":362},"rest::errors.version_conflict",[339,587,359],{"class":349},[339,589,590],{"class":349},");",[339,592,594],{"class":593},"sHwdD"," \u002F\u002F The record was changed by another request.\n",[339,596,597,599,601,603,605,607,609,612,614,617,619,621,623],{"class":341,"line":383},[339,598,578],{"class":345},[339,600,356],{"class":349},[339,602,359],{"class":349},[339,604,585],{"class":362},[339,606,359],{"class":349},[339,608,442],{"class":349},[339,610,611],{"class":427}," locale",[339,613,396],{"class":349},[339,615,616],{"class":349}," '",[339,618,327],{"class":362},[339,620,359],{"class":349},[339,622,590],{"class":349},[339,624,625],{"class":593}," \u002F\u002F L'élément a été modifié par une autre requête.\n",[627,628,629,641,659],"ul",{},[630,631,632,633,636,637,640],"li",{},"The texts that Laravel's own rules give, such as ",[317,634,635],{},"The search.filters field must not have more than 100 items.",", stay Laravel's lines: translate them in ",[317,638,639],{},"lang\u002F\u003Clocale>\u002Fvalidation.php",".",[630,642,643,644,647,648,651,652,655,656,640],{},"A field is named by its path in the request, such as ",[317,645,646],{},"search.filters",", unless ",[317,649,650],{},"label()"," or ",[317,653,654],{},"attributes()"," names it. See ",[657,658,50],"a",{"href":51},[630,660,661,662,665],{},"Exception messages meant for developers, such as ",[317,663,664],{},"InvalidResourceException",", stay in English.",[484,667,669],{"id":668},"rewording-a-message-or-adding-a-locale","Rewording a message or adding a locale",[313,671,672,673,396],{},"Publish the files to ",[317,674,675],{},"lang\u002Fvendor\u002Frest",[330,677,681],{"className":678,"code":679,"language":680,"meta":335,"style":335},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","php artisan vendor:publish --tag=rest-lang\n","bash",[317,682,683],{"__ignoreMap":335},[339,684,685,687,690,693],{"class":341,"line":342},[339,686,334],{"class":427},[339,688,689],{"class":362}," artisan",[339,691,692],{"class":362}," vendor:publish",[339,694,695],{"class":362}," --tag=rest-lang\n",[313,697,698,699,702,703,705,706,709],{},"Edit a line in ",[317,700,701],{},"lang\u002Fvendor\u002Frest\u002Fen\u002Ferrors.php",", or copy the ",[317,704,323],{}," folder to a new locale, such as ",[317,707,708],{},"lang\u002Fvendor\u002Frest\u002Fde",", and translate it. The published lines replace the lines of the package, key by key.",[711,712,713],"note",{},[313,714,715,716,719,720,722],{},"A line of a JSON translation file that matches an English text of the package, such as ",[317,717,718],{},"\"This action is unauthorized.\"",", no longer applies to the messages of the package. Move it to the published ",[317,721,319],{}," files.",[724,725,726],"style",{},"html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":335,"searchDepth":342,"depth":383,"links":728},[729,730],{"id":486,"depth":383,"text":487},{"id":668,"depth":383,"text":669},"Translate or reword every message that the package sends to clients, with the English and French lines it ships under the rest namespace.","md",null,{},true,{"title":200,"description":731},{"loc":201},"KB4bJsPGcd79sMPObM-bszuWmRZpZvndx2zeJWseNBE",[740,733],{"title":196,"path":197,"stem":198,"description":741,"children":-1},"Give your coding agent the conventions of Laravel Rest API with the skill that the package ships for Laravel Boost.",1794181355879]