[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-06-16 (世界標準時間)。"],[[["This guide demonstrates how to structure an API across multiple classes using decorators, contrasting with single-class API setups detailed elsewhere."],["The `@api_collection.api_class` decorator is used to designate classes that contribute to the API, with `resource_name` setting the class's API Explorer name."],["The optional `path` argument in `@api_class` and `@endpoints.method` determines the URL structure for classes and methods, appending to the root API path, or overriding the class path with a leading `/`."],["Methods within classes are made accessible via the API using the `@endpoints.method` decorator, and without a specified path the method name is used."],["You must use the `endpoints.api_server` code and pass in your `api_collection` variable to the function to serve the multi-class API."]]],[]]