@wirecat/wordpress-cli 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/LICENSE +204 -0
- package/README.md +248 -2
- package/contracts/wirecat.json +2535 -0
- package/dist/bin/wordpress.d.ts +3 -0
- package/dist/bin/wordpress.d.ts.map +1 -0
- package/dist/bin/wordpress.js +40 -0
- package/dist/bin/wordpress.js.map +1 -0
- package/dist/bundle/agent-LKBRYKNB.js +37 -0
- package/dist/bundle/all-profiles-OEV7VFQG.js +320 -0
- package/dist/bundle/anthropic-JKTZP2DW.js +91 -0
- package/dist/bundle/app-server-7LWLDDE2.js +249 -0
- package/dist/bundle/bun-2FLR4IV4.js +169 -0
- package/dist/bundle/bun-sqlite-GRSRX5P4.js +76 -0
- package/dist/bundle/chunk-2BI25SEE.js +259 -0
- package/dist/bundle/chunk-2UEGJ5AJ.js +52 -0
- package/dist/bundle/chunk-2XUV7HNE.js +58 -0
- package/dist/bundle/chunk-2Z7UOXFC.js +16 -0
- package/dist/bundle/chunk-3BM6KBWP.js +2788 -0
- package/dist/bundle/chunk-3BRAZVHR.js +1010 -0
- package/dist/bundle/chunk-3LMW7U7F.js +1233 -0
- package/dist/bundle/chunk-3LVTQFGB.js +2000 -0
- package/dist/bundle/chunk-3TKFFSFU.js +106 -0
- package/dist/bundle/chunk-3UX4VJWD.js +78 -0
- package/dist/bundle/chunk-4HEXAGKT.js +334 -0
- package/dist/bundle/chunk-4HP6KGBI.js +32 -0
- package/dist/bundle/chunk-4ZAQMDLD.js +1308 -0
- package/dist/bundle/chunk-4ZTB7LS3.js +87 -0
- package/dist/bundle/chunk-5XPHFV7H.js +2333 -0
- package/dist/bundle/chunk-5Z3P543G.js +80 -0
- package/dist/bundle/chunk-6UYDKCV6.js +794 -0
- package/dist/bundle/chunk-7GNB4LBX.js +50 -0
- package/dist/bundle/chunk-7HJFBOAT.js +161 -0
- package/dist/bundle/chunk-7JVKQ6NM.js +206 -0
- package/dist/bundle/chunk-7QH5BZUG.js +142 -0
- package/dist/bundle/chunk-A474OVIW.js +1392 -0
- package/dist/bundle/chunk-AENEMQL3.js +1068 -0
- package/dist/bundle/chunk-AL7I4DT4.js +65718 -0
- package/dist/bundle/chunk-ARGRGTPX.js +108 -0
- package/dist/bundle/chunk-AV2ZJ4WX.js +7 -0
- package/dist/bundle/chunk-BAXNAOOL.js +76 -0
- package/dist/bundle/chunk-BH63B66W.js +407 -0
- package/dist/bundle/chunk-CCOSG3F2.js +24616 -0
- package/dist/bundle/chunk-CFQQTDSA.js +46 -0
- package/dist/bundle/chunk-CGCUOT67.js +388 -0
- package/dist/bundle/chunk-CHPWBQUK.js +39 -0
- package/dist/bundle/chunk-D72URWJE.js +532 -0
- package/dist/bundle/chunk-DFDN6AUB.js +21 -0
- package/dist/bundle/chunk-DQSOYH6N.js +20 -0
- package/dist/bundle/chunk-ECYOTDJM.js +14 -0
- package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
- package/dist/bundle/chunk-EHW45LLT.js +100 -0
- package/dist/bundle/chunk-F3AV5ZSL.js +338 -0
- package/dist/bundle/chunk-F4BX7TH2.js +15 -0
- package/dist/bundle/chunk-F5ZAN7OC.js +6848 -0
- package/dist/bundle/chunk-FMMYBVCH.js +38 -0
- package/dist/bundle/chunk-FNB4SWTY.js +66 -0
- package/dist/bundle/chunk-FQROWBKV.js +12660 -0
- package/dist/bundle/chunk-FV2HJOSC.js +771 -0
- package/dist/bundle/chunk-GCAJW4SR.js +53 -0
- package/dist/bundle/chunk-GPRJXJC7.js +102 -0
- package/dist/bundle/chunk-HCOZUOSN.js +54 -0
- package/dist/bundle/chunk-HM6AMYHR.js +72 -0
- package/dist/bundle/chunk-HVXOA4FO.js +23 -0
- package/dist/bundle/chunk-HWQ7572G.js +95 -0
- package/dist/bundle/chunk-IJVTN5L3.js +82 -0
- package/dist/bundle/chunk-IZDDBOHU.js +3610 -0
- package/dist/bundle/chunk-JAE5B4G7.js +388 -0
- package/dist/bundle/chunk-K2Y5K37O.js +218 -0
- package/dist/bundle/chunk-KCH224US.js +9581 -0
- package/dist/bundle/chunk-KZJQPJK5.js +230 -0
- package/dist/bundle/chunk-L7P3LUDQ.js +286 -0
- package/dist/bundle/chunk-LECMHK2F.js +18 -0
- package/dist/bundle/chunk-LWEMZJLG.js +1332 -0
- package/dist/bundle/chunk-LWTETL2O.js +185 -0
- package/dist/bundle/chunk-MEYYH47C.js +25 -0
- package/dist/bundle/chunk-MJ6LTG4L.js +170 -0
- package/dist/bundle/chunk-NMQRSEZM.js +37 -0
- package/dist/bundle/chunk-ODVGFCBE.js +557 -0
- package/dist/bundle/chunk-OEQNP56V.js +633 -0
- package/dist/bundle/chunk-OV6WQY3L.js +39 -0
- package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
- package/dist/bundle/chunk-PPNTY7LD.js +733 -0
- package/dist/bundle/chunk-PRZYRA66.js +358 -0
- package/dist/bundle/chunk-PV5UYGRJ.js +41594 -0
- package/dist/bundle/chunk-QYTOLPNI.js +52 -0
- package/dist/bundle/chunk-R7Y3XU66.js +362 -0
- package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
- package/dist/bundle/chunk-SD5CXGIG.js +188 -0
- package/dist/bundle/chunk-SXY5G62I.js +288 -0
- package/dist/bundle/chunk-T37TAXVL.js +29 -0
- package/dist/bundle/chunk-T5SOY3AE.js +1197 -0
- package/dist/bundle/chunk-TJ7OORSO.js +1876 -0
- package/dist/bundle/chunk-TRYYWV7J.js +291 -0
- package/dist/bundle/chunk-U6VLNYCO.js +73 -0
- package/dist/bundle/chunk-UC7JLE6J.js +58 -0
- package/dist/bundle/chunk-UUIOAZPH.js +156 -0
- package/dist/bundle/chunk-UXQ24OY6.js +4072 -0
- package/dist/bundle/chunk-VBRRMGON.js +1007 -0
- package/dist/bundle/chunk-VRIBES2C.js +319 -0
- package/dist/bundle/chunk-XFLCVHSQ.js +50 -0
- package/dist/bundle/chunk-XT5XYQEZ.js +3414 -0
- package/dist/bundle/chunk-XTAS5Z3G.js +2231 -0
- package/dist/bundle/chunk-XYQVVW4R.js +24 -0
- package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
- package/dist/bundle/chunk-YHWFF6DN.js +39 -0
- package/dist/bundle/chunk-YUDVRFXN.js +63 -0
- package/dist/bundle/chunk-Z3I2MCUT.js +131 -0
- package/dist/bundle/chunk-ZDI3WC7V.js +353 -0
- package/dist/bundle/chunk-ZVQ7KFMT.js +274 -0
- package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
- package/dist/bundle/command-contract-P7YE4EKS.js +37 -0
- package/dist/bundle/command-server-entry-XIMCBWMV.js +166 -0
- package/dist/bundle/decode-6XK55WYV.js +297 -0
- package/dist/bundle/definitions-GIQCGYPR.js +7986 -0
- package/dist/bundle/dispatch-JQBAZWCL.js +411 -0
- package/dist/bundle/dist-2TV3NVE5.js +7577 -0
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/echarts-YRRVLEX3.js +42501 -0
- package/dist/bundle/embed-L3EEQSGX.js +38 -0
- package/dist/bundle/embedder-BIKLBV3J.js +111 -0
- package/dist/bundle/failure-I6AAF5R5.js +25 -0
- package/dist/bundle/first-run-W6G6TYZ2.js +29 -0
- package/dist/bundle/first-screen-ITIAJIBU.js +37 -0
- package/dist/bundle/hast-util-from-html-ZHU6HGIE.js +10531 -0
- package/dist/bundle/hast-util-to-html-IIFHILP5.js +998 -0
- package/dist/bundle/hast-util-to-mdast-D62XX3NR.js +2272 -0
- package/dist/bundle/instructions-AG7SRWTR.js +11 -0
- package/dist/bundle/mcp-YGOAUNC3.js +167 -0
- package/dist/bundle/mdast-util-from-markdown-WVUJDSUO.js +1900 -0
- package/dist/bundle/mdast-util-gfm-KN2D32QS.js +1040 -0
- package/dist/bundle/mdast-util-to-hast-AYJV7KAE.js +879 -0
- package/dist/bundle/mdast-util-to-markdown-UCAJNHJO.js +18 -0
- package/dist/bundle/meeting-combined-CQJ3JHHU.js +24 -0
- package/dist/bundle/meeting-model-MZ7VVBNK.js +25 -0
- package/dist/bundle/meeting-semantic-DADWRRHP.js +22 -0
- package/dist/bundle/micromark-extension-gfm-EEJRRJ36.js +1771 -0
- package/dist/bundle/node-GJQYN4FT.js +176 -0
- package/dist/bundle/node-JJ3WDCNJ.js +2340 -0
- package/dist/bundle/node-TLZSIHIJ.js +21 -0
- package/dist/bundle/node-sqlite-TPR62DT2.js +74 -0
- package/dist/bundle/oauth-WGY7JQVW.js +20 -0
- package/dist/bundle/open-DE7QZNAN.js +23 -0
- package/dist/bundle/openai-NHEFT3HS.js +238 -0
- package/dist/bundle/process-MEKCZMX3.js +91 -0
- package/dist/bundle/program-EP2S5BTM.js +38857 -0
- package/dist/bundle/prompt-PWY53BYH.js +17 -0
- package/dist/bundle/recognize-74TXHKMQ.js +26 -0
- package/dist/bundle/remote-F5TJZ5ER.js +31 -0
- package/dist/bundle/rerank-HWUO52UF.js +52 -0
- package/dist/bundle/schemas-4K6WWS5N.js +2157 -0
- package/dist/bundle/serve-I2USUY4X.js +199 -0
- package/dist/bundle/server-GDYDNO6K.js +79 -0
- package/dist/bundle/server-KYUW2AHB.js +212 -0
- package/dist/bundle/sqlite-runtime-N6VFGBJK.js +20 -0
- package/dist/bundle/state-L6JSCN77.js +36 -0
- package/dist/bundle/store-EPG2YPN3.js +291 -0
- package/dist/bundle/store-SQWQJE32.js +181 -0
- package/dist/bundle/store-maintenance-command-FTGSICVA.js +66 -0
- package/dist/bundle/surface-SNMHY6GP.js +65 -0
- package/dist/bundle/wordpress.js +183 -0
- package/dist/commands/api.d.ts +22 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +37 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/content.d.ts +4 -0
- package/dist/commands/content.d.ts.map +1 -0
- package/dist/commands/content.js +94 -0
- package/dist/commands/content.js.map +1 -0
- package/dist/commands/session.d.ts +8 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +28 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/config.d.ts +13 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +69 -0
- package/dist/config.js.map +1 -0
- package/dist/context.d.ts +37 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +31 -0
- package/dist/context.js.map +1 -0
- package/dist/generated/definitions.d.ts +3 -0
- package/dist/generated/definitions.d.ts.map +1 -0
- package/dist/generated/definitions.js +7982 -0
- package/dist/generated/definitions.js.map +1 -0
- package/dist/generated/manifest.d.ts +6 -0
- package/dist/generated/manifest.d.ts.map +1 -0
- package/dist/generated/manifest.js +8830 -0
- package/dist/generated/manifest.js.map +1 -0
- package/dist/generated/schemas.d.ts +229 -0
- package/dist/generated/schemas.d.ts.map +1 -0
- package/dist/generated/schemas.js +2019 -0
- package/dist/generated/schemas.js.map +1 -0
- package/dist/generated/types.d.ts +3365 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +5 -0
- package/dist/generated/types.js.map +1 -0
- package/dist/generated/wirecat-config.d.ts +11 -0
- package/dist/generated/wirecat-config.d.ts.map +1 -0
- package/dist/generated/wirecat-config.js +337 -0
- package/dist/generated/wirecat-config.js.map +1 -0
- package/dist/identity.d.ts +28 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +29 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/program.d.ts +6 -0
- package/dist/program.d.ts.map +1 -0
- package/dist/program.js +53 -0
- package/dist/program.js.map +1 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +2 -0
- package/dist/version.js.map +1 -0
- package/dist/wcat.d.ts +3 -0
- package/dist/wcat.d.ts.map +1 -0
- package/dist/wcat.js +4 -0
- package/dist/wcat.js.map +1 -0
- package/package.json +87 -4
- package/skills/wordpress-cli/SKILL.md +88 -0
- package/skills/wordpress-cli/references/api/api-block-directory.md +17 -0
- package/skills/wordpress-cli/references/api/api-block-patterns.md +13 -0
- package/skills/wordpress-cli/references/api/api-block-types.md +34 -0
- package/skills/wordpress-cli/references/api/api-blocks.md +159 -0
- package/skills/wordpress-cli/references/api/api-categories.md +69 -0
- package/skills/wordpress-cli/references/api/api-comments.md +79 -0
- package/skills/wordpress-cli/references/api/api-font-collections.md +16 -0
- package/skills/wordpress-cli/references/api/api-font-families.md +122 -0
- package/skills/wordpress-cli/references/api/api-global-styles.md +29 -0
- package/skills/wordpress-cli/references/api/api-media.md +106 -0
- package/skills/wordpress-cli/references/api/api-menu-items.md +115 -0
- package/skills/wordpress-cli/references/api/api-menu-locations.md +22 -0
- package/skills/wordpress-cli/references/api/api-menus.md +69 -0
- package/skills/wordpress-cli/references/api/api-navigation.md +155 -0
- package/skills/wordpress-cli/references/api/api-pages.md +161 -0
- package/skills/wordpress-cli/references/api/api-pattern-directory.md +23 -0
- package/skills/wordpress-cli/references/api/api-plugins.md +25 -0
- package/skills/wordpress-cli/references/api/api-posts.md +166 -0
- package/skills/wordpress-cli/references/api/api-search.md +21 -0
- package/skills/wordpress-cli/references/api/api-settings.md +19 -0
- package/skills/wordpress-cli/references/api/api-sidebars.md +34 -0
- package/skills/wordpress-cli/references/api/api-statuses.md +22 -0
- package/skills/wordpress-cli/references/api/api-tags.md +69 -0
- package/skills/wordpress-cli/references/api/api-taxonomies.md +23 -0
- package/skills/wordpress-cli/references/api/api-template-parts.md +38 -0
- package/skills/wordpress-cli/references/api/api-templates.md +38 -0
- package/skills/wordpress-cli/references/api/api-themes.md +12 -0
- package/skills/wordpress-cli/references/api/api-types.md +22 -0
- package/skills/wordpress-cli/references/api/api-users.md +149 -0
- package/skills/wordpress-cli/references/api/api-widget-types.md +46 -0
- package/skills/wordpress-cli/references/api/api-widgets.md +57 -0
- package/skills/wordpress-cli/references/api/api-wp-pattern-category.md +69 -0
- package/skills/wordpress-cli/references/api.md +44 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: navigation
|
|
4
|
+
|
|
5
|
+
## `wordpress api navigation-autosaves-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2NavigationByIdAutosaves — write (POST /wp/v2/navigation/{id}/autosaves)
|
|
8
|
+
- Call: `POST /wp/v2/navigation/{id}/autosaves`, effect: write
|
|
9
|
+
- Permission keys: `navigation.publish`
|
|
10
|
+
- Body: `PostWpV2NavigationByIdAutosavesRequest`
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--id <value>` | yes | id |
|
|
15
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
16
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
17
|
+
|
|
18
|
+
## `wordpress api navigation-autosaves-get [options]`
|
|
19
|
+
|
|
20
|
+
- What: getWpV2NavigationByParentAutosavesById — read (GET…
|
|
21
|
+
- Call: `GET /wp/v2/navigation/{parent}/autosaves/{id}`, effect: read
|
|
22
|
+
|
|
23
|
+
| Flag | Required | What |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--parent <value>` | yes | parent |
|
|
26
|
+
| `--id <value>` | yes | id |
|
|
27
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
28
|
+
|
|
29
|
+
## `wordpress api navigation-autosaves-list [options]`
|
|
30
|
+
|
|
31
|
+
- What: getWpV2NavigationByIdAutosaves — read (GET /wp/v2/navigation/{id}/autosaves)
|
|
32
|
+
- Call: `GET /wp/v2/navigation/{id}/autosaves`, effect: read
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--id <value>` | yes | id |
|
|
37
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
38
|
+
| `--parent <value>` | no | The ID for the parent of the autosave. |
|
|
39
|
+
|
|
40
|
+
## `wordpress api navigation-create [options]`
|
|
41
|
+
|
|
42
|
+
- What: postWpV2Navigation — write (POST /wp/v2/navigation)
|
|
43
|
+
- Call: `POST /wp/v2/navigation`, effect: write
|
|
44
|
+
- Permission keys: `navigation.publish`
|
|
45
|
+
- Body: `PostWpV2NavigationRequest`
|
|
46
|
+
|
|
47
|
+
| Flag | Required | What |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
50
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
51
|
+
|
|
52
|
+
## `wordpress api navigation-delete [options]`
|
|
53
|
+
|
|
54
|
+
- What: deleteWpV2NavigationById — destructive (DELETE /wp/v2/navigation/{id})
|
|
55
|
+
- Call: `DELETE /wp/v2/navigation/{id}`, effect: destructive
|
|
56
|
+
- Permission keys: `navigation.delete`, `navigation.delete.force`
|
|
57
|
+
|
|
58
|
+
| Flag | Required | What |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `--id <value>` | yes | id |
|
|
61
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
62
|
+
|
|
63
|
+
## `wordpress api navigation-get [options]`
|
|
64
|
+
|
|
65
|
+
- What: getWpV2NavigationById — read (GET /wp/v2/navigation/{id})
|
|
66
|
+
- Call: `GET /wp/v2/navigation/{id}`, effect: read
|
|
67
|
+
|
|
68
|
+
| Flag | Required | What |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| `--id <value>` | yes | id |
|
|
71
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
72
|
+
| `--password <value>` | no | The password for the post if it is password protected. |
|
|
73
|
+
|
|
74
|
+
## `wordpress api navigation-list [options]`
|
|
75
|
+
|
|
76
|
+
- What: getWpV2Navigation — read (GET /wp/v2/navigation)
|
|
77
|
+
- Call: `GET /wp/v2/navigation`, effect: read
|
|
78
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
79
|
+
|
|
80
|
+
| Flag | Required | What |
|
|
81
|
+
|---|---|---|
|
|
82
|
+
| `--after <value>` | no | Limit response to posts published after a given ISO8601 compliant date. |
|
|
83
|
+
| `--before <value>` | no | Limit response to posts published before a given ISO8601 compliant date. |
|
|
84
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
85
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
86
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
87
|
+
| `--modified-after <value>` | no | Limit response to posts modified after a given ISO8601 compliant date. |
|
|
88
|
+
| `--modified-before <value>` | no | Limit response to posts modified before a given ISO8601 compliant date. |
|
|
89
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
90
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
91
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
92
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
93
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
94
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
95
|
+
| `--search-columns <value>` | no | Array of column names to be searched. |
|
|
96
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
97
|
+
| `--slug <value>` | no | Limit result set to posts with one or more specific slugs. |
|
|
98
|
+
| `--status <value>` | no | Limit result set to posts assigned one or more statuses. |
|
|
99
|
+
| `--all` | no | read every page, as the API pages it |
|
|
100
|
+
|
|
101
|
+
## `wordpress api navigation-revisions-delete [options]`
|
|
102
|
+
|
|
103
|
+
- What: deleteWpV2NavigationByParentRevisionsById — destructive (DELETE…
|
|
104
|
+
- Call: `DELETE /wp/v2/navigation/{parent}/revisions/{id}`, effect: destructive
|
|
105
|
+
- Permission keys: `navigation.delete`, `navigation.delete.force`
|
|
106
|
+
|
|
107
|
+
| Flag | Required | What |
|
|
108
|
+
|---|---|---|
|
|
109
|
+
| `--parent <value>` | yes | parent |
|
|
110
|
+
| `--id <value>` | yes | id |
|
|
111
|
+
| `--force <value>` | no | Required to be true, as revisions do not support trashing. |
|
|
112
|
+
|
|
113
|
+
## `wordpress api navigation-revisions-get [options]`
|
|
114
|
+
|
|
115
|
+
- What: getWpV2NavigationByParentRevisionsById — read (GET…
|
|
116
|
+
- Call: `GET /wp/v2/navigation/{parent}/revisions/{id}`, effect: read
|
|
117
|
+
|
|
118
|
+
| Flag | Required | What |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| `--parent <value>` | yes | parent |
|
|
121
|
+
| `--id <value>` | yes | id |
|
|
122
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
123
|
+
|
|
124
|
+
## `wordpress api navigation-revisions-list [options]`
|
|
125
|
+
|
|
126
|
+
- What: getWpV2NavigationByParentRevisions — read (GET…
|
|
127
|
+
- Call: `GET /wp/v2/navigation/{parent}/revisions`, effect: read
|
|
128
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
129
|
+
|
|
130
|
+
| Flag | Required | What |
|
|
131
|
+
|---|---|---|
|
|
132
|
+
| `--parent <value>` | yes | parent |
|
|
133
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
134
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
135
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
136
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
137
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
138
|
+
| `--orderby <value>` | no | Sort collection by object attribute. |
|
|
139
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
140
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
141
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
142
|
+
| `--all` | no | read every page, as the API pages it |
|
|
143
|
+
|
|
144
|
+
## `wordpress api navigation-update [options]`
|
|
145
|
+
|
|
146
|
+
- What: postWpV2NavigationById — write (POST /wp/v2/navigation/{id})
|
|
147
|
+
- Call: `POST /wp/v2/navigation/{id}`, effect: write
|
|
148
|
+
- Permission keys: `navigation.publish`
|
|
149
|
+
- Body: `PostWpV2NavigationByIdRequest`
|
|
150
|
+
|
|
151
|
+
| Flag | Required | What |
|
|
152
|
+
|---|---|---|
|
|
153
|
+
| `--id <value>` | yes | id |
|
|
154
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
155
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: pages
|
|
4
|
+
|
|
5
|
+
## `wordpress api pages-autosaves-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2PagesByIdAutosaves — write (POST /wp/v2/pages/{id}/autosaves)
|
|
8
|
+
- Call: `POST /wp/v2/pages/{id}/autosaves`, effect: write
|
|
9
|
+
- Permission keys: `pages.publish`
|
|
10
|
+
- Body: `PostWpV2PagesByIdAutosavesRequest`
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--id <value>` | yes | id |
|
|
15
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
16
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
17
|
+
|
|
18
|
+
## `wordpress api pages-autosaves-get [options]`
|
|
19
|
+
|
|
20
|
+
- What: getWpV2PagesByParentAutosavesById — read (GET…
|
|
21
|
+
- Call: `GET /wp/v2/pages/{parent}/autosaves/{id}`, effect: read
|
|
22
|
+
|
|
23
|
+
| Flag | Required | What |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--parent <value>` | yes | parent |
|
|
26
|
+
| `--id <value>` | yes | id |
|
|
27
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
28
|
+
|
|
29
|
+
## `wordpress api pages-autosaves-list [options]`
|
|
30
|
+
|
|
31
|
+
- What: getWpV2PagesByIdAutosaves — read (GET /wp/v2/pages/{id}/autosaves)
|
|
32
|
+
- Call: `GET /wp/v2/pages/{id}/autosaves`, effect: read
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--id <value>` | yes | id |
|
|
37
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
38
|
+
| `--parent <value>` | no | The ID for the parent of the autosave. |
|
|
39
|
+
|
|
40
|
+
## `wordpress api pages-create [options]`
|
|
41
|
+
|
|
42
|
+
- What: postWpV2Pages — write (POST /wp/v2/pages)
|
|
43
|
+
- Call: `POST /wp/v2/pages`, effect: write
|
|
44
|
+
- Permission keys: `pages.publish`, `posts.create`
|
|
45
|
+
- Body: `PostWpV2PagesRequest`
|
|
46
|
+
|
|
47
|
+
| Flag | Required | What |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
50
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
51
|
+
|
|
52
|
+
## `wordpress api pages-delete [options]`
|
|
53
|
+
|
|
54
|
+
- What: deleteWpV2PagesById — destructive (DELETE /wp/v2/pages/{id})
|
|
55
|
+
- Call: `DELETE /wp/v2/pages/{id}`, effect: destructive
|
|
56
|
+
- Permission keys: `pages.delete`, `pages.delete.force`
|
|
57
|
+
|
|
58
|
+
| Flag | Required | What |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `--id <value>` | yes | id |
|
|
61
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
62
|
+
|
|
63
|
+
## `wordpress api pages-get [options]`
|
|
64
|
+
|
|
65
|
+
- What: getWpV2PagesById — read (GET /wp/v2/pages/{id})
|
|
66
|
+
- Call: `GET /wp/v2/pages/{id}`, effect: read
|
|
67
|
+
|
|
68
|
+
| Flag | Required | What |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| `--id <value>` | yes | id |
|
|
71
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
72
|
+
| `--excerpt-length <value>` | no | Override the default excerpt length. |
|
|
73
|
+
| `--password <value>` | no | The password for the post if it is password protected. |
|
|
74
|
+
|
|
75
|
+
## `wordpress api pages-list [options]`
|
|
76
|
+
|
|
77
|
+
- What: getWpV2Pages — read (GET /wp/v2/pages)
|
|
78
|
+
- Call: `GET /wp/v2/pages`, effect: read
|
|
79
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
80
|
+
|
|
81
|
+
| Flag | Required | What |
|
|
82
|
+
|---|---|---|
|
|
83
|
+
| `--after <value>` | no | Limit response to posts published after a given ISO8601 compliant date. |
|
|
84
|
+
| `--author <value>` | no | Limit result set to posts assigned to specific authors. |
|
|
85
|
+
| `--author-exclude <value>` | no | Ensure result set excludes posts assigned to specific authors. |
|
|
86
|
+
| `--before <value>` | no | Limit response to posts published before a given ISO8601 compliant date. |
|
|
87
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
88
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
89
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
90
|
+
| `--menu-order <value>` | no | Limit result set to posts with a specific menu\_order value. |
|
|
91
|
+
| `--modified-after <value>` | no | Limit response to posts modified after a given ISO8601 compliant date. |
|
|
92
|
+
| `--modified-before <value>` | no | Limit response to posts modified before a given ISO8601 compliant date. |
|
|
93
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
94
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
95
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
96
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
97
|
+
| `--parent <value>` | no | Limit result set to items with particular parent IDs. |
|
|
98
|
+
| `--parent-exclude <value>` | no | Limit result set to all items except those of a particular parent ID. |
|
|
99
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
100
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
101
|
+
| `--search-columns <value>` | no | Array of column names to be searched. |
|
|
102
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
103
|
+
| `--slug <value>` | no | Limit result set to posts with one or more specific slugs. |
|
|
104
|
+
| `--status <value>` | no | Limit result set to posts assigned one or more statuses. |
|
|
105
|
+
| `--all` | no | read every page, as the API pages it |
|
|
106
|
+
|
|
107
|
+
## `wordpress api pages-revisions-delete [options]`
|
|
108
|
+
|
|
109
|
+
- What: deleteWpV2PagesByParentRevisionsById — destructive (DELETE…
|
|
110
|
+
- Call: `DELETE /wp/v2/pages/{parent}/revisions/{id}`, effect: destructive
|
|
111
|
+
- Permission keys: `pages.delete`, `pages.delete.force`
|
|
112
|
+
|
|
113
|
+
| Flag | Required | What |
|
|
114
|
+
|---|---|---|
|
|
115
|
+
| `--parent <value>` | yes | parent |
|
|
116
|
+
| `--id <value>` | yes | id |
|
|
117
|
+
| `--force <value>` | no | Required to be true, as revisions do not support trashing. |
|
|
118
|
+
|
|
119
|
+
## `wordpress api pages-revisions-get [options]`
|
|
120
|
+
|
|
121
|
+
- What: getWpV2PagesByParentRevisionsById — read (GET…
|
|
122
|
+
- Call: `GET /wp/v2/pages/{parent}/revisions/{id}`, effect: read
|
|
123
|
+
|
|
124
|
+
| Flag | Required | What |
|
|
125
|
+
|---|---|---|
|
|
126
|
+
| `--parent <value>` | yes | parent |
|
|
127
|
+
| `--id <value>` | yes | id |
|
|
128
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
129
|
+
|
|
130
|
+
## `wordpress api pages-revisions-list [options]`
|
|
131
|
+
|
|
132
|
+
- What: getWpV2PagesByParentRevisions — read (GET /wp/v2/pages/{parent}/revisions)
|
|
133
|
+
- Call: `GET /wp/v2/pages/{parent}/revisions`, effect: read
|
|
134
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
135
|
+
|
|
136
|
+
| Flag | Required | What |
|
|
137
|
+
|---|---|---|
|
|
138
|
+
| `--parent <value>` | yes | parent |
|
|
139
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
140
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
141
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
142
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
143
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
144
|
+
| `--orderby <value>` | no | Sort collection by object attribute. |
|
|
145
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
146
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
147
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
148
|
+
| `--all` | no | read every page, as the API pages it |
|
|
149
|
+
|
|
150
|
+
## `wordpress api pages-update [options]`
|
|
151
|
+
|
|
152
|
+
- What: postWpV2PagesById — write (POST /wp/v2/pages/{id})
|
|
153
|
+
- Call: `POST /wp/v2/pages/{id}`, effect: write
|
|
154
|
+
- Permission keys: `pages.publish`, `posts.update`
|
|
155
|
+
- Body: `PostWpV2PagesByIdRequest`
|
|
156
|
+
|
|
157
|
+
| Flag | Required | What |
|
|
158
|
+
|---|---|---|
|
|
159
|
+
| `--id <value>` | yes | id |
|
|
160
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
161
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: pattern-directory
|
|
4
|
+
|
|
5
|
+
## `wordpress api pattern-directory-patterns-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2PatternDirectoryPatterns — read (GET /wp/v2/pattern-directory/patterns)
|
|
8
|
+
- Call: `GET /wp/v2/pattern-directory/patterns`, effect: read
|
|
9
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--category <value>` | no | Limit results to those matching a category ID. |
|
|
14
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
15
|
+
| `--keyword <value>` | no | Limit results to those matching a keyword ID. |
|
|
16
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
17
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
18
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
19
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
20
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
21
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
22
|
+
| `--slug <value>` | no | Limit results to those matching a pattern (slug). |
|
|
23
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: plugins
|
|
4
|
+
|
|
5
|
+
## `wordpress api plugins-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Plugins — write (POST /wp/v2/plugins)
|
|
8
|
+
- Call: `POST /wp/v2/plugins`, effect: write
|
|
9
|
+
- Body: `PostWpV2PluginsRequest`, required
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
14
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
15
|
+
|
|
16
|
+
## `wordpress api plugins-list [options]`
|
|
17
|
+
|
|
18
|
+
- What: getWpV2Plugins — read (GET /wp/v2/plugins)
|
|
19
|
+
- Call: `GET /wp/v2/plugins`, effect: read
|
|
20
|
+
|
|
21
|
+
| Flag | Required | What |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
24
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
25
|
+
| `--status <value>` | no | Limits results to plugins with the given status. |
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: posts
|
|
4
|
+
|
|
5
|
+
## `wordpress api posts-autosaves-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2PostsByIdAutosaves — write (POST /wp/v2/posts/{id}/autosaves)
|
|
8
|
+
- Call: `POST /wp/v2/posts/{id}/autosaves`, effect: write
|
|
9
|
+
- Permission keys: `posts.publish`
|
|
10
|
+
- Body: `PostWpV2PostsByIdAutosavesRequest`
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--id <value>` | yes | id |
|
|
15
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
16
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
17
|
+
|
|
18
|
+
## `wordpress api posts-autosaves-get [options]`
|
|
19
|
+
|
|
20
|
+
- What: getWpV2PostsByParentAutosavesById — read (GET…
|
|
21
|
+
- Call: `GET /wp/v2/posts/{parent}/autosaves/{id}`, effect: read
|
|
22
|
+
|
|
23
|
+
| Flag | Required | What |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--parent <value>` | yes | parent |
|
|
26
|
+
| `--id <value>` | yes | id |
|
|
27
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
28
|
+
|
|
29
|
+
## `wordpress api posts-autosaves-list [options]`
|
|
30
|
+
|
|
31
|
+
- What: getWpV2PostsByIdAutosaves — read (GET /wp/v2/posts/{id}/autosaves)
|
|
32
|
+
- Call: `GET /wp/v2/posts/{id}/autosaves`, effect: read
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--id <value>` | yes | id |
|
|
37
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
38
|
+
| `--parent <value>` | no | The ID for the parent of the autosave. |
|
|
39
|
+
|
|
40
|
+
## `wordpress api posts-create [options]`
|
|
41
|
+
|
|
42
|
+
- What: postWpV2Posts — write (POST /wp/v2/posts)
|
|
43
|
+
- Call: `POST /wp/v2/posts`, effect: write
|
|
44
|
+
- Permission keys: `posts.publish`, `posts.create`
|
|
45
|
+
- Body: `PostWpV2PostsRequest`
|
|
46
|
+
|
|
47
|
+
| Flag | Required | What |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
50
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
51
|
+
|
|
52
|
+
## `wordpress api posts-delete [options]`
|
|
53
|
+
|
|
54
|
+
- What: deleteWpV2PostsById — destructive (DELETE /wp/v2/posts/{id})
|
|
55
|
+
- Call: `DELETE /wp/v2/posts/{id}`, effect: destructive
|
|
56
|
+
- Permission keys: `posts.delete`, `posts.delete.force`
|
|
57
|
+
|
|
58
|
+
| Flag | Required | What |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| `--id <value>` | yes | id |
|
|
61
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
62
|
+
|
|
63
|
+
## `wordpress api posts-get [options]`
|
|
64
|
+
|
|
65
|
+
- What: getWpV2PostsById — read (GET /wp/v2/posts/{id})
|
|
66
|
+
- Call: `GET /wp/v2/posts/{id}`, effect: read
|
|
67
|
+
|
|
68
|
+
| Flag | Required | What |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| `--id <value>` | yes | id |
|
|
71
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
72
|
+
| `--excerpt-length <value>` | no | Override the default excerpt length. |
|
|
73
|
+
| `--password <value>` | no | The password for the post if it is password protected. |
|
|
74
|
+
|
|
75
|
+
## `wordpress api posts-list [options]`
|
|
76
|
+
|
|
77
|
+
- What: getWpV2Posts — read (GET /wp/v2/posts)
|
|
78
|
+
- Call: `GET /wp/v2/posts`, effect: read
|
|
79
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
80
|
+
|
|
81
|
+
| Flag | Required | What |
|
|
82
|
+
|---|---|---|
|
|
83
|
+
| `--after <value>` | no | Limit response to posts published after a given ISO8601 compliant date. |
|
|
84
|
+
| `--author <value>` | no | Limit result set to posts assigned to specific authors. |
|
|
85
|
+
| `--author-exclude <value>` | no | Ensure result set excludes posts assigned to specific authors. |
|
|
86
|
+
| `--before <value>` | no | Limit response to posts published before a given ISO8601 compliant date. |
|
|
87
|
+
| `--categories <value>` | no | Limit result set to items with specific terms assigned in the categories taxonomy. |
|
|
88
|
+
| `--categories-exclude <value>` | no | Limit result set to items except those with specific terms assigned in the categories taxonomy. |
|
|
89
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
90
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
91
|
+
| `--format <value>` | no | Limit result set to items assigned one or more given formats. |
|
|
92
|
+
| `--ignore-sticky <value>` | no | Whether to ignore sticky posts or not. |
|
|
93
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
94
|
+
| `--modified-after <value>` | no | Limit response to posts modified after a given ISO8601 compliant date. |
|
|
95
|
+
| `--modified-before <value>` | no | Limit response to posts modified before a given ISO8601 compliant date. |
|
|
96
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
97
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
98
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
99
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
100
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
101
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
102
|
+
| `--search-columns <value>` | no | Array of column names to be searched. |
|
|
103
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
104
|
+
| `--slug <value>` | no | Limit result set to posts with one or more specific slugs. |
|
|
105
|
+
| `--status <value>` | no | Limit result set to posts assigned one or more statuses. |
|
|
106
|
+
| `--sticky <value>` | no | Limit result set to items that are sticky. |
|
|
107
|
+
| `--tags <value>` | no | Limit result set to items with specific terms assigned in the tags taxonomy. |
|
|
108
|
+
| `--tags-exclude <value>` | no | Limit result set to items except those with specific terms assigned in the tags taxonomy. |
|
|
109
|
+
| `--tax-relation <value>` | no | Limit result set based on relationship between multiple taxonomies. |
|
|
110
|
+
| `--all` | no | read every page, as the API pages it |
|
|
111
|
+
|
|
112
|
+
## `wordpress api posts-revisions-delete [options]`
|
|
113
|
+
|
|
114
|
+
- What: deleteWpV2PostsByParentRevisionsById — destructive (DELETE…
|
|
115
|
+
- Call: `DELETE /wp/v2/posts/{parent}/revisions/{id}`, effect: destructive
|
|
116
|
+
- Permission keys: `posts.delete`, `posts.delete.force`
|
|
117
|
+
|
|
118
|
+
| Flag | Required | What |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| `--parent <value>` | yes | parent |
|
|
121
|
+
| `--id <value>` | yes | id |
|
|
122
|
+
| `--force <value>` | no | Required to be true, as revisions do not support trashing. |
|
|
123
|
+
|
|
124
|
+
## `wordpress api posts-revisions-get [options]`
|
|
125
|
+
|
|
126
|
+
- What: getWpV2PostsByParentRevisionsById — read (GET…
|
|
127
|
+
- Call: `GET /wp/v2/posts/{parent}/revisions/{id}`, effect: read
|
|
128
|
+
|
|
129
|
+
| Flag | Required | What |
|
|
130
|
+
|---|---|---|
|
|
131
|
+
| `--parent <value>` | yes | parent |
|
|
132
|
+
| `--id <value>` | yes | id |
|
|
133
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
134
|
+
|
|
135
|
+
## `wordpress api posts-revisions-list [options]`
|
|
136
|
+
|
|
137
|
+
- What: getWpV2PostsByParentRevisions — read (GET /wp/v2/posts/{parent}/revisions)
|
|
138
|
+
- Call: `GET /wp/v2/posts/{parent}/revisions`, effect: read
|
|
139
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
140
|
+
|
|
141
|
+
| Flag | Required | What |
|
|
142
|
+
|---|---|---|
|
|
143
|
+
| `--parent <value>` | yes | parent |
|
|
144
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
145
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
146
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
147
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
148
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
149
|
+
| `--orderby <value>` | no | Sort collection by object attribute. |
|
|
150
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
151
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
152
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
153
|
+
| `--all` | no | read every page, as the API pages it |
|
|
154
|
+
|
|
155
|
+
## `wordpress api posts-update [options]`
|
|
156
|
+
|
|
157
|
+
- What: postWpV2PostsById — write (POST /wp/v2/posts/{id})
|
|
158
|
+
- Call: `POST /wp/v2/posts/{id}`, effect: write
|
|
159
|
+
- Permission keys: `posts.publish`, `posts.update`
|
|
160
|
+
- Body: `PostWpV2PostsByIdRequest`
|
|
161
|
+
|
|
162
|
+
| Flag | Required | What |
|
|
163
|
+
|---|---|---|
|
|
164
|
+
| `--id <value>` | yes | id |
|
|
165
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
166
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: search
|
|
4
|
+
|
|
5
|
+
## `wordpress api search-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2Search — read (GET /wp/v2/search)
|
|
8
|
+
- Call: `GET /wp/v2/search`, effect: read
|
|
9
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
14
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
15
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
16
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
17
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
18
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
19
|
+
| `--subtype <value>` | no | Limit results to items of one or more object subtypes. |
|
|
20
|
+
| `--type <value>` | no | Limit results to items of an object type. |
|
|
21
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: settings
|
|
4
|
+
|
|
5
|
+
## `wordpress api settings-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Settings — write (POST /wp/v2/settings)
|
|
8
|
+
- Call: `POST /wp/v2/settings`, effect: write
|
|
9
|
+
- Body: `PostWpV2SettingsRequest`
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
14
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
15
|
+
|
|
16
|
+
## `wordpress api settings-list`
|
|
17
|
+
|
|
18
|
+
- What: getWpV2Settings — read (GET /wp/v2/settings)
|
|
19
|
+
- Call: `GET /wp/v2/settings`, effect: read
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: sidebars
|
|
4
|
+
|
|
5
|
+
## `wordpress api sidebars-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2SidebarsById — read (GET /wp/v2/sidebars/{id})
|
|
8
|
+
- Call: `GET /wp/v2/sidebars/{id}`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--id <value>` | yes | id |
|
|
13
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
14
|
+
|
|
15
|
+
## `wordpress api sidebars-list [options]`
|
|
16
|
+
|
|
17
|
+
- What: getWpV2Sidebars — read (GET /wp/v2/sidebars)
|
|
18
|
+
- Call: `GET /wp/v2/sidebars`, effect: read
|
|
19
|
+
|
|
20
|
+
| Flag | Required | What |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
23
|
+
|
|
24
|
+
## `wordpress api sidebars-update [options]`
|
|
25
|
+
|
|
26
|
+
- What: postWpV2SidebarsById — write (POST /wp/v2/sidebars/{id})
|
|
27
|
+
- Call: `POST /wp/v2/sidebars/{id}`, effect: write
|
|
28
|
+
- Body: `PostWpV2SidebarsByIdRequest`
|
|
29
|
+
|
|
30
|
+
| Flag | Required | What |
|
|
31
|
+
|---|---|---|
|
|
32
|
+
| `--id <value>` | yes | id |
|
|
33
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
34
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: statuses
|
|
4
|
+
|
|
5
|
+
## `wordpress api statuses-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2StatusesByStatus — read (GET /wp/v2/statuses/{status})
|
|
8
|
+
- Call: `GET /wp/v2/statuses/{status}`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--status <value>` | yes | status |
|
|
13
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
14
|
+
|
|
15
|
+
## `wordpress api statuses-list [options]`
|
|
16
|
+
|
|
17
|
+
- What: getWpV2Statuses — read (GET /wp/v2/statuses)
|
|
18
|
+
- Call: `GET /wp/v2/statuses`, effect: read
|
|
19
|
+
|
|
20
|
+
| Flag | Required | What |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|