{ "name": "Learn Bellydance Online with Raqs Academy: Explore Oriental Workshops", "description": "Discover the Art of Bellydance: Learn with Global Master Artists at Raqs Academy", "url": "https:\/\/raqsacademy.com", "home": "https:\/\/raqsacademy.com\/zh-tw", "gmt_offset": "8", "timezone_string": "", "page_for_posts": 0, "page_on_front": 25741, "show_on_front": "page", "namespaces": [ "oembed\/1.0", "code-snippets\/v1", "envato-elements\/v2", "wpvibe\/v1", "amego\/v1", "wp\/v2", "wc\/v3", "wc\/v1", "wordfence-login-security\/v1", "wordfence\/v1", "yoast\/v1", "jetpack\/v4", "mc4wp\/v1", "complianz\/v1", "elementor\/v1", "llms\/v1", "hfe\/v1", "wc-admin", "wc-analytics", "wc\/store", "wc\/store\/v1", "wc\/private", "wp-mail-smtp\/setup-wizard\/v1", "wp-rocket\/v1", "wp-smush\/v1", "wc\/v2", "mailchimp-for-woocommerce\/v1", "astra\/v1", "google-site-kit\/v1", "elementor\/v1\/documents", "elementor-ai\/v1", "elementor-pro\/v1", "wpmudev_pcs\/v1", "wc-admin-email", "wc-telemetry", "wccom-site\/v3", "wpforms\/v1", "asnp-easy-product-bundles\/v1", "nps-survey\/v1", "wp-site-health\/v1", "wp-block-editor\/v1" ], "authentication": { "application-passwords": { "endpoints": { "authorization": "https:\/\/raqsacademy.com\/wp-admin\/authorize-application.php" } } }, "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/" } ] } }, "\/batch\/v1": { "namespace": "", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/batch\/v1" } ] } }, "\/oembed\/1.0": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "oembed\/1.0", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "\u7528\u65bc\u64f7\u53d6 oEmbed \u8cc7\u6599\u7684\u8cc7\u6e90\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": true }, "format": { "description": "\u8981\u4f7f\u7528\u7684 oEmbed \u683c\u5f0f\u3002", "type": "string", "default": "json", "enum": [ "json", "xml" ], "required": false }, "maxwidth": { "description": "\u5167\u5d4c\u6846\u67b6\u6700\u5927\u5bec\u5ea6 (\u55ae\u4f4d\u70ba px)\u3002", "type": "integer", "default": 600, "required": false }, "maxheight": { "description": "\u5167\u5d4c\u6846\u67b6\u6700\u5927\u9ad8\u5ea6 (\u55ae\u4f4d\u70ba px)\u3002", "type": "integer", "required": false }, "discover": { "description": "\u662f\u5426\u57f7\u884c\u672a\u6279\u51c6\u7684\u63d0\u4f9b\u8005\u7684 oEmbed \u63a2\u7d22\u8981\u6c42\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/oembed\/1.0\/proxy" } ] } }, "\/code-snippets\/v1": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "code-snippets\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/code-snippets\/v1" } ] } }, "\/code-snippets\/v1\/snippets": { "namespace": "code-snippets\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u63cf\u8ff0\u6027\u6a19\u984c\u3002", "type": "string", "required": false }, "desc": { "description": "\u8207\u7a0b\u5f0f\u78bc\u7247\u6bb5\u76f8\u95dc\u7684\u63cf\u8ff0\u6027\u6587\u5b57\u3002", "type": "string", "required": false }, "code": { "description": "\u53ef\u57f7\u884c\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7a0b\u5f0f\u78bc\u3002", "type": "string", "required": false }, "tags": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u6240\u5c6c\u7684\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "scope": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u53ef\u57f7\u884c\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "condition_id": { "description": "\u9023\u7d50\u81f3\u9019\u500b\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "active": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "priority": { "description": "\u57f7\u884c\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u76f8\u5c0d\u512a\u5148\u9806\u5e8f\u3002", "type": "integer", "required": false }, "network": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u57f7\u884c\u65bc\u6574\u500b\u591a\u7ad9\u7db2\u8def\u6216\u500b\u5225\u7db2\u7ad9\u3002", "type": [ "boolean", "null" ], "required": false }, "shared_network": { "description": "\u5982\u679c\u662f\u8981\u7528\u65bc\u591a\u7ad9\u7db2\u8def\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\uff0c\u6c7a\u5b9a\u662f\u57f7\u884c\u65bc\u500b\u5225\u7db2\u7ad9\u6216\u6574\u500b\u591a\u7ad9\u7db2\u8def\u3002", "type": [ "boolean", "null" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/code-snippets\/v1\/snippets" } ] } }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)": { "namespace": "code-snippets\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u63cf\u8ff0\u6027\u6a19\u984c\u3002", "type": "string", "required": false }, "desc": { "description": "\u8207\u7a0b\u5f0f\u78bc\u7247\u6bb5\u76f8\u95dc\u7684\u63cf\u8ff0\u6027\u6587\u5b57\u3002", "type": "string", "required": false }, "code": { "description": "\u53ef\u57f7\u884c\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7a0b\u5f0f\u78bc\u3002", "type": "string", "required": false }, "tags": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u6240\u5c6c\u7684\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "scope": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u53ef\u57f7\u884c\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "condition_id": { "description": "\u9023\u7d50\u81f3\u9019\u500b\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "active": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "priority": { "description": "\u57f7\u884c\u7a0b\u5f0f\u78bc\u7247\u6bb5\u7684\u76f8\u5c0d\u512a\u5148\u9806\u5e8f\u3002", "type": "integer", "required": false }, "network": { "description": "\u7a0b\u5f0f\u78bc\u7247\u6bb5\u57f7\u884c\u65bc\u6574\u500b\u591a\u7ad9\u7db2\u8def\u6216\u500b\u5225\u7db2\u7ad9\u3002", "type": [ "boolean", "null" ], "required": false }, "shared_network": { "description": "\u5982\u679c\u662f\u8981\u7528\u65bc\u591a\u7ad9\u7db2\u8def\u7684\u7a0b\u5f0f\u78bc\u7247\u6bb5\uff0c\u6c7a\u5b9a\u662f\u57f7\u884c\u65bc\u500b\u5225\u7db2\u7ad9\u6216\u6574\u500b\u591a\u7ad9\u7db2\u8def\u3002", "type": [ "boolean", "null" ], "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/schema": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/code-snippets\/v1\/snippets\/schema" } ] } }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/activate": { "namespace": "code-snippets\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/deactivate": { "namespace": "code-snippets\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/export": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/export-code": { "namespace": "code-snippets\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/envato-elements\/v2": { "namespace": "envato-elements\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "envato-elements\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2" } ] } }, "\/envato-elements\/v2\/fetchPremiumTemplateKitSearchResults": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/fetchPremiumTemplateKitSearchResults" } ] } }, "\/envato-elements\/v2\/fetchFreeTemplateKitSearchResults": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/fetchFreeTemplateKitSearchResults" } ] } }, "\/envato-elements\/v2\/fetchFreeBlockSearchResults": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/fetchFreeBlockSearchResults" } ] } }, "\/envato-elements\/v2\/fetchPhotosSearchResults": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/fetchPhotosSearchResults" } ] } }, "\/envato-elements\/v2\/fetchInstalledTemplateKits": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/fetchInstalledTemplateKits" } ] } }, "\/envato-elements\/v2\/fetchIndividualTemplates": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/fetchIndividualTemplates" } ] } }, "\/envato-elements\/v2\/importSingleTemplate": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/importSingleTemplate" } ] } }, "\/envato-elements\/v2\/importFreeBlock": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/importFreeBlock" } ] } }, "\/envato-elements\/v2\/getSingleTemplateImportData": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/getSingleTemplateImportData" } ] } }, "\/envato-elements\/v2\/importElementorTemplateImage": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/importElementorTemplateImage" } ] } }, "\/envato-elements\/v2\/installPremiumTemplateKit": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/installPremiumTemplateKit" } ] } }, "\/envato-elements\/v2\/installFreeTemplateKit": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/installFreeTemplateKit" } ] } }, "\/envato-elements\/v2\/uploadTemplateKitZipFile": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/uploadTemplateKitZipFile" } ] } }, "\/envato-elements\/v2\/deleteTemplateKit": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/deleteTemplateKit" } ] } }, "\/envato-elements\/v2\/verifyExtensionsToken": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/verifyExtensionsToken" } ] } }, "\/envato-elements\/v2\/dismissBanner": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/dismissBanner" } ] } }, "\/envato-elements\/v2\/setProjectName": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/setProjectName" } ] } }, "\/envato-elements\/v2\/resetUserSettings": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/resetUserSettings" } ] } }, "\/envato-elements\/v2\/savePreferredStartPage": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/savePreferredStartPage" } ] } }, "\/envato-elements\/v2\/getServerLimits": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/getServerLimits" } ] } }, "\/envato-elements\/v2\/getElementorGlobalStyleTemplates": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/getElementorGlobalStyleTemplates" } ] } }, "\/envato-elements\/v2\/saveElementorGlobalStyleTemplate": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/saveElementorGlobalStyleTemplate" } ] } }, "\/envato-elements\/v2\/importPhoto": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/importPhoto" } ] } }, "\/envato-elements\/v2\/installRequirement": { "namespace": "envato-elements\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/envato-elements\/v2\/installRequirement" } ] } }, "\/wpvibe\/v1": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wpvibe\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1" } ] } }, "\/wpvibe\/v1\/connection-check-challenge": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/connection-check-challenge" } ] } }, "\/amego\/v1": { "namespace": "amego\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "amego\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/amego\/v1" } ] } }, "\/amego\/v1\/test": { "namespace": "amego\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/amego\/v1\/test" } ] } }, "\/wp\/v2": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/abilities\/categories": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/abilities\/categories" } ] } }, "\/wp\/v2\/abilities\/categories\/(?P[a-z0-9]+(?:-[a-z0-9]+)*)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Unique identifier for the category.", "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$", "required": false } } } ] }, "\/wp\/v2\/abilities\/(?P[a-zA-Z0-9\\-\\\/]+?)\/run": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": { "name": { "description": "Unique identifier for the ability.", "type": "string", "pattern": "^[a-zA-Z0-9\\-\\\/]+$", "required": false }, "input": { "description": "Input parameters for the ability execution.", "type": [ "integer", "number", "boolean", "string", "array", "object", "null" ], "default": null, "required": false } } } ] }, "\/wp\/v2\/abilities": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false }, "category": { "description": "Limit results to abilities in specific category.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/abilities" } ] } }, "\/wp\/v2\/abilities\/(?P[a-zA-Z0-9\\-\\\/]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Unique identifier for the ability.", "type": "string", "pattern": "^[a-zA-Z0-9\\-\\\/]+$", "required": false } } } ] }, "\/wc\/v3": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/marketplace\/featured": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/featured" } ] } }, "\/wc\/v1": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/marketplace\/product-preview": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/marketplace\/product-preview" } ] } }, "\/wc\/v3\/marketplace\/refresh": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/refresh" } ] } }, "\/wc\/v3\/marketplace\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/subscriptions" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/connect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate-plugin": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate-plugin" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/disconnect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/subscriptions\/disconnect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/install-url": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/subscriptions\/install-url" } ] } }, "\/wc\/v3\/marketplace\/create-order": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/marketplace\/create-order" } ] } }, "\/wordfence-login-security\/v1": { "namespace": "wordfence-login-security\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wordfence-login-security\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence-login-security\/v1" } ] } }, "\/wordfence-login-security\/v1\/internal\/passkey-login\/begin": { "namespace": "wordfence-login-security\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence-login-security\/v1\/internal\/passkey-login\/begin" } ] } }, "\/wordfence-login-security\/v1\/internal\/passkey-login\/finish": { "namespace": "wordfence-login-security\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence-login-security\/v1\/internal\/passkey-login\/finish" } ] } }, "\/wordfence\/v1": { "namespace": "wordfence\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wordfence\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1" } ] } }, "\/wordfence\/v1\/authenticate": { "namespace": "wordfence\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1\/authenticate" } ] } }, "\/wordfence\/v1\/config": { "namespace": "wordfence\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1\/config" } ] } }, "\/wordfence\/v1\/disconnect": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1\/disconnect" } ] } }, "\/wordfence\/v1\/scan\/issues": { "namespace": "wordfence\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1\/scan\/issues" } ] } }, "\/wordfence\/v1\/scan": { "namespace": "wordfence\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1\/scan" } ] } }, "\/wordfence\/v1\/scan\/issue": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wordfence\/v1\/scan\/issue" } ] } }, "\/yoast\/v1": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "yoast\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1" } ] } }, "\/yoast\/v1\/file_size": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "type": "string", "description": "The url to retrieve", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/file_size" } ] } }, "\/yoast\/v1\/statistics": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/statistics" } ] } }, "\/yoast\/v1\/ai_generator\/callback": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "access_jwt": { "type": "string", "description": "The access JWT.", "required": true }, "refresh_jwt": { "type": "string", "description": "The JWT to be used when the access JWT needs to be refreshed.", "required": true }, "code_challenge": { "type": "string", "description": "The SHA266 of the verification code used to check the authenticity of a callback call.", "required": true }, "user_id": { "type": "integer", "description": "The id of the user associated to the code verifier.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai_generator\/callback" } ] } }, "\/yoast\/v1\/ai_generator\/refresh_callback": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "access_jwt": { "type": "string", "description": "The access JWT.", "required": true }, "refresh_jwt": { "type": "string", "description": "The JWT to be used when the access JWT needs to be refreshed.", "required": true }, "code_challenge": { "type": "string", "description": "The SHA266 of the verification code used to check the authenticity of a callback call.", "required": true }, "user_id": { "type": "integer", "description": "The id of the user associated to the code verifier.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai_generator\/refresh_callback" } ] } }, "\/yoast\/v1\/ai_generator\/consent": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "consent": { "type": "boolean", "description": "Whether the consent to use AI-based services has been given by the user.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai_generator\/consent" } ] } }, "\/yoast\/v1\/ai\/free_sparks": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai\/free_sparks" } ] } }, "\/yoast\/v1\/ai_generator\/bust_subscription_cache": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai_generator\/bust_subscription_cache" } ] } }, "\/yoast\/v1\/ai_generator\/get_suggestions": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "type": "string", "enum": [ "seo-title", "meta-description", "product-seo-title", "product-meta-description", "product-taxonomy-seo-title", "product-taxonomy-meta-description", "taxonomy-seo-title", "taxonomy-meta-description" ], "description": "The type of suggestion requested.", "required": true }, "prompt_content": { "type": "string", "description": "The content needed by the prompt to ask for suggestions.", "required": true }, "focus_keyphrase": { "type": "string", "description": "The focus keyphrase associated to the post.", "required": true }, "language": { "type": "string", "description": "The language the post is written in.", "required": true }, "platform": { "type": "string", "enum": [ "Google", "Facebook", "Twitter" ], "description": "The platform the post is intended for.", "required": true }, "editor": { "type": "string", "enum": [ "classic", "elementor", "gutenberg" ], "description": "The current editor.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai_generator\/get_suggestions" } ] } }, "\/yoast\/v1\/ai_generator\/get_usage": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "is_woo_product_entity": { "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/ai_generator\/get_usage" } ] } }, "\/yoast\/v1\/new-content-type-visibility\/dismiss-post-type": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "postTypeName": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/new-content-type-visibility\/dismiss-post-type" } ] } }, "\/yoast\/v1\/new-content-type-visibility\/dismiss-taxonomy": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "taxonomyName": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/new-content-type-visibility\/dismiss-taxonomy" } ] } }, "\/yoast\/v1\/site_kit_configuration_permanent_dismissal": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "is_dismissed": { "type": "bool", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/site_kit_configuration_permanent_dismissal" } ] } }, "\/yoast\/v1\/site_kit_manage_consent": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "consent": { "type": "bool", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/site_kit_manage_consent" } ] } }, "\/yoast\/v1\/readability_scores": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "contentType": { "type": "string", "required": true }, "taxonomy": { "type": "string", "default": "", "required": false }, "term": { "type": "integer", "default": null, "required": false }, "troubleshooting": { "type": "bool", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/readability_scores" } ] } }, "\/yoast\/v1\/seo_scores": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "contentType": { "type": "string", "required": true }, "taxonomy": { "type": "string", "default": "", "required": false }, "term": { "type": "integer", "default": null, "required": false }, "troubleshooting": { "type": "bool", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/seo_scores" } ] } }, "\/yoast\/v1\/time_based_seo_metrics": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "limit": { "type": "int", "default": 5, "required": false }, "options": { "type": "object", "properties": { "widget": { "type": "string", "required": true, "sanitize_callback": "sanitize_text_field" } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/time_based_seo_metrics" } ] } }, "\/yoast\/v1\/setup_steps_tracking": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "setup_widget_loaded": { "type": "string", "enum": [ "yes", "no" ], "required": false }, "first_interaction_stage": { "type": "string", "enum": [ "install", "activate", "setup", "grantConsent", "successfullyConnected" ], "required": false }, "last_interaction_stage": { "type": "string", "enum": [ "install", "activate", "setup", "grantConsent", "successfullyConnected" ], "required": false }, "setup_widget_temporarily_dismissed": { "type": "string", "enum": [ "yes", "no" ], "required": false }, "setup_widget_permanently_dismissed": { "type": "string", "enum": [ "yes", "no" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/setup_steps_tracking" } ] } }, "\/yoast\/v1\/introductions\/(?P[\\w-]+)\/seen": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "introduction_id": { "type": "string", "required": true }, "is_seen": { "type": "bool", "default": true, "required": false } } } ] }, "\/yoast\/v1\/wistia_embed_permission": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "value": { "type": "bool", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wistia_embed_permission" } ] } }, "\/yoast\/v1\/available_posts": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "search": { "type": "string", "default": "", "required": false }, "postType": { "type": "string", "default": "page", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/available_posts" } ] } }, "\/yoast\/v1\/alerts\/dismiss": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/alerts\/dismiss" } ] } }, "\/yoast\/v1\/configuration\/site_representation": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "company_or_person": { "type": "string", "enum": [ "company", "person" ], "required": true }, "company_name": { "type": "string", "required": false }, "company_logo": { "type": "string", "required": false }, "company_logo_id": { "type": "integer", "required": false }, "person_logo": { "type": "string", "required": false }, "person_logo_id": { "type": "integer", "required": false }, "company_or_person_user_id": { "type": "integer", "required": false }, "description": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/configuration\/site_representation" } ] } }, "\/yoast\/v1\/configuration\/social_profiles": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "facebook_site": { "type": "string", "required": false }, "twitter_site": { "type": "string", "required": false }, "other_social_urls": { "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/configuration\/social_profiles" } ] } }, "\/yoast\/v1\/configuration\/check_capability": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "user_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/configuration\/check_capability" } ] } }, "\/yoast\/v1\/configuration\/enable_tracking": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "tracking": { "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/configuration\/enable_tracking" } ] } }, "\/yoast\/v1\/configuration\/save_configuration_state": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "finishedSteps": { "type": "array", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/configuration\/save_configuration_state" } ] } }, "\/yoast\/v1\/configuration\/get_configuration_state": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/configuration\/get_configuration_state" } ] } }, "\/yoast\/v1\/import\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/yoast\/v1\/get_head": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/get_head" } ] } }, "\/yoast\/v1\/indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/posts" } ] } }, "\/yoast\/v1\/indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/terms" } ] } }, "\/yoast\/v1\/indexing\/post-type-archives": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/post-type-archives" } ] } }, "\/yoast\/v1\/indexing\/general": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/general" } ] } }, "\/yoast\/v1\/indexing\/prepare": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/prepare" } ] } }, "\/yoast\/v1\/indexing\/indexables-complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/indexables-complete" } ] } }, "\/yoast\/v1\/indexing\/complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/indexing\/complete" } ] } }, "\/yoast\/v1\/link-indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/link-indexing\/posts" } ] } }, "\/yoast\/v1\/link-indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/link-indexing\/terms" } ] } }, "\/yoast\/v1\/integrations\/set_active": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "active": { "type": "boolean", "required": true }, "integration": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/integrations\/set_active" } ] } }, "\/yoast\/v1\/meta\/search": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/meta\/search" } ] } }, "\/yoast\/v1\/semrush\/authenticate": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/semrush\/authenticate" } ] } }, "\/yoast\/v1\/semrush\/country_code": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "country_code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/semrush\/country_code" } ] } }, "\/yoast\/v1\/semrush\/related_keyphrases": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "keyphrase": { "required": true }, "country_code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/semrush\/related_keyphrases" } ] } }, "\/yoast\/v1\/wincher\/authorization-url": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/authorization-url" } ] } }, "\/yoast\/v1\/wincher\/authenticate": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "code": { "required": true }, "websiteId": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/authenticate" } ] } }, "\/yoast\/v1\/wincher\/keyphrases\/track": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "keyphrases": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/keyphrases\/track" } ] } }, "\/yoast\/v1\/wincher\/keyphrases": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "keyphrases": { "required": false }, "permalink": { "required": false }, "startAt": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/keyphrases" } ] } }, "\/yoast\/v1\/wincher\/keyphrases\/untrack": { "namespace": "yoast\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/keyphrases\/untrack" } ] } }, "\/yoast\/v1\/wincher\/account\/limit": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/account\/limit" } ] } }, "\/yoast\/v1\/wincher\/account\/upgrade-campaign": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/wincher\/account\/upgrade-campaign" } ] } }, "\/yoast\/v1\/workouts": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/yoast\/v1\/workouts" } ] } }, "\/jetpack\/v4": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4" } ] } }, "\/jetpack\/v4\/verify_xmlrpc_error": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nonce": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/verify_xmlrpc_error" } ] } }, "\/jetpack\/v4\/heartbeat\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "prefix": { "description": "Prefix to add before the stats identifiers.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/heartbeat\/data" } ] } }, "\/mc4wp\/v1": { "namespace": "mc4wp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "mc4wp\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mc4wp\/v1" } ] } }, "\/mc4wp\/v1\/form": { "namespace": "mc4wp\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mc4wp\/v1\/form" } ] } }, "\/complianz\/v1": { "namespace": "complianz\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "complianz\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1" } ] } }, "\/complianz\/v1\/documents": { "namespace": "complianz\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/documents" } ] } }, "\/complianz\/v1\/banner": { "namespace": "complianz\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/banner" } ] } }, "\/complianz\/v1\/track": { "namespace": "complianz\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/track" } ] } }, "\/complianz\/v1\/manage_consent_html": { "namespace": "complianz\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/manage_consent_html" } ] } }, "\/complianz\/v1\/store_cookies": { "namespace": "complianz\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/store_cookies" } ] } }, "\/complianz\/v1\/consent-area\/(?P([0-9]+))\/(?P([a-z0-9-_]+))": { "namespace": "complianz\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/complianz\/v1\/datarequests": { "namespace": "complianz\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/datarequests" } ] } }, "\/complianz\/v1\/cookie_data": { "namespace": "complianz\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/cookie_data" } ] } }, "\/complianz\/v1\/wsc-scan": { "namespace": "complianz\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/wsc-scan" } ] } }, "\/complianz\/v1\/wsc-checks": { "namespace": "complianz\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/complianz\/v1\/wsc-checks" } ] } }, "\/elementor\/v1": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1" } ] } }, "\/elementor\/v1\/site-editor": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/site-editor" } ] } }, "\/elementor\/v1\/site-editor\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/site-editor\/templates" } ] } }, "\/elementor\/v1\/site-editor\/templates\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } } ] }, "\/elementor\/v1\/site-editor\/conditions-config": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/site-editor\/conditions-config" } ] } }, "\/elementor\/v1\/site-editor\/templates-conditions\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } } ] }, "\/elementor\/v1\/site-editor\/templates-conditions-conflicts": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts" } ] } }, "\/llms\/v1": { "namespace": "llms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "llms\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1" } ] } }, "\/llms\/v1\/api-keys": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "description", "last_access" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "permissions": { "description": "\u50c5\u641c\u5c0b\u7279\u5b9a\u6b0a\u9650\u7684 API \u91d1\u9470", "type": "string", "enum": [ "read", "write", "read_write" ], "required": false }, "user": { "description": "\u50c5\u641c\u5c0b\u7279\u5b9a\u4f7f\u7528\u8005\u7684\u91d1\u9470\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b ID\u3002", "type": "string", "required": false }, "user_not_in": { "description": "\u4e0d\u5305\u542b\u7279\u5b9a\u4f7f\u7528\u8005\u7684\u91d1\u9470\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b ID\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "description": { "description": "\u53cb\u5584\u3001\u6613\u65bc\u95b1\u8b80\u7684\u540d\u5b57\u6216\u662f\u63cf\u8ff0\u3002", "type": "string", "required": true }, "permissions": { "description": "\u6c7a\u5b9a\u9019\u628a\u91d1\u9470\u7684\u80fd\u529b\u53ca\u6b0a\u9650\u3002", "type": "string", "enum": [ "read", "write", "read_write" ], "required": true }, "user_id": { "description": "\u91d1\u9470\u64c1\u6709\u8005\u7684 WordPress \u4f7f\u7528\u8005 ID", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/api-keys" } ] } }, "\/llms\/v1\/api-keys\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "description": { "description": "\u53cb\u5584\u3001\u6613\u65bc\u95b1\u8b80\u7684\u540d\u5b57\u6216\u662f\u63cf\u8ff0\u3002", "type": "string", "required": false }, "permissions": { "description": "\u6c7a\u5b9a\u9019\u628a\u91d1\u9470\u7684\u80fd\u529b\u53ca\u6b0a\u9650\u3002", "type": "string", "enum": [ "read", "write", "read_write" ], "required": false }, "user_id": { "description": "\u91d1\u9470\u64c1\u6709\u8005\u7684 WordPress \u4f7f\u7528\u8005 ID", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false } } } ] }, "\/llms\/v1\/courses": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "title", "date_created", "date_updated", "menu_order", "relevance" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "publish", "description": "\u641c\u5c0b\u6307\u5b9a\u4e00\u500b\u6216\u591a\u500b\u6587\u7ae0\u767c\u4f48\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "default": 0, "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "excerpt": { "description": "\u6587\u7ae0\u7684 HTML \u6458\u8981", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u6458\u8981", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u6458\u8981\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u6458\u8981\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "slug": { "description": "\u6587\u7ae0\u7db2\u5740\u4ee3\u7a31", "type": "string", "required": false }, "status": { "default": "publish", "description": "\u6587\u7ae0\u7684\u767c\u4f48\u72c0\u614b", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ], "required": false }, "password": { "description": "\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u7684\u5bc6\u78bc", "type": "string", "required": false }, "featured_media": { "description": "\u7cbe\u9078\u5716\u7247 ID", "type": "integer", "required": false }, "comment_status": { "default": "open", "description": "\u6587\u7ae0\u8a55\u8ad6\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u8a55\u8ad6\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "default": "open", "description": "\u6587\u7ae0\u5075\u6e2c\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u5075\u6e2c\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "catalog_visibility": { "default": "catalog_search", "description": "\u8ab2\u7a0b\u5728\u5206\u985e\u53ca\u641c\u5c0b\u7d50\u679c\u7684\u53ef\u898b\u5ea6", "type": "string", "enum": [ "catalog_search", "catalog", "search", "hidden" ], "required": false }, "categories": { "description": "\u8ab2\u7a0b\u5206\u985e\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "\u8ab2\u7a0b\u6a19\u7c64\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "difficulties": { "description": "\u8ab2\u7a0b\u96e3\u6613\u5ea6\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "tracks": { "description": "\u5b78\u7fd2\u8ecc\u8de1\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "instructors": { "description": "\u8ab2\u7a0b\u5c0e\u5e2b\u5217\u8868\uff0c\u9810\u8a2d\u70ba\u5efa\u7acb\u8ab2\u7a0b\u7684\u4f7f\u7528\u8005\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "audio_embed": { "description": "\u5d4c\u5165\u97f3\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "video_embed": { "description": "\u5d4c\u5165\u8996\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "capacity_enabled": { "default": false, "description": "\u6c7a\u5b9a\u662f\u5426\u555f\u7528\u8a3b\u518a\u8ab2\u7a0b\u7684\u80fd\u529b\u9650\u5236", "type": "boolean", "required": false }, "capacity_limit": { "description": "\u5728\u95dc\u9589\u8ab2\u7a0b\u8a3b\u518a\u524d\u53ef\u4ee5\u8a3b\u518a\u7684\u5b78\u751f\u6578\u91cf", "type": "integer", "required": false }, "capacity_message": { "description": "\u7576\u8ab2\u7a0b\u8a3b\u518a\u7684\u5b78\u751f\u9054\u5230\u6700\u5927\u9650\u5236\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u9801\u9762\u4e0a\u3002", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "prerequisite": { "description": "\u8ab2\u524d\u5fc5\u4fee\u8ab2\u7a0b\u7684\u8ab2\u7a0b ID", "type": "integer", "required": false }, "prerequisite_track": { "description": "\u8ab2\u524d\u5fc5\u4fee\u5b78\u7fd2\u8ecc\u8de1\u7684\u8a5e\u5f59 ID", "type": "integer", "required": false }, "length": { "description": "\u4f7f\u7528\u8005\u5b9a\u7fa9\u7684\u8ab2\u7a0b\u9577\u5ea6", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u9577\u5ea6\u63cf\u8ff0", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u9577\u5ea6\u63cf\u8ff0", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "restricted_message": { "default": "\u4f60\u5fc5\u9808\u8a3b\u518a\u6b64\u8ab2\u7a0b\uff0c\u624d\u80fd\u5b58\u53d6\u8ab2\u7a0b\u5167\u5bb9", "description": "\u7576\u6c92\u6709\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u8a66\u5716\u5b58\u53d6\u5167\u5bb9\u6642(\u8ab2\u7a0b\u55ae\u5143\u3001\u5c0f\u8003...\u7b49)\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "default": "\u4f60\u5fc5\u9808\u8a3b\u518a\u6b64\u8ab2\u7a0b\uff0c\u624d\u80fd\u5b58\u53d6\u8ab2\u7a0b\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "access_closes_date": { "description": "\u8ab2\u7a0b\u95dc\u9589\u7684\u65e5\u671f\u3002\u5728\u9019\u500b\u65e5\u671f\u904e\u5f8c\u8a3b\u518a\u7684\u5b78\u751f\u4e5f\u7121\u6cd5\u6aa2\u8996\u53ca\u4f7f\u7528\u53d7\u9650\u7684\u8ab2\u7a0b\u5167\u5bb9\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 access_opens_date \u6240\u8a2d\u5b9a\u7684\u958b\u653e\u65e5\u671f\u904e\u5f8c\uff0c\u6703\u6c38\u4e45\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u8a3b\u518a\uff0c\u8acb\u6aa2\u8996 enrollment_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u95dc\u9589\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "access_closes_message": { "default": "\u9019\u9580\u8ab2\u65bc [lifterlms_course_info id=\"{{course_id}}\" key=\"end_date\"] \u95dc\u9589", "description": "\u7576\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 access_closes_date \u6240\u8a2d\u5b9a\u7684\u65e5\u671f\u904e\u5f8c\u8a66\u5716\u5b58\u53d6\u5167\u5bb9\u6642\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "access_opens_date": { "description": "\u8ab2\u7a0b\u958b\u653e\u7684\u65e5\u671f\u3002\u5728\u9019\u500b\u65e5\u671f\u904e\u5f8c\uff0c\u6240\u6709\u8a3b\u518a\u7684\u5b78\u751f\u624d\u80fd\u5920\u6aa2\u8996\u53ca\u4f7f\u7528\u53d7\u9650\u7684\u8ab2\u7a0b\u5167\u5bb9\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 access_closes_date \u6240\u8a2d\u5b9a\u7684\u95dc\u9589\u65e5\u671f\u524d\uff0c\u90fd\u6703\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u8a3b\u518a\uff0c\u8acb\u6aa2\u8996 enrollment_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u958b\u653e\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "access_opens_message": { "default": "\u9019\u9580\u8ab2\u65bc [lifterlms_course_info id=\"{{course_id}}\" key=\"start_date\"] \u958b\u653e", "description": "\u7576\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 access_opens_date \u6240\u8a2d\u5b9a\u7684\u65e5\u671f\u524d\u8a66\u5716\u5b58\u53d6\u5167\u5bb9\u6642\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "enrollment_closes_date": { "description": "\u8ab2\u7a0b\u95dc\u9589\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 enrollment_opens_date \u6240\u8a2d\u5b9a\u7684\u958b\u653e\u65e5\u671f\u904e\u5f8c\uff0c\u6703\u6c38\u4e45\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u4f7f\u7528\uff0c\u8acb\u6aa2\u8996 access_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u95dc\u9589\u4f7f\u7528\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "enrollment_closes_message": { "default": "\u9019\u9580\u8ab2\u65bc [lifterlms_course_info id=\"{{course_id}}\" key=\"enrollment_end_date\"] \u95dc\u9589\u8a3b\u518a", "description": "\u7576\u6c92\u6709\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 enrollment_closes_date \u6240\u8a2d\u5b9a\u95dc\u9589\u7684\u65e5\u671f\u904e\u5f8c\u8a66\u5716\u8a3b\u518a\u8ab2\u7a0b\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "enrollment_opens_date": { "description": "\u8ab2\u7a0b\u958b\u653e\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 enrollment_closes_date \u6240\u8a2d\u5b9a\u7684\u4e4b\u524d\u65e5\u671f\u904e\u5f8c\uff0c\u90fd\u6703\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u4f7f\u7528\uff0c\u8acb\u6aa2\u8996 access_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u958b\u653e\u4f7f\u7528\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "enrollment_opens_message": { "default": "\u9019\u9580\u8ab2\u5c07\u65bc [lifterlms_course_info id=\"{{course_id}}\" key=\"enrollment_start_date\"] \u958b\u653e\u8a3b\u518a", "description": "\u7576\u6c92\u6709\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 enrollment_opens_date \u6240\u8a2d\u5b9a\u958b\u653e\u7684\u65e5\u671f\u4e4b\u524d\u8a66\u5716\u8a3b\u518a\u8ab2\u7a0b\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "sales_page_page_id": { "description": "\u92b7\u552e\u9801\u9762\u7684 WordPress \u9801\u9762 ID\uff0c\u7576 sales_page_type \u6b04\u4f4d\u70ba page \u6642\uff0c\u6b64\u9078\u9805\u70ba\u5fc5\u586b\u6b04\u4f4d\u3002\u50c5\u65bc sales_page_type \u6b04\u4f4d\u70ba page \u6642\u624d\u6703\u51fa\u73fe\u3002", "type": "integer", "required": false }, "sales_page_type": { "default": "none", "description": "\u986f\u793a\u92b7\u552e\u9801\u9762\u5167\u5bb9\u985e\u578b
- none<\/code> \u986f\u793a\u8ab2\u7a0b\u5167\u5bb9
- content<\/code> \u986f\u793a\u66ff\u4ee3\u5167\u5bb9 excerpt<\/code> \u986f\u793a\u6307\u5b9a\u5167\u5bb9
- page<\/code> \u8f49\u5740\u5230\u6307\u5b9aWordPress\u9801\u9762 content_page_id<\/code>
- url<\/code> \u8f49\u5740\u5230\u6307\u5b9aURL content_page_url<\/code>", "type": "string", "enum": [ "none", "content", "page", "url", "wc_product" ], "required": false }, "sales_page_url": { "description": "\u92b7\u552e\u9801\u9762\u5167\u5bb9\u7684\u7db2\u5740\uff0c\u7576 content_type<\/code> \u6b04\u4f4d\u70ba url<\/code> \u6642\uff0c\u6b64\u9078\u9805\u70ba\u5fc5\u586b\u6b04\u4f4d\u3002\u50c5\u65bc content_type<\/code> \u6b04\u4f4d\u70ba url<\/code> \u6642\u624d\u6703\u51fa\u73fe\u3002", "type": "string", "format": "uri", "required": false }, "video_tile": { "default": false, "description": "\u7576\u555f\u52d5\u9019\u9078\u9805\uff0c\u8ab2\u7a0b\u62fc\u8cbc(\u4f8b\u5982\u76ee\u9304)\u6703\u986f\u793a video_embed \u800c\u975e\u986f\u793a\u7cbe\u9078\u5716\u7247", "type": "boolean", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/courses" } ] } }, "\/llms\/v1\/courses\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "password": { "description": "\u6587\u7ae0\u5bc6\u78bc\uff0c\u5982\u679c\u9019\u7bc7\u6587\u7ae0\u9700\u8981\u5bc6\u78bc\u4fdd\u8b77\u53ef\u555f\u7528\u6b64\u529f\u80fd\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684 HTML \u6458\u8981", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u6458\u8981", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u6458\u8981\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u6458\u8981\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "slug": { "description": "\u6587\u7ae0\u7db2\u5740\u4ee3\u7a31", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u767c\u4f48\u72c0\u614b", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ], "required": false }, "password": { "description": "\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u7684\u5bc6\u78bc", "type": "string", "required": false }, "featured_media": { "description": "\u7cbe\u9078\u5716\u7247 ID", "type": "integer", "required": false }, "comment_status": { "description": "\u6587\u7ae0\u8a55\u8ad6\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u8a55\u8ad6\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u6587\u7ae0\u5075\u6e2c\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u5075\u6e2c\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "catalog_visibility": { "description": "\u8ab2\u7a0b\u5728\u5206\u985e\u53ca\u641c\u5c0b\u7d50\u679c\u7684\u53ef\u898b\u5ea6", "type": "string", "enum": [ "catalog_search", "catalog", "search", "hidden" ], "required": false }, "categories": { "description": "\u8ab2\u7a0b\u5206\u985e\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "\u8ab2\u7a0b\u6a19\u7c64\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "difficulties": { "description": "\u8ab2\u7a0b\u96e3\u6613\u5ea6\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "tracks": { "description": "\u5b78\u7fd2\u8ecc\u8de1\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "instructors": { "description": "\u8ab2\u7a0b\u5c0e\u5e2b\u5217\u8868\uff0c\u9810\u8a2d\u70ba\u5efa\u7acb\u8ab2\u7a0b\u7684\u4f7f\u7528\u8005\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "audio_embed": { "description": "\u5d4c\u5165\u97f3\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "video_embed": { "description": "\u5d4c\u5165\u8996\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "capacity_enabled": { "description": "\u6c7a\u5b9a\u662f\u5426\u555f\u7528\u8a3b\u518a\u8ab2\u7a0b\u7684\u80fd\u529b\u9650\u5236", "type": "boolean", "required": false }, "capacity_limit": { "description": "\u5728\u95dc\u9589\u8ab2\u7a0b\u8a3b\u518a\u524d\u53ef\u4ee5\u8a3b\u518a\u7684\u5b78\u751f\u6578\u91cf", "type": "integer", "required": false }, "capacity_message": { "description": "\u7576\u8ab2\u7a0b\u8a3b\u518a\u7684\u5b78\u751f\u9054\u5230\u6700\u5927\u9650\u5236\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u9801\u9762\u4e0a\u3002", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "prerequisite": { "description": "\u8ab2\u524d\u5fc5\u4fee\u8ab2\u7a0b\u7684\u8ab2\u7a0b ID", "type": "integer", "required": false }, "prerequisite_track": { "description": "\u8ab2\u524d\u5fc5\u4fee\u5b78\u7fd2\u8ecc\u8de1\u7684\u8a5e\u5f59 ID", "type": "integer", "required": false }, "length": { "description": "\u4f7f\u7528\u8005\u5b9a\u7fa9\u7684\u8ab2\u7a0b\u9577\u5ea6", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u9577\u5ea6\u63cf\u8ff0", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u9577\u5ea6\u63cf\u8ff0", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "restricted_message": { "description": "\u7576\u6c92\u6709\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u8a66\u5716\u5b58\u53d6\u5167\u5bb9\u6642(\u8ab2\u7a0b\u55ae\u5143\u3001\u5c0f\u8003...\u7b49)\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "default": "\u4f60\u5fc5\u9808\u8a3b\u518a\u6b64\u8ab2\u7a0b\uff0c\u624d\u80fd\u5b58\u53d6\u8ab2\u7a0b\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "access_closes_date": { "description": "\u8ab2\u7a0b\u95dc\u9589\u7684\u65e5\u671f\u3002\u5728\u9019\u500b\u65e5\u671f\u904e\u5f8c\u8a3b\u518a\u7684\u5b78\u751f\u4e5f\u7121\u6cd5\u6aa2\u8996\u53ca\u4f7f\u7528\u53d7\u9650\u7684\u8ab2\u7a0b\u5167\u5bb9\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 access_opens_date \u6240\u8a2d\u5b9a\u7684\u958b\u653e\u65e5\u671f\u904e\u5f8c\uff0c\u6703\u6c38\u4e45\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u8a3b\u518a\uff0c\u8acb\u6aa2\u8996 enrollment_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u95dc\u9589\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "access_closes_message": { "description": "\u7576\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 access_closes_date \u6240\u8a2d\u5b9a\u7684\u65e5\u671f\u904e\u5f8c\u8a66\u5716\u5b58\u53d6\u5167\u5bb9\u6642\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "access_opens_date": { "description": "\u8ab2\u7a0b\u958b\u653e\u7684\u65e5\u671f\u3002\u5728\u9019\u500b\u65e5\u671f\u904e\u5f8c\uff0c\u6240\u6709\u8a3b\u518a\u7684\u5b78\u751f\u624d\u80fd\u5920\u6aa2\u8996\u53ca\u4f7f\u7528\u53d7\u9650\u7684\u8ab2\u7a0b\u5167\u5bb9\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 access_closes_date \u6240\u8a2d\u5b9a\u7684\u95dc\u9589\u65e5\u671f\u524d\uff0c\u90fd\u6703\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u8a3b\u518a\uff0c\u8acb\u6aa2\u8996 enrollment_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u958b\u653e\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "access_opens_message": { "description": "\u7576\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 access_opens_date \u6240\u8a2d\u5b9a\u7684\u65e5\u671f\u524d\u8a66\u5716\u5b58\u53d6\u5167\u5bb9\u6642\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "enrollment_closes_date": { "description": "\u8ab2\u7a0b\u95dc\u9589\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 enrollment_opens_date \u6240\u8a2d\u5b9a\u7684\u958b\u653e\u65e5\u671f\u904e\u5f8c\uff0c\u6703\u6c38\u4e45\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u4f7f\u7528\uff0c\u8acb\u6aa2\u8996 access_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u95dc\u9589\u4f7f\u7528\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "enrollment_closes_message": { "description": "\u7576\u6c92\u6709\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 enrollment_closes_date \u6240\u8a2d\u5b9a\u95dc\u9589\u7684\u65e5\u671f\u904e\u5f8c\u8a66\u5716\u8a3b\u518a\u8ab2\u7a0b\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "enrollment_opens_date": { "description": "\u8ab2\u7a0b\u958b\u653e\u8a3b\u518a\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u82e5\u6b64\u6b04\u4f4d\u70ba\u7a7a\u767d\uff0c\u5728 enrollment_closes_date \u6240\u8a2d\u5b9a\u7684\u4e4b\u524d\u65e5\u671f\u904e\u5f8c\uff0c\u90fd\u6703\u958b\u653e\u3002\n\t\t\t\t\t\u6b64\u6b04\u4f4d\u4e26\u4e0d\u6703\u5f71\u97ff\u8ab2\u7a0b\u4f7f\u7528\uff0c\u8acb\u6aa2\u8996 access_opens_date \u6b04\u4f4d\u4f86\u8a2d\u5b9a\u958b\u653e\u4f7f\u7528\u7684\u65e5\u671f\u3002\n\t\t\t\t\t\u683c\u5f0f\uff1a Y-m-d H:i:s", "type": "string", "required": false }, "enrollment_opens_message": { "description": "\u7576\u6c92\u6709\u8a3b\u518a\u7684\u4f7f\u7528\u8005\u5728 enrollment_opens_date \u6240\u8a2d\u5b9a\u958b\u653e\u7684\u65e5\u671f\u4e4b\u524d\u8a66\u5716\u8a3b\u518a\u8ab2\u7a0b\uff0c\u9019\u5247\u8a0a\u606f\u5c07\u6703\u51fa\u73fe\u5728\u4f7f\u7528\u8005\u7684\u756b\u9762\u4e0a", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "sales_page_page_id": { "description": "\u92b7\u552e\u9801\u9762\u7684 WordPress \u9801\u9762 ID\uff0c\u7576 sales_page_type \u6b04\u4f4d\u70ba page \u6642\uff0c\u6b64\u9078\u9805\u70ba\u5fc5\u586b\u6b04\u4f4d\u3002\u50c5\u65bc sales_page_type \u6b04\u4f4d\u70ba page \u6642\u624d\u6703\u51fa\u73fe\u3002", "type": "integer", "required": false }, "sales_page_type": { "description": "\u986f\u793a\u92b7\u552e\u9801\u9762\u5167\u5bb9\u985e\u578b
- none<\/code> \u986f\u793a\u8ab2\u7a0b\u5167\u5bb9
- content<\/code> \u986f\u793a\u66ff\u4ee3\u5167\u5bb9 excerpt<\/code> \u986f\u793a\u6307\u5b9a\u5167\u5bb9
- page<\/code> \u8f49\u5740\u5230\u6307\u5b9aWordPress\u9801\u9762 content_page_id<\/code>
- url<\/code> \u8f49\u5740\u5230\u6307\u5b9aURL content_page_url<\/code>", "type": "string", "enum": [ "none", "content", "page", "url", "wc_product" ], "required": false }, "sales_page_url": { "description": "\u92b7\u552e\u9801\u9762\u5167\u5bb9\u7684\u7db2\u5740\uff0c\u7576 content_type<\/code> \u6b04\u4f4d\u70ba url<\/code> \u6642\uff0c\u6b64\u9078\u9805\u70ba\u5fc5\u586b\u6b04\u4f4d\u3002\u50c5\u65bc content_type<\/code> \u6b04\u4f4d\u70ba url<\/code> \u6642\u624d\u6703\u51fa\u73fe\u3002", "type": "string", "format": "uri", "required": false }, "video_tile": { "description": "\u7576\u555f\u52d5\u9019\u9078\u9805\uff0c\u8ab2\u7a0b\u62fc\u8cbc(\u4f8b\u5982\u76ee\u9304)\u6703\u986f\u793a video_embed \u800c\u975e\u986f\u793a\u7cbe\u9078\u5716\u7247", "type": "boolean", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "force": { "description": "\u8df3\u904e\u56de\u6536\u6876\u5f37\u5236\u522a\u9664\u8ab2\u7a0b\u3002", "type": "boolean", "default": false, "required": false } } } ] }, "\/llms\/v1\/courses\/(?P[\\d]+)\/enrollments": { "namespace": "llms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7368\u7acb\u8ab2\u7a0b ID\uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_created", "enum": [ "date_created", "date_updated" ], "required": false }, "status": { "description": "\u6839\u64da\u6307\u5b9a\u72c0\u614b\u4f86\u7be9\u9078\u641c\u5c0b\u7d50\u679c", "enum": [ "cancelled", "enrolled", "expired" ], "type": "string", "required": false }, "student": { "description": "\u50c5\u641c\u5c0b\u7279\u5b9a\u5b78\u751f\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b\u5b78\u751f ID\u3002", "type": "string", "required": false } } } ] }, "\/llms\/v1\/courses\/(?P[\\d]+)\/content": { "namespace": "llms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7368\u7acb\u8ab2\u7a0b ID\uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "order", "enum": [ "order", "id", "title" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/llms\/v1\/sections": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "title", "date_created", "date_updated", "order", "relevance" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent": { "description": "\u6839\u64da\u4e0a\u5c64\u6587\u7ae0(\u8ab2\u7a0b) ID \u4f86\u7be9\u9078\u8ab2\u7a0b\u55ae\u5143", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "title": { "description": "\u7ae0\u7bc0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "parent_id": { "description": "\u4e0a\u5c64\u7269\u4ef6\u7684 WordPress \u6587\u7ae0ID\uff0c\u540c\u6642\u4e5f\u5fc5\u9808\u70ba\u8ab2\u7a0b ID\u3002", "type": "integer", "required": true }, "order": { "default": 1, "description": "\u8ab2\u7a0b\u7ae0\u7bc0\u7684\u6392\u5217\u9806\u5e8f", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/sections" } ] } }, "\/llms\/v1\/sections\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "title": { "description": "\u7ae0\u7bc0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "parent_id": { "description": "\u4e0a\u5c64\u7269\u4ef6\u7684 WordPress \u6587\u7ae0ID\uff0c\u540c\u6642\u4e5f\u5fc5\u9808\u70ba\u8ab2\u7a0b ID\u3002", "type": "integer", "required": false }, "order": { "description": "\u8ab2\u7a0b\u7ae0\u7bc0\u7684\u6392\u5217\u9806\u5e8f", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false } } } ] }, "\/llms\/v1\/sections\/(?P[\\d]+)\/content": { "namespace": "llms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7368\u7acb\u7684section ID \uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "order", "enum": [ "order", "id", "title" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "publish", "description": "\u641c\u5c0b\u6307\u5b9a\u4e00\u500b\u6216\u591a\u500b\u6587\u7ae0\u767c\u4f48\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } } ] }, "\/llms\/v1\/lessons": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "title", "date_created", "date_updated", "order", "relevance" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "publish", "description": "\u641c\u5c0b\u6307\u5b9a\u4e00\u500b\u6216\u591a\u500b\u6587\u7ae0\u767c\u4f48\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false }, "parent": { "description": "\u4f7f\u7528\u4e0a\u5c64\u6587\u7ae0(\u5340\u6bb5) ID \u4f86\u7be9\u9078\u8ab2\u7a0b\u55ae\u5143", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "default": 0, "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "excerpt": { "description": "\u6587\u7ae0\u7684 HTML \u6458\u8981", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u6458\u8981", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u6458\u8981\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u6458\u8981\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "slug": { "description": "\u6587\u7ae0\u7db2\u5740\u4ee3\u7a31", "type": "string", "required": false }, "status": { "default": "publish", "description": "\u6587\u7ae0\u7684\u767c\u4f48\u72c0\u614b", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ], "required": false }, "password": { "description": "\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u7684\u5bc6\u78bc", "type": "string", "required": false }, "featured_media": { "description": "\u7cbe\u9078\u5716\u7247 ID", "type": "integer", "required": false }, "comment_status": { "default": "open", "description": "\u6587\u7ae0\u8a55\u8ad6\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u8a55\u8ad6\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "default": "open", "description": "\u6587\u7ae0\u5075\u6e2c\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u5075\u6e2c\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "parent_id": { "description": "\u4e0a\u5c64\u7684 WordPress \u6587\u7ae0 ID\uff0c\u5fc5\u9808\u70ba\u5340\u6bb5 ID\uff0c\u7576\u8a2d\u5b9a\u70ba 0 \u6642\u4ee3\u8868\u70ba\u300c\u7368\u7acb\u300d\u8ab2\u7a0b\u55ae\u5143\uff0c\u50c5\u80fd\u88ab\u5c0e\u5e2b\u53ca\u7ba1\u7406\u54e1\u6aa2\u8996\uff0c\u7121\u6cd5\u88ab\u4efb\u4f55\u5b78\u751f\u5b58\u53d6\u3002", "type": "integer", "required": false }, "order": { "default": 1, "description": "\u4ee5\u4e0a\u5c64\u4f86\u6392\u5e8f\u8ab2\u7a0b\u55ae\u5143", "type": "integer", "required": true }, "prerequisite": { "description": "\u8ab2\u524d\u5fc5\u4fee\u7684\u8ab2\u7a0b\u55ae\u5143 ID", "type": "integer", "required": false }, "points": { "default": 1, "description": "\u8a08\u7b97\u8ab2\u7a0b\u7e3d\u5206\u6642\uff0c\u8a2d\u5b9a\u8ab2\u7a0b\u55ae\u5143\u7684\u6b0a\u91cd", "type": "integer", "required": false }, "audio_embed": { "description": "\u5d4c\u5165\u97f3\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "video_embed": { "description": "\u5d4c\u5165\u8996\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "drip_date": { "description": "\u8ab2\u7a0b\u55ae\u5143\u958b\u653e\u7684\u65e5\u671f\uff0c\u6b64\u9805\u529f\u80fd\u50c5\u65bc drip_method \u70ba date \u6642\u624d\u6703\u555f\u7528\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "drip_days": { "default": 1, "description": "\u8ab2\u7a0b\u55ae\u5143\u958b\u653e\u7684\u5012\u6578\u8a08\u6642\uff0c\u6b64\u9805\u529f\u80fd\u50c5\u65bc drip_method \u70ba enrollment\u3001start\u3001prerequisite \u6642\u624d\u6703\u555f\u7528", "type": "integer", "required": false }, "drip_method": { "default": "none", "description": "\u8ab2\u7a0b\u55ae\u5143\u958b\u653e\u7684\u65b9\u6cd5\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  • none: \u8ab2\u7a0b\u55ae\u5143\u7acb\u5373\u958b\u653e<\/li>\n\t\t\t\t\t\t
  • date: \u8ab2\u7a0b\u55ae\u5143\u65bc\u6307\u5b9a\u6642\u9593\u958b\u653e<\/li>\n\t\t\t\t\t\t
  • enrollment: \u8ab2\u7a0b\u55ae\u5143\u5c07\u65bc\u5b78\u751f\u8a3b\u518a\u5f8c\u6307\u5b9a\u5929\u6578\u904e\u5f8c\u624d\u958b\u653e<\/li>\n\t\t\t\t\t\t
  • start: \u8ab2\u7a0b\u55ae\u5143\u5c07\u65bc\u8ab2\u7a0b\u958b\u653e\u5f8c\u6307\u5b9a\u5929\u6578\u904e\u5f8c\u624d\u958b\u653e\uff0c\u6b64\u9805\u529f\u80fd\u50c5\u65bc\u8ab2\u7a0b\u6709\u8a2d\u5b9a access_opens_date \u624d\u80fd\u4f7f\u7528<\/li>\n\t\t\t\t\t\t
  • prerequisite: \u8ab2\u7a0b\u55ae\u5143\u5c07\u65bc\u8ab2\u524d\u5fc5\u4fee\u5b8c\u6210\u5f8c\u624d\u958b\u653e<\/li>\n\t\t\t\t\t<\/ul>", "type": "string", "enum": [ "none", "date", "enrollment", "start", "prerequisite" ], "required": false }, "public": { "default": false, "description": "\u4ee3\u8868\u7121\u8ad6\u6709\u6c92\u6709\u8a3b\u518a\u8ab2\u7a0b\uff0c\u90fd\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u9019\u500b\u8ab2\u7a0b\u55ae\u5143\u3002", "type": "boolean", "required": false }, "quiz": { "description": "\u70ba\u9019\u500b\u8ab2\u7a0b\u55ae\u5143\u9023\u7d50\u4e00\u5247\u6e2c\u9a57", "type": "object", "properties": { "enabled": { "description": "\u6c7a\u5b9a\u662f\u5426\u70ba\u9019\u500b\u8ab2\u7a0b\u55ae\u5143\u555f\u7528\u6e2c\u9a57\u529f\u80fd", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "id": { "description": "\u6e2c\u9a57\u7684\u6587\u7ae0 ID", "type": "integer", "default": 0, "context": [ "view", "edit" ], "arg_options": { "sanitize_callback": "absint" } }, "progression": { "description": "\u8a2d\u5b9a\u901a\u904e\u6e2c\u9a57\u662f\u5426\u70ba\u8ab2\u7a0b\u9032\u884c\u7684\u5fc5\u8981\u689d\u4ef6\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
    • complete: \u5b78\u751f\u5fc5\u9808\u5b8c\u6210\u6e2c\u9a57(\u4efb\u4f55\u5206\u6578)\u624d\u53ef\u4ee5\u7e7c\u7e8c\u9032\u884c\u8ab2\u7a0b\u3002<\/li>\n\t\t\t\t\t\t\t\t
    • pass: \u5b78\u751f\u5fc5\u9808\u901a\u904e\u6e2c\u9a57\u4f4e\u6a19\u624d\u53ef\u4ee5\u7e7c\u7e8c\u9032\u884c\u8ab2\u7a0b\u3002<\/li>\n\t\t\t\t\t\t\t<\/ul>", "type": "string", "default": "complete", "enum": [ "complete", "pass" ], "context": [ "view", "edit" ] } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/lessons" } ] } }, "\/llms\/v1\/lessons\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "password": { "description": "\u6587\u7ae0\u5bc6\u78bc\uff0c\u5982\u679c\u9019\u7bc7\u6587\u7ae0\u9700\u8981\u5bc6\u78bc\u4fdd\u8b77\u53ef\u555f\u7528\u6b64\u529f\u80fd\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684 HTML \u6458\u8981", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u6458\u8981", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u6458\u8981\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u6458\u8981\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "slug": { "description": "\u6587\u7ae0\u7db2\u5740\u4ee3\u7a31", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u767c\u4f48\u72c0\u614b", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ], "required": false }, "password": { "description": "\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u7684\u5bc6\u78bc", "type": "string", "required": false }, "featured_media": { "description": "\u7cbe\u9078\u5716\u7247 ID", "type": "integer", "required": false }, "comment_status": { "description": "\u6587\u7ae0\u8a55\u8ad6\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u8a55\u8ad6\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u6587\u7ae0\u5075\u6e2c\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u5075\u6e2c\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "parent_id": { "description": "\u4e0a\u5c64\u7684 WordPress \u6587\u7ae0 ID\uff0c\u5fc5\u9808\u70ba\u5340\u6bb5 ID\uff0c\u7576\u8a2d\u5b9a\u70ba 0 \u6642\u4ee3\u8868\u70ba\u300c\u7368\u7acb\u300d\u8ab2\u7a0b\u55ae\u5143\uff0c\u50c5\u80fd\u88ab\u5c0e\u5e2b\u53ca\u7ba1\u7406\u54e1\u6aa2\u8996\uff0c\u7121\u6cd5\u88ab\u4efb\u4f55\u5b78\u751f\u5b58\u53d6\u3002", "type": "integer", "required": false }, "order": { "description": "\u4ee5\u4e0a\u5c64\u4f86\u6392\u5e8f\u8ab2\u7a0b\u55ae\u5143", "type": "integer", "required": false }, "prerequisite": { "description": "\u8ab2\u524d\u5fc5\u4fee\u7684\u8ab2\u7a0b\u55ae\u5143 ID", "type": "integer", "required": false }, "points": { "description": "\u8a08\u7b97\u8ab2\u7a0b\u7e3d\u5206\u6642\uff0c\u8a2d\u5b9a\u8ab2\u7a0b\u55ae\u5143\u7684\u6b0a\u91cd", "type": "integer", "required": false }, "audio_embed": { "description": "\u5d4c\u5165\u97f3\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "video_embed": { "description": "\u5d4c\u5165\u8996\u8a0a\u7684 oEmbed \u7db2\u5740", "type": "string", "format": "uri", "required": false }, "drip_date": { "description": "\u8ab2\u7a0b\u55ae\u5143\u958b\u653e\u7684\u65e5\u671f\uff0c\u6b64\u9805\u529f\u80fd\u50c5\u65bc drip_method \u70ba date \u6642\u624d\u6703\u555f\u7528\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "drip_days": { "description": "\u8ab2\u7a0b\u55ae\u5143\u958b\u653e\u7684\u5012\u6578\u8a08\u6642\uff0c\u6b64\u9805\u529f\u80fd\u50c5\u65bc drip_method \u70ba enrollment\u3001start\u3001prerequisite \u6642\u624d\u6703\u555f\u7528", "type": "integer", "required": false }, "drip_method": { "description": "\u8ab2\u7a0b\u55ae\u5143\u958b\u653e\u7684\u65b9\u6cd5\n\t\t\t\t\t
        \n\t\t\t\t\t\t
      • none: \u8ab2\u7a0b\u55ae\u5143\u7acb\u5373\u958b\u653e<\/li>\n\t\t\t\t\t\t
      • date: \u8ab2\u7a0b\u55ae\u5143\u65bc\u6307\u5b9a\u6642\u9593\u958b\u653e<\/li>\n\t\t\t\t\t\t
      • enrollment: \u8ab2\u7a0b\u55ae\u5143\u5c07\u65bc\u5b78\u751f\u8a3b\u518a\u5f8c\u6307\u5b9a\u5929\u6578\u904e\u5f8c\u624d\u958b\u653e<\/li>\n\t\t\t\t\t\t
      • start: \u8ab2\u7a0b\u55ae\u5143\u5c07\u65bc\u8ab2\u7a0b\u958b\u653e\u5f8c\u6307\u5b9a\u5929\u6578\u904e\u5f8c\u624d\u958b\u653e\uff0c\u6b64\u9805\u529f\u80fd\u50c5\u65bc\u8ab2\u7a0b\u6709\u8a2d\u5b9a access_opens_date \u624d\u80fd\u4f7f\u7528<\/li>\n\t\t\t\t\t\t
      • prerequisite: \u8ab2\u7a0b\u55ae\u5143\u5c07\u65bc\u8ab2\u524d\u5fc5\u4fee\u5b8c\u6210\u5f8c\u624d\u958b\u653e<\/li>\n\t\t\t\t\t<\/ul>", "type": "string", "enum": [ "none", "date", "enrollment", "start", "prerequisite" ], "required": false }, "public": { "description": "\u4ee3\u8868\u7121\u8ad6\u6709\u6c92\u6709\u8a3b\u518a\u8ab2\u7a0b\uff0c\u90fd\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u9019\u500b\u8ab2\u7a0b\u55ae\u5143\u3002", "type": "boolean", "required": false }, "quiz": { "description": "\u70ba\u9019\u500b\u8ab2\u7a0b\u55ae\u5143\u9023\u7d50\u4e00\u5247\u6e2c\u9a57", "type": "object", "properties": { "enabled": { "description": "\u6c7a\u5b9a\u662f\u5426\u70ba\u9019\u500b\u8ab2\u7a0b\u55ae\u5143\u555f\u7528\u6e2c\u9a57\u529f\u80fd", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "id": { "description": "\u6e2c\u9a57\u7684\u6587\u7ae0 ID", "type": "integer", "default": 0, "context": [ "view", "edit" ], "arg_options": { "sanitize_callback": "absint" } }, "progression": { "description": "\u8a2d\u5b9a\u901a\u904e\u6e2c\u9a57\u662f\u5426\u70ba\u8ab2\u7a0b\u9032\u884c\u7684\u5fc5\u8981\u689d\u4ef6\n\t\t\t\t\t\t\t
          \n\t\t\t\t\t\t\t\t
        • complete: \u5b78\u751f\u5fc5\u9808\u5b8c\u6210\u6e2c\u9a57(\u4efb\u4f55\u5206\u6578)\u624d\u53ef\u4ee5\u7e7c\u7e8c\u9032\u884c\u8ab2\u7a0b\u3002<\/li>\n\t\t\t\t\t\t\t\t
        • pass: \u5b78\u751f\u5fc5\u9808\u901a\u904e\u6e2c\u9a57\u4f4e\u6a19\u624d\u53ef\u4ee5\u7e7c\u7e8c\u9032\u884c\u8ab2\u7a0b\u3002<\/li>\n\t\t\t\t\t\t\t<\/ul>", "type": "string", "default": "complete", "enum": [ "complete", "pass" ], "context": [ "view", "edit" ] } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "force": { "description": "\u8df3\u904e\u56de\u6536\u6876\u5f37\u5236\u522a\u9664\u8ab2\u7a0b\u3002", "type": "boolean", "default": false, "required": false } } } ] }, "\/llms\/v1\/memberships": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "title", "date_created", "date_updated", "menu_order", "relevance" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "publish", "description": "\u641c\u5c0b\u6307\u5b9a\u4e00\u500b\u6216\u591a\u500b\u6587\u7ae0\u767c\u4f48\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "default": 0, "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "excerpt": { "description": "\u6587\u7ae0\u7684 HTML \u6458\u8981", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u6458\u8981", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u6458\u8981\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u6458\u8981\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "slug": { "description": "\u6587\u7ae0\u7db2\u5740\u4ee3\u7a31", "type": "string", "required": false }, "status": { "default": "publish", "description": "\u6587\u7ae0\u7684\u767c\u4f48\u72c0\u614b", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ], "required": false }, "password": { "description": "\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u7684\u5bc6\u78bc", "type": "string", "required": false }, "featured_media": { "description": "\u7cbe\u9078\u5716\u7247 ID", "type": "integer", "required": false }, "comment_status": { "default": "open", "description": "\u6587\u7ae0\u8a55\u8ad6\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u8a55\u8ad6\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "default": "open", "description": "\u6587\u7ae0\u5075\u6e2c\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u5075\u6e2c\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "auto_enroll": { "default": [], "description": "\u7576\u5b78\u751f\u8a3b\u518a\u4e86\u9019\u500b\u6703\u54e1\u8cc7\u683c\u5f8c\uff0c\u5b78\u751f\u6703\u53d6\u5f97\u5217\u8868\u4e2d\u7684\u6240\u6709\u8ab2\u7a0b\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "catalog_visibility": { "default": "catalog_search", "description": "\u6703\u54e1\u8cc7\u683c\u5728\u76ee\u9304\u53ca\u641c\u5c0b\u7d50\u679c\u7684\u53ef\u898b\u5ea6", "type": "string", "enum": [ "catalog_search", "catalog", "search", "hidden" ], "required": false }, "categories": { "description": "\u6703\u54e1\u8cc7\u683c\u5206\u985e\u6e05\u55ae", "type": "array", "items": { "type": "integer" }, "required": false }, "instructors": { "description": "\u6587\u7ae0\u7684\u5c0e\u5e2b\u6e05\u55ae\uff0c\u5c0e\u5e2b\u9810\u8a2d\u70ba\u5efa\u7acb\u65b0\u6587\u7ae0\u7684\u4f7f\u7528\u8005\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "restriction_action": { "default": "none", "description": "\u7576\u975e\u6703\u54e1\u8a66\u5716\u5b58\u53d6\u6703\u54e1\u8cc7\u683c\u5c08\u5c6c\u5167\u5bb9\u6642\uff0c\u8981\u9032\u884c\u4f55\u7a2e\u52d5\u4f5c\uff1f - `none`: \u7559\u5728\u539f\u59cb\u9801\u9762\uff0c\u986f\u793a`restriction_message`. - `membership`: \u8f49\u5740\u5230\u6703\u54e1\u8cc7\u683c\u9801\u9762 - `page`: \u8f49\u5740\u5230\u6307\u5b9a\u9801\u9762 ID `restriction_page_id`. - `custom`: \u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740 `restriction_url`.", "type": "string", "enum": [ "none", "membership", "page", "custom" ], "required": false }, "restriction_message": { "default": "\u4f60\u5fc5\u9808\u53d6\u5f97[lifterlms_membership_link id=\"{{membership_id}}\"]\u7684\u6703\u54e1\u8cc7\u683c\u624d\u53ef\u4ee5\u9032\u5165\u9019\u500b\u9801\u9762", "description": "\u5728`restriction_action`\u8f49\u5740\u5f8c\uff0c\u5728\u9801\u9762\u4e0a\u986f\u793a\u7d66\u975e\u6703\u54e1\u4f7f\u7528\u8005\u7684\u8a0a\u606f\u3002\u82e5\u662f`restriction_action`\u8a2d\u5b9a\u70ba`none`\u7cfb\u7d71\u4e0d\u6703\u9032\u884c\u8f49\u5740\uff0c\u7576\u4e0b\u9801\u9762\u7684\u539f\u59cb\u5167\u5bb9\u5247\u6703\u88ab\u9019\u5247\u8a0a\u606f\u53d6\u4ee3\u3002", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "restriction_page_id": { "description": "\u7576`restriction_action`\u8a2d\u5b9a\u70ba`page`\u6642\uff0c\u975e\u6703\u54e1\u5b58\u53d6\u9801\u9762\u6642\u5247\u6703\u8f49\u5740\u5230\u6307\u5b9a\u7684 WordPress \u9801\u9762 ID", "type": "integer", "required": false }, "restriction_url": { "description": "\u7576`restriction_action`\u8a2d\u5b9a\u70ba`custom`\u6642\uff0c\u975e\u6703\u54e1\u5b58\u53d6\u9801\u9762\u6642\u5247\u6703\u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740", "type": "string", "format": "uri", "required": false }, "sales_page_page_id": { "description": "\u92b7\u552e\u9801\u9762\u7684 WordPress \u9801\u9762 ID\uff0c\u7576`sales_page_type`\u8a2d\u5b9a\u70ba`page`\u6642\uff0c\u9019\u500b\u6b04\u4f4d\u70ba\u5fc5\u586b\u3002\u9019\u500b\u6b04\u4f4d\u50c5\u65bc`sales_page_type`\u8a2d\u5b9a\u70ba`page`\u6642\u624d\u6703\u51fa\u73fe\u3002", "type": "integer", "required": false }, "sales_page_type": { "default": "none", "description": "\u7576\u8a2a\u5ba2\u53ca\u975e\u8a3b\u518a\u6703\u54e1\u700f\u89bd\u9019\u500b\u9801\u9762\u6642\uff0c\u986f\u793a\u4f55\u7a2e\u8a0a\u606f\uff1f- `none` \u986f\u793a\u539f\u59cb\u6587\u7ae0\u5167\u5bb9 - `content` \u986f\u793a\u5c6c\u6027`excerpt`\u6240\u8a2d\u5b9a\u7684\u6587\u7ae0\u6458\u8981 - `page` \u8f49\u5740\u5230 WordPress Page ID `content_page_id` - `url` \u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740 `content_page_url`", "type": "string", "enum": [ "none", "content", "page", "url", "wc_product" ], "required": false }, "sales_page_url": { "description": "\u92b7\u552e\u9801\u9762\u7684\u7db2\u5740\uff0c\u7576`sales_page_type`\u8a2d\u5b9a\u70ba`url`\u6642\u70ba\u5fc5\u586b\u6b04\u4f4d\u3002\u50c5\u6703\u5728`sales_page_type`\u8a2d\u5b9a\u70ba`url`\u624d\u6703\u986f\u793a\u6b64\u6b04\u4f4d\u3002", "type": "string", "format": "uri", "required": false }, "tags": { "description": "\u6703\u54e1\u8cc7\u683c\u6a19\u7c64\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/memberships" } ] } }, "\/llms\/v1\/memberships\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "password": { "description": "\u6587\u7ae0\u5bc6\u78bc\uff0c\u5982\u679c\u9019\u7bc7\u6587\u7ae0\u9700\u8981\u5bc6\u78bc\u4fdd\u8b77\u53ef\u555f\u7528\u6b64\u529f\u80fd\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684 HTML \u6458\u8981", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u6458\u8981", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u6458\u8981\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u6458\u8981\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "slug": { "description": "\u6587\u7ae0\u7db2\u5740\u4ee3\u7a31", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u767c\u4f48\u72c0\u614b", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ], "required": false }, "password": { "description": "\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u7684\u5bc6\u78bc", "type": "string", "required": false }, "featured_media": { "description": "\u7cbe\u9078\u5716\u7247 ID", "type": "integer", "required": false }, "comment_status": { "description": "\u6587\u7ae0\u8a55\u8ad6\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u8a55\u8ad6\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u6587\u7ae0\u5075\u6e2c\u72c0\u614b\uff0c\u9810\u8a2d\u7684\u5075\u6e2c\u72c0\u614b\u6703\u4ee5 WordPress \u6587\u7ae0\u8a0e\u8ad6\u8a2d\u5b9a\u4f86\u6c7a\u5b9a\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "auto_enroll": { "description": "\u7576\u5b78\u751f\u8a3b\u518a\u4e86\u9019\u500b\u6703\u54e1\u8cc7\u683c\u5f8c\uff0c\u5b78\u751f\u6703\u53d6\u5f97\u5217\u8868\u4e2d\u7684\u6240\u6709\u8ab2\u7a0b\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "catalog_visibility": { "description": "\u6703\u54e1\u8cc7\u683c\u5728\u76ee\u9304\u53ca\u641c\u5c0b\u7d50\u679c\u7684\u53ef\u898b\u5ea6", "type": "string", "enum": [ "catalog_search", "catalog", "search", "hidden" ], "required": false }, "categories": { "description": "\u6703\u54e1\u8cc7\u683c\u5206\u985e\u6e05\u55ae", "type": "array", "items": { "type": "integer" }, "required": false }, "instructors": { "description": "\u6587\u7ae0\u7684\u5c0e\u5e2b\u6e05\u55ae\uff0c\u5c0e\u5e2b\u9810\u8a2d\u70ba\u5efa\u7acb\u65b0\u6587\u7ae0\u7684\u4f7f\u7528\u8005\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "restriction_action": { "description": "\u7576\u975e\u6703\u54e1\u8a66\u5716\u5b58\u53d6\u6703\u54e1\u8cc7\u683c\u5c08\u5c6c\u5167\u5bb9\u6642\uff0c\u8981\u9032\u884c\u4f55\u7a2e\u52d5\u4f5c\uff1f - `none`: \u7559\u5728\u539f\u59cb\u9801\u9762\uff0c\u986f\u793a`restriction_message`. - `membership`: \u8f49\u5740\u5230\u6703\u54e1\u8cc7\u683c\u9801\u9762 - `page`: \u8f49\u5740\u5230\u6307\u5b9a\u9801\u9762 ID `restriction_page_id`. - `custom`: \u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740 `restriction_url`.", "type": "string", "enum": [ "none", "membership", "page", "custom" ], "required": false }, "restriction_message": { "description": "\u5728`restriction_action`\u8f49\u5740\u5f8c\uff0c\u5728\u9801\u9762\u4e0a\u986f\u793a\u7d66\u975e\u6703\u54e1\u4f7f\u7528\u8005\u7684\u8a0a\u606f\u3002\u82e5\u662f`restriction_action`\u8a2d\u5b9a\u70ba`none`\u7cfb\u7d71\u4e0d\u6703\u9032\u884c\u8f49\u5740\uff0c\u7576\u4e0b\u9801\u9762\u7684\u539f\u59cb\u5167\u5bb9\u5247\u6703\u88ab\u9019\u5247\u8a0a\u606f\u53d6\u4ee3\u3002", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u7684\u8a0a\u606f\u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "restriction_page_id": { "description": "\u7576`restriction_action`\u8a2d\u5b9a\u70ba`page`\u6642\uff0c\u975e\u6703\u54e1\u5b58\u53d6\u9801\u9762\u6642\u5247\u6703\u8f49\u5740\u5230\u6307\u5b9a\u7684 WordPress \u9801\u9762 ID", "type": "integer", "required": false }, "restriction_url": { "description": "\u7576`restriction_action`\u8a2d\u5b9a\u70ba`custom`\u6642\uff0c\u975e\u6703\u54e1\u5b58\u53d6\u9801\u9762\u6642\u5247\u6703\u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740", "type": "string", "format": "uri", "required": false }, "sales_page_page_id": { "description": "\u92b7\u552e\u9801\u9762\u7684 WordPress \u9801\u9762 ID\uff0c\u7576`sales_page_type`\u8a2d\u5b9a\u70ba`page`\u6642\uff0c\u9019\u500b\u6b04\u4f4d\u70ba\u5fc5\u586b\u3002\u9019\u500b\u6b04\u4f4d\u50c5\u65bc`sales_page_type`\u8a2d\u5b9a\u70ba`page`\u6642\u624d\u6703\u51fa\u73fe\u3002", "type": "integer", "required": false }, "sales_page_type": { "description": "\u7576\u8a2a\u5ba2\u53ca\u975e\u8a3b\u518a\u6703\u54e1\u700f\u89bd\u9019\u500b\u9801\u9762\u6642\uff0c\u986f\u793a\u4f55\u7a2e\u8a0a\u606f\uff1f- `none` \u986f\u793a\u539f\u59cb\u6587\u7ae0\u5167\u5bb9 - `content` \u986f\u793a\u5c6c\u6027`excerpt`\u6240\u8a2d\u5b9a\u7684\u6587\u7ae0\u6458\u8981 - `page` \u8f49\u5740\u5230 WordPress Page ID `content_page_id` - `url` \u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740 `content_page_url`", "type": "string", "enum": [ "none", "content", "page", "url", "wc_product" ], "required": false }, "sales_page_url": { "description": "\u92b7\u552e\u9801\u9762\u7684\u7db2\u5740\uff0c\u7576`sales_page_type`\u8a2d\u5b9a\u70ba`url`\u6642\u70ba\u5fc5\u586b\u6b04\u4f4d\u3002\u50c5\u6703\u5728`sales_page_type`\u8a2d\u5b9a\u70ba`url`\u624d\u6703\u986f\u793a\u6b64\u6b04\u4f4d\u3002", "type": "string", "format": "uri", "required": false }, "tags": { "description": "\u6703\u54e1\u8cc7\u683c\u6a19\u7c64\u5217\u8868", "type": "array", "items": { "type": "integer" }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "force": { "description": "\u8df3\u904e\u56de\u6536\u6876\u5f37\u5236\u522a\u9664\u8ab2\u7a0b\u3002", "type": "boolean", "default": false, "required": false } } } ] }, "\/llms\/v1\/memberships\/(?P[\\d]+)\/enrollments": { "namespace": "llms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7368\u7acb\u6703\u54e1\u8cc7\u683c ID\uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_created", "enum": [ "date_created", "date_updated" ], "required": false }, "status": { "description": "\u6839\u64da\u6307\u5b9a\u72c0\u614b\u4f86\u7be9\u9078\u641c\u5c0b\u7d50\u679c", "enum": [ "cancelled", "enrolled", "expired" ], "type": "string", "required": false }, "student": { "description": "\u50c5\u641c\u5c0b\u7279\u5b9a\u5b78\u751f\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b\u5b78\u751f ID\u3002", "type": "string", "required": false } } } ] }, "\/llms\/v1\/instructors": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "search_columns": { "description": "\u8acb\u8f38\u5165\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500b\u6b04\u4f4d\u540d\u7a31\u3002", "type": "array", "items": { "type": "string", "enum": [ "id", "username", "email", "url", "name" ] }, "default": [ "id", "username", "email", "url", "name" ], "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "email", "name", "registered_date" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "roles": { "description": "\u8acb\u8f38\u5165\u5fc5\u9808\u543b\u5408\u7684\u4f7f\u7528\u8005\u89d2\u8272\u4f86\u9032\u884c\u641c\u5c0b\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500b\u89d2\u8272\u3002", "type": "array", "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ] }, "required": false }, "post_in": { "description": "\u50c5\u53d6\u5f97\u6307\u5b9a\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c\u7684\u5c0e\u5e2b\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c ID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "post_not_in": { "description": "\u6392\u9664\u6307\u5b9a\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c\u7684\u5c0e\u5e2b\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c ID\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "POST" ], "args": { "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31", "type": "string", "required": false }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": true }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u63cf\u8ff0", "type": "string", "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31", "type": "string", "required": false }, "roles": { "default": [ "instructor" ], "description": "\u4f7f\u7528\u8005\u7684\u89d2\u8272", "type": "array", "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ] }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u986f\u793a)", "type": "string", "required": false }, "billing_address_1": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c1", "type": "string", "required": false }, "billing_address_2": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c2", "type": "string", "required": false }, "billing_city": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u57ce\u5e02\u540d\u7a31", "type": "string", "required": false }, "billing_state": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u5dde\u3001\u7701\u6216\u5730\u5340ISO \u4ee3\u78bc", "type": "string", "required": false }, "billing_postcode": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "billing_country": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u570b\u5bb6 ISO \u4ee3\u78bc", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/instructors" } ] } }, "\/llms\/v1\/instructors\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31", "type": "string", "required": false }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u63cf\u8ff0", "type": "string", "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31", "type": "string", "required": false }, "roles": { "description": "\u4f7f\u7528\u8005\u7684\u89d2\u8272", "type": "array", "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ] }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u986f\u793a)", "type": "string", "required": false }, "billing_address_1": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c1", "type": "string", "required": false }, "billing_address_2": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c2", "type": "string", "required": false }, "billing_city": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u57ce\u5e02\u540d\u7a31", "type": "string", "required": false }, "billing_state": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u5dde\u3001\u7701\u6216\u5730\u5340ISO \u4ee3\u78bc", "type": "string", "required": false }, "billing_postcode": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "billing_country": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u570b\u5bb6 ISO \u4ee3\u78bc", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "reassign": { "type": "integer", "description": "\u5c07\u906d\u5230\u522a\u9664\u7684\u4f7f\u7528\u8005\u7684\u6587\u7ae0\u9032\u884c\u91cd\u65b0\u6307\u6d3e\uff0c\u4e26\u5c07\u9019\u4e9b\u6587\u7ae0\u9023\u7d50\u81f3\u6307\u5b9a\u7684\u4f7f\u7528\u8005 ID\u3002", "default": 0, "required": false } } } ] }, "\/llms\/v1\/students": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "search_columns": { "description": "\u8acb\u8f38\u5165\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500b\u6b04\u4f4d\u540d\u7a31\u3002", "type": "array", "items": { "type": "string", "enum": [ "id", "username", "email", "url", "name" ] }, "default": [ "id", "username", "email", "url", "name" ], "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "email", "name", "registered_date" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "roles": { "description": "\u8acb\u8f38\u5165\u5fc5\u9808\u543b\u5408\u7684\u4f7f\u7528\u8005\u89d2\u8272\u4f86\u9032\u884c\u641c\u5c0b\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500b\u89d2\u8272\u3002", "type": "array", "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ] }, "required": false }, "enrolled_in": { "description": "\u50c5\u641c\u5c0b\u6709\u8a3b\u518a\u7279\u5b9a\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c\u7684\u5b78\u751f\uff0c\u53ef\u4ee5\u8f38\u5165\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c ID \u4e5f\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b ID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "enrolled_not_in": { "description": "\u50c5\u641c\u5c0b\u6c92\u6709\u8a3b\u518a\u7279\u5b9a\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c\u7684\u5b78\u751f\uff0c\u53ef\u4ee5\u8f38\u5165\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c ID \u4e5f\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b ID\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "POST" ], "args": { "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31", "type": "string", "required": false }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": true }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u63cf\u8ff0", "type": "string", "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31", "type": "string", "required": false }, "roles": { "default": [ "student" ], "description": "\u4f7f\u7528\u8005\u7684\u89d2\u8272", "type": "array", "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ] }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u986f\u793a)", "type": "string", "required": false }, "billing_address_1": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c1", "type": "string", "required": false }, "billing_address_2": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c2", "type": "string", "required": false }, "billing_city": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u57ce\u5e02\u540d\u7a31", "type": "string", "required": false }, "billing_state": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u5dde\u3001\u7701\u6216\u5730\u5340ISO \u4ee3\u78bc", "type": "string", "required": false }, "billing_postcode": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "billing_country": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u570b\u5bb6 ISO \u4ee3\u78bc", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/students" } ] } }, "\/llms\/v1\/students\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31", "type": "string", "required": false }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u63cf\u8ff0", "type": "string", "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31", "type": "string", "required": false }, "roles": { "description": "\u4f7f\u7528\u8005\u7684\u89d2\u8272", "type": "array", "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ] }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u986f\u793a)", "type": "string", "required": false }, "billing_address_1": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c1", "type": "string", "required": false }, "billing_address_2": { "description": "\u4f7f\u7528\u8005\u4f4d\u5740\u884c2", "type": "string", "required": false }, "billing_city": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u57ce\u5e02\u540d\u7a31", "type": "string", "required": false }, "billing_state": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u5dde\u3001\u7701\u6216\u5730\u5340ISO \u4ee3\u78bc", "type": "string", "required": false }, "billing_postcode": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "billing_country": { "description": "\u4f7f\u7528\u8005\u5730\u5740\u7684\u570b\u5bb6 ISO \u4ee3\u78bc", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "reassign": { "type": "integer", "description": "\u5c07\u906d\u5230\u522a\u9664\u7684\u4f7f\u7528\u8005\u7684\u6587\u7ae0\u9032\u884c\u91cd\u65b0\u6307\u6d3e\uff0c\u4e26\u5c07\u9019\u4e9b\u6587\u7ae0\u9023\u7d50\u81f3\u6307\u5b9a\u7684\u4f7f\u7528\u8005 ID\u3002", "default": 0, "required": false } } } ] }, "\/llms\/v1\/students\/(?P[\\d]+)\/progress\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u5b78\u751f\u7684\u7368\u7acb ID\uff0c\u540c\u6642\u70ba WordPress \u4f7f\u7528\u8005 ID\u3002", "type": "integer", "required": false }, "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u3001\u8ab2\u7a0b\u55ae\u5143\u53ca\u7ae0\u7bc0 ID\uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "\u5b78\u751f\u7684\u7368\u7acb ID\uff0c\u540c\u6642\u70ba WordPress \u4f7f\u7528\u8005 ID\u3002", "type": "integer", "required": false }, "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u3001\u8ab2\u7a0b\u55ae\u5143\u53ca\u7ae0\u7bc0 ID\uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID\u3002", "type": "integer", "required": false }, "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "format": "date-time", "required": false }, "status": { "description": "\u8a3b\u518a\u7684\u72c0\u614b", "type": "string", "enum": [ "complete", "incomplete" ], "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u5b78\u751f\u7684\u7368\u7acb ID\uff0c\u540c\u6642\u70ba WordPress \u4f7f\u7528\u8005 ID\u3002", "type": "integer", "required": false }, "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u3001\u8ab2\u7a0b\u55ae\u5143\u53ca\u7ae0\u7bc0 ID\uff0c\u540c\u6642\u70ba WordPress \u6587\u7ae0 ID\u3002", "type": "integer", "required": false } } } ] }, "\/llms\/v1\/students\/(?P[\\d]+)\/enrollments": { "namespace": "llms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_created", "enum": [ "date_created", "date_updated" ], "required": false }, "status": { "description": "\u6839\u64da\u6307\u5b9a\u72c0\u614b\u4f86\u7be9\u9078\u641c\u5c0b\u7d50\u679c", "enum": [ "cancelled", "enrolled", "expired" ], "type": "string", "required": false }, "post": { "description": "\u50c5\u986f\u793a\u7b26\u5408\u6307\u5b9a\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c ID\u3002", "type": "string", "required": false } } } ] }, "\/llms\/v1\/students\/(?P[\\d]+)\/enrollments\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c ID\uff0c\u540c\u6642\u70ba WordPress \u7684\u6587\u7ae0 ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c ID\uff0c\u540c\u6642\u70ba WordPress \u7684\u6587\u7ae0 ID", "type": "integer", "required": false }, "trigger": { "description": "\u89f8\u767c\u8a3b\u518a\u8ab2\u7a0b\u7684\u884c\u70ba", "type": "string", "default": "any", "required": false } } }, { "methods": [ "PATCH" ], "args": { "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c ID\uff0c\u540c\u6642\u70ba WordPress \u7684\u6587\u7ae0 ID", "type": "integer", "required": false }, "trigger": { "description": "\u89f8\u767c\u8a3b\u518a\u8ab2\u7a0b\u7684\u884c\u70ba", "type": "string", "default": "any", "required": false } } }, { "methods": [ "DELETE" ], "args": { "post_id": { "description": "\u7368\u7acb\u7684\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c ID\uff0c\u540c\u6642\u70ba WordPress \u7684\u6587\u7ae0 ID", "type": "integer", "required": false }, "trigger": { "description": "\u89f8\u767c\u8a3b\u518a\u8ab2\u7a0b\u7684\u884c\u70ba", "type": "string", "default": "any", "required": false } } } ] }, "\/llms\/v1\/webhooks": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "name", "created", "updated" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "description": "\u50c5\u641c\u5c0b\u7279\u5b9a\u72c0\u614b\u7684 Webhook", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u53cb\u5584\u3001\u6613\u65bc\u95b1\u8b80\u7684\u540d\u5b57\u6216\u662f\u63cf\u8ff0\u3002", "type": "string", "required": false }, "status": { "default": "disabled", "description": "Webhook \u7684\u72c0\u614b", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook \u4e3b\u984c", "type": "string", "required": true }, "delivery_url": { "description": "\u7528\u4f86\u50b3\u9001 Webhook \u8cc7\u6599\u7684\u7db2\u5740", "type": "string", "required": true }, "secret": { "description": "\u7528\u4f86\u5efa\u7acb\u50b3\u9001\u7c3d\u7ae0\u7684\u5bc6\u9470 (\u9078\u586b)", "type": "string", "required": false }, "hooks": { "description": "\u8207\u9019\u500b Webhook \u76f8\u95dc\u7684 WordPress \u64cd\u4f5c hook \u6e05\u55ae", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/webhooks" } ] } }, "\/llms\/v1\/webhooks\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "name": { "description": "\u53cb\u5584\u3001\u6613\u65bc\u95b1\u8b80\u7684\u540d\u5b57\u6216\u662f\u63cf\u8ff0\u3002", "type": "string", "required": false }, "status": { "description": "Webhook \u7684\u72c0\u614b", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook \u4e3b\u984c", "type": "string", "required": false }, "delivery_url": { "description": "\u7528\u4f86\u50b3\u9001 Webhook \u8cc7\u6599\u7684\u7db2\u5740", "type": "string", "required": false }, "secret": { "description": "\u7528\u4f86\u5efa\u7acb\u50b3\u9001\u7c3d\u7ae0\u7684\u5bc6\u9470 (\u9078\u586b)", "type": "string", "required": false }, "hooks": { "description": "\u8207\u9019\u500b Webhook \u76f8\u95dc\u7684 WordPress \u64cd\u4f5c hook \u6e05\u55ae", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false } } } ] }, "\/llms\/v1\/access-plans": { "namespace": "llms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f7f\u7528\u7269\u4ef6\u5c6c\u6027\u4f86\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "title", "date_created", "date_updated", "menu_order", "relevance" ], "required": false }, "include": { "description": "\u5c07\u641c\u5c0b\u7d50\u679c\u7e2e\u9650\u5728ID\u6e05\u55ae\u5167\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude": { "description": "\u6392\u9664ID\u6e05\u55ae\u7684\u641c\u5c0b\u7d50\u679c\uff0c\u4f60\u53ef\u4ee5\u7528\u9017\u865f(,)\u6216\u662f\u63db\u884c\u4f86\u5206\u9694\u591a\u500bID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "post_id": { "description": "\u641c\u5c0b\u6307\u5b9a\u7684\u65b9\u6848\uff0c\u53ef\u4ee5\u8f38\u5165\u8ab2\u7a0b\/\u6703\u54e1\u8cc7\u683c ID \u4e5f\u53ef\u4ee5\u4f7f\u7528\u9017\u865f (,) \u4f86\u5206\u9694\u591a\u500b ID\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "default": 0, "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": true }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "price": { "description": "\u8ab2\u7a0b\u65b9\u6848\u50f9\u683c", "type": "number", "required": true }, "access_expiration": { "default": "lifetime", "description": "\u9078\u64c7\u8ab2\u7a0b\u65b9\u6848\u7684\u5230\u671f\u985e\u578b\u3002`lifetime` \u70ba\u7d42\u751f\u6709\u6548\u65b9\u6848\uff0c\u9664\u975e\u88ab\u53d6\u6d88\u6216\u662f\u9031\u671f\u6027\u4ed8\u6b3e\u5931\u6557\u624d\u6703\u7d42\u6b62\u4f7f\u7528\u6b0a\u9650 `limited-period` \u70ba\u6709\u671f\u9650\u7684\u8ab2\u7a0b\u65b9\u6848\uff0c\u53ef\u4ee5\u900f\u904e `access_length`\u3001`access_period`\u53ca`limited-date`\u4f86\u8a2d\u5b9a\u555f\u7528\u65e5\u671f\uff0c\u4e5f\u53ef\u900f\u904e`access_expires_date`\u8a2d\u5b9a\u7d50\u675f\u65e5\u671f", "type": "string", "enum": [ "lifetime", "limited-period", "limited-date" ], "required": false }, "access_expires": { "description": "\u6b64\u65b9\u6848\u7684\u5230\u671f\u65e5\uff0c\u50c5\u65bc`access_expiration`\u8a2d\u5b9a\u70ba`limited-date`\u624d\u6709\u6548\uff0c\u683c\u5f0f\uff1a`Y-m-d H:i:s`", "type": "string", "required": false }, "access_length": { "default": 1, "description": "\u624d\u8cfc\u8cb7\u65b9\u6848\u5f8c\uff0c\u8ab2\u7a0b\u53ef\u4f7f\u7528\u7684\u6642\u9593\u3002\u50c5\u65bc`access_expiration`\u8a2d\u5b9a\u70ba`limited-period`\u6642\u6709\u6548\u3002", "type": "integer", "required": false }, "access_period": { "default": "year", "description": "\u624d\u8cfc\u8cb7\u65b9\u6848\u5f8c\uff0c\u8ab2\u7a0b\u53ef\u4f7f\u7528\u7684\u6642\u9593\u3002\u50c5\u65bc`access_expiration`\u8a2d\u5b9a\u70ba`limited-period`\u6642\u6709\u6548", "type": "string", "enum": [ "year", "month", "week", "day" ], "required": false }, "availability_restrictions": { "description": "\u5728\u5b78\u751f\u7372\u5f97\u81f3\u5c11\u4e00\u500b\u6307\u5b9a\u6703\u54e1\u8cc7\u683c\u4e4b\u5f8c\u624d\u53ef\u4ee5\u53d6\u5f97\u9019\u500b\u8ab2\u7a0b\u65b9\u6848\uff0c\u6b64\u9805\u8a2d\u5b9a\u50c5\u65bc\u5c07 `post_id` \u7684\u6587\u7ae0\u985e\u578b\u70ba\u8ab2\u7a0b\u6642\u624d\u6709\u6548\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "enroll_text": { "default": "\u7acb\u5373\u8cfc\u8cb7", "description": "\u300c\u8cfc\u8cb7\u300d\u6309\u9215\u7684\u6587\u5b57", "type": "string", "required": false }, "frequency": { "default": 0, "description": "\u5e33\u55ae\u9031\u671f [0-6]\uff0c`0`\u4ee3\u8868\u8cb7\u65b7\u578b\u4ed8\u6b3e\uff0c`>=1`\u4ee3\u8868\u9031\u671f\u6027\u4ed8\u6b3e", "type": "integer", "required": false }, "length": { "default": 0, "description": "\u50c5\u4f9b\u9031\u671f\u6027\u65b9\u6848\u4f7f\u7528\u3002\u8a2d\u5b9a\u6263\u6b3e\u9031\u671f\u7684\u6578\u5b57\uff0c`0`\u4ee3\u8868\u6b64\u65b9\u6848\u5728\u53d6\u6d88\u4e4b\u524d\u6703\u6301\u7e8c\u6709\u6548\u3002", "type": "integer", "required": false }, "period": { "default": "year", "description": "\u50c5\u4f9b\u9031\u671f\u6027\u65b9\u6848\u4f7f\u7528\u3002\u8a2d\u5b9a\u6263\u6b3e\u9031\u671f\u7684\u6578\u5b57\u3002", "type": "string", "enum": [ "year", "month", "week", "day" ], "required": false }, "post_id": { "description": "\u8a2d\u5b9a\u53d6\u5f97\u6b64\u9805\u65b9\u6848\u7684\u5b78\u751f\u53ef\u4ee5\u7372\u5f97\u54ea\u4e9b\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c", "type": "integer", "required": true }, "redirect_forced": { "default": false, "description": "\u5728\u8cfc\u8cb7\u53d7\u9650\u7684\u6703\u54e1\u65b9\u6848\u6642\uff0c\u4f7f\u7528\u9019\u500b\u8f49\u5740\u8a2d\u5b9a\u5c07\u4f7f\u7528\u8005\u8f49\u5740\u5230\u6307\u5b9a\u9801\u9762\u3002\u6b64\u9078\u9805\u50c5\u65bc\u6b64\u9805\u653e\u6848\u6709\u8a2d\u5b9a`availability_restrictions`\u6642\u6709\u6548\u3002", "type": "boolean", "required": false }, "redirect_page": { "description": "\u5728\u7d50\u5e33\u6210\u529f\u5f8c\u8f49\u5740\u5230\u6307\u5b9a WordPress \u9801\u9762ID\uff0c\u6b64\u9078\u9805\u50c5\u65bc`redirect_type`\u70ba\u9801\u9762\u6642\u6709\u6548\u3002", "type": "integer", "required": false }, "redirect_type": { "default": "self", "description": "\u6210\u529f\u7d50\u5e33\u6216\u662f\u8a3b\u518a\u6b64\u65b9\u6848\u5f8c\uff0c\u6c7a\u5b9a\u700f\u89bd\u5668\u8f49\u5740\u7684\u884c\u7232\u3002`self`: \u8f49\u5740\u5230\u6307\u5b9a\u7684\u6587\u7ae0ID`post_id`. `page`: \u8f49\u5740\u5230\u6307\u5b9a\u7684 WordPress \u9801\u9762 ID`redirect_page_id`. `url`: \u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740 `redirect_url`.", "type": "string", "enum": [ "self", "page", "url" ], "required": false }, "redirect_url": { "description": "\u5728\u6210\u529f\u7d50\u5e33\u4e4b\u5f8c\u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740\uff0c\u6b64\u9078\u9805\u50c5\u65bc`redirect_type`\u70ba`url`\u6642\u6709\u6548\u3002", "type": "string", "format": "uri", "required": false }, "sale_date_end": { "description": "\u81ea\u52d5\u5c07\u6392\u7a0b\u92b7\u552e\u4e0b\u67b6\u3002\u5982\u679c\u8a2d\u5b9a\u70ba\u7a7a\u767d\u5247\u4ee3\u8868\u6b64\u65b9\u6848\u5c07\u6c38\u9060\u4e0a\u67b6\u3002\u6b64\u6b04\u4f4d\u50c5\u65bc`sale_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548\uff0c\u683c\u5f0f\uff1a`Y-m-d H:i:s`", "type": "string", "required": false }, "sale_date_start": { "description": "\u81ea\u52d5\u5c07\u6392\u7a0b\u92b7\u552e\u4e0a\u67b6\uff0c\u5982\u679c\u8a2d\u5b9a\u70ba\u7a7a\u767d\u5247\u4ee3\u8868\u6b64\u65b9\u6848\u5373\u523b\u8d77\u958b\u59cb\u92b7\u552e\u3002\u6b64\u6b04\u4f4d\u50c5\u65bc`sale_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548\uff0c\u683c\u5f0f\uff1a`Y-m-d H:i:s`", "type": "string", "required": false }, "sale_enabled": { "default": false, "description": "\u5c07\u6b64\u65b9\u6848\u6a19\u793a\u70ba\u300c\u7279\u50f9\u4e2d\u300d\u53ef\u66ab\u6642\u8abf\u6574\u50f9\u683c", "type": "boolean", "required": false }, "sale_price": { "description": "\u92b7\u552e\u50f9\u683c\u3002\u6b64\u6b04\u4f4d\u50c5\u65bc`sale_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "number", "required": false }, "sku": { "description": "\u5916\u90e8 ID", "type": "string", "required": false }, "trial_enabled": { "default": false, "description": "\u70ba\u9031\u671f\u6027\u8ab2\u7a0b\u65b9\u6848\u555f\u7528\u8a66\u7528\u671f", "type": "boolean", "required": false }, "trial_length": { "default": 1, "description": "\u8a66\u7528\u671f\u9577\u5ea6\uff0c\u50c5\u65bc`trial_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "integer", "required": false }, "trial_period": { "default": "week", "description": "\u8a66\u7528\u671f\u9577\u5ea6\uff0c\u50c5\u65bc`trial_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "string", "enum": [ "year", "month", "week", "day" ], "required": false }, "trial_price": { "default": 0, "description": "\u8a66\u7528\u671f\u50f9\u683c\uff0c\u50c5\u65bc`trial_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "number", "required": false }, "visibility": { "default": "visible", "description": "\u65b9\u6848\u53ef\u898b\u5ea6", "type": "string", "enum": [ "visible", "hidden", "featured" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/llms\/v1\/access-plans" } ] } }, "\/llms\/v1\/access-plans\/(?P[\\d]+)": { "namespace": "llms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false }, "date_created": { "description": "\u5efa\u7acb\u65e5\u671f\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "string", "required": false }, "menu_order": { "description": "\u5efa\u7acb\u65e5\u671f(GMT)\uff0c\u683c\u5f0f\uff1aY-m-d H:i:s", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u6a19\u984c", "type": "object", "properties": { "raw": { "description": "\u539f\u59cb\u6a19\u984c\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6e32\u67d3\u6a19\u984c", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684 HTML \u5167\u5bb9", "type": "object", "properties": { "rendered": { "description": "\u6e32\u67d3\u7684 HTML \u5167\u5bb9", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "raw": { "description": "\u539f\u59cb HTML \u5167\u5bb9\uff0c\u5728 WordPress \u5340\u584a\u7de8\u8f2f\u5668\u5167\u986f\u793a\u6a19\u984c\u624d\u6703\u6709\u6548\u3002\u50c5\u65bc\u7de8\u8f2f\u4e0a\u4e0b\u6587\u6642\u624d\u6703\u56de\u50b3\u3002", "type": "string", "context": [ "edit" ] }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u9700\u8981\u4ee5\u5bc6\u78bc\u4fdd\u8b77", "type": "boolean", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "price": { "description": "\u8ab2\u7a0b\u65b9\u6848\u50f9\u683c", "type": "number", "required": false }, "access_expiration": { "description": "\u9078\u64c7\u8ab2\u7a0b\u65b9\u6848\u7684\u5230\u671f\u985e\u578b\u3002`lifetime` \u70ba\u7d42\u751f\u6709\u6548\u65b9\u6848\uff0c\u9664\u975e\u88ab\u53d6\u6d88\u6216\u662f\u9031\u671f\u6027\u4ed8\u6b3e\u5931\u6557\u624d\u6703\u7d42\u6b62\u4f7f\u7528\u6b0a\u9650 `limited-period` \u70ba\u6709\u671f\u9650\u7684\u8ab2\u7a0b\u65b9\u6848\uff0c\u53ef\u4ee5\u900f\u904e `access_length`\u3001`access_period`\u53ca`limited-date`\u4f86\u8a2d\u5b9a\u555f\u7528\u65e5\u671f\uff0c\u4e5f\u53ef\u900f\u904e`access_expires_date`\u8a2d\u5b9a\u7d50\u675f\u65e5\u671f", "type": "string", "enum": [ "lifetime", "limited-period", "limited-date" ], "required": false }, "access_expires": { "description": "\u6b64\u65b9\u6848\u7684\u5230\u671f\u65e5\uff0c\u50c5\u65bc`access_expiration`\u8a2d\u5b9a\u70ba`limited-date`\u624d\u6709\u6548\uff0c\u683c\u5f0f\uff1a`Y-m-d H:i:s`", "type": "string", "required": false }, "access_length": { "description": "\u624d\u8cfc\u8cb7\u65b9\u6848\u5f8c\uff0c\u8ab2\u7a0b\u53ef\u4f7f\u7528\u7684\u6642\u9593\u3002\u50c5\u65bc`access_expiration`\u8a2d\u5b9a\u70ba`limited-period`\u6642\u6709\u6548\u3002", "type": "integer", "required": false }, "access_period": { "description": "\u624d\u8cfc\u8cb7\u65b9\u6848\u5f8c\uff0c\u8ab2\u7a0b\u53ef\u4f7f\u7528\u7684\u6642\u9593\u3002\u50c5\u65bc`access_expiration`\u8a2d\u5b9a\u70ba`limited-period`\u6642\u6709\u6548", "type": "string", "enum": [ "year", "month", "week", "day" ], "required": false }, "availability_restrictions": { "description": "\u5728\u5b78\u751f\u7372\u5f97\u81f3\u5c11\u4e00\u500b\u6307\u5b9a\u6703\u54e1\u8cc7\u683c\u4e4b\u5f8c\u624d\u53ef\u4ee5\u53d6\u5f97\u9019\u500b\u8ab2\u7a0b\u65b9\u6848\uff0c\u6b64\u9805\u8a2d\u5b9a\u50c5\u65bc\u5c07 `post_id` \u7684\u6587\u7ae0\u985e\u578b\u70ba\u8ab2\u7a0b\u6642\u624d\u6709\u6548\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "enroll_text": { "description": "\u300c\u8cfc\u8cb7\u300d\u6309\u9215\u7684\u6587\u5b57", "type": "string", "required": false }, "frequency": { "description": "\u5e33\u55ae\u9031\u671f [0-6]\uff0c`0`\u4ee3\u8868\u8cb7\u65b7\u578b\u4ed8\u6b3e\uff0c`>=1`\u4ee3\u8868\u9031\u671f\u6027\u4ed8\u6b3e", "type": "integer", "required": false }, "length": { "description": "\u50c5\u4f9b\u9031\u671f\u6027\u65b9\u6848\u4f7f\u7528\u3002\u8a2d\u5b9a\u6263\u6b3e\u9031\u671f\u7684\u6578\u5b57\uff0c`0`\u4ee3\u8868\u6b64\u65b9\u6848\u5728\u53d6\u6d88\u4e4b\u524d\u6703\u6301\u7e8c\u6709\u6548\u3002", "type": "integer", "required": false }, "period": { "description": "\u50c5\u4f9b\u9031\u671f\u6027\u65b9\u6848\u4f7f\u7528\u3002\u8a2d\u5b9a\u6263\u6b3e\u9031\u671f\u7684\u6578\u5b57\u3002", "type": "string", "enum": [ "year", "month", "week", "day" ], "required": false }, "post_id": { "description": "\u8a2d\u5b9a\u53d6\u5f97\u6b64\u9805\u65b9\u6848\u7684\u5b78\u751f\u53ef\u4ee5\u7372\u5f97\u54ea\u4e9b\u8ab2\u7a0b\u6216\u662f\u6703\u54e1\u8cc7\u683c", "type": "integer", "required": false }, "redirect_forced": { "description": "\u5728\u8cfc\u8cb7\u53d7\u9650\u7684\u6703\u54e1\u65b9\u6848\u6642\uff0c\u4f7f\u7528\u9019\u500b\u8f49\u5740\u8a2d\u5b9a\u5c07\u4f7f\u7528\u8005\u8f49\u5740\u5230\u6307\u5b9a\u9801\u9762\u3002\u6b64\u9078\u9805\u50c5\u65bc\u6b64\u9805\u653e\u6848\u6709\u8a2d\u5b9a`availability_restrictions`\u6642\u6709\u6548\u3002", "type": "boolean", "required": false }, "redirect_page": { "description": "\u5728\u7d50\u5e33\u6210\u529f\u5f8c\u8f49\u5740\u5230\u6307\u5b9a WordPress \u9801\u9762ID\uff0c\u6b64\u9078\u9805\u50c5\u65bc`redirect_type`\u70ba\u9801\u9762\u6642\u6709\u6548\u3002", "type": "integer", "required": false }, "redirect_type": { "description": "\u6210\u529f\u7d50\u5e33\u6216\u662f\u8a3b\u518a\u6b64\u65b9\u6848\u5f8c\uff0c\u6c7a\u5b9a\u700f\u89bd\u5668\u8f49\u5740\u7684\u884c\u7232\u3002`self`: \u8f49\u5740\u5230\u6307\u5b9a\u7684\u6587\u7ae0ID`post_id`. `page`: \u8f49\u5740\u5230\u6307\u5b9a\u7684 WordPress \u9801\u9762 ID`redirect_page_id`. `url`: \u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740 `redirect_url`.", "type": "string", "enum": [ "self", "page", "url" ], "required": false }, "redirect_url": { "description": "\u5728\u6210\u529f\u7d50\u5e33\u4e4b\u5f8c\u8f49\u5740\u5230\u6307\u5b9a\u7db2\u5740\uff0c\u6b64\u9078\u9805\u50c5\u65bc`redirect_type`\u70ba`url`\u6642\u6709\u6548\u3002", "type": "string", "format": "uri", "required": false }, "sale_date_end": { "description": "\u81ea\u52d5\u5c07\u6392\u7a0b\u92b7\u552e\u4e0b\u67b6\u3002\u5982\u679c\u8a2d\u5b9a\u70ba\u7a7a\u767d\u5247\u4ee3\u8868\u6b64\u65b9\u6848\u5c07\u6c38\u9060\u4e0a\u67b6\u3002\u6b64\u6b04\u4f4d\u50c5\u65bc`sale_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548\uff0c\u683c\u5f0f\uff1a`Y-m-d H:i:s`", "type": "string", "required": false }, "sale_date_start": { "description": "\u81ea\u52d5\u5c07\u6392\u7a0b\u92b7\u552e\u4e0a\u67b6\uff0c\u5982\u679c\u8a2d\u5b9a\u70ba\u7a7a\u767d\u5247\u4ee3\u8868\u6b64\u65b9\u6848\u5373\u523b\u8d77\u958b\u59cb\u92b7\u552e\u3002\u6b64\u6b04\u4f4d\u50c5\u65bc`sale_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548\uff0c\u683c\u5f0f\uff1a`Y-m-d H:i:s`", "type": "string", "required": false }, "sale_enabled": { "description": "\u5c07\u6b64\u65b9\u6848\u6a19\u793a\u70ba\u300c\u7279\u50f9\u4e2d\u300d\u53ef\u66ab\u6642\u8abf\u6574\u50f9\u683c", "type": "boolean", "required": false }, "sale_price": { "description": "\u92b7\u552e\u50f9\u683c\u3002\u6b64\u6b04\u4f4d\u50c5\u65bc`sale_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "number", "required": false }, "sku": { "description": "\u5916\u90e8 ID", "type": "string", "required": false }, "trial_enabled": { "description": "\u70ba\u9031\u671f\u6027\u8ab2\u7a0b\u65b9\u6848\u555f\u7528\u8a66\u7528\u671f", "type": "boolean", "required": false }, "trial_length": { "description": "\u8a66\u7528\u671f\u9577\u5ea6\uff0c\u50c5\u65bc`trial_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "integer", "required": false }, "trial_period": { "description": "\u8a66\u7528\u671f\u9577\u5ea6\uff0c\u50c5\u65bc`trial_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "string", "enum": [ "year", "month", "week", "day" ], "required": false }, "trial_price": { "description": "\u8a66\u7528\u671f\u50f9\u683c\uff0c\u50c5\u65bc`trial_enabled`\u8a2d\u5b9a\u70ba`true`\u6642\u6709\u6548", "type": "number", "required": false }, "visibility": { "description": "\u65b9\u6848\u53ef\u898b\u5ea6", "type": "string", "enum": [ "visible", "hidden", "featured" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u7368\u7acb ID", "type": "integer", "required": false } } } ] }, "\/hfe\/v1": { "namespace": "hfe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "hfe\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/hfe\/v1" } ] } }, "\/hfe\/v1\/widgets": { "namespace": "hfe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/hfe\/v1\/widgets" } ] } }, "\/hfe\/v1\/plugins": { "namespace": "hfe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/hfe\/v1\/plugins" } ] } }, "\/hfe\/v1\/templates": { "namespace": "hfe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/hfe\/v1\/templates" } ] } }, "\/hfe\/v1\/email-webhook": { "namespace": "hfe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/hfe\/v1\/email-webhook" } ] } }, "\/hfe\/v1\/recommended-plugins": { "namespace": "hfe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/hfe\/v1\/recommended-plugins" } ] } }, "\/wpvibe\/v1\/self-update\/health": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/self-update\/health" } ] } }, "\/wpvibe\/v1\/self-update\/run": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/self-update\/run" } ] } }, "\/wpvibe\/v1\/detached\/run": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/detached\/run" } ] } }, "\/wpvibe\/v1\/site-info": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/site-info" } ] } }, "\/wpvibe\/v1\/registered-meta": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "post_type": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/registered-meta" } ] } }, "\/wpvibe\/v1\/file\/read": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "scope": { "type": "string", "enum": [ "theme", "wp-content" ], "required": false }, "path": { "type": "string", "required": true }, "start_line": { "type": "integer", "required": false }, "end_line": { "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/read" } ] } }, "\/wpvibe\/v1\/file\/list": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "scope": { "type": "string", "enum": [ "theme", "wp-content" ], "required": false }, "directory": { "type": "string", "required": false }, "pattern": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/list" } ] } }, "\/wpvibe\/v1\/file\/search": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "pattern": { "type": "string", "required": true }, "case_sensitive": { "type": "boolean", "default": false, "required": false }, "extensions": { "type": "array", "required": false }, "max_results": { "type": "integer", "default": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/search" } ] } }, "\/wpvibe\/v1\/file\/outline": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "path": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/outline" } ] } }, "\/wpvibe\/v1\/file\/edit": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "path": { "type": "string", "required": true }, "old_content": { "type": "string", "required": true }, "new_content": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/edit" } ] } }, "\/wpvibe\/v1\/file\/write": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "expected_source_hash": { "type": "string", "pattern": "^[a-f0-9]{64}$", "required": false }, "path": { "type": "string", "required": true }, "content": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/write" } ] } }, "\/wpvibe\/v1\/file\/delete": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "path": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/file\/delete" } ] } }, "\/wpvibe\/v1\/content\/edit": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "target_type": { "type": "string", "enum": [ "post", "meta", "option" ], "required": true }, "post_id": { "type": "integer", "required": false }, "field": { "type": "string", "required": false }, "meta_key": { "type": "string", "required": false }, "option_name": { "type": "string", "required": false }, "old_content": { "type": "string", "required": true }, "new_content": { "type": "string", "required": true }, "replace_all": { "type": "boolean", "default": false, "required": false }, "whole_word": { "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/content\/edit" } ] } }, "\/wpvibe\/v1\/content\/search": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "target_type": { "type": "string", "enum": [ "post", "meta", "option" ], "required": true }, "post_id": { "type": "integer", "required": false }, "field": { "type": "string", "required": false }, "meta_key": { "type": "string", "required": false }, "option_name": { "type": "string", "required": false }, "pattern": { "type": "string", "required": true }, "case_sensitive": { "type": "boolean", "required": false }, "max_results": { "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/content\/search" } ] } }, "\/wpvibe\/v1\/classic-theme-safety": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "challenge": { "type": "string", "pattern": "^[a-f0-9]{32}$", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/classic-theme-safety" } ] } }, "\/wpvibe\/v1\/draft-theme\/compile-sources": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/draft-theme\/compile-sources" } ] } }, "\/wpvibe\/v1\/draft-theme": { "namespace": "wpvibe\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/draft-theme" } ] } }, "\/wpvibe\/v1\/draft-theme\/publish": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "expected_source_hash": { "type": "string", "pattern": "^[a-f0-9]{64}$", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/draft-theme\/publish" } ] } }, "\/wpvibe\/v1\/draft-theme\/preview": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/draft-theme\/preview" } ] } }, "\/wpvibe\/v1\/draft-theme\/delete": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/draft-theme\/delete" } ] } }, "\/wpvibe\/v1\/cli\/run": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "command": { "type": "string", "required": true }, "confirm_write": { "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/cli\/run" } ] } }, "\/wpvibe\/v1\/audit-log": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "limit": { "type": "integer", "default": 50, "required": false }, "offset": { "type": "integer", "default": 0, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/audit-log" } ] } }, "\/wpvibe\/v1\/audit-log\/record": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "operation": { "type": "string", "required": true }, "command": { "type": "string", "required": true }, "params": { "type": "string", "required": false }, "dry_run": { "type": "string", "required": false }, "result_summary": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/audit-log\/record" } ] } }, "\/wpvibe\/v1\/op-receipt\/(?P[a-z0-9_.:]+)": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "op_id": { "type": "string", "required": true } } } ] }, "\/wpvibe\/v1\/cli\/run-approved": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "command": { "type": "string", "required": true }, "confirm_write": { "type": "boolean", "default": false, "required": false }, "approved_state": { "type": "string", "required": false }, "detach": { "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/cli\/run-approved" } ] } }, "\/wpvibe\/v1\/authorize": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "type": "string", "required": true }, "app_id": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/authorize" } ] } }, "\/wpvibe\/v1\/authorize\/preflight": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/authorize\/preflight" } ] } }, "\/wpvibe\/v1\/connection-status": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/connection-status" } ] } }, "\/wpvibe\/v1\/op-proof\/check": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "challenge": { "type": "string", "maxLength": 80, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/op-proof\/check" } ] } }, "\/wpvibe\/v1\/code-snippet": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "action": { "type": "string", "default": "create", "required": false }, "id": { "type": "integer", "required": false }, "code": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "code_type": { "type": "string", "required": true }, "location": { "type": "string", "required": true }, "insert_method": { "type": "string", "default": "auto", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/code-snippet" } ] } }, "\/wpvibe\/v1\/code-snippet\/dormant": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "action": { "type": "string", "default": "create", "required": false }, "id": { "type": "integer", "required": false }, "code": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "code_type": { "type": "string", "required": true }, "location": { "type": "string", "required": true }, "insert_method": { "type": "string", "default": "auto", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/code-snippet\/dormant" } ] } }, "\/wpvibe\/v1\/cli\/status": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/cli\/status" } ] } }, "\/wpvibe\/v1\/builder-login": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "page_id": { "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/builder-login" } ] } }, "\/wpvibe\/v1\/rendered-html": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "path": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/rendered-html" } ] } }, "\/wpvibe\/v1\/create-classic-theme": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "theme_name": { "type": "string", "required": true }, "description": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/create-classic-theme" } ] } }, "\/wpvibe\/v1\/create-classic-theme-safe": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "theme_name": { "type": "string", "required": true }, "description": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/create-classic-theme-safe" } ] } }, "\/wpvibe\/v1\/upload-media": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "url": { "type": "string", "required": true }, "title": { "type": "string", "required": false }, "alt_text": { "type": "string", "required": false }, "post_id": { "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/upload-media" } ] } }, "\/wpvibe\/v1\/last-change": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "since": { "type": "number", "default": 0, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/last-change" } ] } }, "\/wpvibe\/v1\/navigate": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "url": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/navigate" } ] } }, "\/wpvibe\/v1\/elementor\/widgets": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/elementor\/widgets" } ] } }, "\/wpvibe\/v1\/elementor\/schema": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "required": true }, "names": { "type": "string", "required": false }, "prefix": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/elementor\/schema" } ] } }, "\/wpvibe\/v1\/elementor\/style-schema": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "names": { "type": "string", "required": false }, "prefix": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/elementor\/style-schema" } ] } }, "\/wpvibe\/v1\/elementor\/save-page": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "type": "integer", "required": false }, "title": { "type": "string", "required": false }, "post_type": { "type": "string", "default": "page", "required": false }, "status": { "type": "string", "required": false }, "template_type": { "type": "string", "required": false }, "page_template": { "type": "string", "required": false }, "data": { "type": "array", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/elementor\/save-page" } ] } }, "\/wpvibe\/v1\/elementor\/save-template": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "type": "integer", "required": false }, "title": { "type": "string", "required": false }, "type": { "type": "string", "required": true }, "status": { "type": "string", "required": false }, "data": { "type": "array", "required": true }, "conditions": { "type": "array", "default": [ "include\/general" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/elementor\/save-template" } ] } }, "\/wpvibe\/v1\/beaver\/save-page": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "type": "integer", "required": false }, "title": { "type": "string", "required": false }, "post_type": { "type": "string", "default": "page", "required": false }, "status": { "type": "string", "default": "publish", "required": false }, "data": { "type": "object", "required": true }, "theme_layout_type": { "type": "string", "required": false }, "theme_layout_locations": { "type": "array", "required": false }, "theme_layout_settings": { "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/beaver\/save-page" } ] } }, "\/wpvibe\/v1\/beaver\/modules": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/beaver\/modules" } ] } }, "\/wpvibe\/v1\/beaver\/schema": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/beaver\/schema" } ] } }, "\/wpvibe\/v1\/breakdance\/save-page": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "type": "integer", "required": false }, "title": { "type": "string", "required": false }, "post_type": { "type": "string", "default": "page", "required": false }, "status": { "type": "string", "default": "publish", "enum": [ "publish", "draft", "pending", "private" ], "required": false }, "tree": { "type": "object", "required": false }, "tree_json_string": { "type": "string", "required": false }, "template": { "type": "string", "enum": [ "blank_canvas", "theme" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/breakdance\/save-page" } ] } }, "\/wpvibe\/v1\/breakdance\/get-page": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/breakdance\/get-page" } ] } }, "\/wpvibe\/v1\/breakdance\/elements": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/breakdance\/elements" } ] } }, "\/wpvibe\/v1\/bricks\/save-page": { "namespace": "wpvibe\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "type": "integer", "required": false }, "title": { "type": "string", "required": false }, "post_type": { "type": "string", "default": "page", "required": false }, "status": { "type": "string", "default": "publish", "enum": [ "publish", "draft", "pending", "private" ], "required": false }, "elements": { "type": "array", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/bricks\/save-page" } ] } }, "\/wpvibe\/v1\/bricks\/get-page": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/bricks\/get-page" } ] } }, "\/wpvibe\/v1\/bricks\/elements": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/bricks\/elements" } ] } }, "\/wpvibe\/v1\/ping": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/ping" } ] } }, "\/wpvibe\/v1\/health": { "namespace": "wpvibe\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpvibe\/v1\/health" } ] } }, "\/wc-admin": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/notice\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/notice\/dismiss" } ] } }, "\/wc-admin\/features": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/features" } ] } }, "\/wc-admin\/experiments\/assignment": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/experiments\/assignment" } ] } }, "\/wc-admin\/marketing\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/recommended" } ] } }, "\/wc-admin\/marketing\/knowledge-base": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/knowledge-base" } ] } }, "\/wc-admin\/marketing\/misc-recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/misc-recommendations" } ] } }, "\/wc-admin\/marketing\/overview\/activate-plugin": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin" } ] } }, "\/wc-admin\/marketing\/overview\/installed-plugins": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins" } ] } }, "\/wc-admin\/marketing\/recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "enum": [ "channels", "extensions" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/recommendations" } ] } }, "\/wc-admin\/marketing\/channels": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/channels" } ] } }, "\/wc-admin\/marketing\/campaigns": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/campaigns" } ] } }, "\/wc-admin\/marketing\/campaign-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/marketing\/campaign-types" } ] } }, "\/wc-admin\/options": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/options" } ] } }, "\/wc-admin\/legacy-settings": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "schema": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/legacy-settings" } ] } }, "\/wc-admin\/payment-gateway-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "\u5728\u300cwoocommerce_show_marketplace_suggestion\u300d\u548c\u300cwoocommerce_setting_payments_recommendations_hidden\u300d\u9078\u9805\u8a2d\u70ba\u5426\u6642\uff0c\u50b3\u56de\u9810\u8a2d\u4ed8\u6b3e\u5efa\u8b70", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/payment-gateway-suggestions" } ] } }, "\/wc-admin\/payment-gateway-suggestions\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/payment-gateway-suggestions\/dismiss" } ] } }, "\/wc-admin\/themes": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "pluginzip": { "description": "\u8981\u4e0a\u50b3\u7684\u4f48\u666f\u4e3b\u984c zip \u6a94\u6848\u3002", "type": "file", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/themes" } ] } }, "\/wc-admin\/plugins\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/install" } ] } }, "\/wc-admin\/plugins\/install\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/install\/status" } ] } }, "\/wc-admin\/plugins\/install\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/active": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/active" } ] } }, "\/wc-admin\/plugins\/installed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/installed" } ] } }, "\/wc-admin\/plugins\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/activate" } ] } }, "\/wc-admin\/plugins\/activate\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/activate\/status" } ] } }, "\/wc-admin\/plugins\/activate\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/connect-jetpack": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/connect-jetpack" } ] } }, "\/wc-admin\/plugins\/request-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/request-wccom-connect" } ] } }, "\/wc-admin\/plugins\/finish-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/finish-wccom-connect" } ] } }, "\/wc-admin\/plugins\/connect-wcpay": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/connect-wcpay" } ] } }, "\/wc-admin\/plugins\/connect-square": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/plugins\/connect-square" } ] } }, "\/wc-admin\/onboarding\/free-extensions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/free-extensions" } ] } }, "\/wc-admin\/onboarding\/product-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/product-types" } ] } }, "\/wc-admin\/onboarding\/profile": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "completed": { "type": "boolean", "description": "\u500b\u4eba\u8cc7\u6599\u662f\u5426\u5df2\u5b8c\u6210\u3002", "required": false }, "skipped": { "type": "boolean", "description": "\u662f\u5426\u7565\u904e\u500b\u4eba\u6a94\u6848\u3002", "required": false }, "industry": { "type": "array", "description": "\u7522\u696d\u3002", "items": { "type": "string" }, "required": false }, "business_extensions": { "type": "array", "description": "\u8981\u5b89\u88dd\u7684\u984d\u5916\u5546\u52d9\u64f4\u5145\u529f\u80fd\u3002", "items": { "type": "string" }, "required": false }, "is_agree_marketing": { "type": "boolean", "description": "\u6b64\u5546\u5e97\u662f\u5426\u540c\u610f\u63a5\u6536 WooCommerce.com \u884c\u92b7\u5167\u5bb9\u3002", "required": false }, "store_email": { "type": "string", "description": "\u5546\u5e97\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "required": false }, "is_store_country_set": { "type": "boolean", "description": "\u662f\u5426\u900f\u904e\u65b0\u624b\u5165\u9580\u6a94\u6848\u5de5\u5177\u8a2d\u5b9a\u6b64\u5546\u5e97\u7684\u570b\u5bb6\/\u5730\u5340\u3002", "required": false }, "is_plugins_page_skipped": { "type": "boolean", "description": "\u6838\u5fc3\u5206\u6790\u5de5\u5177\u4e2d\u7684\u5916\u639b\u7a0b\u5f0f\u6b65\u9a5f\u662f\u5426\u906d\u5230\u7565\u904e\u3002", "required": false }, "business_choice": { "type": "string", "description": "\u4f01\u696d\u7cbe\u9078\u3002", "required": false }, "selling_online_answer": { "type": "string", "description": "\u56de\u7b54\u662f\u5426\u7dda\u4e0a\u8ca9\u552e\u3002", "required": false }, "selling_platforms": { "type": [ "array", "null" ], "description": "\u92b7\u552e\u5e73\u53f0\u3002", "items": { "type": [ "string", "null" ] }, "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/profile" } ] } }, "\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill" } ] } }, "\/wc-admin\/onboarding\/profile\/progress": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/profile\/progress" } ] } }, "\/wc-admin\/onboarding\/profile\/progress\/core-profiler\/complete": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "step": { "type": "string", "description": "\u8981\u6a19\u793a\u70ba\u5b8c\u6210\u7684\u6838\u5fc3\u5206\u6790\u5de5\u5177\u6b65\u9a5f\u3002", "enum": [ "intro-opt-in", "skip-guided-setup", "user-profile", "business-info", "plugins", "intro-builder", "skip-guided-setup" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/profile\/progress\/core-profiler\/complete" } ] } }, "\/wc-admin\/onboarding\/profile\/update-store-currency-and-measurement-units": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "country_code": { "description": "\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/profile\/update-store-currency-and-measurement-units" } ] } }, "\/wc-admin\/onboarding\/tasks\/import_sample_products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_homepage": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_product_from_template": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "template_name": { "type": "string", "description": "\u7522\u54c1\u7bc4\u672c\u540d\u7a31\u3002", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/tasks\/create_product_from_template" } ] } }, "\/wc-admin\/onboarding\/tasks": { "namespace": "wc-admin", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "ids": { "description": "\u50c5\u7528\u65bc\u6839\u64da ID \u53d6\u5f97\u7279\u5b9a\u4efb\u52d9\u6e05\u55ae\u7684\u9078\u7528\u53c3\u6578\u3002", "type": "array", "items": { "enum": [], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "ids": { "description": "\u50c5\u7528\u65bc\u6839\u64da ID \u53d6\u5f97\u7279\u5b9a\u4efb\u52d9\u6e05\u55ae\u7684\u9078\u7528\u53c3\u6578\u3002", "type": "array", "items": { "enum": [], "type": "string" }, "required": false }, "extended_tasks": { "description": "\u4f86\u81ea\u7528\u6236\u7aef\u7be9\u9078\u5668\u7684\u904e\u6642\u4efb\u52d9\u64f4\u5145\u6e05\u55ae\u3002", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/tasks" } ] } }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/unhide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_-]+)\/snooze": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "duration": { "description": "\u4efb\u52d9\u5ef6\u9072\u6642\u9593\u3002", "type": "string", "required": false }, "task_list_id": { "description": "\u7528\u65bc\u67e5\u8a62\u7279\u5b9a\u4efb\u52d9\u6e05\u55ae\u7684\u53c3\u6578 (\u9078\u7528)\u3002", "type": "string", "required": false } } } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/action": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_snooze": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/themes\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/themes\/install" } ] } }, "\/wc-admin\/onboarding\/themes\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/themes\/activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate-async": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "plugins": { "description": "A list of plugins to install", "type": "array", "items": "string", "required": true }, "source": { "description": "The source of the request", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate-async" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/scheduled-installs\/(?P\\w+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_url": { "description": "The URL to redirect to after authorization", "type": "string", "required": true }, "from": { "description": "from value for the jetpack authorization page", "type": "string", "default": "woocommerce-onboarding", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url" } ] } }, "\/wc-admin\/onboarding\/products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/onboarding\/products" } ] } }, "\/wc-admin\/mobile-app\/send-magic-link": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/mobile-app\/send-magic-link" } ] } }, "\/wc-admin\/mobile-app": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/mobile-app" } ] } }, "\/wc-admin\/shipping-partner-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "\u300cwoocommerce_show_marketplace_suggestions\u300d\u9078\u9805\u8a2d\u70ba\u300cno\u300d\u6642\uff0c\u50b3\u56de\u9810\u8a2d\u7684\u904b\u9001\u5408\u4f5c\u5925\u4f34\u5efa\u8b70\u3002", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/shipping-partner-suggestions" } ] } }, "\/wc-analytics": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-analytics", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "registered_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "email_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "users": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u5177\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "\u7be9\u9078\u51fa\u4efb\u4f55\u5df2\u901a\u904e\u6b04\u4f4d\u70ba\u7a7a\u767d\u7684\u7d50\u679c", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "registered_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "email_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "users": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u5177\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "\u7be9\u9078\u51fa\u4efb\u4f55\u5df2\u901a\u904e\u6b04\u4f4d\u70ba\u7a7a\u767d\u7684\u7d50\u679c", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "\u5728\u9023\u7d50\u4e4b\u9593\u4fdd\u5b58\u7684\u7db2\u5740\u67e5\u8a62\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/leaderboards\/allowed" } ] } }, "\/wc-analytics\/leaderboards\/(?P\\w+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "leaderboard": { "type": "string", "enum": [ "customers", "coupons", "categories", "products" ], "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "\u5728\u9023\u7d50\u4e4b\u9593\u4fdd\u5b58\u7684\u7db2\u5740\u67e5\u8a62\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "description": "\u532f\u5165\u6240\u9700\u5929\u6578\u3002", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "\u7565\u904e\u73fe\u6709\u8a02\u55ae\u8cc7\u6599\u7684\u532f\u5165\u4f5c\u696d\u3002", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import" } ] } }, "\/wc-analytics\/reports\/import\/cancel": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/cancel" } ] } }, "\/wc-analytics\/reports\/import\/delete": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/delete" } ] } }, "\/wc-analytics\/reports\/import\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "description": "\u532f\u5165\u6240\u9700\u5929\u6578\u3002", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "\u7565\u904e\u73fe\u6709\u8a02\u55ae\u8cc7\u6599\u7684\u532f\u5165\u4f5c\u696d\u3002", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/import\/totals" } ] } }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "report_args": { "description": "\u50b3\u81f3\u532f\u51fa\u5831\u544a\u7684\u53c3\u6578\u3002", "type": "object", "required": false }, "email": { "description": "\u5982\u679c\u70ba\u771f\uff0c\u8acb\u900f\u904e\u96fb\u5b50\u90f5\u4ef6\u50b3\u9001\u532f\u51fa\u4e0b\u8f09\u9023\u7d50\u7d66\u63d0\u51fa\u8981\u6c42\u7684\u4f7f\u7528\u8005\u3002", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/reports\/products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "categories": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u6307\u5b9a\u5206\u985e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "products": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u7522\u54c1 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "\u5c07\u6bcf\u500b\u7522\u54c1\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u4e0a\u5c64\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u4e0a\u5c64\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u5b50\u9805 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "\u5c07\u5404\u8b8a\u5316\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean", "default": false, "required": false }, "attribute_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5305\u542b\u6307\u5b9a\u5c6c\u6027\u7684\u8b8a\u5316\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u4e0d\u542b\u6307\u5b9a\u5c6c\u6027\u7684\u8b8a\u5316\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "category_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6307\u5b9a\u985e\u5225\u4e2d\u7684\u8b8a\u5316\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u6307\u5b9a\u985e\u5225\u4e2d\u7684\u8b8a\u5316\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u7522\u54c1 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "fields": { "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "categories": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u6307\u5b9a\u5206\u985e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u7522\u54c1 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "variations": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u5b50\u9805 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string", "enum": [ "product", "category", "variation" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/variations\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "fields": { "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "category_includes": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u6307\u5b9a\u5206\u985e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u6307\u5b9a\u985e\u5225\u4e2d\u7684\u8b8a\u5316\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u4e0a\u5c64\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u4e0a\u5c64\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u5b50\u9805 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "attribute_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5305\u542b\u6307\u5b9a\u5c6c\u6027\u5546\u54c1\u7684\u8a02\u55ae\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u4e0d\u542b\u6307\u5b9a\u5c6c\u6027\u5546\u54c1\u7684\u8a02\u55ae\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/variations\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "total_sales", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold", "gross_sales" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "segmentby": { "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false }, "date_type": { "description": "\u8986\u5beb\u300cwoocommerce_date_type\u300d\u9078\u9805\uff0c\u56e0\u70ba\u5df2\u7528\u65bc\u6536\u76ca\u5831\u544a\u6703\u7d0d\u5165\u8003\u91cf\u7684\u8cc7\u6599\u5eab\u65e5\u671f\u6b04\u4f4d\u3002", "type": "string", "enum": [ "date_paid", "date_created", "date_completed" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "product_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u8b8a\u5316\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u8b8a\u5316\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "customer_type": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u8001\u9867\u5ba2\u6216\u65b0\u9867\u5ba2\u3002", "type": "string", "default": "", "enum": [ "", "returning", "new" ], "required": false }, "refunds": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u9000\u6b3e\u985e\u578b\u3002", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "extended_info": { "description": "\u5c07\u6bcf\u500b\u512a\u60e0\u5238\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean", "default": false, "required": false }, "order_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "attribute_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5305\u542b\u6307\u5b9a\u5c6c\u6027\u5546\u54c1\u7684\u8a02\u55ae\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u4e0d\u542b\u6307\u5b9a\u5c6c\u6027\u5546\u54c1\u7684\u8a02\u55ae\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "status_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "default": null, "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "product_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u8b8a\u5316\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u8b8a\u5316\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u512a\u60e0\u5238\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "customer": { "description": "customer_type \u7684\u5225\u540d (\u5df2\u904e\u6642)\u3002", "type": "string", "enum": [ "new", "returning" ], "required": false }, "customer_type": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5305\u542b\u6307\u5b9a customer_type \u7684\u8a02\u55ae", "type": "string", "enum": [ "new", "returning" ], "required": false }, "refunds": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u9000\u6b3e\u985e\u578b\u3002", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "attribute_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5305\u542b\u6307\u5b9a\u5c6c\u6027\u5546\u54c1\u7684\u8a02\u55ae\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u4e0d\u542b\u6307\u5b9a\u5c6c\u6027\u5546\u54c1\u7684\u8a02\u55ae\u3002", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "segmentby": { "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "status_is": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae\u72c0\u614b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "categories": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u985e\u5225\u5206\u985e\u6cd5\u4e2d\u6240\u6709\u7372\u6d3e\u6307\u5b9a\u5b57\u8a5e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "\u5c07\u5404\u985e\u5225\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "tax_rate_id", "enum": [ "name", "tax_rate_id", "tax_code", "rate", "order_tax", "total_tax", "shipping_tax", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "taxes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7372\u6d3e\u4e00\u500b\u6216\u591a\u500b\u7a05\u7387\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "fields": { "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "taxes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7a05\u91d1\u5206\u985e\u6cd5\u4e2d\u6240\u6709\u7372\u6d3e\u6307\u5b9a\u5b57\u8a5e\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string", "enum": [ "tax_rate_id" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "coupons": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u7279\u5b9a\u512a\u60e0\u5238 ID \u7684\u512a\u60e0\u5238\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "\u5c07\u6bcf\u500b\u512a\u60e0\u5238\u7684\u5176\u4ed6\u8cc7\u8a0a\u65b0\u589e\u5230\u5831\u544a\u4e2d\u3002", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "fields": { "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "coupons": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u7279\u5b9a\u512a\u60e0\u5238 ID \u7684\u512a\u60e0\u5238\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "\u4f9d\u5176\u4ed6\u689d\u4ef6\u7d04\u675f\u70ba\u56de\u61c9\u9032\u884c\u5e02\u5834\u5340\u9694\u3002", "type": "string", "enum": [ "product", "variation", "category", "coupon" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7372\u6d3e\u5eab\u5b58\u5831\u544a\u985e\u578b\u7684\u9805\u76ee\u3002", "type": "string", "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "product" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1aproducts, orders, username, ip_address.", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "download_count" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "fields": { "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "\u50b3\u56de\u7684\u8cc7\u6599\u4e2d\u7528\u65bc\u8caf\u9ad4\u7684\u6642\u9593\u9593\u9694\u3002", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u672a\u7372\u6d3e\u6307\u5b9a\u7522\u54c1\u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u8a02\u55ae ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6c92\u6709\u6307\u5b9a IP \u4f4d\u5740\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false }, "registered_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "email_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "users": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u5177\u6709\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "\u7be9\u9078\u51fa\u4efb\u4f55\u5df2\u901a\u904e\u6b04\u4f4d\u70ba\u7a7a\u767d\u7684\u7d50\u679c", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "registered_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u8a3b\u518a\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "match": { "description": "\u8aaa\u660e\u7d50\u679c\u96c6\u7684\u6240\u6709\u689d\u4ef6\u662f\u5426\u7686\u61c9\u70ba\u771f\uff0c\u6216\u8005\u53ea\u8981\u4efb\u4e00\u689d\u4ef6\u7b26\u5408\u5373\u8db3\u5920\u3002\u6bd4\u5c0d\u6703\u5f71\u97ff\u4ee5\u4e0b\u53c3\u6578\uff1astatus_is\u3001status_is_not\u3001product_includes\u3001product_excludes\u3001coupon_includes\u3001coupon_excludes\u3001customer\u3001categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u9867\u5ba2\u6b04\u4f4d\u5305\u542b\u641c\u5c0b\u5b57\u8a5e\u7684\u7269\u4ef6\u3002\u641c\u5c0b\u300csearchby\u300d\u63d0\u4f9b\u7684\u6b04\u4f4d\u3002", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u5305\u542b\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "email_excludes": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6392\u9664\u96fb\u5b50\u90f5\u4ef6\u7684\u7269\u4ef6\u3002", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u70ba\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u4e0a\u6b21\u555f\u7528\u6642\u9593\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u7684 ISO8601 \u5408\u898f\u65e5\u671f\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6574\u6578\u7684\u7269\u4ef6\u3002", "type": "integer", "required": false }, "orders_count_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u8a08\u6578\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6574\u6578\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "total_spend_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u7e3d\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5927\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_max": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u5c0f\u65bc\u6216\u7b49\u65bc\u6307\u5b9a\u6578\u5b57\u7684\u7269\u4ef6\u3002", "type": "number", "required": false }, "avg_order_value_between": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u8a02\u55ae\u6d88\u8cbb\u5e73\u5747\u91d1\u984d\u4ecb\u65bc\u5169\u500b\u6307\u5b9a\u6578\u5b57\u4e4b\u9593\u7684\u7269\u4ef6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u524d (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u6307\u5b9a ISO8601 \u5408\u898f\u65e5\u671f\u6642\u9593\u4e4b\u5f8c (\u6216\u7576\u6642) \u767c\u4f48\u6700\u5f8c\u4e00\u7b46\u8a02\u55ae\u7684\u7269\u4ef6\u3002", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u5177\u6709\u6307\u5b9a\u9867\u5ba2 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "fields": { "description": "\u5c07\u7d71\u8a08\u8cc7\u6599\u6b04\u4f4d\u9650\u5b9a\u5728\u6307\u5b9a\u9805\u76ee\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "\u5f37\u5236\u64f7\u53d6\u66f4\u65b0\u8cc7\u6599\uff0c\u800c\u975e\u64f7\u53d6\u81ea\u5feb\u53d6\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u5831\u544a\u7d71\u8a08\u8cc7\u6599\u3002\u5141\u8a31\u7684\u503c\uff1a\u3002", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u5728\u7279\u5b9a\u5831\u544a\u7d71\u8a08\u8cc7\u6599\u3002\u5141\u8a31\u7684\u503c\uff1a\u3002", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "\u5099\u8a3b\u985e\u578b\u3002", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey" ], "type": "string" }, "required": false }, "status": { "description": "\u5099\u8a3b\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "\u5099\u8a3b\u4f86\u6e90\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/admin\/notes" } ] } }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/delete\/all": { "namespace": "wc-analytics", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "status": { "description": "\u5099\u8a3b\u72c0\u614b\u3002", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/admin\/notes\/delete\/all" } ] } }, "\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/update": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/admin\/notes\/update" } ] } }, "\/wc-analytics\/admin\/notes\/experimental-activate-promo\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "\u5099\u8a3b\u7684\u552f\u4e00 ID\u3002", "type": "integer", "required": false }, "action_id": { "description": "\u5099\u8a3b\u52d5\u4f5c\u7684\u552f\u4e00 ID\u3002", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u5728\u4ee3\u78bc\u7b26\u5408\u6307\u5b9a\u5b57\u4e32\u7684\u512a\u60e0\u5238\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": true }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/coupons" } ] } }, "\/wc-analytics\/coupons\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/coupons\/batch" } ] } }, "\/wc-analytics\/data": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/data" } ] } }, "\/wc-analytics\/data\/countries\/locales": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/data\/countries\/locales" } ] } }, "\/wc-analytics\/data\/countries": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/data\/countries" } ] } }, "\/wc-analytics\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/data\/download-ips": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "\u9650\u5236\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u8a2d\u5b9a\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "product": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "\u50c5\u986f\u793a\u8981\u5728\u8a02\u55ae\u986f\u793a\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "\u900f\u904e\u7279\u5b9a\u4f86\u6e90 (\u4f8b\u5982\u7d50\u5e33\u3001\u7ba1\u7406\u54e1) \u6240\u5efa\u7acb\u7684\u8a02\u55ae\u9650\u5236\u7d50\u679c\u96c6\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u7b26\u5408\u90e8\u5206\u8a02\u55ae\u865f\u78bc\u7684\u8a02\u55ae\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "created_via": { "description": "\u986f\u793a\u8a02\u55ae\u5efa\u7acb\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "status": { "default": "pending", "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "TWD", "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "\u624b\u52d5\u8a2d\u5b9a\u52d5\u4f5c\uff0c\u8a02\u55ae\u5099\u8a3b\u5373\u767b\u8a18\u70ba\u300c\u7531\u4f7f\u7528\u8005\u65b0\u589e\u300d\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/orders" } ] } }, "\/wc-analytics\/orders\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "created_via": { "description": "\u986f\u793a\u8a02\u55ae\u5efa\u7acb\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "manual_update": { "description": "\u624b\u52d5\u8a2d\u5b9a\u52d5\u4f5c\uff0c\u8a02\u55ae\u5099\u8a3b\u5373\u767b\u8a18\u70ba\u300c\u7531\u4f7f\u7528\u8005\u65b0\u589e\u300d\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc-analytics\/orders\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "created_via": { "description": "\u986f\u793a\u8a02\u55ae\u5efa\u7acb\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "manual_update": { "description": "\u624b\u52d5\u8a2d\u5b9a\u52d5\u4f5c\uff0c\u8a02\u55ae\u5099\u8a3b\u5373\u767b\u8a18\u70ba\u300c\u7531\u4f7f\u7528\u8005\u65b0\u589e\u300d\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u4f9d\u985e\u4f3c\u7522\u54c1\u540d\u7a31\u6216 SKU \u641c\u5c0b\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u7d44\u5408\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u54c1\u724c ID \u7684\u7522\u54c1\u3002", "type": "string", "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u8207\u5b57\u4e32\u90e8\u5206\u76f8\u7b26\u7684\u8ca8\u865f\u3002 \u6b64\u5f15\u6578\u7684\u512a\u5148\u9806\u5e8f\u9ad8\u65bc 'sku'\u3002", "type": "string", "required": false }, "search_name_or_sku": { "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u8207\u5b57\u4e32\u90e8\u5206\u76f8\u7b26\u7684\u540d\u7a31\u6216\u8ca8\u865f\u3002 \u9019\u500b\u5f15\u6578\u7684\u512a\u5148\u9806\u5e8f\u9ad8\u65bc 'search'\u3001'sku' \u548c 'search_sku'\u3002", "type": "string", "required": false }, "search_fields": { "description": "\u642d\u914d\u641c\u5c0b\u53c3\u6578\u4f7f\u7528\u6642\uff0c\u5c07\u641c\u5c0b\u9650\u5b9a\u65bc\u7279\u5b9a\u6b04\u4f4d\u3002 \u53ef\u7528\u7684\u6b04\u4f4d\uff1aname\u3001SKU\u3001global_unique_id\u3001description\u3001short_description\u3002 \u6b64\u5f15\u6578\u7684\u512a\u5148\u9806\u5e8f\u9ad8\u65bc\u6240\u6709\u5176\u4ed6\u641c\u5c0b\u53c3\u6578\u3002", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7b26\u5408\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7b26\u5408\u4efb\u4f55\u985e\u578b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ] }, "required": false }, "exclude_types": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u985e\u578b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ] }, "required": false }, "downloadable": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u53ef\u4e0b\u8f09\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "virtual": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u865b\u64ec\u5546\u54c1\u3002", "type": "boolean", "required": false }, "low_in_stock": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5eab\u5b58\u4e0d\u8db3\u6216\u6c92\u6709\u5eab\u5b58\u7684\u7522\u54c1\u3002 (\u5df2\u904e\u6642)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "default": "publish", "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/products\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/suggested-products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u7d44\u5408\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u54c1\u724c ID \u7684\u7522\u54c1\u3002", "type": "string", "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "in_stock": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u5eab\u5b58\u6216\u7f3a\u8ca8\u7522\u54c1\u3002", "type": "boolean", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u5546\u54c1\u985e\u5225 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u5546\u54c1\u6a19\u7c64 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u5efa\u8b70\u5546\u54c1\u7684\u7279\u5b9a\u6578\u91cf\u3002", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/suggested-products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc-analytics", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc-analytics\/products\/attributes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "\u4f9d\u76f8\u4f3c\u5c6c\u6027\u540d\u7a31\u641c\u5c0b\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "default": "select", "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/attributes" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/attributes\/batch" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u4ee3\u7a31\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false } } } ] }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "default": "default", "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/categories" } ] } }, "\/wc-analytics\/products\/categories\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/products\/categories\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/categories\/batch" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u4f9d\u985e\u4f3c\u5546\u54c1\u540d\u7a31\u3001SKU \u6216\u5c6c\u6027\u503c\u641c\u5c0b\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "\u5c07\u7d50\u679c\u96c6\u8a2d\u5b9a\u70ba\u6709\u6216\u6c92\u6709\u50f9\u683c\u7684\u7522\u54c1\u3002", "type": "boolean", "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6307\u5b9a\u5c6c\u6027\u7684\u7522\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "\u5c6c\u6027\u4ee3\u7a31\u3002" }, "term": { "type": "string", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" }, "terms": { "type": "array", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" } } }, "required": false }, "virtual": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u865b\u64ec\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u53ef\u4e0b\u8f09\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "include_status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u7b26\u5408\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "type": { "default": "variation", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "name": { "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "name": { "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "name": { "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc-analytics", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "delete": { "description": "\u522a\u9664\u4e0d\u4f7f\u7528\u7684\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "default_values": { "description": "\u6240\u7522\u751f\u6b3e\u5f0f\u7684\u9810\u8a2d\u503c\u3002", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8ca8\u865f\u3002", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer" }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string" } }, "required": false }, "type": { "default": "variation", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "name": { "description": "\u7522\u54c1\u7236\u9805\u540d\u7a31\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u4f9d\u985e\u4f3c\u5546\u54c1\u540d\u7a31\u3001SKU \u6216\u5c6c\u6027\u503c\u641c\u5c0b\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "\u5c07\u7d50\u679c\u96c6\u8a2d\u5b9a\u70ba\u6709\u6216\u6c92\u6709\u50f9\u683c\u7684\u7522\u54c1\u3002", "type": "boolean", "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6307\u5b9a\u5c6c\u6027\u7684\u7522\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "\u5c6c\u6027\u4ee3\u7a31\u3002" }, "term": { "type": "string", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" }, "terms": { "type": "array", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" } } }, "required": false }, "virtual": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u865b\u64ec\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u53ef\u4e0b\u8f09\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "include_status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u7b26\u5408\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/variations" } ] } }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u7684\u8a55\u8ad6\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u4f86\u81ea\u7279\u5b9a\u4f5c\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u7684\u8a55\u8ad6\u3002", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": true }, "product_name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "status": { "default": "approved", "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "required": true }, "reviewer_email": { "type": "string", "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "required": true }, "review": { "type": "string", "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "required": true }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/reviews" } ] } }, "\/wc-analytics\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "product_id": { "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "product_name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "status": { "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "reviewer_email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "format": "email", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc-analytics\/products\/reviews\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "product_name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "status": { "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "reviewer_email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "format": "email", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/reviews\/batch" } ] } }, "\/wc-analytics\/products\/low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/low-in-stock" } ] } }, "\/wc-analytics\/products\/count-low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/products\/count-low-in-stock" } ] } }, "\/wc-analytics\/settings\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/taxes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false }, "search": { "description": "\u4f9d\u985e\u4f3c\u7684\u7a05\u78bc\u641c\u5c0b\u3002", "type": "string", "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u5728\u5df2\u7372\u6d3e\u6307\u5b9a\u8cbb\u7387 ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u90f5\u905e\u5340\u865f\u300d\u3002", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u57ce\u5e02\u300d\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "default": "standard", "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "\u90f5\u905e\u5340\u865f\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "\u57ce\u5e02\u540d\u7a31\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/taxes" } ] } }, "\/wc-analytics\/taxes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u90f5\u905e\u5340\u865f\u300d\u3002", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u57ce\u5e02\u300d\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "\u90f5\u905e\u5340\u865f\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "\u57ce\u5e02\u540d\u7a31\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u90f5\u905e\u5340\u865f\u300d\u3002", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u57ce\u5e02\u300d\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "\u90f5\u905e\u5340\u865f\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "\u57ce\u5e02\u540d\u7a31\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-analytics\/taxes\/batch" } ] } }, "\/wc-admin\/launch-your-store\/initialize-coming-soon": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/launch-your-store\/initialize-coming-soon" } ] } }, "\/wc-admin\/launch-your-store\/update-survey-status": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "status": { "type": "string", "enum": [ "yes", "no" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/launch-your-store\/update-survey-status" } ] } }, "\/wc-admin\/launch-your-store\/survey-completed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/launch-your-store\/survey-completed" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders": { "namespace": "wc-admin", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders" } ] } }, "\/wc\/store": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store" } ] } }, "\/wc\/store\/batch": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/batch" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart" } ] } }, "\/wc\/store\/cart\/add-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u8cfc\u7269\u8eca\u9805\u76ee\u5546\u54c1\u6216\u5b50\u985e\u9078\u9805 ID\u3002", "type": "integer", "required": false }, "quantity": { "description": "\u53ef\u5728\u8cfc\u7269\u8eca\u653e\u5165\u6b64\u5546\u54c1\u7684\u6578\u91cf\u3002", "type": "number", "required": false }, "variation": { "description": "\u9078\u64c7\u7684\u5c6c\u6027 (\u9069\u7528\u65bc\u5b50\u985e\u9078\u9805)\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/add-item" } ] } }, "\/wc\/store\/cart\/apply-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/apply-coupon" } ] } }, "\/wc\/store\/cart\/coupons": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u512a\u60e0\u5238\u7684\u552f\u4e00\u4ee3\u78bc\u3002", "type": "string", "required": false }, "discount_type": { "description": "\u512a\u60e0\u5238\u7684\u6298\u6263\u985e\u578b (\u4f8b\u5982\uff1a\u767e\u5206\u6bd4\u6216\u56fa\u5b9a\u91d1\u984d)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/coupons" } ] } }, "\/wc\/store\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/extensions": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "\u64f4\u5145\u529f\u80fd\u540d\u7a31 - \u9019\u6703\u7528\u65bc\u78ba\u4fdd\u8981\u6c42\u7684\u8cc7\u6599\u6b63\u78ba\u8f49\u9001\u3002", "type": "string", "required": false }, "data": { "description": "\u5176\u4ed6\u8981\u50b3\u9001\u81f3\u64f4\u5145\u529f\u80fd\u7684\u8cc7\u6599", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/extensions" } ] } }, "\/wc\/store\/cart\/items": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": { "woocommerce_google_analytics_integration": { "description": "woocommerce_google_analytics_integration \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "identifier": { "description": "The formatted product identifier to use in Google Analytics events.", "type": "string", "readonly": true } } } }, "default": { "woocommerce_google_analytics_integration": [] }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/items" } ] } }, "\/wc\/store\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "extensions": { "type": "object", "properties": { "woocommerce_google_analytics_integration": { "description": "woocommerce_google_analytics_integration \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "identifier": { "description": "The formatted product identifier to use in Google Analytics events.", "type": "string", "readonly": true } } } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/remove-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/remove-coupon" } ] } }, "\/wc\/store\/cart\/remove-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc (\u91d1\u9470)\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/remove-item" } ] } }, "\/wc\/store\/cart\/select-shipping-rate": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "\u9001\u8ca8\u5305\u88f9 ID\u3002 \u4fdd\u7559\u7a7a\u767d\u4ee5\u5957\u7528\u5230\u6240\u6709\u5305\u88f9\u3002", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "\u5305\u88f9\u9078\u53d6\u7684\u8cbb\u7387 ID\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/cart\/update-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8981\u66f4\u65b0\u7684\u8cfc\u7269\u8eca\u5546\u54c1\u552f\u4e00\u8b58\u5225\u78bc (\u91d1\u9470)\u3002", "type": "string", "required": false }, "quantity": { "description": "\u8cfc\u7269\u8eca\u4e2d\u5546\u54c1\u7684\u66f4\u65b0\u6578\u91cf\u3002", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/update-item" } ] } }, "\/wc\/store\/cart\/update-customer": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/cart\/update-customer" } ] } }, "\/wc\/store\/checkout": { "namespace": "wc\/store", "methods": [ "GET", "POST", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "\u8655\u7406\u4ed8\u6b3e\u6642\u8981\u50b3\u9001\u5230\u4ed8\u6b3e\u65b9\u5f0f\u7684\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "\u82e5\u60c5\u6cc1\u5141\u8a31\uff0c\u8acb\u70ba\u65b0\u5e33\u865f\u5efa\u7acb\u9867\u5ba2\u5bc6\u78bc\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u9867\u5ba2\u70ba\u8a02\u55ae\u65b0\u589e\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "\u7528\u65bc\u8655\u7406\u4ed8\u6b3e\u7684\u4ed8\u6b3e\u65b9\u5f0f ID\u3002", "type": "string", "enum": [ "", "newebpay", "paypal", "cheque", "cod", "bacs" ], "required": false }, "create_account": { "description": "\u662f\u5426\u5728\u8655\u7406\u8a02\u55ae\u7684\u540c\u6642\uff0c\u5efa\u7acb\u65b0\u7684\u4f7f\u7528\u8005\u5e33\u6236\u3002", "type": "boolean", "required": false }, "additional_fields": { "description": "\u6301\u7e8c\u5b58\u5728\u65bc\u8a02\u55ae\u7684\u5176\u4ed6\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "thwcfe-additional-fields": { "description": "thwcfe-additional-fields \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "contact": { "description": "Additional checkout fields for section contact", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true }, "additional_info": { "description": "Additional checkout fields for section additional_info", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asource_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1areferrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1auser_agent", "type": [ "string", "null" ], "context": [] } } }, "wt_sc_blocks": { "description": "wt_sc_blocks \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "coupon_code": { "description": "coupon_code", "type": [ "string", "null" ], "readonly": true }, "coupon_message": { "description": "Coupon message", "type": [ "string", "null" ], "readonly": true } } } }, "default": { "mailchimp-newsletter": [], "thwcfe-additional-fields": [], "woocommerce\/order-attribution": [], "wt_sc_blocks": [] }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "\u6301\u7e8c\u5b58\u5728\u65bc\u8a02\u55ae\u7684\u5176\u4ed6\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "\u7528\u65bc\u8655\u7406\u4ed8\u6b3e\u7684\u4ed8\u6b3e\u65b9\u5f0f ID\u3002", "type": "string", "enum": [ "", "newebpay", "paypal", "cheque", "cod", "bacs" ], "required": false }, "order_notes": { "description": "\u8a02\u55ae\u5099\u8a3b\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u9867\u5ba2\u70ba\u8a02\u55ae\u65b0\u589e\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "\u662f\u5426\u5728\u8655\u7406\u8a02\u55ae\u7684\u540c\u6642\uff0c\u5efa\u7acb\u65b0\u7684\u4f7f\u7528\u8005\u5e33\u6236\u3002", "type": "boolean", "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "thwcfe-additional-fields": { "description": "thwcfe-additional-fields \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "contact": { "description": "Additional checkout fields for section contact", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true }, "additional_info": { "description": "Additional checkout fields for section additional_info", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asource_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1areferrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1auser_agent", "type": [ "string", "null" ], "context": [] } } }, "wt_sc_blocks": { "description": "wt_sc_blocks \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "coupon_code": { "description": "coupon_code", "type": [ "string", "null" ], "readonly": true }, "coupon_message": { "description": "Coupon message", "type": [ "string", "null" ], "readonly": true } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/checkout" } ] } }, "\/wc\/store\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "\u8655\u7406\u4ed8\u6b3e\u6642\u8981\u50b3\u9001\u5230\u4ed8\u6b3e\u65b9\u5f0f\u7684\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u9867\u5ba2\u70ba\u8a02\u55ae\u65b0\u589e\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "\u7528\u65bc\u8655\u7406\u4ed8\u6b3e\u7684\u4ed8\u6b3e\u65b9\u5f0f ID\u3002", "type": "string", "enum": [ "", "newebpay", "paypal", "cheque", "cod", "bacs" ], "required": false }, "additional_fields": { "description": "\u6301\u7e8c\u5b58\u5728\u65bc\u8a02\u55ae\u7684\u5176\u4ed6\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "thwcfe-additional-fields": { "description": "thwcfe-additional-fields \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "contact": { "description": "Additional checkout fields for section contact", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true }, "additional_info": { "description": "Additional checkout fields for section additional_info", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asource_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1areferrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1auser_agent", "type": [ "string", "null" ], "context": [] } } }, "wt_sc_blocks": { "description": "wt_sc_blocks \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "coupon_code": { "description": "coupon_code", "type": [ "string", "null" ], "readonly": true }, "coupon_message": { "description": "Coupon message", "type": [ "string", "null" ], "readonly": true } } } }, "default": { "mailchimp-newsletter": [], "thwcfe-additional-fields": [], "woocommerce\/order-attribution": [], "wt_sc_blocks": [] }, "required": false } } } ] }, "\/wc\/store\/order\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products\/attributes" } ] } }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "attribute_id": { "description": "\u5c6c\u6027\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/products\/categories": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products\/categories" } ] } }, "\/wc\/store\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/brands": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products\/brands" } ] } }, "\/wc\/store\/products\/brands\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "identifier": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/collection-data": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a\u4ee3\u7a31\u7684\u7522\u54c1\u3002 \u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u65bc\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "\u4f7f\u7528\u4e4b\u5f8c\/\u4e4b\u524d\u9650\u5236\u56de\u61c9\u6642\uff0c\u7528\u4ee5\u6bd4\u8f03\u7684\u65e5\u671f\u6b04\u3002", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle", "variation" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u5206\u985e ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "category_operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u54c1\u724c ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "brand_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u54c1\u724c\u5b57\u8a5e\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u6a19\u7c64 ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "tag_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u6839\u64da\u6700\u4f4e\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "max_price": { "description": "\u6839\u64da\u6700\u9ad8\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6240\u9078\u5168\u57df\u5c6c\u6027\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5c6c\u6027\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "\u5c6c\u6027\u5b57\u8a5e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "\u5c6c\u6027\u4ee3\u7a31\u6e05\u55ae\u3002\u5982\u679c\u63d0\u4f9b\u5b57\u8a5e ID\uff0c\u6b64\u9805\u76ee\u6703\u88ab\u7565\u904e\u3002", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "\u4e00\u6b21\u4f7f\u7528\u591a\u500b\u689d\u4ef6\u7be9\u9078\u6642\uff0c\u5404\u5c6c\u6027\u4e4b\u9593\u7684\u908f\u8f2f\u95dc\u4fc2\u3002", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u7279\u5b9a\u5e73\u5747\u8a55\u5206\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "\u5982\u679c\u70ba\u300c\u662f\u300d\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u50f9\u683c\u7684\u6700\u4f4e\u91d1\u984d\u548c\u6700\u9ad8\u91d1\u984d\u3002", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "\u5982\u679c\u70ba\u300cTrue\u300d\uff0c\u5247\u8a08\u7b97\u8a72\u7cfb\u5217\u4e2d\u7684\u5546\u54c1\u5eab\u5b58\u6578\u3002", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "\u5982\u6709\u8981\u6c42\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u5c6c\u6027\u5b57\u8a5e\u8a08\u6578\u3002", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "\u7be9\u9078\u689d\u4ef6\t\u6b63\u5728\u57f7\u884c\uff0c\u53ef\u80fd\u6703\u5f71\u97ff\u6578\u91cf\u3002 \u6709\u6548\u503c\u5305\u62ec\u300c\u4ee5\u53ca\u300d\u548c\u300c\u6216\u8005\u300d\u3002", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "\u5982\u679c\u70ba\u300c\u662f\u300d\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u8a55\u5206\u6578\u3002", "type": "boolean", "default": false, "required": false }, "calculate_taxonomy_counts": { "description": "\u5982\u6709\u8981\u6c42\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u5206\u985e\u6cd5\u5b57\u8a5e\u8a08\u6578\u3002", "type": "array", "items": { "type": "string", "description": "\u5206\u985e\u6cd5\u540d\u7a31\u3002" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products\/collection-data" } ] } }, "\/wc\/store\/products\/reviews": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a\u985e\u5225 ID \u7684\u8a55\u8ad6\u3002", "type": "string", "required": false }, "product_id": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products\/reviews" } ] } }, "\/wc\/store\/products\/tags": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products\/tags" } ] } }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a\u4ee3\u7a31\u7684\u7522\u54c1\u3002 \u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u65bc\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "\u4f7f\u7528\u4e4b\u5f8c\/\u4e4b\u524d\u9650\u5236\u56de\u61c9\u6642\uff0c\u7528\u4ee5\u6bd4\u8f03\u7684\u65e5\u671f\u6b04\u3002", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle", "variation" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u5206\u985e ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "category_operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u54c1\u724c ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "brand_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u54c1\u724c\u5b57\u8a5e\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u6a19\u7c64 ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "tag_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u6839\u64da\u6700\u4f4e\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "max_price": { "description": "\u6839\u64da\u6700\u9ad8\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6240\u9078\u5168\u57df\u5c6c\u6027\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5c6c\u6027\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "\u5c6c\u6027\u5b57\u8a5e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "\u5c6c\u6027\u4ee3\u7a31\u6e05\u55ae\u3002\u5982\u679c\u63d0\u4f9b\u5b57\u8a5e ID\uff0c\u6b64\u9805\u76ee\u6703\u88ab\u7565\u904e\u3002", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "\u4e00\u6b21\u4f7f\u7528\u591a\u500b\u689d\u4ef6\u7be9\u9078\u6642\uff0c\u5404\u5c6c\u6027\u4e4b\u9593\u7684\u908f\u8f2f\u95dc\u4fc2\u3002", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u7279\u5b9a\u5e73\u5747\u8a55\u5206\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/products" } ] } }, "\/wc\/store\/products\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/(?P[\\S]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u4ee3\u7a31\u3002", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1" } ] } }, "\/wc\/store\/v1\/batch": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/batch" } ] } }, "\/wc\/store\/v1\/cart": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart" } ] } }, "\/wc\/store\/v1\/cart\/add-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u8cfc\u7269\u8eca\u9805\u76ee\u5546\u54c1\u6216\u5b50\u985e\u9078\u9805 ID\u3002", "type": "integer", "required": false }, "quantity": { "description": "\u53ef\u5728\u8cfc\u7269\u8eca\u653e\u5165\u6b64\u5546\u54c1\u7684\u6578\u91cf\u3002", "type": "number", "required": false }, "variation": { "description": "\u9078\u64c7\u7684\u5c6c\u6027 (\u9069\u7528\u65bc\u5b50\u985e\u9078\u9805)\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5b50\u985e\u9078\u9805\u5c6c\u6027\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/add-item" } ] } }, "\/wc\/store\/v1\/cart\/apply-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/apply-coupon" } ] } }, "\/wc\/store\/v1\/cart\/coupons": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u512a\u60e0\u5238\u7684\u552f\u4e00\u4ee3\u78bc\u3002", "type": "string", "required": false }, "discount_type": { "description": "\u512a\u60e0\u5238\u7684\u6298\u6263\u985e\u578b (\u4f8b\u5982\uff1a\u767e\u5206\u6bd4\u6216\u56fa\u5b9a\u91d1\u984d)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/coupons" } ] } }, "\/wc\/store\/v1\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/extensions": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "\u64f4\u5145\u529f\u80fd\u540d\u7a31 - \u9019\u6703\u7528\u65bc\u78ba\u4fdd\u8981\u6c42\u7684\u8cc7\u6599\u6b63\u78ba\u8f49\u9001\u3002", "type": "string", "required": false }, "data": { "description": "\u5176\u4ed6\u8981\u50b3\u9001\u81f3\u64f4\u5145\u529f\u80fd\u7684\u8cc7\u6599", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/extensions" } ] } }, "\/wc\/store\/v1\/cart\/items": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": { "woocommerce_google_analytics_integration": { "description": "woocommerce_google_analytics_integration \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "identifier": { "description": "The formatted product identifier to use in Google Analytics events.", "type": "string", "readonly": true } } } }, "default": { "woocommerce_google_analytics_integration": [] }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/items" } ] } }, "\/wc\/store\/v1\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "extensions": { "type": "object", "properties": { "woocommerce_google_analytics_integration": { "description": "woocommerce_google_analytics_integration \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "identifier": { "description": "The formatted product identifier to use in Google Analytics events.", "type": "string", "readonly": true } } } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5167\u9805\u76ee\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/remove-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "\u8cfc\u7269\u8eca\u5167\u512a\u60e0\u5238\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/remove-coupon" } ] } }, "\/wc\/store\/v1\/cart\/remove-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8cfc\u7269\u8eca\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc (\u91d1\u9470)\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/remove-item" } ] } }, "\/wc\/store\/v1\/cart\/select-shipping-rate": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "\u9001\u8ca8\u5305\u88f9 ID\u3002 \u4fdd\u7559\u7a7a\u767d\u4ee5\u5957\u7528\u5230\u6240\u6709\u5305\u88f9\u3002", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "\u5305\u88f9\u9078\u53d6\u7684\u8cbb\u7387 ID\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/v1\/cart\/update-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "\u8981\u66f4\u65b0\u7684\u8cfc\u7269\u8eca\u5546\u54c1\u552f\u4e00\u8b58\u5225\u78bc (\u91d1\u9470)\u3002", "type": "string", "required": false }, "quantity": { "description": "\u8cfc\u7269\u8eca\u4e2d\u5546\u54c1\u7684\u66f4\u65b0\u6578\u91cf\u3002", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/update-item" } ] } }, "\/wc\/store\/v1\/cart\/update-customer": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/cart\/update-customer" } ] } }, "\/wc\/store\/v1\/checkout": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "\u8655\u7406\u4ed8\u6b3e\u6642\u8981\u50b3\u9001\u5230\u4ed8\u6b3e\u65b9\u5f0f\u7684\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "\u82e5\u60c5\u6cc1\u5141\u8a31\uff0c\u8acb\u70ba\u65b0\u5e33\u865f\u5efa\u7acb\u9867\u5ba2\u5bc6\u78bc\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u9867\u5ba2\u70ba\u8a02\u55ae\u65b0\u589e\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "\u7528\u65bc\u8655\u7406\u4ed8\u6b3e\u7684\u4ed8\u6b3e\u65b9\u5f0f ID\u3002", "type": "string", "enum": [ "", "newebpay", "paypal", "cheque", "cod", "bacs" ], "required": false }, "create_account": { "description": "\u662f\u5426\u5728\u8655\u7406\u8a02\u55ae\u7684\u540c\u6642\uff0c\u5efa\u7acb\u65b0\u7684\u4f7f\u7528\u8005\u5e33\u6236\u3002", "type": "boolean", "required": false }, "additional_fields": { "description": "\u6301\u7e8c\u5b58\u5728\u65bc\u8a02\u55ae\u7684\u5176\u4ed6\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "thwcfe-additional-fields": { "description": "thwcfe-additional-fields \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "contact": { "description": "Additional checkout fields for section contact", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true }, "additional_info": { "description": "Additional checkout fields for section additional_info", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asource_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1areferrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1auser_agent", "type": [ "string", "null" ], "context": [] } } }, "wt_sc_blocks": { "description": "wt_sc_blocks \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "coupon_code": { "description": "coupon_code", "type": [ "string", "null" ], "readonly": true }, "coupon_message": { "description": "Coupon message", "type": [ "string", "null" ], "readonly": true } } } }, "default": { "mailchimp-newsletter": [], "thwcfe-additional-fields": [], "woocommerce\/order-attribution": [], "wt_sc_blocks": [] }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "\u6301\u7e8c\u5b58\u5728\u65bc\u8a02\u55ae\u7684\u5176\u4ed6\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "\u7528\u65bc\u8655\u7406\u4ed8\u6b3e\u7684\u4ed8\u6b3e\u65b9\u5f0f ID\u3002", "type": "string", "enum": [ "", "newebpay", "paypal", "cheque", "cod", "bacs" ], "required": false }, "order_notes": { "description": "\u8a02\u55ae\u5099\u8a3b\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u9867\u5ba2\u70ba\u8a02\u55ae\u65b0\u589e\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "\u662f\u5426\u5728\u8655\u7406\u8a02\u55ae\u7684\u540c\u6642\uff0c\u5efa\u7acb\u65b0\u7684\u4f7f\u7528\u8005\u5e33\u6236\u3002", "type": "boolean", "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "thwcfe-additional-fields": { "description": "thwcfe-additional-fields \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "contact": { "description": "Additional checkout fields for section contact", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true }, "additional_info": { "description": "Additional checkout fields for section additional_info", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asource_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1areferrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1auser_agent", "type": [ "string", "null" ], "context": [] } } }, "wt_sc_blocks": { "description": "wt_sc_blocks \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "coupon_code": { "description": "coupon_code", "type": [ "string", "null" ], "readonly": true }, "coupon_message": { "description": "Coupon message", "type": [ "string", "null" ], "readonly": true } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/checkout" } ] } }, "\/wc\/store\/v1\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "\u8655\u7406\u4ed8\u6b3e\u6642\u8981\u50b3\u9001\u5230\u4ed8\u6b3e\u65b9\u5f0f\u7684\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u9867\u5ba2\u70ba\u8a02\u55ae\u65b0\u589e\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing_address": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "\u59d3\u6c0f", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "\u516c\u53f8", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "\u5730\u5740", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "\u516c\u5bd3\u3001\u5957\u623f\u7b49", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "\u57ce\u5e02", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "\u5dde\/\u90e1\u4ee3\u78bc\uff0c\u6216\u5dde\u3001\u90e1\u3001\u7701\u6216\u9109\u93ae\u5e02 (\u5340) \u7684\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "\u570b\u5bb6\/\u5730\u5340 (\u683c\u5f0f\u70ba ISO 3166-1 \u4e8c\u4f4d\u5b57\u6bcd\u4ee3\u78bc)\u3002", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "\u806f\u7d61\u96fb\u8a71", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "\u7528\u65bc\u8655\u7406\u4ed8\u6b3e\u7684\u4ed8\u6b3e\u65b9\u5f0f ID\u3002", "type": "string", "enum": [ "", "newebpay", "paypal", "cheque", "cod", "bacs" ], "required": false }, "additional_fields": { "description": "\u6301\u7e8c\u5b58\u5728\u65bc\u8a02\u55ae\u7684\u5176\u4ed6\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "thwcfe-additional-fields": { "description": "thwcfe-additional-fields \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "contact": { "description": "Additional checkout fields for section contact", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true }, "additional_info": { "description": "Additional checkout fields for section additional_info", "type": [ "object", "null" ], "context": [ "view", "edit" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asource_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1areferrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1autm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1asession_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "\u8a02\u55ae\u6b78\u5c6c\u6b04\u4f4d\uff1auser_agent", "type": [ "string", "null" ], "context": [] } } }, "wt_sc_blocks": { "description": "wt_sc_blocks \u8a3b\u518a\u7684\u64f4\u5145\u529f\u80fd\u8cc7\u6599", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "coupon_code": { "description": "coupon_code", "type": [ "string", "null" ], "readonly": true }, "coupon_message": { "description": "Coupon message", "type": [ "string", "null" ], "readonly": true } } } }, "default": { "mailchimp-newsletter": [], "thwcfe-additional-fields": [], "woocommerce\/order-attribution": [], "wt_sc_blocks": [] }, "required": false } } } ] }, "\/wc\/store\/v1\/order\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products\/attributes" } ] } }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "attribute_id": { "description": "\u5c6c\u6027\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/v1\/products\/categories": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products\/categories" } ] } }, "\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/brands": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products\/brands" } ] } }, "\/wc\/store\/v1\/products\/brands\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "identifier": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/collection-data": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a\u4ee3\u7a31\u7684\u7522\u54c1\u3002 \u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u65bc\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "\u4f7f\u7528\u4e4b\u5f8c\/\u4e4b\u524d\u9650\u5236\u56de\u61c9\u6642\uff0c\u7528\u4ee5\u6bd4\u8f03\u7684\u65e5\u671f\u6b04\u3002", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle", "variation" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u5206\u985e ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "category_operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u54c1\u724c ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "brand_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u54c1\u724c\u5b57\u8a5e\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u6a19\u7c64 ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "tag_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u6839\u64da\u6700\u4f4e\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "max_price": { "description": "\u6839\u64da\u6700\u9ad8\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6240\u9078\u5168\u57df\u5c6c\u6027\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5c6c\u6027\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "\u5c6c\u6027\u5b57\u8a5e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "\u5c6c\u6027\u4ee3\u7a31\u6e05\u55ae\u3002\u5982\u679c\u63d0\u4f9b\u5b57\u8a5e ID\uff0c\u6b64\u9805\u76ee\u6703\u88ab\u7565\u904e\u3002", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "\u4e00\u6b21\u4f7f\u7528\u591a\u500b\u689d\u4ef6\u7be9\u9078\u6642\uff0c\u5404\u5c6c\u6027\u4e4b\u9593\u7684\u908f\u8f2f\u95dc\u4fc2\u3002", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u7279\u5b9a\u5e73\u5747\u8a55\u5206\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "\u5982\u679c\u70ba\u300c\u662f\u300d\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u50f9\u683c\u7684\u6700\u4f4e\u91d1\u984d\u548c\u6700\u9ad8\u91d1\u984d\u3002", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "\u5982\u679c\u70ba\u300cTrue\u300d\uff0c\u5247\u8a08\u7b97\u8a72\u7cfb\u5217\u4e2d\u7684\u5546\u54c1\u5eab\u5b58\u6578\u3002", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "\u5982\u6709\u8981\u6c42\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u5c6c\u6027\u5b57\u8a5e\u8a08\u6578\u3002", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "\u7be9\u9078\u689d\u4ef6\t\u6b63\u5728\u57f7\u884c\uff0c\u53ef\u80fd\u6703\u5f71\u97ff\u6578\u91cf\u3002 \u6709\u6548\u503c\u5305\u62ec\u300c\u4ee5\u53ca\u300d\u548c\u300c\u6216\u8005\u300d\u3002", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "\u5982\u679c\u70ba\u300c\u662f\u300d\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u8a55\u5206\u6578\u3002", "type": "boolean", "default": false, "required": false }, "calculate_taxonomy_counts": { "description": "\u5982\u6709\u8981\u6c42\uff0c\u5247\u8a08\u7b97\u96c6\u5408\u4e2d\u5546\u54c1\u7684\u5206\u985e\u6cd5\u5b57\u8a5e\u8a08\u6578\u3002", "type": "array", "items": { "type": "string", "description": "\u5206\u985e\u6cd5\u540d\u7a31\u3002" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products\/collection-data" } ] } }, "\/wc\/store\/v1\/products\/reviews": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a\u985e\u5225 ID \u7684\u8a55\u8ad6\u3002", "type": "string", "required": false }, "product_id": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products\/reviews" } ] } }, "\/wc\/store\/v1\/products\/tags": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u905e\u589e\u6216\u905e\u6e1b\u6392\u5e8f\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5b57\u8a5e\u5c6c\u6027\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "\u5982\u679c\u70ba True\uff0c\u4e0d\u6703\u50b3\u56de\u7a7a\u767d\u5b57\u8a5e\u3002", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products\/tags" } ] } }, "\/wc\/store\/v1\/products": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u5167\u8981\u50b3\u56de\u7684\u5546\u54c1\u6578\u4e0a\u9650\u3002 \u5982\u679c\u4fdd\u7559\u7a7a\u767d\uff0c\u5247\u9810\u8a2d\u70ba\u7121\u9650\u5236\u3002", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a\u4ee3\u7a31\u7684\u7522\u54c1\u3002 \u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u5728\u65bc\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u5efa\u7acb\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "\u4f7f\u7528\u4e4b\u5f8c\/\u4e4b\u524d\u9650\u5236\u56de\u61c9\u6642\uff0c\u7528\u4ee5\u6bd4\u8f03\u7684\u65e5\u671f\u6b04\u3002", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle", "variation" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u5206\u985e ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "category_operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u76ee\u9304\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u54c1\u724c ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "brand_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u54c1\u724c\u5b57\u8a5e\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7372\u6d3e\u4e00\u7d44\u6a19\u7c64 ID \u6216\u4ee3\u7a31 (\u4ee5\u9017\u865f\u5206\u9694) \u7684\u5546\u54c1\u3002", "type": "string", "required": false }, "tag_operator": { "description": "\u6bd4\u8f03\u5546\u54c1\u6a19\u7c64\u7684\u904b\u7b97\u5b50\u3002", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u6839\u64da\u6700\u4f4e\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "max_price": { "description": "\u6839\u64da\u6700\u9ad8\u50f9\u683c (\u4f9d\u8ca8\u5e63\u6700\u5c0f\u55ae\u4f4d\u63d0\u4f9b) \u9650\u5b9a\u5546\u54c1\u7d50\u679c\u96c6\u3002", "type": "string", "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6240\u9078\u5168\u57df\u5c6c\u6027\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "\u5c6c\u6027\u5206\u985e\u6cd5\u540d\u7a31\u3002", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "\u5c6c\u6027\u5b57\u8a5e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "\u5c6c\u6027\u4ee3\u7a31\u6e05\u55ae\u3002\u5982\u679c\u63d0\u4f9b\u5b57\u8a5e ID\uff0c\u6b64\u9805\u76ee\u6703\u88ab\u7565\u904e\u3002", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "\u7531\u64cd\u4f5c\u8005\u6bd4\u8f03\u7522\u54c1\u5c6c\u6027\u8a5e\u5f59\u3002", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "\u4e00\u6b21\u4f7f\u7528\u591a\u500b\u689d\u4ef6\u7be9\u9078\u6642\uff0c\u5404\u5c6c\u6027\u4e4b\u9593\u7684\u908f\u8f2f\u95dc\u4fc2\u3002", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "\u5224\u65b7\u662f\u5426\u986f\u793a\u96b1\u85cf\u6216\u53ef\u898b\u7684\u76ee\u9304\u7522\u54c1\u3002", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u7279\u5b9a\u5e73\u5747\u8a55\u5206\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/store\/v1\/products" } ] } }, "\/wc\/store\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/(?P[\\S]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u4ee3\u7a31\u3002", "type": "string", "required": false }, "context": { "description": "\u505a\u51fa\u8981\u6c42\u7684\u7bc4\u570d\uff1b\u53ef\u6c7a\u5b9a\u5728\u56de\u61c9\u4e2d\u51fa\u73fe\u7684\u6b04\u4f4d\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/private": { "namespace": "wc\/private", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/private", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/private" } ] } }, "\/wc\/private\/patterns": { "namespace": "wc\/private", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/private\/patterns" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-mail-smtp\/setup-wizard\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/health": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/health" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/hydrate": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/hydrate" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/update": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/update" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/settings": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/settings" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/import-settings": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/import-settings" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/get-connected-data": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/get-connected-data" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/get-oauth-url": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/get-oauth-url" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/remove-oauth-connection": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/remove-oauth-connection" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/sendlayer-disconnect": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/sendlayer-disconnect" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/check-mailer-configuration": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/check-mailer-configuration" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/mailer-preflight": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/mailer-preflight" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/install-plugin": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/install-plugin" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/upgrade-plugin": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/upgrade-plugin" } ] } }, "\/wp-mail-smtp\/setup-wizard\/v1\/get-partner-plugins-info": { "namespace": "wp-mail-smtp\/setup-wizard\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-mail-smtp\/setup-wizard\/v1\/get-partner-plugins-info" } ] } }, "\/wp-rocket\/v1": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-rocket\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-rocket\/v1" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/enable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true }, "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-rocket\/v1\/rocketcdn\/enable" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/disable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-rocket\/v1\/rocketcdn\/disable" } ] } }, "\/wp-rocket\/v1\/cpcss\/post\/(?P[\\d]+)": { "namespace": "wp-rocket\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp-smush\/v1": { "namespace": "wp-smush\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-smush\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-smush\/v1" } ] } }, "\/wp-smush\/v1\/preset_configs": { "namespace": "wp-smush\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-smush\/v1\/preset_configs" } ] } }, "\/wc\/v2": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/products\/brands": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "default": "default", "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/brands" } ] } }, "\/wc\/v2\/products\/brands\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/brands\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/brands\/batch" } ] } }, "\/wc\/v3\/products\/brands": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "default": "default", "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/brands" } ] } }, "\/wc\/v3\/products\/brands\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/brands\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/brands\/batch" } ] } }, "\/mailchimp-for-woocommerce\/v1": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "mailchimp-for-woocommerce\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1" } ] } }, "\/mailchimp-for-woocommerce\/v1\/ping": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/ping" } ] } }, "\/mailchimp-for-woocommerce\/v1\/survey\/disconnect": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/survey\/disconnect" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/customers": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/customers" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/coupons": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/coupons" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/orders": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/orders" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/products": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/products" } ] } }, "\/mailchimp-for-woocommerce\/v1\/store\/resync": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/store\/resync" } ] } }, "\/mailchimp-for-woocommerce\/v1\/review-banner": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/review-banner" } ] } }, "\/mailchimp-for-woocommerce\/v1\/member-sync": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/member-sync" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/verify": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/verify" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/report": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/report" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/logs": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/logs" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/resource": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/resource" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/action": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/action" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/sync_stats": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/sync_stats" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/subscriber_stats": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/subscriber_stats" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/toggle_remote_support": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/toggle_remote_support" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/get_store_id": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/get_store_id" } ] } }, "\/astra\/v1": { "namespace": "astra\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "astra\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/astra\/v1" } ] } }, "\/astra\/v1\/admin\/settings": { "namespace": "astra\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/astra\/v1\/admin\/settings" } ] } }, "\/astra\/v1\/get-learn-chapters": { "namespace": "astra\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/astra\/v1\/get-learn-chapters" } ] } }, "\/astra\/v1\/update-learn-progress": { "namespace": "astra\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "chapterId": { "type": "string", "required": true }, "stepId": { "type": "string", "required": true }, "completed": { "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/astra\/v1\/update-learn-progress" } ] } }, "\/google-site-kit\/v1": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "google-site-kit\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/setup-tag": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/setup-tag" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/connection": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/connection" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/authentication": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/authentication" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/disconnect": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/disconnect" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/get-token": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/get-token" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/user-input-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "questions": { "purpose": { "type": "array", "items": { "type": "string" } }, "postFrequency": { "type": "array", "items": { "type": "string" } }, "goals": { "type": "array", "items": { "type": "string" } }, "includeConversionEvents": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/user-input-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/audience-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "configuredAudiences": { "type": "array", "items": { "type": "string" } }, "isAudienceSegmentationWidgetHidden": { "type": "boolean" }, "didSetAudiences": { "type": "boolean" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/audience-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/conversion-reporting-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "newEventsCalloutDismissedAt": { "type": "integer" }, "lostEventsCalloutDismissedAt": { "type": "integer" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/conversion-reporting-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/email-reporting-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "frequency": { "type": "string", "enum": [ "weekly", "monthly", "quarterly" ] }, "subscribed": { "type": "boolean" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/email-reporting-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/email-reporting-next-report": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/email-reporting-next-report" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/initial-setup-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "hasSitePurposeAnswer": { "type": "boolean" }, "isAnalyticsSetupComplete": { "type": "boolean" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/initial-setup-settings" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/list": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/list" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/activation": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/activation" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/info" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/check-access": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/check-access" } ] } }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "data": { "type": "object", "description": "Settings to set.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/data-available": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/(?P[a-z\\-]+)": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Module data point to address.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Module data point to address.", "default": null, "required": false }, "data": { "type": "object", "description": "Data to set.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/core\/modules\/data\/recover-modules": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/recover-modules" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "data": { "type": "object", "description": "", "default": null, "minProperties": 1, "additionalProperties": false, "properties": { "slugs": { "type": "array", "required": true, "items": { "type": "string" } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-item": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-item" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/expirable-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/expirable-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "array", "description": "", "default": null, "items": { "type": "object", "additionalProperties": false, "properties": { "slug": { "type": "string", "required": true }, "expiration": { "type": "integer", "required": true } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/permissions": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/permissions" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/nonces": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/nonces" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-trigger": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "triggerID": { "type": "string", "required": true }, "ttl": { "type": "integer", "minimum": 0 } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-trigger" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-event": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "session": { "type": "object", "required": true, "properties": { "session_id": { "type": "string", "required": true }, "session_token": { "type": "string", "required": true } } }, "event": { "type": "object", "required": true, "properties": { "survey_shown": { "type": "object" }, "survey_closed": { "type": "object" }, "question_answered": { "type": "object" }, "completion_shown": { "type": "object" }, "follow_up_link_clicked": { "type": "object" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-event" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset-persistent": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset-persistent" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/developer-plugin": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/developer-plugin" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": true } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/tracking" } ] } }, "\/google-site-kit\/v1\/core\/search\/data\/entity-search": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "query": { "type": "string", "description": "Text content to search for.", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/search\/data\/entity-search" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": false } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/notifications" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/mark-notification": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/mark-notification" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/health-checks": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/health-checks" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/key-metrics": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "isWidgetHidden": { "type": "boolean", "required": true }, "widgetSlugs": { "type": "array", "required": false, "maxItems": 8, "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/key-metrics" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-mode": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "enabled": { "type": "boolean" }, "regions": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-mode" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-info" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-activate": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-activate" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/ads-measurement-status": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/ads-measurement-status" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/conversion-tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "enabled": { "type": "boolean", "required": true } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/conversion-tracking" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/email-reporting": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "enabled": { "type": "boolean", "required": true } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/email-reporting" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/email-reporting-eligible-subscribers": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "type": "integer", "description": "", "default": 1, "minimum": 1, "required": false }, "per_page": { "type": "integer", "description": "", "default": 20, "minimum": 1, "maximum": 100, "required": false }, "search": { "type": "string", "description": "", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/email-reporting-eligible-subscribers" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/email-reporting-subscribed-users": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "type": "integer", "description": "", "default": 1, "minimum": 1, "required": false }, "per_page": { "type": "integer", "description": "", "default": 20, "minimum": 1, "maximum": 100, "required": false }, "search": { "type": "string", "description": "", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/email-reporting-subscribed-users" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/email-reporting-unsubscribe-user": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "userID": { "type": "integer", "required": true, "minimum": 1 } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/email-reporting-unsubscribe-user" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/email-reporting-errors": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/email-reporting-errors" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/email-reporting-invite-user": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "userID": { "type": "integer", "required": true, "minimum": 1 } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/google-site-kit\/v1\/core\/site\/data\/email-reporting-invite-user" } ] } }, "\/elementor\/v1\/documents": { "namespace": "elementor\/v1\/documents", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1\/documents", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/documents" } ] } }, "\/elementor\/v1\/documents\/(?P\\d+)\/media\/import": { "namespace": "elementor\/v1\/documents", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "required": true } } } ] }, "\/elementor\/v1\/cache": { "namespace": "elementor\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/cache" } ] } }, "\/elementor\/v1\/globals": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/globals" } ] } }, "\/elementor\/v1\/globals\/colors": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/globals\/colors" } ] } }, "\/elementor\/v1\/globals\/colors\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/globals\/typography": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/globals\/typography" } ] } }, "\/elementor\/v1\/globals\/typography\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/settings\/(?P[\\w_-]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/elementor\/v1\/post": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "excluded_post_types": { "description": "Post type to exclude", "type": [ "array", "string" ], "default": [ "e-floating-buttons", "e-landing-page", "elementor_library", "attachment" ], "required": false }, "term": { "description": "Posts to search", "type": "string", "default": "", "required": false }, "post_keys_conversion_map": { "description": "Specify keys to extract and convert, i.e. [\"key_1\" => \"new_key_1\"].", "type": [ "array", "string" ], "default": [], "required": false }, "max_count": { "description": "Max count of returned items", "type": "number", "default": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/post" } ] } }, "\/elementor-ai\/v1": { "namespace": "elementor-ai\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-ai\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-ai\/v1" } ] } }, "\/elementor-ai\/v1\/permissions": { "namespace": "elementor-ai\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-ai\/v1\/permissions" } ] } }, "\/elementor\/v1\/favorites": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/favorites" } ] } }, "\/elementor\/v1\/favorites\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Type of favorites.", "type": "string", "required": true }, "favorite": { "description": "The favorite slug to create.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Type of favorites.", "type": "string", "required": true }, "favorite": { "description": "The favorite slug to delete.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/kit-elements-defaults": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/kit-elements-defaults" } ] } }, "\/elementor\/v1\/kit-elements-defaults\/(?P[\\w\\-\\_]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "type": { "type": "string", "description": "The type of the element.", "required": true }, "settings": { "description": "All the default values for the requested type", "type": "object", "required": true } } }, { "methods": [ "DELETE" ], "args": { "type": { "type": "string", "description": "The type of the element.", "required": true } } } ] }, "\/elementor\/v1\/site-navigation\/recent-posts": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "posts_per_page": { "description": "Number of posts to return", "type": "integer", "required": true }, "post_type": { "description": "Post types to retrieve", "type": "array", "default": [ "page", "post", "elementor_library" ], "required": false }, "post__not_in": { "description": "Post id`s to exclude", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/site-navigation\/recent-posts" } ] } }, "\/elementor\/v1\/site-navigation\/add-new-post": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "Post type to create", "type": "string", "default": "post", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/site-navigation\/add-new-post" } ] } }, "\/elementor\/v1\/checklist": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/checklist" } ] } }, "\/elementor\/v1\/checklist\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/checklist\/steps": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/checklist\/steps" } ] } }, "\/elementor\/v1\/checklist\/steps\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/checklist\/steps\/(?P[\\w\\-\\_]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "string", "description": "The step id.", "required": true } } } ] }, "\/elementor\/v1\/checklist\/user-progress": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/checklist\/user-progress" } ] } }, "\/elementor\/v1\/template-library\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "title": { "type": "string", "description": "The title of the document", "required": false }, "type": { "description": "The document type.", "type": "string", "enum": [ "page", "section", "container", "floating-buttons", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product", "product-archive", "loop-item" ], "required": true }, "content": { "description": "Elementor data object", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/template-library\/templates" } ] } }, "\/elementor\/v1\/user-data\/current-user": { "namespace": "elementor\/v1", "methods": [ "GET", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "PATCH" ], "args": { "suppressedMessages": { "type": "array", "description": "Array of suppressed message keys", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/user-data\/current-user" } ] } }, "\/elementor\/v1\/global-widget\/templates": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/global-widget\/templates" } ] } }, "\/elementor-pro\/v1": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-pro\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-pro\/v1" } ] } }, "\/elementor-pro\/v1\/posts-widget": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-pro\/v1\/posts-widget" } ] } }, "\/elementor\/v1\/form-submissions": { "namespace": "elementor\/v1", "methods": [ "GET", "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "order_by": { "description": "Sort collection by object attribute.", "type": "string", "default": "created_at", "enum": [ "created_at", "id", "main_meta_id" ], "required": false }, "status": { "description": "Limit result set to submissions assigned one or more statuses.", "type": "string", "default": "all", "enum": [ "all", "unread", "read", "trash" ], "additionalProperties": { "context": "filter" }, "required": false }, "form": { "description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "referer": { "description": "Limit result set to submissions assigned to specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "after": { "description": "Limit response to submissions sent after a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "before": { "description": "Limit response to submissions sent before a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true }, "force": { "description": "Delete the object permanently.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true }, "is_read": { "description": "mark whether the submission was read or not", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/form-submissions" } ] } }, "\/elementor\/v1\/form-submissions\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true }, "force": { "description": "Delete the object permanently.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true }, "is_read": { "description": "mark whether the submission was read or not", "type": "boolean", "required": false }, "values": { "description": "Form field values, receive an array, the key should be the form field id and the value should be the value.", "type": "object", "required": false } } } ] }, "\/elementor\/v1\/form-submissions\/restore\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/form-submissions\/restore": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/form-submissions\/restore" } ] } }, "\/elementor\/v1\/form-submissions\/export": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 10000, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "order_by": { "description": "Sort collection by object attribute.", "type": "string", "default": "created_at", "enum": [ "created_at", "id", "main_meta_id" ], "required": false }, "status": { "description": "Limit result set to submissions assigned one or more statuses.", "type": "string", "default": "all", "enum": [ "all", "unread", "read", "trash" ], "additionalProperties": { "context": "filter" }, "required": false }, "form": { "description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "referer": { "description": "Limit result set to submissions assigned to specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "after": { "description": "Limit response to submissions sent after a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "before": { "description": "Limit response to submissions sent before a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "additionalProperties": { "context": "filter" }, "required": false }, "format": { "description": "The format of the export (for now only csv).", "enum": [ "csv" ], "default": "csv", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/form-submissions\/export" } ] } }, "\/elementor\/v1\/form-submissions\/referer": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)", "type": "string", "enum": [ "options" ], "default": "options", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "value": { "description": "Limit results specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/form-submissions\/referer" } ] } }, "\/elementor\/v1\/forms": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)", "type": "string", "enum": [ "options" ], "default": "options", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/forms" } ] } }, "\/elementor-pro\/v1\/get-post-type-taxonomies": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "The post type for which to fetch the list of taxonomies.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-pro\/v1\/get-post-type-taxonomies" } ] } }, "\/elementor-pro\/v1\/refresh-loop": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "description": "The post ID of the page containing the loop.", "type": "integer", "required": true }, "widget_id": { "description": "The ID of the loop widget.", "type": "string", "required": true }, "widget_filters": { "description": "The filters for the loop widget.", "type": "object", "required": true }, "widget_model": { "description": "The model of the loop widget. In Editor mode only.", "type": "object", "required": false }, "pagination_base_url": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-pro\/v1\/refresh-loop" } ] } }, "\/elementor-pro\/v1\/refresh-search": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "description": "The post ID of the page containing the loop.", "type": "integer", "required": true }, "widget_id": { "description": "The ID of the loop widget.", "type": "string", "required": true }, "widget_model": { "description": "The model of the loop widget. In Editor mode only.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor-pro\/v1\/refresh-search" } ] } }, "\/elementor\/v1\/notes": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "status": { "type": "string", "description": "The note status (e.g. \"publish\", \"draft\").", "enum": [ "publish", "draft" ], "default": "publish", "required": false }, "is_resolved": { "type": "boolean", "description": "Whether the note is resolved or not.", "required": false }, "parent_id": { "type": "integer", "description": "The note's parent id (use 0 for top-level).", "required": false }, "post_id": { "type": "integer", "description": "The ID of the post that the note is attached to.", "required": false }, "only_unread": { "type": "boolean", "description": "Show only unread notes (represents an unread thread if one of its replies is unread).", "required": false }, "only_relevant": { "type": "boolean", "description": "Show only notes that are relevant to the current user.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "last_activity_at", "enum": [ "last_activity_at", "created_at" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "desc", "enum": [ "asc", "desc" ], "required": false } } }, { "methods": [ "POST" ], "args": { "post_id": { "type": "integer", "description": "The id of the post where the note was created at (can be template, post, page, etc.).", "required": true }, "element_id": { "type": "string", "description": "Each note must be attached to an elementor element.", "required": true }, "content": { "type": "string", "description": "The content of the note.", "required": true }, "position": { "type": "object", "properties": { "x": { "required": true, "type": "number" }, "y": { "required": true, "type": "number" } }, "description": "The position of the note.", "required": true }, "mentioned_usernames": { "type": "array", "description": "List of user names that have been mentioned in the note's content.", "default": [], "items": { "type": "string", "sanitize_callback": [] }, "required": false }, "route_post_id": { "description": "The ID of the post that's associated with the route (doesn't always exist, e.g: home page, archive)", "required": false }, "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "route_title": { "type": "string", "description": "The title of the route where the note was created at.", "required": false }, "parent_id": { "type": "integer", "description": "If the new note is a reply to another note, the parent_id should be the thread's id.", "default": 0, "required": false }, "is_public": { "type": "boolean", "description": "Should this note be visible for everyone or just for its author.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/notes" } ] } }, "\/elementor\/v1\/notes\/read-status": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "ids": { "type": "array", "description": "The id's of the notes.", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "ids": { "type": "array", "description": "The id's of the notes.", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/notes\/read-status" } ] } }, "\/elementor\/v1\/notes\/summary": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "status": { "type": "string", "description": "The note status (e.g. \"publish\", \"draft\").", "enum": [ "publish", "draft" ], "default": "publish", "required": false }, "is_resolved": { "type": "boolean", "description": "Whether the note is resolved or not.", "required": false }, "parent_id": { "type": "integer", "description": "The note's parent id (use 0 for top-level).", "required": false }, "post_id": { "type": "integer", "description": "The ID of the post that the note is attached to.", "required": false }, "only_unread": { "type": "boolean", "description": "Show only unread notes (represents an unread thread if one of its replies is unread).", "required": false }, "only_relevant": { "type": "boolean", "description": "Show only notes that are relevant to the current user.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "last_activity_at", "enum": [ "last_activity_at", "created_at" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "desc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/notes\/summary" } ] } }, "\/elementor\/v1\/notes\/users": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "limit": { "type": "integer", "description": "Limit the results.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "display_name", "enum": [ "user_nicename", "display_name", "user_registered" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "search": { "type": "string", "description": "Filter users by a search term.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/notes\/users" } ] } }, "\/elementor\/v1\/notes\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "type": "integer", "description": "Note ID to find.", "required": true } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "integer", "description": "The id the note.", "required": true }, "content": { "type": "string", "description": "The content of the note.", "required": false }, "mentioned_usernames": { "type": "array", "description": "List of user names that have been mentioned in the note's content.", "items": { "type": "string", "sanitize_callback": [] }, "required": false }, "status": { "type": "string", "description": "Note status can be draft or publish.", "enum": [ "publish", "draft" ], "required": false }, "is_public": { "type": "boolean", "description": "Should this note be visible for everyone or just for its author.", "required": false }, "is_resolved": { "type": "boolean", "description": "Is this note resolved and should be hidden.", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "type": "integer", "description": "The id of the note.", "required": true }, "force": { "type": "boolean", "description": "Determine if it should be deleted permanently or change the status to trash.", "default": false, "required": false } } } ] }, "\/wpmudev_pcs\/v1": { "namespace": "wpmudev_pcs\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wpmudev_pcs\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpmudev_pcs\/v1" } ] } }, "\/wpmudev_pcs\/v1\/plugincrosssell\/install_plugin": { "namespace": "wpmudev_pcs\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin_slug": { "type": "string", "required": true }, "current_slug": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpmudev_pcs\/v1\/plugincrosssell\/install_plugin" } ] } }, "\/wpmudev_pcs\/v1\/plugincrosssell\/activate_plugin": { "namespace": "wpmudev_pcs\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin_slug": { "type": "string", "required": true }, "current_slug": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpmudev_pcs\/v1\/plugincrosssell\/activate_plugin" } ] } }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "required": false }, "code": { "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": true }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string", "required": false }, "expiry_date": { "description": "\u6298\u50f9\u5238\u5230\u671f\u6642\u4f7f\u7528 UTC \u65e5\u671f\u6642\u9593\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string", "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string", "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/coupons" } ] } }, "\/wc\/v1\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string", "required": false }, "expiry_date": { "description": "\u6298\u50f9\u5238\u5230\u671f\u6642\u4f7f\u7528 UTC \u65e5\u671f\u6642\u9593\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string", "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string", "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": "string", "required": false }, "expiry_date": { "description": "\u6298\u50f9\u5238\u5230\u671f\u6642\u4f7f\u7528 UTC \u65e5\u671f\u6642\u9593\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": "string", "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": "string", "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "\u900f\u904e\u7279\u5b9a\u96fb\u5b50\u90f5\u4ef6\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "format": "email", "required": false }, "role": { "description": "\u900f\u904e\u7279\u5b9a\u89d2\u8272\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "\u65b0\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "required": true }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u65b0\u4f7f\u7528\u8005\u540d\u7a31", "type": "string", "required": false }, "password": { "description": "\u65b0\u4f7f\u7528\u8005\u5bc6\u78bc", "type": "string", "required": true }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/customers" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "email": { "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string", "required": false }, "password": { "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "\u91cd\u65b0\u6307\u6d3e\u6587\u7ae0\u7684\u7de8\u865f\u3002", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string", "required": false }, "password": { "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/customers\/batch" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "note": { "type": "string", "description": "\u8a02\u55ae\u5099\u8a3b\u7684\u5167\u5bb9", "required": true }, "customer_note": { "default": false, "description": "\u986f\u793a\/\u5b9a\u7fa9\u5099\u8a3b\u662f\u5426\u50c5\u4f9b\u53c3\u7167\u6216\u4f9b\u5ba2\u6236\u4f7f\u7528 (\u6703\u901a\u77e5\u5ba2\u6236)\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "required": false }, "status": { "default": "any", "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "product": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "amount": { "description": "\u9000\u6b3e\u91d1\u984d\u3002", "type": "string", "required": false }, "reason": { "description": "\u7533\u8acb\u539f\u56e0\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "required": false }, "status": { "default": "any", "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "product": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "status": { "default": "pending", "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "TWD", "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "set_paid": { "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "\u9805\u76ee\u4f8b\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u5143\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/orders" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "\u9805\u76ee\u4f8b\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u5143\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u9996\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u6b21\u6b04\u5730\u5740", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "\u9805\u76ee\u4f8b\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u5143\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/orders\/batch" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "default": "select", "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/attributes" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "default": "default", "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/categories" } ] } }, "\/wc\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/categories\/batch" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "review": { "type": "string", "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "required": true }, "date_created": { "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false }, "name": { "type": "string", "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "required": true }, "email": { "type": "string", "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "required": true } } } ] }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "date_created": { "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/shipping_classes" } ] } }, "\/wc\/v1\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/tags" } ] } }, "\/wc\/v1\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "\u4f7f\u7528 WP \u67e5\u8a62\u5f15\u6578\u4f86\u4fee\u6539\u56de\u61c9\uff1b\u79c1\u4eba\u67e5\u8a62\u8b8a\u6578\u9700\u8981\u9069\u7576\u7684\u6388\u6b0a\u3002", "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "sku": { "description": "\u900f\u904e\u7279\u5b9a SKU \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "type": { "default": "simple", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "default": "publish", "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "\u4e0b\u8f09\u985e\u578b\uff0c\u9019\u6703\u63a7\u5236\u524d\u7aef\u7684\u7d50\u69cb\u63cf\u8ff0\u3002", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u8ffd\u52a0\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "\u8b8a\u6578\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u8b8a\u6578\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "\u8b8a\u6578\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u8b8a\u6578\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "\u8b8a\u6578 URL\u3002", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "\u76ee\u524d\u8b8a\u6578\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u5728\u7279\u50f9\u4fc3\u92b7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u4ee5\u8cfc\u8cb7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "\u82e5\u5546\u54c1\u898f\u683c\u70ba\u53ef\u898b.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "\u986f\u793a\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u9810\u8a02\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "\u904b\u9001\u985e\u5225 ID\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "download_type": { "description": "\u4e0b\u8f09\u985e\u578b\uff0c\u9019\u6703\u63a7\u5236\u524d\u7aef\u7684\u7d50\u69cb\u63cf\u8ff0\u3002", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean", "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u8ffd\u52a0\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "\u8b8a\u6578\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u8b8a\u6578\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "\u8b8a\u6578\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u8b8a\u6578\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "\u8b8a\u6578 URL\u3002", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "\u76ee\u524d\u8b8a\u6578\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u5728\u7279\u50f9\u4fc3\u92b7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u4ee5\u8cfc\u8cb7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "\u82e5\u5546\u54c1\u898f\u683c\u70ba\u53ef\u898b.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "\u986f\u793a\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u9810\u8a02\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "\u904b\u9001\u985e\u5225 ID\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "download_type": { "description": "\u4e0b\u8f09\u985e\u578b\uff0c\u9019\u6703\u63a7\u5236\u524d\u7aef\u7684\u7d50\u69cb\u63cf\u8ff0\u3002", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean", "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u8ffd\u52a0\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "\u8b8a\u6578\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u8b8a\u6578\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "\u8b8a\u6578\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u8b8a\u6578\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "\u8b8a\u6578 URL\u3002", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "\u76ee\u524d\u8b8a\u6578\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u958b\u59cb\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7d50\u675f\u65e5\u671f\u3002", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u5728\u7279\u50f9\u4fc3\u92b7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u4ee5\u8cfc\u8cb7\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "\u82e5\u5546\u54c1\u898f\u683c\u70ba\u53ef\u898b.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "\u986f\u793a\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "\u986f\u793a\u8b8a\u6578\u662f\u5426\u53ef\u9810\u8a02\u3002", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "\u904b\u9001\u985e\u5225 ID\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false }, "date_max": { "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false }, "date_max": { "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u7a05\u91d1\u985e\u5225\u540d\u7a31\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/taxes\/classes" } ] } }, "\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "default": "standard", "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/taxes" } ] } }, "\/wc\/v1\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limit result set to webhooks assigned a specific status.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook topic.", "required": true }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook delivery URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/webhooks" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": true }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/coupons" } ] } }, "\/wc\/v2\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "\u900f\u904e\u7279\u5b9a\u96fb\u5b50\u90f5\u4ef6\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "format": "email", "required": false }, "role": { "description": "\u900f\u904e\u7279\u5b9a\u89d2\u8272\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "\u65b0\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "required": true }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u65b0\u4f7f\u7528\u8005\u540d\u7a31", "type": "string", "required": false }, "password": { "description": "\u65b0\u4f7f\u7528\u8005\u5bc6\u78bc", "type": "string", "required": true }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/customers" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "email": { "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string", "required": false }, "password": { "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "\u91cd\u65b0\u6307\u6d3e\u6587\u7ae0\u7684\u7de8\u865f\u3002", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string", "required": false }, "password": { "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/customers\/batch" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "\u9650\u5236\u5ba2\u6236\u6216\u5167\u90e8\u8a18\u9304\u7684\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "note": { "type": "string", "description": "\u8a02\u55ae\u5099\u8a3b\u7684\u5167\u5bb9", "required": true }, "customer_note": { "default": false, "description": "\u5176\u503c\u70ba true \u6642\uff0c\u5c07\u6703\u5411\u9867\u5ba2\u986f\u793a\u5099\u8a3b\uff0c\u9867\u5ba2\u4fbf\u6703\u6536\u5230\u901a\u77e5\u3002\u5176\u503c\u70ba false \u6642\uff0c\u5099\u8a3b\u5c07\u50c5\u4f9b\u7ba1\u7406\u54e1\u53c3\u8003\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "\u50c5\u986f\u793a\u8981\u5728\u8a02\u55ae\u986f\u793a\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "amount": { "description": "\u9000\u6b3e\u91d1\u984d\u3002", "type": "string", "required": false }, "reason": { "description": "\u7533\u8acb\u539f\u56e0\u3002", "type": "string", "required": false }, "refunded_by": { "description": "\u4f7f\u7528\u8005\u9000\u6b3e\u5f8c\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "\u5982\u679c\u6b63\u78ba\uff0c\u4ed8\u6b3e\u9598\u9053 API \u53ef\u7528\u65bc\u8655\u7406\u9000\u6b3e\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "product": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "\u50c5\u986f\u793a\u8981\u5728\u8a02\u55ae\u986f\u793a\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "status": { "default": "pending", "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "TWD", "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/orders" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/orders\/batch" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "default": "select", "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/attributes" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "default": "default", "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/categories" } ] } }, "\/wc\/v2\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/categories\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "review": { "type": "string", "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "required": true }, "date_created": { "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u8a55\u50f9\u7684\u5efa\u7acb\u65e5\u671f\uff0c\u4ee5\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593(GMT)\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false }, "name": { "type": "string", "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "required": true }, "email": { "type": "string", "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "required": true } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "date_created": { "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u8a55\u50f9\u7684\u5efa\u7acb\u65e5\u671f\uff0c\u4ee5\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593(GMT)\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "date_created": { "description": "\u5716\u7247\u6aa2\u95b1\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u8a55\u50f9\u7684\u5efa\u7acb\u65e5\u671f\uff0c\u4ee5\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593(GMT)\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/shipping_classes" } ] } }, "\/wc\/v2\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/tags" } ] } }, "\/wc\/v2\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u7d44\u5408\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u54c1\u724c ID \u7684\u7522\u54c1\u3002", "type": "string", "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "in_stock": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u5eab\u5b58\u6216\u7f3a\u8ca8\u7522\u54c1\u3002", "type": "boolean", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "type": { "default": "simple", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "default": "publish", "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "\u540c\u7d44\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean", "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "\u540c\u7d44\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "description": "\u63a7\u5236\u5546\u54c1\u5728\u524d\u53f0\u662f\u5426\u6703\u88ab\u986f\u793a\u70ba\"\u6709\u5eab\u5b58\"\u6216\"\u7121\u5eab\u5b58\"\u3002", "type": "boolean", "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "\u540c\u7d44\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/products\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "in_stock": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u5eab\u5b58\u6216\u7f3a\u8ca8\u7522\u54c1\u3002", "type": "boolean", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": [ "null", "string" ], "required": false }, "visible": { "default": true, "description": "\u5b9a\u7fa9\u7522\u54c1\u9801\u662f\u5426\u986f\u793a\u8b8a\u5316\u985e\u578b\u3002", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": [ "null", "string" ], "required": false }, "visible": { "description": "\u5b9a\u7fa9\u7522\u54c1\u9801\u662f\u5426\u986f\u793a\u8b8a\u5316\u985e\u578b\u3002", "type": "boolean", "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4f7f\u7528 GMT \u683c\u5f0f\u3002", "type": [ "null", "string" ], "required": false }, "visible": { "description": "\u5b9a\u7fa9\u7522\u54c1\u9801\u662f\u5426\u986f\u793a\u8b8a\u5316\u985e\u578b\u3002", "type": "boolean", "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "in_stock": { "description": "\u63a7\u5236\u8b8a\u6578\u662f\u5426\u5728\u524d\u7aef\u5217\u70ba\u300c\u5b58\u8ca8\u300d\u6216\u300c\u7121\u5b58\u8ca8\u300d\u3002", "type": "boolean", "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5716\u7247\u4f4d\u7f6e. 0 \u4ee3\u8868\u6b64\u5716\u70ba\u7279\u8272\u5716\u7247.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false }, "date_max": { "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false }, "date_max": { "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "required": true }, "order": { "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/shipping\/zones" } ] } }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "name": { "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "type": "string", "required": false }, "order": { "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "code": { "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u4ee3\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u985e\u578b\u3002", "type": "string", "enum": [ "postcode", "state", "country", "continent" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "order": { "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer", "required": false }, "enabled": { "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "settings": { "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object", "properties": { "id": { "description": "\u8a2d\u5b9a\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u7528\u65bc\u754c\u9762\u8a2d\u5b9a\u4e0a\u7684\u4e00\u7d44\u53ef\u4f9b\u4eba\u95b1\u8b80\u7684\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "\u7c21\u55ae\u6613\u8b80\u7684\u8aaa\u660e\uff0c\u95dc\u65bc\u4ecb\u9762\u4e2d\u6240\u4f7f\u7528\u7684\u8a2d\u5b9a\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "\u8a2d\u5b9a\u985e\u578b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "\u8a2d\u5b9a\u7684\u9810\u8a2d\u503c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "\u95dc\u65bc\u8a2d\u5b9a\u7684\u9644\u52a0\u5354\u52a9\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "\u8981\u986f\u793a\u5728\u6587\u5b57\u8f38\u5165\u7684\u9810\u7559\u4f4d\u7f6e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "required": true } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "instance_id": { "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "instance_id": { "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "order": { "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer", "required": false }, "enabled": { "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "settings": { "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object", "properties": { "id": { "description": "\u8a2d\u5b9a\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u7528\u65bc\u754c\u9762\u8a2d\u5b9a\u4e0a\u7684\u4e00\u7d44\u53ef\u4f9b\u4eba\u95b1\u8b80\u7684\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "\u7c21\u55ae\u6613\u8b80\u7684\u8aaa\u660e\uff0c\u95dc\u65bc\u4ecb\u9762\u4e2d\u6240\u4f7f\u7528\u7684\u8a2d\u5b9a\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "\u8a2d\u5b9a\u985e\u578b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "\u8a2d\u5b9a\u7684\u9810\u8a2d\u503c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "\u95dc\u65bc\u8a2d\u5b9a\u7684\u9644\u52a0\u5354\u52a9\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "\u8981\u986f\u793a\u5728\u6587\u5b57\u8f38\u5165\u7684\u9810\u7559\u4f4d\u7f6e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "instance_id": { "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u7a05\u91d1\u985e\u5225\u540d\u7a31\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/taxes\/classes" } ] } }, "\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "default": "standard", "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/taxes" } ] } }, "\/wc\/v2\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limit result set to webhooks assigned a specific status.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook topic.", "required": true }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook delivery URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/webhooks" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Webhook \u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/system_status\/tools" } ] } }, "\/wc\/v2\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u5de5\u5177\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "name": { "description": "\u5de5\u5177\u540d\u7a31\u3002", "type": "string", "required": false }, "action": { "description": "\u904b\u884c\u8a72\u5de5\u5177\u5c07\u6703\u505a\u4ec0\u9ebc\u3002", "type": "string", "required": false }, "description": { "description": "\u5de5\u5177\u63cf\u8ff0\u3002", "type": "string", "required": false }, "success": { "description": "\u5de5\u5177\u662f\u5426\u6210\u529f\u904b\u884c\uff1f", "type": "boolean", "required": false }, "message": { "description": "\u5de5\u5177\u56de\u50b3\u8a0a\u606f\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v2\/payment_gateways" } ] } }, "\/wc\/v2\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "title": { "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u6a19\u984c\u3002", "type": "string", "required": false }, "description": { "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u8aaa\u660e\u3002", "type": "string", "required": false }, "order": { "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u6392\u5e8f\u9806\u5e8f\u3002", "type": "integer", "required": false }, "enabled": { "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u5df2\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "settings": { "description": "\u4ed8\u6b3e\u9598\u9053\u8a2d\u5b9a\u3002", "type": "object", "properties": { "id": { "description": "\u8a2d\u5b9a\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u7528\u65bc\u754c\u9762\u8a2d\u5b9a\u4e0a\u7684\u4e00\u7d44\u53ef\u4f9b\u4eba\u95b1\u8b80\u7684\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "\u7c21\u55ae\u6613\u8b80\u7684\u8aaa\u660e\uff0c\u95dc\u65bc\u4ecb\u9762\u4e2d\u6240\u4f7f\u7528\u7684\u8a2d\u5b9a\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "\u8a2d\u5b9a\u985e\u578b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "\u8a2d\u5b9a\u7684\u9810\u8a2d\u503c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "\u95dc\u65bc\u8a2d\u5b9a\u7684\u9644\u52a0\u5354\u52a9\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "\u8981\u986f\u793a\u5728\u6587\u5b57\u8f38\u5165\u7684\u9810\u7559\u4f4d\u7f6e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "\u900f\u904e\u7279\u5b9a\u4ee3\u78bc\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": true }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/coupons" } ] } }, "\/wc\/v3\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": "string", "required": false }, "amount": { "description": "\u6298\u6263\u91d1\u984d\u3002\u61c9\u5747\u8a2d\u70ba\u6578\u5b57\uff0c\u6216\u662f\u8a2d\u7f6e\u70ba\u767e\u5206\u6bd4\u7684\u6578\u5b57\u3002", "type": [ "number", "string" ], "required": false }, "status": { "description": "\u512a\u60e0\u5238\u72c0\u614b\u3002 \u61c9\u4e00\u5f8b\u70ba\u8349\u7a3f\u3001\u5df2\u767c\u8868\u6216\u5f85\u5be9\u4e2d", "type": "string", "required": false }, "discount_type": { "description": "\u6c7a\u5b9a\u8981\u5957\u7528\u7684\u6298\u6263\u985e\u578b\u3002", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "wt_sc_bogo", "wbte_sc_bogo" ], "required": false }, "description": { "description": "\u6298\u50f9\u5238\u63cf\u8ff0\u3002", "type": "string", "required": false }, "date_expires": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "\u6298\u50f9\u5238\u5230\u671f\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "\u5982\u679c\u662f\uff0c\u9019\u5f35\u6298\u50f9\u5238\u5c31\u53ea\u80fd\u55ae\u7368\u4f7f\u7528\u3002\u8cfc\u7269\u8eca\u88e1\u82e5\u6709\u5176\u5b83\u6298\u50f9\u5238\u5c31\u6703\u88ab\u79fb\u9664\u3002", "type": "boolean", "required": false }, "product_ids": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "\u7121\u6cd5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "\u7e3d\u5171\u53ef\u4ee5\u4f7f\u7528\u591a\u5c11\u6b21\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "\u6bcf\u4f4d\u5ba2\u6236\u53ef\u4ee5\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "\u8cfc\u7269\u8eca\u4e2d\u7684\u9805\u76ee\u6700\u591a\u53ef\u4ee5\u4f7f\u7528\u5e7e\u5f35\u6298\u50f9\u5238\u3002", "type": "integer", "required": false }, "free_shipping": { "description": "\u5982\u679c\u662f\uff0c\u800c\u4e14\u514d\u904b\u8cbb\u9700\u8981\u4e00\u5f35\u6298\u50f9\u5238\uff0c\u6b64\u5f35\u6298\u50f9\u5238\u5c07\u7d66\u4e88\u514d\u904b\u8cbb\u3002", "type": "boolean", "required": false }, "product_categories": { "description": "\u53ef\u4f7f\u7528\u6298\u50f9\u5238\u7684\u5206\u985e ID \u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "\u6298\u50f9\u5238\u4e0d\u9069\u7528\u65bc\u5206\u985e ID \u5217\u8868\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "\u5982\u679c\u662f\uff0c\u8a72\u6298\u50f9\u5238\u5c07\u4e0d\u80fd\u7528\u65bc\u6298\u6263\u50f9\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "minimum_amount": { "description": "\u8cfc\u7269\u8eca\u4e2d\u9700\u8981\u591a\u5c11\u8a02\u55ae\u50f9\u683c\u624d\u80fd\u4f7f\u7528\u6298\u50f9\u5238\u3002", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "\u4f7f\u7528\u6298\u50f9\u5238\u7684\u6700\u5927\u8a02\u55ae\u50f9\u683c\u3002", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "\u53ef\u4ee5\u4f7f\u7528\u6b64\u6298\u50f9\u5238\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u5217\u8868\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "\u900f\u904e\u7279\u5b9a\u96fb\u5b50\u90f5\u4ef6\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "format": "email", "required": false }, "role": { "description": "\u900f\u904e\u7279\u5b9a\u89d2\u8272\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "lms_manager", "instructor", "instructors_assistant", "student", "wpseo_manager", "wpseo_editor" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "\u65b0\u4f7f\u7528\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "required": true }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u65b0\u4f7f\u7528\u8005\u540d\u7a31", "type": "string", "required": false }, "password": { "description": "\u65b0\u4f7f\u7528\u8005\u5bc6\u78bc", "type": "string", "required": true }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/customers" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "email": { "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string", "required": false }, "password": { "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "\u91cd\u65b0\u6307\u6d3e\u6587\u7ae0\u7684\u7de8\u865f\u3002", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "\u5ba2\u6236\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "required": false }, "first_name": { "description": "\u5ba2\u6236\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u5ba2\u6236\u59d3\u6c0f\u3002", "type": "string", "required": false }, "username": { "description": "\u5ba2\u6236\u767b\u5165\u540d\u5b57\u3002", "type": "string", "required": false }, "password": { "description": "\u5ba2\u6236\u5bc6\u78bc\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u9001\u8ca8\u5730\u5740\u5217\u8868", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "\u570b\u5bb6 ISO \u7de8\u865f.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/layout-templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "area": { "description": "\u53d6\u5f97\u7bc4\u672c\u7684\u5340\u57df\u3002", "type": "string", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/layout-templates" } ] } }, "\/wc\/v3\/layout-templates\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "\u9650\u5236\u5ba2\u6236\u6216\u5167\u90e8\u8a18\u9304\u7684\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "note": { "type": "string", "description": "\u8a02\u55ae\u5099\u8a3b\u7684\u5167\u5bb9", "required": true }, "customer_note": { "default": false, "description": "\u5176\u503c\u70ba true \u6642\uff0c\u5c07\u6703\u5411\u9867\u5ba2\u986f\u793a\u5099\u8a3b\uff0c\u9867\u5ba2\u4fbf\u6703\u6536\u5230\u901a\u77e5\u3002\u5176\u503c\u70ba false \u6642\uff0c\u5099\u8a3b\u5c07\u50c5\u4f9b\u7ba1\u7406\u54e1\u53c3\u8003\u3002", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "\u5176\u503c\u70ba true \u6642\uff0c\u6b64\u5099\u8a3b\u5c07\u6b78\u65bc\u76ee\u524d\u7684\u4f7f\u7528\u8005\u3002\u5176\u503c\u70ba false \u6642\uff0c\u6b64\u5099\u8a3b\u5c07\u6b78\u65bc\u7cfb\u7d71\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "\u50c5\u986f\u793a\u8981\u5728\u8a02\u55ae\u986f\u793a\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "amount": { "description": "\u9000\u6b3e\u91d1\u984d\u3002", "type": "string", "required": false }, "reason": { "description": "\u7533\u8acb\u539f\u56e0\u3002", "type": "string", "required": false }, "refunded_by": { "description": "\u4f7f\u7528\u8005\u9000\u6b3e\u5f8c\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "\u5982\u679c\u6b63\u78ba\uff0c\u4ed8\u6b3e\u9598\u9053 API \u53ef\u7528\u65bc\u8655\u7406\u9000\u6b3e\u3002", "type": "boolean", "required": false }, "api_restock": { "default": true, "description": "\u82e5\u70ba true\uff0c\u9000\u6b3e\u5546\u54c1\u6703\u91cd\u65b0\u88dc\u8ca8\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "\u8a02\u55ae\u7de8\u865f", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "\u9650\u5236\u7279\u5b9a\u72c0\u614b\u8a02\u55ae\u8a2d\u5b9a\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5ba2\u6236\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "product": { "description": "\u8a2d\u5b9a\u6307\u6d3e\u7279\u5b9a\u5546\u54c1\u8a02\u55ae\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "integer", "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "\u50c5\u986f\u793a\u8981\u5728\u8a02\u55ae\u986f\u793a\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "\u900f\u904e\u7279\u5b9a\u4f86\u6e90 (\u4f8b\u5982\u7d50\u5e33\u3001\u7ba1\u7406\u54e1) \u6240\u5efa\u7acb\u7684\u8a02\u55ae\u9650\u5236\u7d50\u679c\u96c6\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "created_via": { "description": "\u986f\u793a\u8a02\u55ae\u5efa\u7acb\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "status": { "default": "pending", "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "TWD", "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "\u624b\u52d5\u8a2d\u5b9a\u52d5\u4f5c\uff0c\u8a02\u55ae\u5099\u8a3b\u5373\u767b\u8a18\u70ba\u300c\u7531\u4f7f\u7528\u8005\u65b0\u589e\u300d\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/orders" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "created_via": { "description": "\u986f\u793a\u8a02\u55ae\u5efa\u7acb\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "manual_update": { "description": "\u624b\u52d5\u8a2d\u5b9a\u52d5\u4f5c\uff0c\u8a02\u55ae\u5099\u8a3b\u5373\u767b\u8a18\u70ba\u300c\u7531\u4f7f\u7528\u8005\u65b0\u589e\u300d\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "\u7236\u9805\u8a02\u55ae\u7de8\u865f\u3002", "type": "integer", "required": false }, "created_via": { "description": "\u986f\u793a\u8a02\u55ae\u5efa\u7acb\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "status": { "description": "\u8a02\u55ae\u72c0\u614b.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "\u8a02\u55ae\u5efa\u7acb\u6642\u6240\u7528\u7684\u8ca8\u5e63\u683c\u5f0f\uff0c\u7528ISO\u683c\u5f0f\u3002", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "\u64c1\u6709\u8a02\u55ae\u7684\u4f7f\u7528\u8005\u7de8\u865f\u3002 0 \u8868\u793a\u8a2a\u5ba2\u3002", "type": "integer", "required": false }, "customer_note": { "description": "\u7d50\u5e33\u6642\u5ba2\u6236\u7559\u4e0b\u7684\u5099\u8a3b\u3002", "type": "string", "required": false }, "billing": { "description": "\u5e33\u55ae\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u5730\u5740", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "\u96fb\u8a71\u865f\u78bc", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "\u904b\u9001\u5730\u5740.", "type": "object", "properties": { "first_name": { "description": "\u540d\u5b57.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "\u59d3\u6c0f.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "\u516c\u53f8\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "\u5730\u5740\u7b2c 1 \u884c", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "\u5730\u5740\u7b2c 2 \u884c", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO \u4ee3\u78bc\u6216\u5dde\u3001\u7701\u6216\u5730\u5340\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO 3166-1 alpha-2 \u683c\u5f0f\u7684\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "\u4ed8\u6b3e\u65b9\u5f0f\u7de8\u865f\u3002", "type": "string", "required": false }, "payment_method_title": { "description": "\u4ed8\u6b3e\u65b9\u6cd5\u6a19\u984c\u3002", "type": "string", "required": false }, "transaction_id": { "description": "\u552f\u4e00\u7684\u4ea4\u6613\u7de8\u865f\u3002", "type": "string", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "\u884c\u9805\u76ee\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "\u5546\u54c1\u70ba\u8b8a\u5316\u7248\u672c\u6642\u7684\u4e0a\u5c64\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "\u5546\u54c1\u7de8\u865f", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "\u8b8a\u6578\u7de8\u865f\uff0c\u5982\u679c\u9069\u7528\u3002", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "\u8a02\u8cfc\u6578\u91cf\u3002", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "\u5546\u54c1\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u524d)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "UI \u986f\u793a\u7684\u4e2d\u7e7c\u503c\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "\u5546\u54c1\u8ca8\u865f", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "\u5546\u54c1\u50f9\u683c\u3002", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "\u4e3b\u8981\u7522\u54c1\u5716\u7247\u7684\u5167\u5bb9\u3002", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "\u904b\u9001\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "\u904b\u9001\u65b9\u5f0f\u540d\u7a31.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7684\u5be6\u4f8b\u7de8\u865f\u3002", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "\u8cbb\u7528\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "\u8cbb\u7528\u540d\u7a31\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u985e\u5225\u3002", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "\u8cbb\u7528\u7684\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "\u884c\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "\u884c\u7a05\u91d1\u7e3d\u8a08 (\u6298\u6263\u4e4b\u5f8c)\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "\u884c\u7a05\u91d1\u3002", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "\u7a05\u7387\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "\u7a05\u91d1\u5c0f\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "\u6298\u50f9\u5238\u884c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u9805\u76ee\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "\u6298\u50f9\u5238\u4ee3\u78bc\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u6298\u6263\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u6298\u6263\u7a05\u91d1\u7e3d\u8a08\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "\u6298\u6263\u985e\u578b\u3002", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "\u512a\u60e0\u5238\u4e2d\u6240\u5b9a\u7fa9\u7684\u6298\u6263\u91d1\u984d (\u53ef\u8a2d\u70ba\u7d55\u5c0d\u503c\u6216\u767e\u5206\u6bd4\uff0c\u53d6\u6c7a\u65bc\u6298\u6263\u985e\u578b)\u3002", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "\u512a\u60e0\u5238\u662f\u5426\u63d0\u4f9b\u514d\u904b\u3002", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "\u5b9a\u7fa9\u8a02\u55ae\u662f\u5426\u5df2\u4ed8\u6b3e\u3002 \u6703\u5c07\u72c0\u614b\u8a2d\u70ba\u8655\u7406\u4e2d\uff0c\u4e26\u964d\u4f4e\u5b58\u8ca8\u3002", "type": "boolean", "required": false }, "manual_update": { "description": "\u624b\u52d5\u8a2d\u5b9a\u52d5\u4f5c\uff0c\u8a02\u55ae\u5099\u8a3b\u5373\u767b\u8a18\u70ba\u300c\u7531\u4f7f\u7528\u8005\u65b0\u589e\u300d\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/orders\/batch" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "\u5b57\u8a5e\u5c6c\u6027\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "name": { "description": "\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "type": "string", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "default": "select", "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/attributes" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "type": { "description": "\u5c6c\u6027\u985e\u578b\u3002", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "\u9810\u8a2d\u6392\u5e8f\u9806\u5e8f\u3002", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "\u555f\u7528\/\u505c\u7528\u5c6c\u6027\u5c01\u5b58\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "default": "default", "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/categories" } ] } }, "\/wc\/v3\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "parent": { "description": "\u7236\u9805\u8cc7\u6e90\u7684\u7de8\u865f\u3002", "type": "integer", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false }, "display": { "description": "\u5206\u985e\u5f59\u6574\u986f\u793a\u985e\u578b\u3002", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "\u5716\u7247\u8cc7\u8a0a", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u8cc7\u6e90\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/custom-fields\/names": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "order": { "description": "\u4ee5\u905e\u589e\u6216\u905e\u6e1b\u65b9\u5f0f\u6392\u5e8f\u9805\u76ee\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/custom-fields\/names" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\u767c\u4f48\u7684\u8a55\u8ad6\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u4f7f\u7528\u7279\u5b9a\u7684\u7de8\u865f\u9650\u5236\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u7d66\u7279\u5b9a\u4f7f\u7528\u8005 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u4f86\u81ea\u7279\u5b9a\u4f5c\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1 ID \u7684\u8a55\u8ad6\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u72c0\u614b\u7684\u8a55\u8ad6\u3002", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": true }, "product_name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "status": { "default": "approved", "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "\u8a55\u8ad6\u8005\u540d\u7a31\u3002", "required": true }, "reviewer_email": { "type": "string", "description": "\u8a55\u8ad6\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u3002", "required": true }, "review": { "type": "string", "description": "\u8a55\u8ad6\u5167\u5bb9\u3002", "required": true }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/reviews" } ] } }, "\/wc\/v3\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "product_id": { "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "product_name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "status": { "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "reviewer_email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "format": "email", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u8a55\u8ad6\u6240\u5c6c\u5546\u54c1\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "product_name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "status": { "description": "\u8a55\u8ad6\u72c0\u614b\u3002", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u8a55\u50f9\u8005\u59d3\u540d\u3002", "type": "string", "required": false }, "reviewer_email": { "description": "\u8a55\u50f9\u8005\u96fb\u5b50\u90f5\u4ef6\u3002", "type": "string", "format": "email", "required": false }, "review": { "description": "\u8a55\u50f9\u7684\u5167\u5bb9\u3002", "type": "string", "required": false }, "rating": { "description": "\u6aa2\u95b1\u8a55\u5206 (0 \u5230 5)\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/shipping_classes" } ] } }, "\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes\/slug-suggestion": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "\u904b\u9001\u985e\u5225\u540d\u7a31.", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/shipping_classes\/slug-suggestion" } ] } }, "\/wc\/v3\/products\/tags": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u4f9d\u7279\u5b9a\u6578\u91cf\u7684\u9805\u76ee\u4f86\u4f4d\u79fb\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u8cc7\u6e90\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u8981\u96b1\u85cf\u672a\u6307\u6d3e\u7d66\u4efb\u4f55\u5546\u54c1\u7684\u8cc7\u6e90\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u7236\u9805\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002 \u50c5\u9069\u7528\u968e\u5c64\u5f0f\u5206\u985e\u6cd5\u3002", "type": "integer", "required": false }, "product": { "description": "\u9650\u5236\u6307\u6d3e\u7d66\u7279\u5b9a\u5546\u54c1\u7684\u8cc7\u6e90\u7d50\u679c\u96c6\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u8cc7\u6e90\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u8cc7\u6e90\u7684\u540d\u7a31\u3002", "required": true }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/tags" } ] } }, "\/wc\/v3\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u6b64\u985e\u578b\u552f\u4e00\u7684\u8cc7\u6e90\u82f1\u6578\u8b58\u5225\u5143\u3002", "type": "string", "required": false }, "description": { "description": "\u8cc7\u6e90\u7684 HTML \u63cf\u8ff0\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u7d44\u5408\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u54c1\u724c ID \u7684\u7522\u54c1\u3002", "type": "string", "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u8207\u5b57\u4e32\u90e8\u5206\u76f8\u7b26\u7684\u8ca8\u865f\u3002 \u6b64\u5f15\u6578\u7684\u512a\u5148\u9806\u5e8f\u9ad8\u65bc 'sku'\u3002", "type": "string", "required": false }, "search_name_or_sku": { "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u8207\u5b57\u4e32\u90e8\u5206\u76f8\u7b26\u7684\u540d\u7a31\u6216\u8ca8\u865f\u3002 \u9019\u500b\u5f15\u6578\u7684\u512a\u5148\u9806\u5e8f\u9ad8\u65bc 'search'\u3001'sku' \u548c 'search_sku'\u3002", "type": "string", "required": false }, "search_fields": { "description": "\u642d\u914d\u641c\u5c0b\u53c3\u6578\u4f7f\u7528\u6642\uff0c\u5c07\u641c\u5c0b\u9650\u5b9a\u65bc\u7279\u5b9a\u6b04\u4f4d\u3002 \u53ef\u7528\u7684\u6b04\u4f4d\uff1aname\u3001SKU\u3001global_unique_id\u3001description\u3001short_description\u3002 \u6b64\u5f15\u6578\u7684\u512a\u5148\u9806\u5e8f\u9ad8\u65bc\u6240\u6709\u5176\u4ed6\u641c\u5c0b\u53c3\u6578\u3002", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7b26\u5408\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u7b26\u5408\u4efb\u4f55\u985e\u578b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ] }, "required": false }, "exclude_types": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u985e\u578b\u7684\u5546\u54c1\u3002", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ] }, "required": false }, "downloadable": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u53ef\u4e0b\u8f09\u7684\u5546\u54c1\u3002", "type": "boolean", "required": false }, "virtual": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u865b\u64ec\u5546\u54c1\u3002", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "default": "publish", "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/suggested-products": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u7d44\u5408\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u54c1\u724c ID \u7684\u7522\u54c1\u3002", "type": "string", "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "\u900f\u904e\u7279\u5b9a\u985e\u578b\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "featured": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u7279\u8272\u5546\u54c1\u3002", "type": "boolean", "required": false }, "category": { "description": "\u900f\u904e\u7279\u5b9a\u5206\u985e ID\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "tag": { "description": "\u900f\u904e\u7279\u5b9a\u6a19\u8a18\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "shipping_class": { "description": "\u900f\u904e\u7279\u5b9a\u904b\u9001\u985e\u5225 ID \u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "attribute": { "description": "\u900f\u904e\u7279\u5b9a\u5c6c\u6027\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002\u4f7f\u7528\u5206\u985e\u540d\u7a31\/\u5c6c\u6027\u4ee3\u7a31\u3002", "type": "string", "required": false }, "attribute_term": { "description": "\u900f\u904e\u7279\u5b9a\u8a5e\u5f59\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c (\u9700\u8981\u6307\u6d3e\u5c6c\u6027)\u3002", "type": "string", "required": false }, "in_stock": { "description": "\u5c07\u7d50\u679c\u9650\u65bc\u5eab\u5b58\u6216\u7f3a\u8ca8\u7522\u54c1\u3002", "type": "boolean", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u5546\u54c1\u985e\u5225 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u5546\u54c1\u6a19\u7c64 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u5efa\u8b70\u5546\u54c1\u7684\u7279\u5b9a\u6578\u91cf\u3002", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/products\/suggested-products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "\u5546\u54c1\u540d\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u5546\u54c1\u52d5\u614b\u7db2\u5740", "type": "string", "required": false }, "date_created": { "description": "\u5546\u54c1\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "\u5efa\u7acb\u7522\u54c1\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "type": { "description": "\u5546\u54c1\u985e\u578b\u3002", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "easy_product_bundle" ], "required": false }, "status": { "description": "\u5546\u54c1\u72c0\u614b (\u6587\u7ae0\u72c0\u614b)\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "\u7279\u8272\u5546\u54c1.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "\u76ee\u9304\u80fd\u898b\u5ea6\u3002", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "\u5546\u54c1\u63cf\u8ff0\u3002", "type": "string", "required": false }, "short_description": { "description": "\u5546\u54c1\u7c21\u77ed\u63cf\u8ff0\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u5546\u54c1\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u5546\u54c1\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u5546\u54c1\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5982\u679c\u5546\u54c1\u70ba\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "external_url": { "description": "\u5546\u54c1\u5916\u90e8 URL\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "\u5546\u54c1\u5916\u90e8\u6309\u9215\u6587\u5b57\u3002 \u50c5\u4f9b\u5916\u90e8\u5546\u54c1\u4f7f\u7528\u3002", "type": "string", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u5546\u54c1\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": "boolean", "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u7522\u54c1\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "\u5141\u8a31\u55ae\u4e00\u8a02\u55ae\u4e2d\u53ea\u8cfc\u8cb7\u4e00\u9805\u5546\u54c1\u3002", "type": "boolean", "required": false }, "weight": { "description": "\u5546\u54c1\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u5546\u54c1\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u5546\u54c1\u9577\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u5546\u54c1\u5bec\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u5546\u54c1\u9ad8\u5ea6 (\u516c\u5206).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "reviews_allowed": { "description": "\u5141\u8a31\u8a55\u50f9\u3002", "type": "boolean", "required": false }, "post_password": { "description": "\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false }, "upsell_ids": { "description": "\u9032\u968e\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "\u6a6b\u5411\u92b7\u552e\u5546\u54c1\u7de8\u865f\u6e05\u55ae\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u5546\u54c1\u7236\u9805\u7de8\u865f\u3002", "type": "integer", "required": false }, "purchase_note": { "description": "\u53ef\u9078\u8981\u5728\u8cfc\u8cb7\u4e4b\u5f8c\u5bc4\u9001\u5099\u8a3b\u7d66\u5ba2\u6236\u3002", "type": "string", "required": false }, "categories": { "description": "\u5206\u985e\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5206\u985e ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5206\u985e\u540d\u7a31", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u5206\u985e\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "\u54c1\u724c\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u54c1\u724c ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u54c1\u724c\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u54c1\u724c\u4ee3\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "\u6a19\u7c64\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a19\u7c64 ID\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u6a19\u7c64\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "\u6a19\u7c64\u52d5\u614b\u7db2\u5740\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "\u5716\u7247\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "\u5c6c\u6027\u4f4d\u7f6e\u3002", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u4ee5\u5728\u5546\u54c1\u9801\u7684\u300c\u5176\u4ed6\u8cc7\u8a0a\u300d\u7d22\u5f15\u6a19\u7c64\u4e2d\u770b\u898b\u5c6c\u6027\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "\u5b9a\u7fa9\u662f\u5426\u53ef\u5c07\u5c6c\u6027\u7576\u505a\u8b8a\u6578\u4f7f\u7528\u3002", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "\u5c6c\u6027\u7684\u53ef\u7528\u8a5e\u5f59\u540d\u7a31\u6e05\u55ae\u3002", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "\u9810\u8a2d\u8b8a\u6578\u5c6c\u6027\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "\u5c07\u7d50\u679c\u96c6\u8a2d\u5b9a\u70ba\u6709\u6216\u6c92\u6709\u50f9\u683c\u7684\u7522\u54c1\u3002", "type": "boolean", "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6307\u5b9a\u5c6c\u6027\u7684\u7522\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "\u5c6c\u6027\u4ee3\u7a31\u3002" }, "term": { "type": "string", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" }, "terms": { "type": "array", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" } } }, "required": false }, "virtual": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u865b\u64ec\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u53ef\u4e0b\u8f09\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "include_status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u7b26\u5408\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "\u70ba\u53ef\u8b8a\u7684\u7368\u7279\u8fa6\u8b58\u5546\u54c1\u3002", "type": "integer", "required": false }, "delete": { "description": "\u522a\u9664\u4e0d\u4f7f\u7528\u7684\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "default_values": { "description": "\u6240\u7522\u751f\u6b3e\u5f0f\u7684\u9810\u8a2d\u503c\u3002", "type": "object", "properties": { "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8ca8\u865f\u3002", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u7a05\u7387\u985e\u5225", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } }, "required": false }, "description": { "description": "\u8b8a\u5316\u985e\u578b\u8aaa\u660e\u3002", "type": "string", "required": false }, "sku": { "description": "\u8ca8\u865f\u3002", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN\u3001UPC\u3001EAN \u6216 ISBN\u3002", "type": "string", "required": false }, "regular_price": { "description": "\u8b8a\u6578\u4e00\u822c\u50f9\u683c\u3002", "type": "string", "required": false }, "sale_price": { "description": "\u53ef\u8b8a\u6298\u6263\u50f9\u3002", "type": "string", "required": false }, "date_on_sale_from": { "description": "\u6298\u6263\u50f9\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "\u6298\u6263\u50f9\u683c\u7684\u958b\u59cb\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "\u6298\u6263\u50f9\u7684\u7d50\u675f\u65e5\u671f\uff0c\u4ee5\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u3002", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "\u8b8a\u5316\u7248\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "\u662f\u5426\u70ba\u5be6\u969b\u8b8a\u6578\u3002", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "\u8b8a\u6578\u662f\u5426\u53ef\u4e0b\u8f09\u3002", "type": "boolean", "required": false }, "downloads": { "description": "\u53ef\u4e0b\u8f09\u5546\u54c1\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u6a94\u6848 ID\u3002", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "\u6a94\u6848\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "\u6a94\u6848\u7db2\u5740.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "\u8cfc\u8cb7\u5f8c\u6a94\u6848\u53ef\u4e0b\u8f09\u7684\u6b21\u6578\u3002", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "\u5728\u904e\u671f\u524d\u9084\u6709\u591a\u5c11\u5929\u6578\u53ef\u4e0b\u8f09\u6a94\u6848\u3002", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "\u7a05\u91d1\u72c0\u614b\u3002", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "\u8b8a\u6578\u7b49\u7d1a\u7684\u5b58\u8ca8\u7ba1\u7406\u3002", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "\u5b58\u8ca8\u6578\u91cf\u3002", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "\u63a7\u5236\u7522\u54c1\u7684\u5eab\u5b58\u72c0\u614b\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "\u82e5\u8981\u7ba1\u7406\u5eab\u5b58\uff0c\u6b64\u8a2d\u5b9a\u53ef\u63a7\u5236\u662f\u5426\u5141\u8a31\u7121\u5eab\u5b58\u4e0b\u55ae\u3002", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "\u6b64\u6b3e\u5f0f\u5eab\u5b58\u4e0d\u8db3\u3002", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "\u8b8a\u6578\u91cd\u91cf (\u516c\u65a4)\u3002", "type": "string", "required": false }, "dimensions": { "description": "\u8b8a\u6578\u5c3a\u5bf8\u3002", "type": "object", "properties": { "length": { "description": "\u8b8a\u6578\u9577\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "\u8b8a\u6578\u5bec\u5ea6 (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "\u8b8a\u6578\u9ad8\u91cf (\u516c\u5206)\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "\u904b\u9001\u985e\u5225\u4ee3\u7a31\u3002", "type": "string", "required": false }, "image": { "description": "\u8b8a\u6578\u5716\u7247\u8cc7\u6599\u3002", "type": "object", "properties": { "id": { "description": "\u5716\u7247\u7de8\u865f.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "\u5716\u7247\u5efa\u7acb\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "\u5efa\u7acb\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "\u5716\u7247\u4e0a\u6b21\u4fee\u6539\u7684\u65e5\u671f\uff0c\u4f7f\u7528\u7db2\u7ad9\u6642\u5340\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "\u6700\u5f8c\u4fee\u6539\u5716\u7247\u7684\u65e5\u671f\uff0c\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u3002", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "\u5716\u7247\u7db2\u5740.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "\u5716\u7247\u540d\u7a31.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "\u5716\u7247\u66ff\u4ee3\u6587\u5b57", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "\u5c6c\u6027\u6e05\u55ae\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5c6c\u6027\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "\u5c6c\u6027\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "\u9078\u53d6\u7684\u5c6c\u6027\u8a5e\u5f59\u540d\u7a31\u3002", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "\u529f\u80fd\u8868\u9806\u5e8f\uff0c\u7528\u4f86\u81ea\u8a02\u6392\u5e8f\u5546\u54c1\u3002", "type": "integer", "required": false }, "meta_data": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "\u5143\u7de8\u865f\u3002", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "\u5143\u9375\u3002", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "\u5143\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/refunds": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "\u5c0f\u6578\u9ede\u4f7f\u7528\u5728\u6bcf\u500b\u8cc7\u6e90\u7684\u6578\u91cf\u3002", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "\u50c5\u986f\u793a\u8981\u5728\u8a02\u55ae\u986f\u793a\u7684\u4e2d\u7e7c\u8cc7\u6599\u3002", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/refunds" } ] } }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false }, "date_max": { "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "\u5831\u8868\u671f\u9593\u3002", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "\u7279\u5b9a\u958b\u59cb\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false }, "date_max": { "description": "\u7279\u5b9a\u7d50\u675f\u65e5\u671f\u7684\u92b7\u8ca8\u9000\u56de\uff0c\u65e5\u671f\u5fc5\u9808\u70ba YYYY-MM-DD \u683c\u5f0f\u3002", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/settings" } ] } }, "\/wc\/v3\/settings\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "\u8a2d\u5b9a\u7fa4\u7d44\u7de8\u865f\u3002", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "required": true }, "order": { "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/shipping\/zones" } ] } }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "name": { "description": "\u904b\u9001\u5340\u57df\u540d\u7a31", "type": "string", "required": false }, "order": { "description": "\u904b\u9001\u5340\u57df\u6392\u5e8f\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "code": { "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u4ee3\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u904b\u9001\u5340\u57df\u4f4d\u7f6e\u985e\u578b\u3002", "type": "string", "enum": [ "postcode", "state", "country", "continent" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "order": { "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer", "required": false }, "enabled": { "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "settings": { "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object", "properties": { "id": { "description": "\u8a2d\u5b9a\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u7528\u65bc\u754c\u9762\u8a2d\u5b9a\u4e0a\u7684\u4e00\u7d44\u53ef\u4f9b\u4eba\u95b1\u8b80\u7684\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "\u7c21\u55ae\u6613\u8b80\u7684\u8aaa\u660e\uff0c\u95dc\u65bc\u4ecb\u9762\u4e2d\u6240\u4f7f\u7528\u7684\u8a2d\u5b9a\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "\u8a2d\u5b9a\u985e\u578b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "\u8a2d\u5b9a\u7684\u9810\u8a2d\u503c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "\u95dc\u65bc\u8a2d\u5b9a\u7684\u9644\u52a0\u5354\u52a9\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "\u8981\u986f\u793a\u5728\u6587\u5b57\u8f38\u5165\u7684\u9810\u7559\u4f4d\u7f6e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "\u904b\u9001\u65b9\u5f0f\u7de8\u865f\u3002", "required": true } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "instance_id": { "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "instance_id": { "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "order": { "description": "\u904b\u9001\u65b9\u5f0f\u6392\u5e8f\u3002", "type": "integer", "required": false }, "enabled": { "description": "\u904b\u9001\u65b9\u5f0f\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "settings": { "description": "\u904b\u9001\u65b9\u5f0f\u8a2d\u5b9a", "type": "object", "properties": { "id": { "description": "\u8a2d\u5b9a\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u7528\u65bc\u754c\u9762\u8a2d\u5b9a\u4e0a\u7684\u4e00\u7d44\u53ef\u4f9b\u4eba\u95b1\u8b80\u7684\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "\u7c21\u55ae\u6613\u8b80\u7684\u8aaa\u660e\uff0c\u95dc\u65bc\u4ecb\u9762\u4e2d\u6240\u4f7f\u7528\u7684\u8a2d\u5b9a\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "\u8a2d\u5b9a\u985e\u578b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "\u8a2d\u5b9a\u7684\u9810\u8a2d\u503c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "\u95dc\u65bc\u8a2d\u5b9a\u7684\u9644\u52a0\u5354\u52a9\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "\u8981\u986f\u793a\u5728\u6587\u5b57\u8f38\u5165\u7684\u9810\u7559\u4f4d\u7f6e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "\u5340\u57df\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "instance_id": { "description": "\u57f7\u884c\u500b\u9ad4\u7684\u55ae\u4e00\u7de8\u865f\u3002", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "\u662f\u5426\u8981\u5ffd\u7565\u5783\u573e\u4e26\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "\u7a05\u91d1\u985e\u5225\u540d\u7a31\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/taxes\/classes" } ] } }, "\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "\u8cc7\u6e90\u7684\u55ae\u4e00\u4ee3\u7a31\u3002", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "\u4f9d\u7a05\u7387\u985e\u5225.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u90f5\u905e\u5340\u865f\u300d\u3002", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u57ce\u5e02\u300d\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "default": 1, "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "default": false, "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "default": "standard", "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "\u90f5\u905e\u5340\u865f\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "\u57ce\u5e02\u540d\u7a31\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/taxes" } ] } }, "\/wc\/v3\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u90f5\u905e\u5340\u865f\u300d\u3002", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u57ce\u5e02\u300d\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "\u90f5\u905e\u5340\u865f\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "\u57ce\u5e02\u540d\u7a31\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "\u570b\u5bb6 ISO 3166 \u4ee3\u78bc\u3002", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "\u90f5\u905e\u5340\u865f\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u90f5\u905e\u5340\u865f\u300d\u3002", "type": "string", "required": false }, "city": { "description": "\u57ce\u5e02\u540d\u7a31\uff0c\u4e0d\u652f\u63f4\u591a\u500b\u503c\u3002 \u81ea WooCommerce 5.3 \u8d77\u88ab\u53d6\u4ee3\uff0c\u61c9\u6539\u70ba\u4f7f\u7528\u300c\u57ce\u5e02\u300d\u3002", "type": "string", "required": false }, "rate": { "description": "\u7a05\u7387.", "type": "string", "required": false }, "name": { "description": "\u7a05\u7387\u540d\u7a31.", "type": "string", "required": false }, "priority": { "description": "\u7a05\u7387\u512a\u5148\u6392\u5e8f.", "type": "integer", "required": false }, "compound": { "description": "\u9019\u500b\u662f\u5426\u70ba\u8907\u5408\u7a05\u7387.", "type": "boolean", "required": false }, "shipping": { "description": "\u6b64\u7a05\u7387\u662f\u5426\u4e5f\u5957\u7528\u81f3\u904b\u9001\u3002", "type": "boolean", "required": false }, "order": { "description": "\u8868\u793a\u51fa\u73fe\u5728\u67e5\u8a62\u4e2d\u7684\u9806\u5e8f\u3002", "type": "integer", "required": false }, "class": { "description": "\u7a05\u7387\u985e\u5225", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "\u90f5\u905e\u5340\u865f\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "\u57ce\u5e02\u540d\u7a31\u6e05\u55ae\u3002 \u5728 WooCommerce 5.3 \u4e2d\u63a8\u51fa\u3002", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/variations": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5236\u70ba\u6307\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4ee5\u524d\u4fee\u6539\u7684\u8cc7\u6e90\u3002", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "\u4f9d\u767c\u8868\u6216\u4fee\u6539\u65e5\u671f\u9650\u5236\u56de\u61c9\u6642\uff0c\u662f\u5426\u8003\u616e\u683c\u6797\u5a01\u6cbb\u6a19\u6e96\u6642\u9593 (GMT) \u6587\u7ae0\u65e5\u671f\u3002", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "\u9650\u5236\u7279\u5b9a\u7236\u9805\u7de8\u865f\u7684\u7d50\u679c\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "\u900f\u904e\u7279\u5b9a\u52d5\u614b\u7db2\u5740\u8a2d\u5b9a\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "status": { "default": "any", "description": "\u900f\u904e\u7279\u5b9a\u72c0\u614b\u6307\u6d3e\u5546\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u70ba\u5177\u6709\u7279\u5b9a SKU \u7684\u7522\u54c1\u3002\u4ee5\u9017\u865f\u5206\u9694\u3002", "type": "string", "required": false }, "on_sale": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u7279\u50f9\u5546\u54c1\u3002", "type": "boolean", "required": false }, "min_price": { "description": "\u900f\u904e\u6700\u4f4e\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "max_price": { "description": "\u900f\u904e\u6700\u9ad8\u50f9\u683c\u8a2d\u5b9a\u7522\u54c1\u7684\u9650\u5236\u7d50\u679c\u3002", "type": "string", "required": false }, "include_meta": { "default": [], "description": "\u8acb\u5c07 meta_data \u9650\u70ba\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "\u8acb\u78ba\u4fdd meta_data \u6392\u9664\u7279\u5b9a\u7d22\u5f15\u9375\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "\u9650\u5b9a\u7d50\u679c\u70ba\u5177\u7279\u5eab\u5b58\u72c0\u614b\u7684\u5546\u54c1\u3002", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "\u5c07\u7d50\u679c\u96c6\u8a2d\u5b9a\u70ba\u6709\u6216\u6c92\u6709\u50f9\u683c\u7684\u7522\u54c1\u3002", "type": "boolean", "required": false }, "attributes": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5236\u5728\u5177\u6709\u6307\u5b9a\u5c6c\u6027\u7684\u7522\u54c1\u3002", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "\u5c6c\u6027\u4ee3\u7a31\u3002" }, "term": { "type": "string", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" }, "terms": { "type": "array", "description": "\u5c6c\u6027\u8a5e\u5f59\u3002" } } }, "required": false }, "virtual": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u865b\u64ec\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "downloadable": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u53ef\u4e0b\u8f09\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "boolean", "required": false }, "include_status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u65bc\u7b26\u5408\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "\u6392\u9664\u7b26\u5408\u7d50\u679c\u96c6\u5167\u4efb\u4f55\u72c0\u614b\u7684\u5546\u54c1\u6b3e\u5f0f\u3002", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/variations" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u5f8c\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u7d66\u5b9a ISO8601 \u76f8\u5bb9\u65e5\u671f\u4e4b\u524d\uff0c\u9650\u5236\u5df2\u767c\u884c\u8cc7\u6e90\u7684\u56de\u61c9\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u8a2d\u5b9a\u6392\u9664\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u9650\u5236\u7d50\u679c\u8a2d\u5b9a\u70ba\u7279\u5b9a\u7de8\u865f\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limit result set to webhooks assigned a specific status.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook topic.", "required": true }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook delivery URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/webhooks" } ] } }, "\/wc\/v3\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "\u5bc6\u9470\u7528\u65bc\u7522\u751f\u5df2\u50b3\u9001 Webhook \u7684\u96dc\u6e4a\uff0c\u4e26\u6703\u65bc\u8981\u6c42\u9801\u9996\u4e2d\u63d0\u4f9b\u3002\u5982\u672a\u63d0\u4f9b\uff0c\u5247\u6703\u9810\u8a2d\u70ba\u76ee\u524d\u4f7f\u7528\u8005 ID|\u4f7f\u7528\u8005\u540d\u7a31\u7684 MD5 \u96dc\u6e4a\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/system_status\/tools" } ] } }, "\/wc\/v3\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u5de5\u5177\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "name": { "description": "\u5de5\u5177\u540d\u7a31\u3002", "type": "string", "required": false }, "action": { "description": "\u904b\u884c\u8a72\u5de5\u5177\u5c07\u6703\u505a\u4ec0\u9ebc\u3002", "type": "string", "required": false }, "description": { "description": "\u5de5\u5177\u63cf\u8ff0\u3002", "type": "string", "required": false }, "success": { "description": "\u5de5\u5177\u662f\u5426\u6210\u529f\u904b\u884c\uff1f", "type": "boolean", "required": false }, "message": { "description": "\u5de5\u5177\u56de\u50b3\u8a0a\u606f\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/payment_gateways" } ] } }, "\/wc\/v3\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "title": { "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u6a19\u984c\u3002", "type": "string", "required": false }, "description": { "description": "\u7d50\u5e33\u6642\uff0c\u4ed8\u6b3e\u9598\u9053\u7684\u8aaa\u660e\u3002", "type": "string", "required": false }, "order": { "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u6392\u5e8f\u9806\u5e8f\u3002", "type": "integer", "required": false }, "enabled": { "description": "\u4ed8\u6b3e\u9598\u9053\u65b9\u5f0f\u5df2\u555f\u7528\u72c0\u614b\u3002", "type": "boolean", "required": false }, "settings": { "description": "\u4ed8\u6b3e\u9598\u9053\u8a2d\u5b9a\u3002", "type": "object", "properties": { "id": { "description": "\u8a2d\u5b9a\u7684\u55ae\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "\u7528\u65bc\u754c\u9762\u8a2d\u5b9a\u4e0a\u7684\u4e00\u7d44\u53ef\u4f9b\u4eba\u95b1\u8b80\u7684\u6a19\u7c64\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "\u7c21\u55ae\u6613\u8b80\u7684\u8aaa\u660e\uff0c\u95dc\u65bc\u4ecb\u9762\u4e2d\u6240\u4f7f\u7528\u7684\u8a2d\u5b9a\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "\u8a2d\u5b9a\u985e\u578b\u3002", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "\u8a2d\u5b9a\u503c\u3002", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "\u8a2d\u5b9a\u7684\u9810\u8a2d\u503c\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "\u95dc\u65bc\u8a2d\u5b9a\u7684\u9644\u52a0\u5354\u52a9\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "\u8981\u986f\u793a\u5728\u6587\u5b57\u8f38\u5165\u7684\u9810\u7559\u4f4d\u7f6e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/data": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "2 \u5b57\u5143\u6d32\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/data\/currencies\/current" } ] } }, "\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO4217 \u8ca8\u5e63\u4ee3\u78bc\u3002", "type": "string", "required": false } } } ] }, "\/wc\/v3\/paypal-standard\/update-shipping": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/paypal-standard\/update-shipping" } ] } }, "\/wc\/v3\/paypal-webhooks": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/paypal-webhooks" } ] } }, "\/wc\/v3\/paypal-buttons\/create-order": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/paypal-buttons\/create-order" } ] } }, "\/wc\/v3\/paypal-buttons\/cancel-payment": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/paypal-buttons\/cancel-payment" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "\u8a02\u55ae\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "expiration_date": { "description": "\u904e\u671f\u65e5\u671f\u7684\u683c\u5f0f\u70ba yyyy-mm-dd\u3002", "type": "string", "default": null, "required": false }, "expiration_days": { "description": "\u5728\u76ee\u524d\u7684\u65e5\u671f\u52a0\u4e0a\u5929\u6578\uff0c\u4fbf\u53ef\u7522\u751f\u904e\u671f\u65e5\u671f\u3002", "type": "integer", "default": 1, "required": false }, "force_new": { "description": "\u5373\u4f7f\u6536\u64da\u5df2\u7d93\u5b58\u5728\u4e14\u5c1a\u672a\u904e\u671f\uff0c\u4e5f\u53ef\u4ee5\u5f37\u5236\u5efa\u7acb\u65b0\u7684\u6536\u64da\u3002", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "\u8a02\u55ae\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/email_templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u8a02\u55ae\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_email": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "\u8a02\u55ae\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "email": { "description": "\u7528\u65bc\u50b3\u9001\u8a02\u55ae\u8a73\u7d30\u8cc7\u6599\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "\u662f\u5426\u66f4\u65b0\u8a02\u55ae\u7684\u5e33\u55ae\u96fb\u5b50\u90f5\u4ef6 (\u5373\u4f7f\u8a02\u55ae\u5df2\u6709\u96fb\u5b50\u90f5\u4ef6\u4ea6\u7136)\u3002", "type": "boolean", "required": false }, "template_id": { "description": "\u50b3\u9001\u96fb\u5b50\u90f5\u4ef6\u6240\u7528\u4e4b\u7bc4\u672c\u7684 ID\u3002", "type": "string", "enum": [ "new_order", "cancelled_order", "customer_cancelled_order", "failed_order", "customer_failed_order", "customer_on_hold_order", "customer_processing_order", "customer_completed_order", "customer_refunded_order", "customer_invoice", "customer_note", "customer_reset_password", "customer_new_account", "customer_pos_completed_order", "customer_pos_refunded_order" ], "required": true } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_order_details": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "\u8a02\u55ae\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "email": { "description": "\u7528\u65bc\u50b3\u9001\u8a02\u55ae\u8a73\u7d30\u8cc7\u6599\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "\u662f\u5426\u66f4\u65b0\u8a02\u55ae\u7684\u5e33\u55ae\u96fb\u5b50\u90f5\u4ef6 (\u5373\u4f7f\u8a02\u55ae\u5df2\u6709\u96fb\u5b50\u90f5\u4ef6\u4ea6\u7136)\u3002", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/statuses": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc\/v3\/orders\/statuses" } ] } }, "\/wc-admin\/settings\/payments\/country": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "location": { "description": "\u8981\u70ba\u76ee\u524d\u4f7f\u7528\u8005\u5132\u5b58\u7684 ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/country" } ] } }, "\/wc-admin\/settings\/payments\/providers": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 WooCommerce \u57fa\u672c\u4f4d\u7f6e\u570b\u5bb6\/\u5730\u5340\u7684\u9810\u8a2d\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/providers" } ] } }, "\/wc-admin\/settings\/payments\/providers\/order": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "order_map": { "description": "\u4ee3\u8868\u6392\u5e8f\u7684\u6574\u6578\u503c\u4f9b\u61c9\u5546 ID \u5c0d\u61c9\u3002", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/providers\/order" } ] } }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/attach": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/incentive\/(?P[\\w\\d\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "\u7528\u4f86\u64a4\u92b7\u734e\u52f5\u7684\u5167\u5bb9 ID\u3002 \u82e5\u672a\u63d0\u4f9b\uff0c\u7cfb\u7d71\u5c07\u64a4\u92b7\u6240\u6709\u60c5\u6cc1\u4e0b\u9069\u7528\u7684\u734e\u52f5\u3002", "type": "string", "required": false }, "do_not_track": { "description": "\u82e5\u70ba true\uff0c\u8ffd\u8e64\u529f\u80fd\u5c07\u6703\u7565\u904e\u734e\u52f5\u63aa\u65bd\u5ffd\u7565\u52d5\u4f5c\u3002", "type": "boolean", "default": false, "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/start": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/save": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/check": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/finish": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/clean": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/init": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/init" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/reset": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/reset" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session\/finish": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session\/finish" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/test_account\/disable": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "\u6b64\u8981\u6c42\u5728\u7533\u8acb\u6d41\u7a0b\u4e2d\u88ab\u89f8\u767c\u7684\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/test_account\/disable" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/preload": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/preload" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/reset": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "\u6b64\u8981\u6c42\u5728\u7533\u8acb\u6d41\u7a0b\u4e2d\u88ab\u89f8\u767c\u7684\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/reset" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/woopay-eligibility": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/woopay-eligibility" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/test_account\/disable": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 \u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002 \u9810\u8a2d\u70ba\u5df2\u5132\u5b58\u7684\u4f9b\u61c9\u5546\u4f01\u696d\u5730\u9ede\u570b\u5bb6\/\u5730\u5340\u4ee3\u78bc\u3002", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "\u6b64\u8981\u6c42\u5728\u7533\u8acb\u6d41\u7a0b\u4e2d\u88ab\u89f8\u767c\u7684\u4f4d\u7f6e\u3002", "type": "string", "required": false }, "source": { "description": "\u5546\u5bb6\u9032\u5165\u7533\u8acb\u6d41\u7a0b\u7684\u6700\u4e0a\u5c64\u9032\u5165\u9ede\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/test_account\/disable" } ] } }, "\/wc-admin-email": { "namespace": "wc-admin-email", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin-email", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin-email" } ] } }, "\/wc-admin-email\/settings\/email\/send-preview": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "description": "\u8981\u9810\u89bd\u7684\u96fb\u5b50\u90f5\u4ef6\u985e\u578b\u3002", "type": "string", "required": true }, "email": { "description": "\u96fb\u5b50\u90f5\u4ef6\u9810\u89bd\u7684\u6536\u4ef6\u4eba\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin-email\/settings\/email\/send-preview" } ] } }, "\/wc-admin-email\/settings\/email\/preview-subject": { "namespace": "wc-admin-email", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "\u8981\u52a0\u5165\u4e3b\u65e8\u7684\u96fb\u5b50\u90f5\u4ef6\u985e\u578b\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin-email\/settings\/email\/preview-subject" } ] } }, "\/wc-admin-email\/settings\/email\/save-transient": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "type": "string", "description": "The key for the transient. Must be one of the allowed options.", "required": true }, "value": { "type": "string", "description": "The value to be saved for the transient.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin-email\/settings\/email\/save-transient" } ] } }, "\/wc-admin-email\/settings\/email\/listing\/recreate-email-post": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "email_id": { "description": "\u9808\u91cd\u65b0\u5efa\u7acb\u6587\u7ae0\u7684\u96fb\u5b50\u90f5\u4ef6 ID\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-admin-email\/settings\/email\/listing\/recreate-email-post" } ] } }, "\/wc-telemetry": { "namespace": "wc-telemetry", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-telemetry", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-telemetry" } ] } }, "\/wc-telemetry\/tracker": { "namespace": "wc-telemetry", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "platform": { "description": "\u8981\u8ffd\u8e64\u7684\u5e73\u53f0\u3002", "type": "string", "required": true }, "version": { "description": "\u8981\u8ffd\u8e64\u7684\u5e73\u53f0\u7248\u672c\u3002", "type": "string", "required": true }, "installation_date": { "description": "WooCommerce \u884c\u52d5\u88dd\u7f6e\u61c9\u7528\u7a0b\u5f0f\u7684\u5b89\u88dd\u65e5\u671f\u3002", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wc-telemetry\/tracker" } ] } }, "\/wccom-site\/v3": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wccom-site\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3" } ] } }, "\/wccom-site\/v3\/installer\/(?P\\d+)\/state": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "type": "integer", "required": true } } } ] }, "\/wccom-site\/v3\/installer": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "run-until-step": { "type": "string", "enum": [ "get_product_info", "download_product", "unpack_product", "move_product", "activate_product" ], "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3\/installer" } ] } }, "\/wccom-site\/v3\/installer\/reset": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3\/installer\/reset" } ] } }, "\/wccom-site\/v3\/ssr": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3\/ssr" } ] } }, "\/wccom-site\/v3\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3\/status" } ] } }, "\/wccom-site\/v3\/connection\/disconnect": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3\/connection\/disconnect" } ] } }, "\/wccom-site\/v3\/connection\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wccom-site\/v3\/connection\/status" } ] } }, "\/wpforms\/v1": { "namespace": "wpforms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wpforms\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1" } ] } }, "\/wpforms\/v1\/setup-wizard\/hydrate": { "namespace": "wpforms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/hydrate" } ] } }, "\/wpforms\/v1\/setup-wizard\/update": { "namespace": "wpforms\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/update" } ] } }, "\/wpforms\/v1\/setup-wizard\/install-plugins": { "namespace": "wpforms\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "plugins": { "type": "array", "default": [], "items": { "type": "string" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/install-plugins" } ] } }, "\/wpforms\/v1\/setup-wizard\/complete": { "namespace": "wpforms\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "outcome": { "type": "string", "default": "build", "enum": [ "build", "import", "exit", "forms" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/complete" } ] } }, "\/wpforms\/v1\/setup-wizard\/stripe\/connect-url": { "namespace": "wpforms\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/stripe\/connect-url" } ] } }, "\/wpforms\/v1\/setup-wizard\/license\/key": { "namespace": "wpforms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/license\/key" } ] } }, "\/wpforms\/v1\/setup-wizard\/license\/verify": { "namespace": "wpforms\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wpforms\/v1\/setup-wizard\/license\/verify" } ] } }, "\/asnp-easy-product-bundles\/v1": { "namespace": "asnp-easy-product-bundles\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "asnp-easy-product-bundles\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/asnp-easy-product-bundles\/v1" } ] } }, "\/asnp-easy-product-bundles\/v1\/items": { "namespace": "asnp-easy-product-bundles\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/asnp-easy-product-bundles\/v1\/items" } ] } }, "\/asnp-easy-product-bundles\/v1\/settings": { "namespace": "asnp-easy-product-bundles\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/asnp-easy-product-bundles\/v1\/settings" } ] } }, "\/asnp-easy-product-bundles\/v1\/filter-products": { "namespace": "asnp-easy-product-bundles\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "filter": { "description": "Filter variable product variations or all products.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/asnp-easy-product-bundles\/v1\/filter-products" } ] } }, "\/asnp-easy-product-bundles\/v1\/review": { "namespace": "asnp-easy-product-bundles\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/asnp-easy-product-bundles\/v1\/review" } ] } }, "\/nps-survey\/v1": { "namespace": "nps-survey\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "nps-survey\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/nps-survey\/v1" } ] } }, "\/nps-survey\/v1\/rating": { "namespace": "nps-survey\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nps_id": { "type": "string", "required": true }, "rating": { "type": "integer", "required": true }, "comment": { "type": "string", "default": "", "required": false }, "plugin_slug": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/nps-survey\/v1\/rating" } ] } }, "\/nps-survey\/v1\/dismiss-nps-survey": { "namespace": "nps-survey\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nps_id": { "type": "string", "required": true }, "plugin_slug": { "type": "string", "required": true }, "dismiss_timespan": { "type": "integer", "required": true }, "current_step": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/nps-survey\/v1\/dismiss-nps-survey" } ] } }, "\/elementor\/v1\/library\/connect": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "token": { "type": "string", "description": "Connect CLI token", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/library\/connect" } ] } }, "\/elementor\/v1\/send-event": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "event_data": { "description": "All the recorded event data in JSON format", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/elementor\/v1\/send-event" } ] } }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/verify_registration" } ] } }, "\/jetpack\/v4\/remote_authorize": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/remote_authorize" } ] } }, "\/jetpack\/v4\/remote_provision": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/remote_provision" } ] } }, "\/jetpack\/v4\/remote_register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/remote_register" } ] } }, "\/jetpack\/v4\/remote_connect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/remote_connect" } ] } }, "\/jetpack\/v4\/connection\/check": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/check" } ] } }, "\/jetpack\/v4\/connection": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "isActive": { "description": "Set to false will trigger the site to disconnect.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection" } ] } }, "\/jetpack\/v4\/connection\/user": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/user" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/plugins" } ] } }, "\/jetpack\/v4\/connection\/reconnect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/reconnect" } ] } }, "\/jetpack\/v4\/connection\/register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "from": { "description": "Indicates where the registration action was triggered for tracking\/segmentation purposes", "type": "string", "required": false }, "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false }, "plugin_slug": { "description": "Indicates from what plugin the request is coming from", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/register" } ] } }, "\/jetpack\/v4\/connection\/authorize_url": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/authorize_url" } ] } }, "\/jetpack\/v4\/user-token": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "user_token": { "description": "New user token", "type": "string", "required": true }, "is_connection_owner": { "description": "Is connection owner", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/user-token" } ] } }, "\/jetpack\/v4\/connection\/owner": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "owner": { "description": "New owner", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "author": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u57fa\u65bc\u591a\u500b\u5206\u985e\u6cd5\u9593\u7684\u95dc\u4fc2\u3002", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [categories] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "\u662f\u5426\u5728\u9650\u5236\u7d50\u679c\u96c6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u4e2d\u5305\u542b\u5b50\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [categories] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "\u662f\u5426\u5728\u9650\u5236\u7d50\u679c\u96c6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u4e2d\u5305\u542b\u5b50\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [tags] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [tags] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7f6e\u9802\u9805\u76ee\u3002", "type": "boolean", "required": false }, "ignore_sticky": { "description": "\u662f\u5426\u5ffd\u7565\u7f6e\u9802\u6587\u7ae0\u3002", "type": "boolean", "default": true, "required": false }, "format": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u6307\u5b9a\u683c\u5f0f\u7684\u9805\u76ee\u3002", "type": "array", "uniqueItems": true, "items": { "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "\u6587\u7ae0\u7684\u683c\u5f0f\u3002", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "\u662f\u5426\u61c9\u5c07\u6587\u7ae0\u7f6e\u9802\u3002", "type": "boolean", "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "categories": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008category\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008post_tag\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/posts" } ] } }, "\/wp\/v2\/posts\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "\u8986\u5beb\u9810\u8a2d\u5167\u5bb9\u6458\u8981\u9577\u5ea6\u3002", "type": "integer", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "\u6587\u7ae0\u7684\u683c\u5f0f\u3002", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "\u662f\u5426\u61c9\u5c07\u6587\u7ae0\u7f6e\u9802\u3002", "type": "boolean", "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "categories": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008category\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008post_tag\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "\u6587\u7ae0\u7684\u683c\u5f0f\u3002", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "\u662f\u5426\u61c9\u5c07\u6587\u7ae0\u7f6e\u9802\u3002", "type": "boolean", "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "categories": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008category\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008post_tag\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/pages": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "author": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u6307\u5b9a menu_order \u503c\u7684\u6587\u7ae0\u3002", "type": "integer", "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u6587\u7ae0\u7684 ID\u3002", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "\u6587\u7ae0\u8207\u5176\u4ed6\u6587\u7ae0\u7684\u76f8\u5c0d\u9806\u5e8f\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/pages" } ] } }, "\/wp\/v2\/pages\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "\u8986\u5beb\u9810\u8a2d\u5167\u5bb9\u6458\u8981\u9577\u5ea6\u3002", "type": "integer", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u6587\u7ae0\u7684 ID\u3002", "type": "integer", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "\u6587\u7ae0\u8207\u5176\u4ed6\u6587\u7ae0\u7684\u76f8\u5c0d\u9806\u5e8f\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u6587\u7ae0\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "\u6587\u7ae0\u8207\u5176\u4ed6\u6587\u7ae0\u7684\u76f8\u5c0d\u9806\u5e8f\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/media": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "author": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u7684\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u542b\u6709\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u4e4b\u5916\u7684\u5168\u90e8\u9805\u76ee\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "media_type": { "default": null, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a\u5a92\u9ad4\u985e\u578b\u7684\u9644\u4ef6\u3002", "type": "string", "enum": [ "image", "video", "text", "application", "audio" ], "required": false }, "mime_type": { "default": null, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7279\u5b9a MIME \u985e\u578b\u7684\u9644\u4ef6\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "_llms_media_protection_product_id": { "description": "The ID of the product that protects this media.", "type": "integer", "required": false }, "smush": { "description": "Smush data.", "type": "string", "required": false }, "alt_text": { "description": "\u9644\u4ef6\u7121\u6cd5\u986f\u793a\u6642\u6240\u986f\u793a\u7684\u66ff\u4ee3\u6587\u5b57\u3002", "type": "string", "required": false }, "caption": { "description": "\u9644\u4ef6\u8aaa\u660e\u6587\u5b57\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u9644\u4ef6\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u9644\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "\u9644\u4ef6\u5167\u5bb9\u8aaa\u660e\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u9644\u4ef6\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u9644\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "\u8207\u9644\u4ef6\u95dc\u806f\u7684\u6587\u7ae0\u7684\u6587\u7ae0 ID\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/media" } ] } }, "\/wp\/v2\/media\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "_llms_media_protection_product_id": { "description": "The ID of the product that protects this media.", "type": "integer", "required": false }, "smush": { "description": "Smush data.", "type": "string", "required": false }, "alt_text": { "description": "\u9644\u4ef6\u7121\u6cd5\u986f\u793a\u6642\u6240\u986f\u793a\u7684\u66ff\u4ee3\u6587\u5b57\u3002", "type": "string", "required": false }, "caption": { "description": "\u9644\u4ef6\u8aaa\u660e\u6587\u5b57\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u9644\u4ef6\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u9644\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u8aaa\u660e\u6587\u5b57\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "\u9644\u4ef6\u5167\u5bb9\u8aaa\u660e\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u9644\u4ef6\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u9644\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "\u8207\u9644\u4ef6\u95dc\u806f\u7684\u6587\u7ae0\u7684\u6587\u7ae0 ID\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "\u9644\u4ef6\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "action": { "type": "string", "enum": [ "create-image-subsizes" ], "required": true } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/edit": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "src": { "description": "\u5df2\u7de8\u8f2f\u904e\u7684\u5716\u7247\u6a94\u6848\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "\u5716\u7247\u7de8\u8f2f\u9663\u5217\u3002", "type": "array", "minItems": 1, "items": { "description": "\u5716\u7247\u7de8\u8f2f\u3002", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "\u65cb\u8f49", "properties": { "type": { "description": "\u65cb\u8f49\u985e\u578b\u3002", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "\u65cb\u8f49\u5f15\u6578\u3002", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "\u4ee5\u5ea6\u70ba\u55ae\u4f4d\uff0c\u9806\u6642\u91dd\u65b9\u5411\u65cb\u8f49\u7684\u8a2d\u5b9a\u503c\u3002", "type": "number" } } } } }, { "title": "\u88c1\u526a", "properties": { "type": { "description": "\u88c1\u526a\u985e\u578b\u3002", "type": "string", "enum": [ "crop" ] }, "args": { "description": "\u88c1\u526a\u5f15\u6578\u3002", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "\u5f9e\u5de6\u5074\u958b\u59cb\u88c1\u526a\u7684\u6c34\u5e73\u4f4d\u7f6e (\u4ee5\u4f54\u7528\u5716\u7247\u5bec\u5ea6\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002", "type": "number" }, "top": { "description": "\u5f9e\u9802\u7aef\u958b\u59cb\u88c1\u526a\u7684\u5782\u76f4\u4f4d\u7f6e (\u4ee5\u4f54\u7528\u5716\u7247\u9ad8\u5ea6\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002", "type": "number" }, "width": { "description": "\u7528\u65bc\u88c1\u526a\u5716\u7247\u7684\u5bec\u5ea6 (\u4ee5\u4f54\u7528\u5716\u7247\u5bec\u5ea6\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002", "type": "number" }, "height": { "description": "\u7528\u65bc\u88c1\u526a\u5716\u7247\u7684\u9ad8\u5ea6 (\u4ee5\u4f54\u7528\u5716\u7247\u9ad8\u5ea6\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "\u4ee5\u5ea6\u70ba\u55ae\u4f4d\uff0c\u7528\u65bc\u9806\u6642\u91dd\u65b9\u5411\u65cb\u8f49\u5716\u7247\u3002\u5df2\u6dd8\u6c70\u4e0d\u7528\uff0c\u8acb\u6539\u7528 modifiers\u3002", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "\u7528\u65bc\u88c1\u526a\u5716\u7247\u7684 X \u8ef8\u8d77\u59cb\u4f4d\u7f6e (\u4ee5\u4f54\u7528\u5716\u7247\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002\u5df2\u6dd8\u6c70\u4e0d\u7528\uff0c\u8acb\u6539\u7528 modifiers\u3002", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "\u7528\u65bc\u88c1\u526a\u5716\u7247\u7684 Y \u8ef8\u8d77\u59cb\u4f4d\u7f6e (\u4ee5\u4f54\u7528\u5716\u7247\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002\u5df2\u6dd8\u6c70\u4e0d\u7528\uff0c\u8acb\u6539\u7528 modifiers\u3002", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "\u7528\u65bc\u88c1\u526a\u5716\u7247\u7684\u5bec\u5ea6 (\u4ee5\u4f54\u7528\u5716\u7247\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002\u5df2\u6dd8\u6c70\u4e0d\u7528\uff0c\u8acb\u6539\u7528 modifiers\u3002", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "\u7528\u65bc\u88c1\u526a\u5716\u7247\u7684\u9ad8\u5ea6 (\u4ee5\u4f54\u7528\u5716\u7247\u7684\u767e\u5206\u6bd4\u8a08\u7b97)\u3002\u5df2\u6dd8\u6c70\u4e0d\u7528\uff0c\u8acb\u6539\u7528 modifiers\u3002", "type": "number", "minimum": 0, "maximum": 100, "required": false } } } ] }, "\/wp\/v2\/menu-items": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "menu_order", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u57fa\u65bc\u591a\u500b\u5206\u985e\u6cd5\u9593\u7684\u95dc\u4fc2\u3002", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "menus": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [menus] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "menus_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [menus] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "menu_order": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u6307\u5b9a menu_order \u503c\u7684\u6587\u7ae0\u3002", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "title": { "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": [ "string", "object" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7269\u4ef6\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u7269\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "default": "custom", "description": "\u7269\u4ef6\u521d\u59cb\u8868\u793a\u7cfb\u5217\uff0c\u4f8b\u5982 post_type \u6216 taxonomy\u3002", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "default": "publish", "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "parent": { "default": 0, "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20 title \u5c6c\u6027\u6587\u5b57\u3002", "type": "string", "required": false }, "classes": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20\u985e\u5225\u540d\u7a31\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "menu_order": { "default": 1, "description": "nav_menu_item \u7684\u8cc7\u6599\u5eab ID\u3002\u5982\u679c\u6709 nav_menu_item\uff0c\u4fbf\u6703\u662f\u9019\u500b\u9805\u76ee\u7684\u4e0a\u5c64\u9078\u55ae\uff0c0 \u4ee3\u8868\u6c92\u6709\u3002", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "\u7269\u4ef6\u521d\u59cb\u8868\u793a\u985e\u578b\uff0c\u4f8b\u5982 category\u3001post \u6216 attachment\u3002", "type": "string", "required": false }, "object_id": { "default": 0, "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u4ee3\u8868\u7684\u539f\u59cb\u7269\u4ef6\u7684\u8cc7\u6599\u5eab ID\uff0c\u4f8b\u5982\u6587\u7ae0 ID \u53ca\u5206\u985e\u7684 term_id\u3002", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20\u76ee\u6a19\u5c6c\u6027\u3002", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u6240\u6307\u5411\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "\u5728\u9019\u500b\u9078\u55ae\u9805\u76ee\u9023\u7d50\u8868\u793a\u7684 XFN \u4eba\u969b\u95dc\u4fc2\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "\u5df2\u6307\u6d3e\u81f3\u3008nav_menu\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/menu-items" } ] } }, "\/wp\/v2\/menu-items\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "title": { "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": [ "string", "object" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7269\u4ef6\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u7269\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "\u7269\u4ef6\u521d\u59cb\u8868\u793a\u7cfb\u5217\uff0c\u4f8b\u5982 post_type \u6216 taxonomy\u3002", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "parent": { "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20 title \u5c6c\u6027\u6587\u5b57\u3002", "type": "string", "required": false }, "classes": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20\u985e\u5225\u540d\u7a31\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "menu_order": { "description": "nav_menu_item \u7684\u8cc7\u6599\u5eab ID\u3002\u5982\u679c\u6709 nav_menu_item\uff0c\u4fbf\u6703\u662f\u9019\u500b\u9805\u76ee\u7684\u4e0a\u5c64\u9078\u55ae\uff0c0 \u4ee3\u8868\u6c92\u6709\u3002", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "\u7269\u4ef6\u521d\u59cb\u8868\u793a\u985e\u578b\uff0c\u4f8b\u5982 category\u3001post \u6216 attachment\u3002", "type": "string", "required": false }, "object_id": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u4ee3\u8868\u7684\u539f\u59cb\u7269\u4ef6\u7684\u8cc7\u6599\u5eab ID\uff0c\u4f8b\u5982\u6587\u7ae0 ID \u53ca\u5206\u985e\u7684 term_id\u3002", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20\u76ee\u6a19\u5c6c\u6027\u3002", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u6240\u6307\u5411\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "\u5728\u9019\u500b\u9078\u55ae\u9805\u76ee\u9023\u7d50\u8868\u793a\u7684 XFN \u4eba\u969b\u95dc\u4fc2\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "\u5df2\u6307\u6d3e\u81f3\u3008nav_menu\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u7269\u4ef6\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer", "minimum": 0, "required": false }, "title": { "description": "\u7269\u4ef6\u7684\u6a19\u984c\u3002", "type": [ "string", "object" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7269\u4ef6\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u7269\u4ef6\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "\u7269\u4ef6\u521d\u59cb\u8868\u793a\u7cfb\u5217\uff0c\u4f8b\u5982 post_type \u6216 taxonomy\u3002", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "\u7269\u4ef6\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "attr_title": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20 title \u5c6c\u6027\u6587\u5b57\u3002", "type": "string", "required": false }, "classes": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20\u985e\u5225\u540d\u7a31\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "menu_order": { "description": "nav_menu_item \u7684\u8cc7\u6599\u5eab ID\u3002\u5982\u679c\u6709 nav_menu_item\uff0c\u4fbf\u6703\u662f\u9019\u500b\u9805\u76ee\u7684\u4e0a\u5c64\u9078\u55ae\uff0c0 \u4ee3\u8868\u6c92\u6709\u3002", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "\u7269\u4ef6\u521d\u59cb\u8868\u793a\u985e\u578b\uff0c\u4f8b\u5982 category\u3001post \u6216 attachment\u3002", "type": "string", "required": false }, "object_id": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u4ee3\u8868\u7684\u539f\u59cb\u7269\u4ef6\u7684\u8cc7\u6599\u5eab ID\uff0c\u4f8b\u5982\u6587\u7ae0 ID \u53ca\u5206\u985e\u7684 term_id\u3002", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u7684\u9023\u7d50\u5143\u7d20\u76ee\u6a19\u5c6c\u6027\u3002", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "\u9019\u500b\u9078\u55ae\u9805\u76ee\u6240\u6307\u5411\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "\u5728\u9019\u500b\u9078\u55ae\u9805\u76ee\u9023\u7d50\u8868\u793a\u7684 XFN \u4eba\u969b\u95dc\u4fc2\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "\u5df2\u6307\u6d3e\u81f3\u3008nav_menu\u3009\u5206\u985e\u6cd5\u7269\u4ef6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/blocks": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u57fa\u65bc\u591a\u500b\u5206\u985e\u6cd5\u9593\u7684\u95dc\u4fc2\u3002", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "wp_pattern_category": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [wp_pattern_category] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "wp_pattern_category_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [wp_pattern_category] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "wp_pattern_category": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008wp_pattern_category\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/blocks" } ] } }, "\/wp\/v2\/blocks\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "\u8986\u5beb\u9810\u8a2d\u5167\u5bb9\u6458\u8981\u9577\u5ea6\u3002", "type": "integer", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "wp_pattern_category": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008wp_pattern_category\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "wp_pattern_category": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008wp_pattern_category\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "slug": { "description": "\u8b58\u5225\u7bc4\u672c\u7684\u552f\u4e00\u4ee3\u7a31\u3002", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "\u7bc4\u672c\u7684\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u7bc4\u672c\u7684\u985e\u578b\u3002", "type": "string", "required": false }, "content": { "description": "\u7bc4\u672c\u5167\u5bb9\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "\u7bc4\u672c\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u7bc4\u672c\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "\u7bc4\u672c\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "status": { "description": "\u7bc4\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "\u7bc4\u672c\u4f5c\u8005\u7684 ID\u3002", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "\u9650\u5236\u70ba\u6307\u5b9a\u6587\u7ae0 ID\u3002", "type": "integer", "required": false }, "area": { "description": "\u9650\u5236\u70ba\u6307\u5b9a\u7bc4\u672c\u7d44\u4ef6\u5340\u57df\u3002", "type": "string", "required": false }, "post_type": { "description": "\u53d6\u5f97\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u985e\u578b\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "\u8b58\u5225\u7bc4\u672c\u7684\u552f\u4e00\u4ee3\u7a31\u3002", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "\u7bc4\u672c\u7684\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u7bc4\u672c\u7684\u985e\u578b\u3002", "type": "string", "required": false }, "content": { "default": "", "description": "\u7bc4\u672c\u5167\u5bb9\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "\u7bc4\u672c\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u7bc4\u672c\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "\u7bc4\u672c\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "status": { "default": "publish", "description": "\u7bc4\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "\u7bc4\u672c\u4f5c\u8005\u7684 ID\u3002", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "\u53d6\u5f97\u5099\u7528\u7bc4\u672c\u4ee3\u7a31", "type": "string", "required": true }, "is_custom": { "description": "\u6307\u5b9a\u7bc4\u672c\u70ba\u81ea\u8a02\u7bc4\u672c\u6216\u7bc4\u672c\u968e\u5c64\u7684\u4e00\u90e8\u4efd", "type": "boolean", "required": false }, "template_prefix": { "description": "\u5df2\u5efa\u7acb\u7bc4\u672c\u7684\u7bc4\u672c\u524d\u7f6e\u8a5e\u3002\u9019\u500b\u524d\u7f6e\u8a5e\u6703\u7528\u65bc\u64f7\u53d6\u4e3b\u8981\u7bc4\u672c\u985e\u578b\uff0c\u4f8b\u5982\u5728 taxonomy-books \u4e2d\u64f7\u53d6\u51fa taxonomy", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/templates\/lookup" } ] } }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "slug": { "description": "\u8b58\u5225\u7bc4\u672c\u7684\u552f\u4e00\u4ee3\u7a31\u3002", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "\u7bc4\u672c\u7684\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u7bc4\u672c\u7684\u985e\u578b\u3002", "type": "string", "required": false }, "content": { "description": "\u7bc4\u672c\u5167\u5bb9\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "\u7bc4\u672c\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u7bc4\u672c\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "\u7bc4\u672c\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "status": { "description": "\u7bc4\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "\u7bc4\u672c\u4f5c\u8005\u7684 ID\u3002", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "slug": { "description": "\u8b58\u5225\u7bc4\u672c\u7684\u552f\u4e00\u4ee3\u7a31\u3002", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "\u7bc4\u672c\u7684\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u7bc4\u672c\u7684\u985e\u578b\u3002", "type": "string", "required": false }, "content": { "description": "\u7bc4\u672c\u5167\u5bb9\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "\u7bc4\u672c\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u7bc4\u672c\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "\u7bc4\u672c\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "status": { "description": "\u7bc4\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "\u7bc4\u672c\u4f5c\u8005\u7684 ID\u3002", "type": "integer", "required": false }, "area": { "description": "\u9700\u8981\u4f7f\u7528\u7bc4\u672c\u7d44\u4ef6\u7684\u4f4d\u7f6e (\u4f8b\u5982\u9801\u9996\u3001\u9801\u5c3e\u7b49)", "type": "string", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/template-parts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "\u9650\u5236\u70ba\u6307\u5b9a\u6587\u7ae0 ID\u3002", "type": "integer", "required": false }, "area": { "description": "\u9650\u5236\u70ba\u6307\u5b9a\u7bc4\u672c\u7d44\u4ef6\u5340\u57df\u3002", "type": "string", "required": false }, "post_type": { "description": "\u53d6\u5f97\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u985e\u578b\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "\u8b58\u5225\u7bc4\u672c\u7684\u552f\u4e00\u4ee3\u7a31\u3002", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "\u7bc4\u672c\u7684\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u7bc4\u672c\u7684\u985e\u578b\u3002", "type": "string", "required": false }, "content": { "default": "", "description": "\u7bc4\u672c\u5167\u5bb9\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "\u7bc4\u672c\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u7bc4\u672c\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "\u7bc4\u672c\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "status": { "default": "publish", "description": "\u7bc4\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "\u7bc4\u672c\u4f5c\u8005\u7684 ID\u3002", "type": "integer", "required": false }, "area": { "description": "\u9700\u8981\u4f7f\u7528\u7bc4\u672c\u7d44\u4ef6\u7684\u4f4d\u7f6e (\u4f8b\u5982\u9801\u9996\u3001\u9801\u5c3e\u7b49)", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/template-parts" } ] } }, "\/wp\/v2\/template-parts\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "\u53d6\u5f97\u5099\u7528\u7bc4\u672c\u4ee3\u7a31", "type": "string", "required": true }, "is_custom": { "description": "\u6307\u5b9a\u7bc4\u672c\u70ba\u81ea\u8a02\u7bc4\u672c\u6216\u7bc4\u672c\u968e\u5c64\u7684\u4e00\u90e8\u4efd", "type": "boolean", "required": false }, "template_prefix": { "description": "\u5df2\u5efa\u7acb\u7bc4\u672c\u7684\u7bc4\u672c\u524d\u7f6e\u8a5e\u3002\u9019\u500b\u524d\u7f6e\u8a5e\u6703\u7528\u65bc\u64f7\u53d6\u4e3b\u8981\u7bc4\u672c\u985e\u578b\uff0c\u4f8b\u5982\u5728 taxonomy-books \u4e2d\u64f7\u53d6\u51fa taxonomy", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/template-parts\/lookup" } ] } }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "slug": { "description": "\u8b58\u5225\u7bc4\u672c\u7684\u552f\u4e00\u4ee3\u7a31\u3002", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "\u7bc4\u672c\u7684\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "type": { "description": "\u7bc4\u672c\u7684\u985e\u578b\u3002", "type": "string", "required": false }, "content": { "description": "\u7bc4\u672c\u5167\u5bb9\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "\u7bc4\u672c\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "\u7bc4\u672c\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7bc4\u672c\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u7bc4\u672c\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "\u7bc4\u672c\u5167\u5bb9\u8aaa\u660e\u3002", "type": "string", "required": false }, "status": { "description": "\u7bc4\u672c\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "author": { "description": "\u7bc4\u672c\u4f5c\u8005\u7684 ID\u3002", "type": "integer", "required": false }, "area": { "description": "\u9700\u8981\u4f7f\u7528\u7bc4\u672c\u7d44\u4ef6\u7684\u4f4d\u7f6e (\u4f8b\u5982\u9801\u9996\u3001\u9801\u5c3e\u7b49)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u5168\u57df\u6a23\u5f0f\u5167\u5bb9\u4fee\u8a02\u7684\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5168\u57df\u6a23\u5f0f\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "stylesheet": { "description": "\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "stylesheet": { "description": "\u4f48\u666f\u4e3b\u984c\u8b58\u5225\u78bc", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "id": { "description": "\u7bc4\u672c ID\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": false }, "args": { "styles": { "description": "\u5168\u57df\u6a23\u5f0f\u3002", "type": [ "object" ], "required": false }, "settings": { "description": "\u5168\u57df\u8a2d\u5b9a\u3002", "type": [ "object" ], "required": false }, "title": { "description": "\u5168\u57df\u6a23\u5f0f\u8b8a\u5316\u7684\u6a19\u984c\u3002", "type": [ "object", "string" ], "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u5168\u57df\u6a23\u5f0f\u8b8a\u5316\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false } } } ] }, "\/wp\/v2\/navigation": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/navigation" } ] } }, "\/wp\/v2\/navigation\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/font-families": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "theme_json_version": { "description": "\u7528\u65bc\u6392\u7248\u6a23\u5f0f\u8a2d\u5b9a\u7684 theme.json \u7d50\u69cb\u5b9a\u7fa9\u7248\u672c\u3002", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "theme.json \u683c\u5f0f\u7684 font-family \u5ba3\u544a\uff0c\u7de8\u78bc\u65b9\u5f0f\u70ba\u5b57\u4e32\u3002", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/font-families" } ] } }, "\/wp\/v2\/font-families\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "theme_json_version": { "description": "\u7528\u65bc\u6392\u7248\u6a23\u5f0f\u8a2d\u5b9a\u7684 theme.json \u7d50\u69cb\u5b9a\u7fa9\u7248\u672c\u3002", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "theme.json \u683c\u5f0f\u7684 font-family \u5ba3\u544a\uff0c\u7de8\u78bc\u65b9\u5f0f\u70ba\u5b57\u4e32\u3002", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "\u5b57\u578b\u5b9a\u7fa9\u7684\u4e0a\u5c64\u5b57\u578b\u7cfb\u5217 ID\u3002", "type": "integer", "required": true }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false } } }, { "methods": [ "POST" ], "args": { "font_family_id": { "description": "\u5b57\u578b\u5b9a\u7fa9\u7684\u4e0a\u5c64\u5b57\u578b\u7cfb\u5217 ID\u3002", "type": "integer", "required": true }, "theme_json_version": { "description": "\u7528\u65bc\u6392\u7248\u6a23\u5f0f\u8a2d\u5b9a\u7684 theme.json \u7d50\u69cb\u5b9a\u7fa9\u7248\u672c\u3002", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_face_settings": { "description": "theme.json \u683c\u5f0f\u7684 font-face \u5ba3\u544a\uff0c\u7de8\u78bc\u65b9\u5f0f\u70ba\u5b57\u4e32\u3002", "type": "string", "required": true } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "\u5b57\u578b\u5b9a\u7fa9\u7684\u4e0a\u5c64\u5b57\u578b\u7cfb\u5217 ID\u3002", "type": "integer", "required": true }, "id": { "description": "\u5b57\u578b\u5b9a\u7fa9\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": true }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "font_family_id": { "description": "\u5b57\u578b\u5b9a\u7fa9\u7684\u4e0a\u5c64\u5b57\u578b\u7cfb\u5217 ID\u3002", "type": "integer", "required": true }, "id": { "description": "\u5b57\u578b\u5b9a\u7fa9\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "author": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u6307\u5b9a menu_order \u503c\u7684\u6587\u7ae0\u3002", "type": "integer", "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false }, "format": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u6307\u5b9a\u683c\u5f0f\u7684\u9805\u76ee\u3002", "type": "array", "uniqueItems": true, "items": { "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "\u6587\u7ae0\u8207\u5176\u4ed6\u6587\u7ae0\u7684\u76f8\u5c0d\u9806\u5e8f\u3002", "type": "integer", "required": false }, "format": { "description": "\u6587\u7ae0\u7684\u683c\u5f0f\u3002", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/e-floating-buttons" } ] } }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "\u8986\u5beb\u9810\u8a2d\u5167\u5bb9\u6458\u8981\u9577\u5ea6\u3002", "type": "integer", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "\u6587\u7ae0\u8207\u5176\u4ed6\u6587\u7ae0\u7684\u76f8\u5c0d\u9806\u5e8f\u3002", "type": "integer", "required": false }, "format": { "description": "\u6587\u7ae0\u7684\u683c\u5f0f\u3002", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "\u6587\u7ae0\u8207\u5176\u4ed6\u6587\u7ae0\u7684\u76f8\u5c0d\u9806\u5e8f\u3002", "type": "integer", "required": false }, "format": { "description": "\u6587\u7ae0\u7684\u683c\u5f0f\u3002", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/elementor_library": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "author": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u81f3\u6307\u5b9a\u4f5c\u8005\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/elementor_library" } ] } }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "\u6587\u7ae0\u7684\u4f5c\u8005 ID\u3002", "type": "integer", "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u57fa\u65bc\u591a\u500b\u5206\u985e\u6cd5\u9593\u7684\u95dc\u4fc2\u3002", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "product_brand": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [product_brand] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "\u662f\u5426\u5728\u9650\u5236\u7d50\u679c\u96c6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u4e2d\u5305\u542b\u5b50\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_brand_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [product_brand] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "\u662f\u5426\u5728\u9650\u5236\u7d50\u679c\u96c6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u4e2d\u5305\u542b\u5b50\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_cat": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [product_cat] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "\u662f\u5426\u5728\u9650\u5236\u7d50\u679c\u96c6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u4e2d\u5305\u542b\u5b50\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_cat_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [product_cat] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "\u662f\u5426\u5728\u9650\u5236\u7d50\u679c\u96c6\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u4e2d\u5305\u542b\u5b50\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_tag": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5728 [product_tag] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u9805\u76ee\u662f\u5426\u5fc5\u9808\u6307\u6d3e\u7d66\u5168\u90e8\u6216\u4efb\u4f55\u6307\u5b9a\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_tag_exclude": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u9664\u4e86\u5728 [product_tag] \u5206\u985e\u6cd5\u4e2d\u4f7f\u7528\u6307\u6d3e\u6307\u5b9a\u5206\u985e\u6cd5\u8a5e\u5f59\u4e4b\u5916\u7684\u9805\u76ee\u3002", "type": [ "object", "array" ], "oneOf": [ { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u6e05\u55ae", "description": "\u5c07\u5206\u985e\u6cd5\u8a5e\u5f59\u8207\u5217\u51fa\u7684 ID \u9032\u884c\u6bd4\u5c0d\u3002", "type": "array", "items": { "type": "integer" } }, { "title": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID \u5206\u985e\u6cd5\u67e5\u8a62", "description": "\u57f7\u884c\u9032\u968e\u5206\u985e\u6cd5\u8a5e\u5f59\u67e5\u8a62\u3002", "type": "object", "properties": { "terms": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "brand": { "description": "\u5c07\u7d50\u679c\u7d44\u5408\u9650\u5236\u70ba\u6307\u6d3e\u7279\u5b9a\u54c1\u724c ID \u7684\u7522\u54c1\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "product_brand": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_brand\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_cat\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_tag\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "\u8986\u5beb\u9810\u8a2d\u5167\u5bb9\u6458\u8981\u9577\u5ea6\u3002", "type": "integer", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "product_brand": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_brand\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_cat\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_tag\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7269\u4ef6\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "\u4e0a\u5c64\u5167\u5bb9\u4fee\u8a02\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u5167\u5bb9\u4fee\u8a02\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u5167\u5bb9\u4fee\u8a02] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u6458\u8981\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u6458\u8981\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u6458\u8981\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "\u6587\u7ae0\u7684\u7cbe\u9078\u5a92\u9ad4 ID\u3002", "type": "integer", "required": false }, "comment_status": { "description": "\u662f\u5426\u555f\u7528\u6587\u7ae0\u7684\u7559\u8a00\u529f\u80fd\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "\u662f\u5426\u80fd\u901a\u77e5\u6587\u7ae0\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false }, "product_brand": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_brand\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_cat\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "\u5df2\u6307\u6d3e\u81f3\u5c6c\u65bc\u3008product_tag\u3009\u5206\u985e\u6cd5\u7684\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/llms_form": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u4fee\u6539\u7684\u6587\u7ae0\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "\u89e3\u8b6f\u641c\u5c0b\u8f38\u5165\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u6587\u7ae0\u3002", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "dp-rewrite-republish", "email_sent", "email_failed", "email_scheduled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_llms_form_location": { "type": "string", "title": "", "description": "\u662f\u5426\u8981\u5728\u524d\u7aef\u9801\u9762\u8868\u55ae\u986f\u793a\u7684\u4f4d\u7f6e\uff1f", "default": "" }, "_llms_form_show_title": { "type": "string", "title": "", "description": "\u662f\u5426\u8981\u5728\u524d\u7aef\u9801\u9762\u986f\u793a\u8868\u55ae\u7684\u6a19\u984c\uff1f", "default": "" }, "_llms_form_title_free_access_plans": { "type": "string", "title": "", "description": "\u514d\u8cbb\u65b9\u6848\u7684\u7d50\u5e33\u8868\u55ae\u5167\u986f\u793a\u7684\u8868\u55ae\u6a19\u984c", "default": "\u5b78\u751f\u8cc7\u8a0a" }, "_llms_form_is_core": { "type": "string", "title": "", "description": "\u9019\u500b\u8868\u55ae\u662f\u5426\u70ba\u5f71\u97ff\u5230\u7db2\u7ad9\u57fa\u672c\u904b\u4f5c\u7684\u6838\u5fc3\u8868\u55ae\uff1f", "default": "" } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/llms_form" } ] } }, "\/wp\/v2\/llms_form\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_llms_form_location": { "type": "string", "title": "", "description": "\u662f\u5426\u8981\u5728\u524d\u7aef\u9801\u9762\u8868\u55ae\u986f\u793a\u7684\u4f4d\u7f6e\uff1f", "default": "" }, "_llms_form_show_title": { "type": "string", "title": "", "description": "\u662f\u5426\u8981\u5728\u524d\u7aef\u9801\u9762\u986f\u793a\u8868\u55ae\u7684\u6a19\u984c\uff1f", "default": "" }, "_llms_form_title_free_access_plans": { "type": "string", "title": "", "description": "\u514d\u8cbb\u65b9\u6848\u7684\u7d50\u5e33\u8868\u55ae\u5167\u986f\u793a\u7684\u8868\u55ae\u6a19\u984c", "default": "\u5b78\u751f\u8cc7\u8a0a" }, "_llms_form_is_core": { "type": "string", "title": "", "description": "\u9019\u500b\u8868\u55ae\u662f\u5426\u70ba\u5f71\u97ff\u5230\u7db2\u7ad9\u57fa\u672c\u904b\u4f5c\u7684\u6838\u5fc3\u8868\u55ae\uff1f", "default": "" } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u6587\u7ae0\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false } } } ] }, "\/wp\/v2\/llms_form\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u6587\u7ae0\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "\u6587\u7ae0\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "status": { "description": "\u6587\u7ae0\u7684\u547d\u540d\u72c0\u614b\u3002", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "llms-completed", "llms-active", "llms-expired", "llms-on-hold", "llms-pending-cancel", "llms-pending", "llms-cancelled", "llms-refunded", "llms-failed", "llms-txn-failed", "llms-txn-pending", "llms-txn-refunded", "llms-txn-succeeded", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft" ], "required": false }, "password": { "description": "\u4e00\u7d44\u7528\u4f86\u4fdd\u8b77\u5167\u5bb9\u53ca\u5167\u5bb9\u6458\u8981\u5b58\u53d6\u7684\u5bc6\u78bc\u3002", "type": "string", "required": false }, "title": { "description": "\u6587\u7ae0\u7684\u6a19\u984c\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u6a19\u984c\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u6a19\u984c\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "\u6587\u7ae0\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u6587\u7ae0\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u6587\u7ae0\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "\u6587\u7ae0\u4f7f\u7528\u7684\u5167\u5bb9\u5340\u584a\u683c\u5f0f\u7248\u672c\u3002", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "\u5167\u5bb9\u662f\u5426\u53d7\u5bc6\u78bc\u4fdd\u8b77\u3002", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-disable-related-posts": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_llms_form_location": { "type": "string", "title": "", "description": "\u662f\u5426\u8981\u5728\u524d\u7aef\u9801\u9762\u8868\u55ae\u986f\u793a\u7684\u4f4d\u7f6e\uff1f", "default": "" }, "_llms_form_show_title": { "type": "string", "title": "", "description": "\u662f\u5426\u8981\u5728\u524d\u7aef\u9801\u9762\u986f\u793a\u8868\u55ae\u7684\u6a19\u984c\uff1f", "default": "" }, "_llms_form_title_free_access_plans": { "type": "string", "title": "", "description": "\u514d\u8cbb\u65b9\u6848\u7684\u7d50\u5e33\u8868\u55ae\u5167\u986f\u793a\u7684\u8868\u55ae\u6a19\u984c", "default": "\u5b78\u751f\u8cc7\u8a0a" }, "_llms_form_is_core": { "type": "string", "title": "", "description": "\u9019\u500b\u8868\u55ae\u662f\u5426\u70ba\u5f71\u97ff\u5230\u7db2\u7ad9\u57fa\u672c\u904b\u4f5c\u7684\u6838\u5fc3\u8868\u55ae\uff1f", "default": "" } }, "required": false }, "template": { "description": "\u7528\u65bc\u986f\u793a\u6587\u7ae0\u7684\u4f48\u666f\u4e3b\u984c\u6a94\u6848\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/llms_form\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u4e0a\u5c64\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "id": { "description": "\u81ea\u52d5\u5132\u5b58\u7684 ID\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u5167\u5bb9\u985e\u578b\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u72c0\u614b\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u8207\u6307\u5b9a\u5167\u5bb9\u985e\u578b\u95dc\u806f\u7684\u5206\u985e\u6cd5\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u5206\u985e\u6cd5\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/menus": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "locations": { "description": "\u6307\u6d3e\u7d66\u9078\u55ae\u7684\u4f4d\u7f6e\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "\u662f\u5426\u81ea\u52d5\u5c07\u6700\u4e0a\u5c64\u9801\u9762\u65b0\u589e\u81f3\u9019\u500b\u9078\u55ae\u3002", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/menus" } ] } }, "\/wp\/v2\/menus\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false }, "locations": { "description": "\u6307\u6d3e\u7d66\u9078\u55ae\u7684\u4f4d\u7f6e\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "\u662f\u5426\u81ea\u52d5\u5c07\u6700\u4e0a\u5c64\u9801\u9762\u65b0\u589e\u81f3\u9019\u500b\u9078\u55ae\u3002", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/wp_pattern_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/wp_pattern_category" } ] } }, "\/wp\/v2\/wp_pattern_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/product_brand": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/product_brand" } ] } }, "\/wp\/v2\/product_brand\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/product_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/product_cat" } ] } }, "\/wp\/v2\/product_cat\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/product_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/product_tag" } ] } }, "\/wp\/v2\/product_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/shop_coupon_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u5206\u985e\u6cd5\u8a5e\u5f59\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "\u662f\u5426\u96b1\u85cf\u5c1a\u672a\u6307\u6d3e\u81f3\u4efb\u4f55\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "boolean", "default": false, "required": false }, "parent": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "required": false }, "post": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "integer", "default": null, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u5206\u985e\u6cd5\u8a5e\u5f59\u3002", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": true }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/shop_coupon_cat" } ] } }, "\/wp\/v2\/shop_coupon_cat\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "description": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u5167\u5bb9\u8aaa\u660e (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "name": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u6a19\u984c (\u53ef\u4f7f\u7528 HTML \u7a0b\u5f0f\u78bc)\u3002", "type": "string", "required": false }, "slug": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u8b58\u5225\u78bc\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\uff0c\u5728\u5176\u6240\u5c6c\u7684\u578b\u5225\u4e2d\u5fc5\u9808\u662f\u552f\u4e00\u7684\u9805\u76ee\u3002", "type": "string", "required": false }, "parent": { "description": "\u4e0a\u5c64\u5206\u985e\u6cd5\u8a5e\u5f59 ID\u3002", "type": "integer", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5206\u985e\u6cd5\u8a5e\u5f59\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc\u5206\u985e\u6cd5\u8a5e\u5f59\u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "default": "asc", "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "\u4f9d\u4f7f\u7528\u8005\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u542b\u6709\u4e00\u6216\u591a\u500b\u6307\u5b9a\u4ee3\u7a31\u7684\u4f7f\u7528\u8005\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u81f3\u5c11\u4e00\u7a2e\u6307\u5b9a\u4f7f\u7528\u8005\u89d2\u8272\u7684\u4f7f\u7528\u8005\u3002\u63a5\u53d7 CSV \u6e05\u55ae\u6216\u55ae\u4e00\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u81f3\u5c11\u4e00\u7a2e\u6307\u5b9a\u6b0a\u9650\u7684\u4f7f\u7528\u8005\u3002\u63a5\u53d7 CSV \u6e05\u55ae\u6216\u55ae\u4e00\u6b0a\u9650\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5224\u5b9a\u70ba\u4f5c\u8005\u7684\u4f7f\u7528\u8005\u3002", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u66fe\u767c\u4f48\u904e\u6587\u7ae0\u7684\u4f7f\u7528\u8005\u3002", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_global_styles": "wp_global_styles", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "e-floating-buttons": "e-floating-buttons", "elementor_library": "elementor_library", "product": "product", "llms_form": "llms_form" } }, "required": false }, "search_columns": { "default": [], "description": "\u8981\u641c\u5c0b\u7684\u6b04\u4f4d\u540d\u7a31\u9663\u5217\u3002", "type": "array", "items": { "enum": [ "email", "name", "id", "username", "slug" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31\u3002", "type": "string", "required": true }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f\u3002", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": true }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u500b\u4eba\u8cc7\u6599\u3002", "type": "string", "required": false }, "locale": { "description": "\u4f7f\u7528\u8005\u7684\u5730\u5340\u8a9e\u8a00\u504f\u597d\u3002", "type": "string", "enum": [ "", "en_US", "zh_TW" ], "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u4f7f\u7528\u8005\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "roles": { "description": "\u6307\u6d3e\u7d66\u4f7f\u7528\u8005\u7684\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u5305\u542b) \u3002", "type": "string", "required": true }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u4f7f\u7528\u8005\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u4f7f\u7528\u8005\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31\u3002", "type": "string", "required": false }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f\u3002", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": false }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u500b\u4eba\u8cc7\u6599\u3002", "type": "string", "required": false }, "locale": { "description": "\u4f7f\u7528\u8005\u7684\u5730\u5340\u8a9e\u8a00\u504f\u597d\u3002", "type": "string", "enum": [ "", "en_US", "zh_TW" ], "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u4f7f\u7528\u8005\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "roles": { "description": "\u6307\u6d3e\u7d66\u4f7f\u7528\u8005\u7684\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u5305\u542b) \u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u4f7f\u7528\u8005\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u4f7f\u7528\u8005] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false }, "reassign": { "type": "integer", "description": "\u5c07\u906d\u5230\u522a\u9664\u7684\u4f7f\u7528\u8005\u7684\u6587\u7ae0\u9032\u884c\u91cd\u65b0\u6307\u6d3e\uff0c\u4e26\u5c07\u9019\u4e9b\u6587\u7ae0\u9023\u7d50\u81f3\u6307\u5b9a\u7684\u4f7f\u7528\u8005 ID\u3002", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "\u4f7f\u7528\u8005\u7684\u767b\u5165\u540d\u7a31\u3002", "type": "string", "required": false }, "name": { "description": "\u4f7f\u7528\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string", "required": false }, "first_name": { "description": "\u4f7f\u7528\u8005\u7684\u540d\u5b57\u3002", "type": "string", "required": false }, "last_name": { "description": "\u4f7f\u7528\u8005\u7684\u59d3\u6c0f\u3002", "type": "string", "required": false }, "email": { "description": "\u4f7f\u7528\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": false }, "url": { "description": "\u4f7f\u7528\u8005\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "description": { "description": "\u4f7f\u7528\u8005\u7684\u500b\u4eba\u8cc7\u6599\u3002", "type": "string", "required": false }, "locale": { "description": "\u4f7f\u7528\u8005\u7684\u5730\u5340\u8a9e\u8a00\u504f\u597d\u3002", "type": "string", "enum": [ "", "en_US", "zh_TW" ], "required": false }, "nickname": { "description": "\u4f7f\u7528\u8005\u7684\u66b1\u7a31\u3002", "type": "string", "required": false }, "slug": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u4f7f\u7528\u8005\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "roles": { "description": "\u6307\u6d3e\u7d66\u4f7f\u7528\u8005\u7684\u4f7f\u7528\u8005\u89d2\u8272\u3002", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "\u4f7f\u7528\u8005\u7684\u5bc6\u78bc (\u6c38\u4e0d\u5305\u542b) \u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "\u65e5\u671f\u53ca\u6642\u9593\u7684\u504f\u597d\u8a2d\u5b9a\u5df2\u66f4\u65b0\u3002", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "\u7531\u65bc [\u4f7f\u7528\u8005] \u4e0d\u652f\u63f4 [\u56de\u6536\u6876] \u529f\u80fd\uff0c\u56e0\u6b64\u5fc5\u9808\u8a2d\u5b9a\u70ba true\u3002", "required": false }, "reassign": { "type": "integer", "description": "\u5c07\u906d\u5230\u522a\u9664\u7684\u4f7f\u7528\u8005\u7684\u6587\u7ae0\u9032\u884c\u91cd\u65b0\u6307\u6d3e\uff0c\u4e26\u5c07\u9019\u4e9b\u6587\u7ae0\u9023\u7d50\u81f3\u6307\u5b9a\u7684\u4f7f\u7528\u8005 ID\u3002", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/users\/me" } ] } }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "\u7531\u61c9\u7528\u7a0b\u5f0f\u63d0\u4f9b\u3001\u7528\u65bc\u9032\u884c\u552f\u4e00\u8b58\u5225\u7684 UUID\u3002\u5efa\u8b70\u4f7f\u7528\u542b\u6709\u7db2\u5740\u6216 DNS \u547d\u540d\u7a7a\u9593\u7684 UUID v5\u3002", "type": "string", "format": "uuid", "required": false }, "name": { "description": "\u61c9\u7528\u7a0b\u5f0f\u5bc6\u78bc\u7684\u540d\u7a31\u3002", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/introspect": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "\u7531\u61c9\u7528\u7a0b\u5f0f\u63d0\u4f9b\u3001\u7528\u65bc\u9032\u884c\u552f\u4e00\u8b58\u5225\u7684 UUID\u3002\u5efa\u8b70\u4f7f\u7528\u542b\u6709\u7db2\u5740\u6216 DNS \u547d\u540d\u7a7a\u9593\u7684 UUID v5\u3002", "type": "string", "format": "uuid", "required": false }, "name": { "description": "\u61c9\u7528\u7a0b\u5f0f\u5bc6\u78bc\u7684\u540d\u7a31\u3002", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/comments": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "after": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u5f8c\u767c\u4f48\u7684\u7559\u8a00\u3002", "type": "string", "format": "date-time", "required": false }, "author": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u70ba\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u6d3e\u70ba\u6307\u5b9a\u4f7f\u7528\u8005 ID \u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u4f86\u81ea\u6307\u5b9a\u4f5c\u8005\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "format": "email", "type": "string", "required": false }, "before": { "description": "\u5c07\u56de\u61c9\u9650\u5b9a\u70ba\u5728\u7b26\u5408 ISO8601 \u683c\u5f0f\u898f\u7bc4\u7684\u65e5\u671f\u6642\u9593\u524d\u767c\u4f48\u7684\u7559\u8a00\u3002", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u7559\u8a00\u5c6c\u6027\u4f86\u6392\u5e8f\u96c6\u5408\u3002", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID \u7684\u7559\u8a00\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a\u4e0a\u5c64\u9805\u76ee ID\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u81f3\u6307\u5b9a\u6587\u7ae0 ID \u7684\u7559\u8a00\u3002", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u70ba\u6307\u5b9a\u72c0\u614b\u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "string", "required": false }, "type": { "default": "comment", "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u6d3e\u70ba\u6307\u5b9a\u985e\u578b\u7684\u7559\u8a00\u3002\u9019\u9805\u64cd\u4f5c\u9700\u8981\u6388\u6b0a\u3002", "type": "string", "required": false }, "password": { "description": "\u6587\u7ae0\u53d7\u5230\u5bc6\u78bc\u4fdd\u8b77\u6642\u7684\u6587\u7ae0\u5bc6\u78bc\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "\u7576\u7559\u8a00\u8005\u662f\u7db2\u7ad9\u4f7f\u7528\u8005\u6642\uff0c\u4f7f\u7528\u8005\u7269\u4ef6\u7684 ID\u3002", "type": "integer", "required": false }, "author_email": { "description": "\u7559\u8a00\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "\u7559\u8a00\u8005\u7684 IP \u4f4d\u5740\u3002", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "\u7559\u8a00\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string", "required": false }, "author_url": { "description": "\u7559\u8a00\u8005\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "\u7559\u8a00\u8005\u7684\u4f7f\u7528\u8005\u4ee3\u7406\u7a0b\u5f0f", "type": "string", "required": false }, "content": { "description": "\u7559\u8a00\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7559\u8a00\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u7559\u8a00\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7559\u8a00\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7559\u8a00\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "\u4e0a\u5c64\u7559\u8a00\u7684 ID\u3002", "type": "integer", "required": false }, "post": { "default": 0, "description": "\u95dc\u806f\u6587\u7ae0\u7269\u4ef6\u7684 ID\u3002", "type": "integer", "required": false }, "status": { "description": "\u7559\u8a00\u7684\u72c0\u614b\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/comments" } ] } }, "\/wp\/v2\/comments\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u7559\u8a00\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "\u7559\u8a00\u7684\u4e0a\u5c64\u6587\u7ae0\u7684\u5bc6\u78bc (\u82e5\u6587\u7ae0\u53d7\u5bc6\u78bc\u4fdd\u8b77)\u3002", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "\u7559\u8a00\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "author": { "description": "\u7576\u7559\u8a00\u8005\u662f\u7db2\u7ad9\u4f7f\u7528\u8005\u6642\uff0c\u4f7f\u7528\u8005\u7269\u4ef6\u7684 ID\u3002", "type": "integer", "required": false }, "author_email": { "description": "\u7559\u8a00\u8005\u7684\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u3002", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "\u7559\u8a00\u8005\u7684 IP \u4f4d\u5740\u3002", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "\u7559\u8a00\u8005\u7684\u986f\u793a\u540d\u7a31\u3002", "type": "string", "required": false }, "author_url": { "description": "\u7559\u8a00\u8005\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "\u7559\u8a00\u8005\u7684\u4f7f\u7528\u8005\u4ee3\u7406\u7a0b\u5f0f", "type": "string", "required": false }, "content": { "description": "\u7559\u8a00\u7684\u5167\u5bb9\u3002", "type": "object", "properties": { "raw": { "description": "\u5132\u5b58\u65bc\u8cc7\u6599\u5eab\u4e2d\u7684\u7559\u8a00\u5167\u5bb9\u3002", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "\u7559\u8a00\u7528\u65bc\u8f49\u63db\u70ba\u986f\u793a\u7528\u9014\u7684 HTML \u683c\u5f0f\u5167\u5bb9\u3002", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "\u4ee5\u9019\u500b\u7db2\u7ad9\u7684\u6642\u5340\u986f\u793a\u7559\u8a00\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "\u4ee5 GMT \u683c\u5f0f\u986f\u793a\u7559\u8a00\u7684\u767c\u4f48\u65e5\u671f\u3002", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "\u4e0a\u5c64\u7559\u8a00\u7684 ID\u3002", "type": "integer", "required": false }, "post": { "description": "\u95dc\u806f\u6587\u7ae0\u7269\u4ef6\u7684 ID\u3002", "type": "integer", "required": false }, "status": { "description": "\u7559\u8a00\u7684\u72c0\u614b\u3002", "type": "string", "required": false }, "meta": { "description": "\u4e2d\u7e7c\u8cc7\u6599\u6b04\u4f4d\u3002", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "\u7559\u8a00\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "\u662f\u5426\u7565\u904e\u79fb\u81f3\u56de\u6536\u6876\u7684\u7a0b\u5e8f\u9032\u884c\u5f37\u5236\u522a\u9664\u3002", "required": false }, "password": { "description": "\u7559\u8a00\u7684\u4e0a\u5c64\u6587\u7ae0\u7684\u5bc6\u78bc (\u82e5\u6587\u7ae0\u53d7\u5bc6\u78bc\u4fdd\u8b77)\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "type": { "default": "post", "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7269\u4ef6\u985e\u578b\u7684\u9805\u76ee\u3002", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u4e00\u6216\u591a\u500b\u7269\u4ef6\u5b50\u985e\u578b\u7684\u9805\u76ee\u3002", "type": "array", "items": { "enum": [ "post", "page", "e-floating-buttons", "elementor_library", "product", "category", "post_tag", "product_brand", "product_cat", "product_tag", "any" ], "type": "string" }, "required": false }, "exclude": { "description": "\u78ba\u4fdd\u7d50\u679c\u96c6\u6392\u9664\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u6307\u5b9a ID\u3002", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/search" } ] } }, "\/wp\/v2\/block-renderer\/(?P[a-z0-9-]+\/[a-z0-9-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET", "POST" ], "args": { "name": { "description": "\u5340\u584a\u7684\u552f\u4e00\u8a3b\u518a\u540d\u7a31\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "\u5340\u584a\u7684\u5c6c\u6027\u3002", "type": "object", "default": [], "required": false }, "post_id": { "description": "\u6587\u7ae0\u5167\u5bb9\u7684 ID\u3002", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "\u5340\u584a\u547d\u540d\u7a7a\u9593\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/block-types" } ] } }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "\u5340\u584a\u547d\u540d\u7a7a\u9593\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "\u5340\u584a\u540d\u7a31\u3002", "type": "string", "required": false }, "namespace": { "description": "\u5340\u584a\u547d\u540d\u7a7a\u9593\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/settings": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "title": { "title": "\u6a19\u984c", "description": "\u7db2\u7ad9\u6a19\u984c\u3002", "type": "string", "required": false }, "description": { "title": "\u7db2\u7ad9\u8aaa\u660e", "description": "\u7db2\u7ad9\u8aaa\u660e\u3002", "type": "string", "required": false }, "url": { "title": "", "description": "\u7db2\u7ad9\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": false }, "email": { "title": "", "description": "\u9019\u500b\u96fb\u5b50\u90f5\u4ef6\u5730\u5740\u7528\u65bc\u7ba1\u7406\u76ee\u7684\u3002\u4f8b\u5982\u63a5\u6536\u65b0\u4f7f\u7528\u8005\u8a3b\u518a\u901a\u77e5\u3002", "type": "string", "format": "email", "required": false }, "timezone": { "title": "", "description": "\u8207\u5c45\u5730\u76f8\u540c\u6642\u5340\u7684\u57ce\u5e02\u3002", "type": "string", "required": false }, "date_format": { "title": "", "description": "\u5168\u90e8\u65e5\u671f\u5b57\u4e32\u7684\u65e5\u671f\u683c\u5f0f\u3002", "type": "string", "required": false }, "time_format": { "title": "", "description": "\u5168\u90e8\u6642\u9593\u5b57\u4e32\u7684\u6642\u9593\u683c\u5f0f\u3002", "type": "string", "required": false }, "start_of_week": { "title": "", "description": "\u6bcf\u9031\u7684\u958b\u59cb\u65e5\u671f\u3002", "type": "integer", "required": false }, "language": { "title": "", "description": "WordPress \u5730\u5340\u8a9e\u8a00\u4ee3\u78bc\u3002", "type": "string", "required": false }, "use_smilies": { "title": "", "description": "\u81ea\u52d5\u5728\u986f\u793a\u6642\u5c07 :-) \u53ca :-P \u9019\u985e\u8868\u60c5\u7b26\u865f\u8f49\u63db\u6210\u5716\u7247\u3002", "type": "boolean", "required": false }, "default_category": { "title": "", "description": "\u9810\u8a2d\u6587\u7ae0\u5206\u985e\u3002", "type": "integer", "required": false }, "default_post_format": { "title": "", "description": "\u9810\u8a2d\u6587\u7ae0\u683c\u5f0f\u3002", "type": "string", "required": false }, "posts_per_page": { "title": "\u6bcf\u9801\u5167\u5bb9\u986f\u793a\u6578\u91cf\u4e0a\u9650", "description": "\u7db2\u7ad9\u6587\u7ae0\u9801\u9762\u6bcf\u9801\u6587\u7ae0\u986f\u793a\u6578\u91cf\u3002", "type": "integer", "required": false }, "show_on_front": { "title": "\u986f\u793a\u65bc\u9996\u9801", "description": "\u8981\u986f\u793a\u65bc\u975c\u614b\u9996\u9801\u7684\u9805\u76ee", "type": "string", "required": false }, "page_on_front": { "title": "\u9996\u9801\u9801\u9762", "description": "\u8981\u986f\u793a\u70ba\u975c\u614b\u9996\u9801\u9801\u9762\u7684\u9801\u9762 ID", "type": "integer", "required": false }, "page_for_posts": { "title": "", "description": "\u8981\u986f\u793a\u6700\u65b0\u6587\u7ae0\u9801\u9762\u7684\u9801\u9762 ID", "type": "integer", "required": false }, "default_ping_status": { "title": "", "description": "\u958b\u653e\u5176\u4ed6\u7db2\u7ad9\u5c0d\u65b0\u6587\u7ae0\u50b3\u9001\u9023\u7d50\u901a\u77e5 (\u5373\u81ea\u52d5\u5f15\u7528\u901a\u77e5\u53ca\u5f15\u7528\u901a\u77e5)\u3002", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "title": "\u958b\u653e\u5728\u65b0\u6587\u7ae0\u4e2d\u767c\u4f48\u7559\u8a00", "description": "\u958b\u653e\u4f7f\u7528\u8005\u5728\u65b0\u6587\u7ae0\u4e2d\u767c\u4f48\u7559\u8a00", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "title": "\u6a19\u8a8c", "description": "\u7db2\u7ad9\u6a19\u8a8c\u3002", "type": "integer", "required": false }, "site_icon": { "title": "\u5716\u793a", "description": "\u7db2\u7ad9\u5716\u793a\u3002", "type": "integer", "required": false }, "pickup_location_settings": { "title": "", "description": "WooCommerce Local Pickup Method Settings", "type": "object", "properties": { "enabled": { "description": "\u5982\u679c\u555f\u7528\u6b64\u529f\u80fd\uff0c\u6b64\u65b9\u6cd5\u6703\u986f\u793a\u5728\u5340\u584a\u5f0f\u7d50\u5e33\u756b\u9762\u4e2d\u3002", "type": "string", "enum": [ "yes", "no" ] }, "title": { "description": "\u9019\u9805\u8a2d\u5b9a\u63a7\u5236\u4f7f\u7528\u8005\u5728\u7d50\u5e33\u6642\u770b\u5230\u7684\u4ed8\u6b3e\u65b9\u5f0f\u6a19\u984c\u3002", "type": "string" }, "tax_status": { "description": "\u5982\u679c\u5df2\u5b9a\u7fa9\u67d0\u8cbb\u7528\uff0c\u6b64\u9078\u9805\u7528\u65bc\u63a7\u5236\u8a72\u8cbb\u7528\u662f\u5426\u5fb5\u6536\u7a05\u91d1\u3002", "type": "string", "enum": [ "taxable", "none" ] }, "cost": { "description": "\u7576\u5730\u53d6\u8ca8\u53ef\u9078\u7528\u7684\u6536\u8cbb\u3002", "type": "string" } }, "additionalProperties": false, "required": false }, "pickup_locations": { "title": "", "description": "WooCommerce Local Pickup Locations", "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "address_1": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "postcode": { "type": "string" }, "country": { "type": "string" } }, "additionalProperties": false }, "details": { "type": "string" }, "enabled": { "type": "boolean" } }, "additionalProperties": false }, "required": false }, "woocommerce_default_catalog_orderby": { "title": "\u9810\u8a2d\u5546\u54c1\u6392\u5e8f", "description": "\u7522\u54c1\u5728\u76ee\u9304\u4e2d\u7684\u9810\u8a2d\u6392\u5e8f\u65b9\u5f0f\u70ba\u4f55\uff1f", "type": "string", "enum": [ "menu_order", "popularity", "rating", "date", "price", "price-desc" ], "required": false }, "woocommerce_checkout_phone_field": { "title": "\u96fb\u8a71\u865f\u78bc", "description": "\u63a7\u5236\u7d50\u5e33\u6642\u986f\u793a\u7684\u96fb\u8a71\u6b04\u4f4d\u3002", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_company_field": { "title": "\u516c\u53f8", "description": "\u63a7\u5236\u7d50\u5e33\u6642\u986f\u793a\u7684\u516c\u53f8\u6b04\u4f4d\u3002", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_address_2_field": { "title": "\u5730\u5740\u7b2c 2 \u884c", "description": "\u63a7\u5236\u7d50\u5e33\u6642\u986f\u793a\u7684\u516c\u5bd3\u6b04\u4f4d (\u5730\u5740 2)\u3002", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u5df2\u6307\u6d3e\u4e00\u6216\u591a\u500b\u72c0\u614b\u7684\u4f48\u666f\u4e3b\u984c\u3002", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "\u4f48\u666f\u4e3b\u984c\u6a23\u5f0f\u8868\u662f\u4f48\u666f\u4e3b\u984c\u7684\u552f\u4e00\u8b58\u5225\u65b9\u5f0f\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "required": false }, "status": { "description": "\u5c07\u7d50\u679c\u9650\u5236\u70ba\u5177\u6709\u6307\u5b9a\u72c0\u614b\u7684\u5916\u639b\u3002", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org \u5916\u639b\u76ee\u9304\u4ee3\u7a31\u3002", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "\u5916\u639b\u555f\u7528\u72c0\u614b\u3002", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "\u5916\u639b\u555f\u7528\u72c0\u614b\u3002", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } } ] }, "\/wp\/v2\/sidebars": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u5df2\u8a3b\u518a\u8cc7\u8a0a\u6b04\u7684 ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "\u5de2\u72c0\u5c0f\u5de5\u5177\u3002", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/widget-types" } ] } }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "\u5c0f\u5de5\u5177\u985e\u578b ID\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/encode": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "\u5c0f\u5de5\u5177\u985e\u578b ID\u3002", "type": "string", "required": true }, "instance": { "description": "\u76ee\u524d\u7684\u5c0f\u5de5\u5177\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u3002", "type": "object", "required": false }, "form_data": { "description": "\u5c07\u5c0f\u5de5\u5177\u8868\u55ae\u8cc7\u6599\u5e8f\u5217\u5316\u4ee5\u7de8\u78bc\u81f3\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u3002", "type": "string", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "\u5c0f\u5de5\u5177\u985e\u578b ID\u3002", "type": "string", "required": true }, "instance": { "description": "\u76ee\u524d\u7684\u5c0f\u5de5\u5177\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u3002", "type": "object", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "\u50b3\u56de\u5c0f\u5de5\u5177\u7684\u8cc7\u8a0a\u6b04\u3002", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5c0f\u5de5\u5177\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "id_base": { "description": "\u5c0f\u5de5\u5177\u7684\u985e\u578b\u3002\u9019\u6703\u8207 widget-types \u7aef\u9ede\u7684 ID \u9032\u884c\u5c0d\u61c9\u3002", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "\u5c0f\u5de5\u5177\u6240\u5c6c\u7684\u8cc7\u8a0a\u6b04\u3002", "type": "string", "required": true }, "instance": { "description": "\u5c0f\u5de5\u5177\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a (\u53d6\u6c7a\u65bc\u662f\u5426\u652f\u63f4)\u3002", "type": "object", "properties": { "encoded": { "description": "\u7d93\u904e Base64 \u7de8\u78bc\u7684\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u8868\u793a\u65b9\u5f0f\u3002", "type": "string", "context": [ "edit" ] }, "hash": { "description": "\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u7684\u52a0\u5bc6\u7de8\u8b6f\u96dc\u6e4a\u503c\u3002", "type": "string", "context": [ "edit" ] }, "raw": { "description": "\u672a\u7de8\u78bc\u7684\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a (\u53d6\u6c7a\u65bc\u662f\u5426\u652f\u63f4)\u3002", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "\u5c0f\u5de5\u5177\u7ba1\u7406\u8868\u55ae\u7684 URL \u7de8\u78bc\u578b\u5f0f\u8cc7\u6599\u3002\u9019\u9805\u8cc7\u6599\u7528\u65bc\u66f4\u65b0\u4e0d\u652f\u63f4\u57f7\u884c\u500b\u9ad4\u7684\u5c0f\u5de5\u5177\u3002\u50c5\u80fd\u5beb\u5165\u3002", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/widgets" } ] } }, "\/wp\/v2\/widgets\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "\u5c0f\u5de5\u5177\u7684\u552f\u4e00\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "id_base": { "description": "\u5c0f\u5de5\u5177\u7684\u985e\u578b\u3002\u9019\u6703\u8207 widget-types \u7aef\u9ede\u7684 ID \u9032\u884c\u5c0d\u61c9\u3002", "type": "string", "required": false }, "sidebar": { "description": "\u5c0f\u5de5\u5177\u6240\u5c6c\u7684\u8cc7\u8a0a\u6b04\u3002", "type": "string", "required": false }, "instance": { "description": "\u5c0f\u5de5\u5177\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a (\u53d6\u6c7a\u65bc\u662f\u5426\u652f\u63f4)\u3002", "type": "object", "properties": { "encoded": { "description": "\u7d93\u904e Base64 \u7de8\u78bc\u7684\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u8868\u793a\u65b9\u5f0f\u3002", "type": "string", "context": [ "edit" ] }, "hash": { "description": "\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a\u7684\u52a0\u5bc6\u7de8\u8b6f\u96dc\u6e4a\u503c\u3002", "type": "string", "context": [ "edit" ] }, "raw": { "description": "\u672a\u7de8\u78bc\u7684\u57f7\u884c\u500b\u9ad4\u8a2d\u5b9a (\u53d6\u6c7a\u65bc\u662f\u5426\u652f\u63f4)\u3002", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "\u5c0f\u5de5\u5177\u7ba1\u7406\u8868\u55ae\u7684 URL \u7de8\u78bc\u578b\u5f0f\u8cc7\u6599\u3002\u9019\u9805\u8cc7\u6599\u7528\u65bc\u66f4\u65b0\u4e0d\u652f\u63f4\u57f7\u884c\u500b\u9ad4\u7684\u5c0f\u5de5\u5177\u3002\u50c5\u80fd\u5beb\u5165\u3002", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "force": { "description": "\u662f\u5426\u5f37\u5236\u79fb\u9664\u5c0f\u5de5\u5177\u6216\u5c07\u5c0f\u5de5\u5177\u79fb\u81f3\u672a\u4f7f\u7528\u7684\u8cc7\u8a0a\u6b04\u3002", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "\u5c07\u7d50\u679c\u96c6\u9650\u5b9a\u70ba\u7b26\u5408\u641c\u5c0b\u95dc\u9375\u5b57\u7684\u5340\u584a\u3002", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u689d\u4ef6\u7684\u5b57\u4e32\u3002", "type": "string", "minLength": 1, "required": false }, "category": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u5206\u985e ID \u7684\u9805\u76ee\u3002", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u95dc\u9375\u5b57 ID \u7684\u9805\u76ee\u3002", "type": "integer", "minimum": 1, "required": false }, "slug": { "description": "\u5c07\u7d50\u679c\u9650\u5b9a\u70ba\u7b26\u5408\u5340\u584a\u7248\u9762\u914d\u7f6e\u4ee3\u7a31\u7684\u9805\u76ee\u3002", "type": "array", "required": false }, "offset": { "description": "\u5728\u9805\u76ee\u7684\u7d50\u679c\u96c6\u4e2d\u7565\u904e\u6307\u5b9a\u6578\u91cf\u7d50\u679c\u3002", "type": "integer", "required": false }, "order": { "description": "\u6392\u5e8f\u65b9\u5f0f\u5c6c\u6027\u70ba\u905e\u589e\u6216\u905e\u6e1b\u3002", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "\u4f9d\u6587\u7ae0\u5c6c\u6027\u70ba\u96c6\u5408\u9032\u884c\u6392\u5e8f\u3002", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "favorite_count" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/pattern-directory\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/block-patterns\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/categories": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/block-patterns\/categories" } ] } }, "\/wp-site-health\/v1": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-site-health\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1" } ] } }, "\/wp-site-health\/v1\/tests\/background-updates": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/tests\/background-updates" } ] } }, "\/wp-site-health\/v1\/tests\/loopback-requests": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests" } ] } }, "\/wp-site-health\/v1\/tests\/https-status": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/tests\/https-status" } ] } }, "\/wp-site-health\/v1\/tests\/dotorg-communication": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication" } ] } }, "\/wp-site-health\/v1\/tests\/authorization-header": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/tests\/authorization-header" } ] } }, "\/wp-site-health\/v1\/directory-sizes": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/directory-sizes" } ] } }, "\/wp-site-health\/v1\/tests\/page-cache": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-site-health\/v1\/tests\/page-cache" } ] } }, "\/wp-block-editor\/v1": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-block-editor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-block-editor\/v1" } ] } }, "\/wp-block-editor\/v1\/url-details": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "\u9700\u8981\u8655\u7406\u7684\u7db2\u5740\u3002", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-block-editor\/v1\/url-details" } ] } }, "\/wp\/v2\/menu-locations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/menu-locations" } ] } }, "\/wp\/v2\/menu-locations\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "\u7531\u82f1\u6578\u5b57\u5143\u7d44\u6210\u7684\u9078\u55ae\u4f4d\u7f6e\u8b58\u5225\u78bc\u3002", "type": "string", "required": false }, "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp-block-editor\/v1\/export": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-block-editor\/v1\/export" } ] } }, "\/wp-block-editor\/v1\/navigation-fallback": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp-block-editor\/v1\/navigation-fallback" } ] } }, "\/wp\/v2\/font-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "\u96c6\u5408\u7684\u76ee\u524d\u9801\u6578\u3002", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "\u7d50\u679c\u96c6\u4e2d\u6240\u50b3\u56de\u7684\u9805\u76ee\u6578\u76ee\u4e0a\u9650\u503c\u3002", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/font-collections" } ] } }, "\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "\u5fc5\u9808\u5728\u8981\u6c42\u63d0\u51fa\u7684\u7bc4\u570d\u5167\u3001\u5fc5\u9808\u78ba\u5b9a\u56de\u61c9\u6642\u6b04\u4f4d\u986f\u793a\u7684\u65b9\u5f0f\u3002", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] } }, "site_logo": 26192, "site_icon": 26194, "site_icon_url": "https:\/\/raqsacademy.com\/wp-content\/uploads\/2022\/03\/cropped-raqsacademy-on-black-1.png", "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ], "wp:featuredmedia": [ { "embeddable": true, "type": "site_logo", "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/media\/26192" }, { "embeddable": true, "type": "site_icon", "href": "https:\/\/raqsacademy.com\/zh-tw\/wp-json\/wp\/v2\/media\/26194" } ], "curies": [ { "name": "wp", "href": "https:\/\/api.w.org\/{rel}", "templated": true } ] } }