@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,79 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: comments
|
|
4
|
+
|
|
5
|
+
## `wordpress api comments-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Comments — write (POST /wp/v2/comments)
|
|
8
|
+
- Call: `POST /wp/v2/comments`, effect: write
|
|
9
|
+
- Body: `PostWpV2CommentsRequest`
|
|
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 comments-delete [options]`
|
|
17
|
+
|
|
18
|
+
- What: deleteWpV2CommentsById — destructive (DELETE /wp/v2/comments/{id})
|
|
19
|
+
- Call: `DELETE /wp/v2/comments/{id}`, effect: destructive
|
|
20
|
+
- Permission keys: `comments.delete`, `comments.delete.force`
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--id <value>` | yes | id |
|
|
25
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
26
|
+
| `--password <value>` | no | The password for the parent post of the comment (if the post is password protected). |
|
|
27
|
+
|
|
28
|
+
## `wordpress api comments-get [options]`
|
|
29
|
+
|
|
30
|
+
- What: getWpV2CommentsById — read (GET /wp/v2/comments/{id})
|
|
31
|
+
- Call: `GET /wp/v2/comments/{id}`, effect: read
|
|
32
|
+
|
|
33
|
+
| Flag | Required | What |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `--id <value>` | yes | id |
|
|
36
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
37
|
+
| `--password <value>` | no | The password for the parent post of the comment (if the post is password protected). |
|
|
38
|
+
|
|
39
|
+
## `wordpress api comments-list [options]`
|
|
40
|
+
|
|
41
|
+
- What: getWpV2Comments — read (GET /wp/v2/comments)
|
|
42
|
+
- Call: `GET /wp/v2/comments`, effect: read
|
|
43
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--after <value>` | no | Limit response to comments published after a given ISO8601 compliant date. |
|
|
48
|
+
| `--author <value>` | no | Limit result set to comments assigned to specific user IDs. Requires authorization. |
|
|
49
|
+
| `--author-email <value>` | no | Limit result set to that from a specific author email. Requires authorization. |
|
|
50
|
+
| `--author-exclude <value>` | no | Ensure result set excludes comments assigned to specific user IDs. Requires authorization. |
|
|
51
|
+
| `--before <value>` | no | Limit response to comments published before a given ISO8601 compliant date. |
|
|
52
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
53
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
54
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
55
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
56
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
57
|
+
| `--orderby <value>` | no | Sort collection by comment attribute. |
|
|
58
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
59
|
+
| `--parent <value>` | no | Limit result set to comments of specific parent IDs. |
|
|
60
|
+
| `--parent-exclude <value>` | no | Ensure result set excludes specific parent IDs. |
|
|
61
|
+
| `--password <value>` | no | The password for the post if it is password protected. |
|
|
62
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
63
|
+
| `--post <value>` | no | Limit result set to comments assigned to specific post IDs. |
|
|
64
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
65
|
+
| `--status <value>` | no | Limit result set to comments assigned a specific status. Requires authorization. |
|
|
66
|
+
| `--type <value>` | no | Limit result set to comments assigned a specific type. Requires authorization. |
|
|
67
|
+
| `--all` | no | read every page, as the API pages it |
|
|
68
|
+
|
|
69
|
+
## `wordpress api comments-update [options]`
|
|
70
|
+
|
|
71
|
+
- What: postWpV2CommentsById — write (POST /wp/v2/comments/{id})
|
|
72
|
+
- Call: `POST /wp/v2/comments/{id}`, effect: write
|
|
73
|
+
- Body: `PostWpV2CommentsByIdRequest`
|
|
74
|
+
|
|
75
|
+
| Flag | Required | What |
|
|
76
|
+
|---|---|---|
|
|
77
|
+
| `--id <value>` | yes | id |
|
|
78
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
79
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: font-collections
|
|
4
|
+
|
|
5
|
+
## `wordpress api font-collections-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2FontCollections — read (GET /wp/v2/font-collections)
|
|
8
|
+
- Call: `GET /wp/v2/font-collections`, 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
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
15
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
16
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: font-families
|
|
4
|
+
|
|
5
|
+
## `wordpress api font-families-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2FontFamilies — write (POST /wp/v2/font-families)
|
|
8
|
+
- Call: `POST /wp/v2/font-families`, effect: write
|
|
9
|
+
- Body: `PostWpV2FontFamiliesRequest`, 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 font-families-delete [options]`
|
|
17
|
+
|
|
18
|
+
- What: deleteWpV2FontFamiliesById — destructive (DELETE /wp/v2/font-families/{id})
|
|
19
|
+
- Call: `DELETE /wp/v2/font-families/{id}`, effect: destructive
|
|
20
|
+
- Permission keys: `font-families.delete`, `font-families.delete.force`
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--id <value>` | yes | id |
|
|
25
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
26
|
+
|
|
27
|
+
## `wordpress api font-families-font-faces-create [options]`
|
|
28
|
+
|
|
29
|
+
- What: postWpV2FontFamiliesByFontFamilyIdFontFaces — write (POST…
|
|
30
|
+
- Call: `POST /wp/v2/font-families/{font_family_id}/font-faces`, effect: write
|
|
31
|
+
- Body: `PostWpV2FontFamiliesByFontFamilyIdFontFacesRequest`, required
|
|
32
|
+
|
|
33
|
+
| Flag | Required | What |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| `--font-family-id <value>` | yes | font\_family\_id |
|
|
36
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
37
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
38
|
+
|
|
39
|
+
## `wordpress api font-families-font-faces-delete [options]`
|
|
40
|
+
|
|
41
|
+
- What: deleteWpV2FontFamiliesByFontFamilyIdFontFacesById — destructive (DELETE…
|
|
42
|
+
- Call: `DELETE /wp/v2/font-families/{font_family_id}/font-faces/{id}`, effect: destructive
|
|
43
|
+
- Permission keys: `font-families.delete`, `font-families.delete.force`
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--font-family-id <value>` | yes | font\_family\_id |
|
|
48
|
+
| `--id <value>` | yes | id |
|
|
49
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
50
|
+
|
|
51
|
+
## `wordpress api font-families-font-faces-get [options]`
|
|
52
|
+
|
|
53
|
+
- What: getWpV2FontFamiliesByFontFamilyIdFontFacesById — read (GET…
|
|
54
|
+
- Call: `GET /wp/v2/font-families/{font_family_id}/font-faces/{id}`, effect: read
|
|
55
|
+
|
|
56
|
+
| Flag | Required | What |
|
|
57
|
+
|---|---|---|
|
|
58
|
+
| `--font-family-id <value>` | yes | font\_family\_id |
|
|
59
|
+
| `--id <value>` | yes | id |
|
|
60
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
61
|
+
|
|
62
|
+
## `wordpress api font-families-font-faces-list [options]`
|
|
63
|
+
|
|
64
|
+
- What: getWpV2FontFamiliesByFontFamilyIdFontFaces — read (GET…
|
|
65
|
+
- Call: `GET /wp/v2/font-families/{font_family_id}/font-faces`, effect: read
|
|
66
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
67
|
+
|
|
68
|
+
| Flag | Required | What |
|
|
69
|
+
|---|---|---|
|
|
70
|
+
| `--font-family-id <value>` | yes | font\_family\_id |
|
|
71
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
72
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
73
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
74
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
75
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
76
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
77
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
78
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
79
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
80
|
+
| `--all` | no | read every page, as the API pages it |
|
|
81
|
+
|
|
82
|
+
## `wordpress api font-families-get [options]`
|
|
83
|
+
|
|
84
|
+
- What: getWpV2FontFamiliesById — read (GET /wp/v2/font-families/{id})
|
|
85
|
+
- Call: `GET /wp/v2/font-families/{id}`, effect: read
|
|
86
|
+
|
|
87
|
+
| Flag | Required | What |
|
|
88
|
+
|---|---|---|
|
|
89
|
+
| `--id <value>` | yes | id |
|
|
90
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
91
|
+
|
|
92
|
+
## `wordpress api font-families-list [options]`
|
|
93
|
+
|
|
94
|
+
- What: getWpV2FontFamilies — read (GET /wp/v2/font-families)
|
|
95
|
+
- Call: `GET /wp/v2/font-families`, effect: read
|
|
96
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
97
|
+
|
|
98
|
+
| Flag | Required | What |
|
|
99
|
+
|---|---|---|
|
|
100
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
101
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
102
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
103
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
104
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
105
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
106
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
107
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
108
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
109
|
+
| `--slug <value>` | no | Limit result set to posts with one or more specific slugs. |
|
|
110
|
+
| `--all` | no | read every page, as the API pages it |
|
|
111
|
+
|
|
112
|
+
## `wordpress api font-families-update [options]`
|
|
113
|
+
|
|
114
|
+
- What: postWpV2FontFamiliesById — write (POST /wp/v2/font-families/{id})
|
|
115
|
+
- Call: `POST /wp/v2/font-families/{id}`, effect: write
|
|
116
|
+
- Body: `PostWpV2FontFamiliesByIdRequest`, required
|
|
117
|
+
|
|
118
|
+
| Flag | Required | What |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| `--id <value>` | yes | id |
|
|
121
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
122
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: global-styles
|
|
4
|
+
|
|
5
|
+
## `wordpress api global-styles-revisions-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2GlobalStylesByParentRevisionsById — read (GET…
|
|
8
|
+
- Call: `GET /wp/v2/global-styles/{parent}/revisions/{id}`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--parent <value>` | yes | parent |
|
|
13
|
+
| `--id <value>` | yes | id |
|
|
14
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
15
|
+
|
|
16
|
+
## `wordpress api global-styles-revisions-list [options]`
|
|
17
|
+
|
|
18
|
+
- What: getWpV2GlobalStylesByParentRevisions — read (GET…
|
|
19
|
+
- Call: `GET /wp/v2/global-styles/{parent}/revisions`, effect: read
|
|
20
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--parent <value>` | yes | parent |
|
|
25
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
26
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
27
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
28
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
29
|
+
| `--all` | no | read every page, as the API pages it |
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: media
|
|
4
|
+
|
|
5
|
+
## `wordpress api media-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Media — write (POST /wp/v2/media)
|
|
8
|
+
- Call: `POST /wp/v2/media`, effect: write
|
|
9
|
+
- Permission keys: `media.publish`
|
|
10
|
+
- Body: `PostWpV2MediaRequest`
|
|
11
|
+
|
|
12
|
+
| Flag | Required | What |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
15
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
16
|
+
|
|
17
|
+
## `wordpress api media-delete [options]`
|
|
18
|
+
|
|
19
|
+
- What: deleteWpV2MediaById — destructive (DELETE /wp/v2/media/{id})
|
|
20
|
+
- Call: `DELETE /wp/v2/media/{id}`, effect: destructive
|
|
21
|
+
- Permission keys: `media.delete`, `media.delete.force`
|
|
22
|
+
|
|
23
|
+
| Flag | Required | What |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| `--id <value>` | yes | id |
|
|
26
|
+
| `--force <value>` | no | Whether to bypass Trash and force deletion. |
|
|
27
|
+
|
|
28
|
+
## `wordpress api media-edit [options]`
|
|
29
|
+
|
|
30
|
+
- What: postWpV2MediaByIdEdit — write (POST /wp/v2/media/{id}/edit)
|
|
31
|
+
- Call: `POST /wp/v2/media/{id}/edit`, effect: write
|
|
32
|
+
- Body: `PostWpV2MediaByIdEditRequest`, required
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--id <value>` | yes | id |
|
|
37
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
38
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
39
|
+
|
|
40
|
+
## `wordpress api media-get [options]`
|
|
41
|
+
|
|
42
|
+
- What: getWpV2MediaById — read (GET /wp/v2/media/{id})
|
|
43
|
+
- Call: `GET /wp/v2/media/{id}`, effect: read
|
|
44
|
+
|
|
45
|
+
| Flag | Required | What |
|
|
46
|
+
|---|---|---|
|
|
47
|
+
| `--id <value>` | yes | id |
|
|
48
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
49
|
+
|
|
50
|
+
## `wordpress api media-list [options]`
|
|
51
|
+
|
|
52
|
+
- What: getWpV2Media — read (GET /wp/v2/media)
|
|
53
|
+
- Call: `GET /wp/v2/media`, effect: read
|
|
54
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
55
|
+
|
|
56
|
+
| Flag | Required | What |
|
|
57
|
+
|---|---|---|
|
|
58
|
+
| `--after <value>` | no | Limit response to posts published after a given ISO8601 compliant date. |
|
|
59
|
+
| `--author <value>` | no | Limit result set to posts assigned to specific authors. |
|
|
60
|
+
| `--author-exclude <value>` | no | Ensure result set excludes posts assigned to specific authors. |
|
|
61
|
+
| `--before <value>` | no | Limit response to posts published before a given ISO8601 compliant date. |
|
|
62
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
63
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
64
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
65
|
+
| `--media-type <value>` | no | Limit result set to attachments of a particular media type or media types. |
|
|
66
|
+
| `--mime-type <value>` | no | Limit result set to attachments of a particular MIME type or MIME types. |
|
|
67
|
+
| `--modified-after <value>` | no | Limit response to posts modified after a given ISO8601 compliant date. |
|
|
68
|
+
| `--modified-before <value>` | no | Limit response to posts modified before a given ISO8601 compliant date. |
|
|
69
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
70
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
71
|
+
| `--orderby <value>` | no | Sort collection by post attribute. |
|
|
72
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
73
|
+
| `--parent <value>` | no | Limit result set to items with particular parent IDs. |
|
|
74
|
+
| `--parent-exclude <value>` | no | Limit result set to all items except those of a particular parent ID. |
|
|
75
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
76
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
77
|
+
| `--search-columns <value>` | no | Array of column names to be searched. |
|
|
78
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
79
|
+
| `--slug <value>` | no | Limit result set to posts with one or more specific slugs. |
|
|
80
|
+
| `--status <value>` | no | Limit result set to posts assigned one or more statuses. |
|
|
81
|
+
| `--all` | no | read every page, as the API pages it |
|
|
82
|
+
|
|
83
|
+
## `wordpress api media-post-process [options]`
|
|
84
|
+
|
|
85
|
+
- What: postWpV2MediaByIdPostProcess — write (POST /wp/v2/media/{id}/post-process)
|
|
86
|
+
- Call: `POST /wp/v2/media/{id}/post-process`, effect: write
|
|
87
|
+
- Body: `PostWpV2MediaByIdPostProcessRequest`, required
|
|
88
|
+
|
|
89
|
+
| Flag | Required | What |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| `--id <value>` | yes | id |
|
|
92
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
93
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
94
|
+
|
|
95
|
+
## `wordpress api media-update [options]`
|
|
96
|
+
|
|
97
|
+
- What: postWpV2MediaById — write (POST /wp/v2/media/{id})
|
|
98
|
+
- Call: `POST /wp/v2/media/{id}`, effect: write
|
|
99
|
+
- Permission keys: `media.publish`
|
|
100
|
+
- Body: `PostWpV2MediaByIdRequest`
|
|
101
|
+
|
|
102
|
+
| Flag | Required | What |
|
|
103
|
+
|---|---|---|
|
|
104
|
+
| `--id <value>` | yes | id |
|
|
105
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
106
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: menu-items
|
|
4
|
+
|
|
5
|
+
## `wordpress api menu-items-autosaves-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2MenuItemsByIdAutosaves — write (POST /wp/v2/menu-items/{id}/autosaves)
|
|
8
|
+
- Call: `POST /wp/v2/menu-items/{id}/autosaves`, effect: write
|
|
9
|
+
- Permission keys: `menu-items.publish`
|
|
10
|
+
- Body: `PostWpV2MenuItemsByIdAutosavesRequest`
|
|
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 menu-items-autosaves-get [options]`
|
|
19
|
+
|
|
20
|
+
- What: getWpV2MenuItemsByParentAutosavesById — read (GET…
|
|
21
|
+
- Call: `GET /wp/v2/menu-items/{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 menu-items-autosaves-list [options]`
|
|
30
|
+
|
|
31
|
+
- What: getWpV2MenuItemsByIdAutosaves — read (GET /wp/v2/menu-items/{id}/autosaves)
|
|
32
|
+
- Call: `GET /wp/v2/menu-items/{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 menu-items-create [options]`
|
|
41
|
+
|
|
42
|
+
- What: postWpV2MenuItems — write (POST /wp/v2/menu-items)
|
|
43
|
+
- Call: `POST /wp/v2/menu-items`, effect: write
|
|
44
|
+
- Permission keys: `menu-items.publish`
|
|
45
|
+
- Body: `PostWpV2MenuItemsRequest`
|
|
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 menu-items-delete [options]`
|
|
53
|
+
|
|
54
|
+
- What: deleteWpV2MenuItemsById — destructive (DELETE /wp/v2/menu-items/{id})
|
|
55
|
+
- Call: `DELETE /wp/v2/menu-items/{id}`, effect: destructive
|
|
56
|
+
- Permission keys: `menu-items.delete`, `menu-items.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 menu-items-get [options]`
|
|
64
|
+
|
|
65
|
+
- What: getWpV2MenuItemsById — read (GET /wp/v2/menu-items/{id})
|
|
66
|
+
- Call: `GET /wp/v2/menu-items/{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
|
+
|
|
73
|
+
## `wordpress api menu-items-list [options]`
|
|
74
|
+
|
|
75
|
+
- What: getWpV2MenuItems — read (GET /wp/v2/menu-items)
|
|
76
|
+
- Call: `GET /wp/v2/menu-items`, effect: read
|
|
77
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
78
|
+
|
|
79
|
+
| Flag | Required | What |
|
|
80
|
+
|---|---|---|
|
|
81
|
+
| `--after <value>` | no | Limit response to posts published after a given ISO8601 compliant date. |
|
|
82
|
+
| `--before <value>` | no | Limit response to posts published before a given ISO8601 compliant date. |
|
|
83
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
84
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
85
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
86
|
+
| `--menu-order <value>` | no | Limit result set to posts with a specific menu\_order value. |
|
|
87
|
+
| `--menus <value>` | no | Limit result set to items with specific terms assigned in the menus taxonomy. |
|
|
88
|
+
| `--menus-exclude <value>` | no | Limit result set to items except those with specific terms assigned in the menus taxonomy. |
|
|
89
|
+
| `--modified-after <value>` | no | Limit response to posts modified after a given ISO8601 compliant date. |
|
|
90
|
+
| `--modified-before <value>` | no | Limit response to posts modified before a given ISO8601 compliant date. |
|
|
91
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
92
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
93
|
+
| `--orderby <value>` | no | Sort collection by object attribute. |
|
|
94
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
95
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
96
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
97
|
+
| `--search-columns <value>` | no | Array of column names to be searched. |
|
|
98
|
+
| `--search-semantics <value>` | no | How to interpret the search input. |
|
|
99
|
+
| `--slug <value>` | no | Limit result set to posts with one or more specific slugs. |
|
|
100
|
+
| `--status <value>` | no | Limit result set to posts assigned one or more statuses. |
|
|
101
|
+
| `--tax-relation <value>` | no | Limit result set based on relationship between multiple taxonomies. |
|
|
102
|
+
| `--all` | no | read every page, as the API pages it |
|
|
103
|
+
|
|
104
|
+
## `wordpress api menu-items-update [options]`
|
|
105
|
+
|
|
106
|
+
- What: postWpV2MenuItemsById — write (POST /wp/v2/menu-items/{id})
|
|
107
|
+
- Call: `POST /wp/v2/menu-items/{id}`, effect: write
|
|
108
|
+
- Permission keys: `menu-items.publish`
|
|
109
|
+
- Body: `PostWpV2MenuItemsByIdRequest`
|
|
110
|
+
|
|
111
|
+
| Flag | Required | What |
|
|
112
|
+
|---|---|---|
|
|
113
|
+
| `--id <value>` | yes | id |
|
|
114
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
115
|
+
| `--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: menu-locations
|
|
4
|
+
|
|
5
|
+
## `wordpress api menu-locations-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2MenuLocationsByLocation — read (GET /wp/v2/menu-locations/{location})
|
|
8
|
+
- Call: `GET /wp/v2/menu-locations/{location}`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--location <value>` | yes | location |
|
|
13
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
14
|
+
|
|
15
|
+
## `wordpress api menu-locations-list [options]`
|
|
16
|
+
|
|
17
|
+
- What: getWpV2MenuLocations — read (GET /wp/v2/menu-locations)
|
|
18
|
+
- Call: `GET /wp/v2/menu-locations`, effect: read
|
|
19
|
+
|
|
20
|
+
| Flag | Required | What |
|
|
21
|
+
|---|---|---|
|
|
22
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: menus
|
|
4
|
+
|
|
5
|
+
## `wordpress api menus-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Menus — write (POST /wp/v2/menus)
|
|
8
|
+
- Call: `POST /wp/v2/menus`, effect: write
|
|
9
|
+
- Body: `PostWpV2MenusRequest`, 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 menus-delete [options]`
|
|
17
|
+
|
|
18
|
+
- What: deleteWpV2MenusById — destructive (DELETE /wp/v2/menus/{id})
|
|
19
|
+
- Call: `DELETE /wp/v2/menus/{id}`, effect: destructive
|
|
20
|
+
- Permission keys: `menus.delete`, `menus.delete.force`
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--id <value>` | yes | id |
|
|
25
|
+
| `--force <value>` | no | Required to be true, as terms do not support trashing. |
|
|
26
|
+
|
|
27
|
+
## `wordpress api menus-get [options]`
|
|
28
|
+
|
|
29
|
+
- What: getWpV2MenusById — read (GET /wp/v2/menus/{id})
|
|
30
|
+
- Call: `GET /wp/v2/menus/{id}`, effect: read
|
|
31
|
+
|
|
32
|
+
| Flag | Required | What |
|
|
33
|
+
|---|---|---|
|
|
34
|
+
| `--id <value>` | yes | id |
|
|
35
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
36
|
+
|
|
37
|
+
## `wordpress api menus-list [options]`
|
|
38
|
+
|
|
39
|
+
- What: getWpV2Menus — read (GET /wp/v2/menus)
|
|
40
|
+
- Call: `GET /wp/v2/menus`, effect: read
|
|
41
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
42
|
+
|
|
43
|
+
| Flag | Required | What |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
46
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
47
|
+
| `--hide-empty <value>` | no | Whether to hide terms not assigned to any posts. |
|
|
48
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
49
|
+
| `--offset <value>` | no | Offset the result set by a specific number of items. |
|
|
50
|
+
| `--order <value>` | no | Order sort attribute ascending or descending. |
|
|
51
|
+
| `--orderby <value>` | no | Sort collection by term attribute. |
|
|
52
|
+
| `--page <value>` | no | Current page of the collection. |
|
|
53
|
+
| `--per-page <value>` | no | Maximum number of items to be returned in result set. |
|
|
54
|
+
| `--post <value>` | no | Limit result set to terms assigned to a specific post. |
|
|
55
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
56
|
+
| `--slug <value>` | no | Limit result set to terms with one or more specific slugs. |
|
|
57
|
+
| `--all` | no | read every page, as the API pages it |
|
|
58
|
+
|
|
59
|
+
## `wordpress api menus-update [options]`
|
|
60
|
+
|
|
61
|
+
- What: postWpV2MenusById — write (POST /wp/v2/menus/{id})
|
|
62
|
+
- Call: `POST /wp/v2/menus/{id}`, effect: write
|
|
63
|
+
- Body: `PostWpV2MenusByIdRequest`
|
|
64
|
+
|
|
65
|
+
| Flag | Required | What |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| `--id <value>` | yes | id |
|
|
68
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
69
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|