@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,69 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: tags
|
|
4
|
+
|
|
5
|
+
## `wordpress api tags-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Tags — write (POST /wp/v2/tags)
|
|
8
|
+
- Call: `POST /wp/v2/tags`, effect: write
|
|
9
|
+
- Body: `PostWpV2TagsRequest`, 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 tags-delete [options]`
|
|
17
|
+
|
|
18
|
+
- What: deleteWpV2TagsById — destructive (DELETE /wp/v2/tags/{id})
|
|
19
|
+
- Call: `DELETE /wp/v2/tags/{id}`, effect: destructive
|
|
20
|
+
- Permission keys: `tags.delete`, `tags.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 tags-get [options]`
|
|
28
|
+
|
|
29
|
+
- What: getWpV2TagsById — read (GET /wp/v2/tags/{id})
|
|
30
|
+
- Call: `GET /wp/v2/tags/{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 tags-list [options]`
|
|
38
|
+
|
|
39
|
+
- What: getWpV2Tags — read (GET /wp/v2/tags)
|
|
40
|
+
- Call: `GET /wp/v2/tags`, 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 tags-update [options]`
|
|
60
|
+
|
|
61
|
+
- What: postWpV2TagsById — write (POST /wp/v2/tags/{id})
|
|
62
|
+
- Call: `POST /wp/v2/tags/{id}`, effect: write
|
|
63
|
+
- Body: `PostWpV2TagsByIdRequest`
|
|
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 |
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: taxonomies
|
|
4
|
+
|
|
5
|
+
## `wordpress api taxonomies-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2TaxonomiesByTaxonomy — read (GET /wp/v2/taxonomies/{taxonomy})
|
|
8
|
+
- Call: `GET /wp/v2/taxonomies/{taxonomy}`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--taxonomy <value>` | yes | taxonomy |
|
|
13
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
14
|
+
|
|
15
|
+
## `wordpress api taxonomies-list [options]`
|
|
16
|
+
|
|
17
|
+
- What: getWpV2Taxonomies — read (GET /wp/v2/taxonomies)
|
|
18
|
+
- Call: `GET /wp/v2/taxonomies`, 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
|
+
| `--type <value>` | no | Limit results to taxonomies associated with a specific post type. |
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: template-parts
|
|
4
|
+
|
|
5
|
+
## `wordpress api template-parts-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2TemplateParts — write (POST /wp/v2/template-parts)
|
|
8
|
+
- Call: `POST /wp/v2/template-parts`, effect: write
|
|
9
|
+
- Permission keys: `template-parts.publish`
|
|
10
|
+
- Body: `PostWpV2TemplatePartsRequest`, required
|
|
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 template-parts-list [options]`
|
|
18
|
+
|
|
19
|
+
- What: getWpV2TemplateParts — read (GET /wp/v2/template-parts)
|
|
20
|
+
- Call: `GET /wp/v2/template-parts`, effect: read
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--area <value>` | no | Limit to the specified template part area. |
|
|
25
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
26
|
+
| `--post-type <value>` | no | Post type to get the templates for. |
|
|
27
|
+
| `--wp-id <value>` | no | Limit to the specified post id. |
|
|
28
|
+
|
|
29
|
+
## `wordpress api template-parts-lookup-list [options]`
|
|
30
|
+
|
|
31
|
+
- What: getWpV2TemplatePartsLookup — read (GET /wp/v2/template-parts/lookup)
|
|
32
|
+
- Call: `GET /wp/v2/template-parts/lookup`, effect: read
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--is-custom <value>` | no | Indicates if a template is custom or part of the template hierarchy |
|
|
37
|
+
| `--slug <value>` | yes | The slug of the template to get the fallback for |
|
|
38
|
+
| `--template-prefix <value>` | no | The template prefix for the created template. This is used to extract the main template type, e.g. in \`taxonomy-books\` extracts the \`taxonomy\` |
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: templates
|
|
4
|
+
|
|
5
|
+
## `wordpress api templates-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Templates — write (POST /wp/v2/templates)
|
|
8
|
+
- Call: `POST /wp/v2/templates`, effect: write
|
|
9
|
+
- Permission keys: `templates.publish`
|
|
10
|
+
- Body: `PostWpV2TemplatesRequest`, required
|
|
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 templates-list [options]`
|
|
18
|
+
|
|
19
|
+
- What: getWpV2Templates — read (GET /wp/v2/templates)
|
|
20
|
+
- Call: `GET /wp/v2/templates`, effect: read
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--area <value>` | no | Limit to the specified template part area. |
|
|
25
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
26
|
+
| `--post-type <value>` | no | Post type to get the templates for. |
|
|
27
|
+
| `--wp-id <value>` | no | Limit to the specified post id. |
|
|
28
|
+
|
|
29
|
+
## `wordpress api templates-lookup-list [options]`
|
|
30
|
+
|
|
31
|
+
- What: getWpV2TemplatesLookup — read (GET /wp/v2/templates/lookup)
|
|
32
|
+
- Call: `GET /wp/v2/templates/lookup`, effect: read
|
|
33
|
+
|
|
34
|
+
| Flag | Required | What |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--is-custom <value>` | no | Indicates if a template is custom or part of the template hierarchy |
|
|
37
|
+
| `--slug <value>` | yes | The slug of the template to get the fallback for |
|
|
38
|
+
| `--template-prefix <value>` | no | The template prefix for the created template. This is used to extract the main template type, e.g. in \`taxonomy-books\` extracts the \`taxonomy\` |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: themes
|
|
4
|
+
|
|
5
|
+
## `wordpress api themes-list [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2Themes — read (GET /wp/v2/themes)
|
|
8
|
+
- Call: `GET /wp/v2/themes`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--status <value>` | no | Limit result set to themes assigned one or more statuses. |
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: types
|
|
4
|
+
|
|
5
|
+
## `wordpress api types-get [options]`
|
|
6
|
+
|
|
7
|
+
- What: getWpV2TypesByType — read (GET /wp/v2/types/{type})
|
|
8
|
+
- Call: `GET /wp/v2/types/{type}`, effect: read
|
|
9
|
+
|
|
10
|
+
| Flag | Required | What |
|
|
11
|
+
|---|---|---|
|
|
12
|
+
| `--type <value>` | yes | type |
|
|
13
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
14
|
+
|
|
15
|
+
## `wordpress api types-list [options]`
|
|
16
|
+
|
|
17
|
+
- What: getWpV2Types — read (GET /wp/v2/types)
|
|
18
|
+
- Call: `GET /wp/v2/types`, 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,149 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: users
|
|
4
|
+
|
|
5
|
+
## `wordpress api users-application-passwords-delete [options]`
|
|
6
|
+
|
|
7
|
+
- What: deleteWpV2UsersByUserIdApplicationPasswordsByUuid — destructive (DELETE…
|
|
8
|
+
- Call: `DELETE /wp/v2/users/{user_id}/application-passwords/{uuid}`, effect: destructive
|
|
9
|
+
- Permission keys: `users.delete`
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--user-id <value>` | yes | user\_id |
|
|
14
|
+
| `--uuid <value>` | yes | uuid |
|
|
15
|
+
|
|
16
|
+
## `wordpress api users-application-passwords-get [options]`
|
|
17
|
+
|
|
18
|
+
- What: getWpV2UsersByUserIdApplicationPasswordsByUuid — read (GET…
|
|
19
|
+
- Call: `GET /wp/v2/users/{user_id}/application-passwords/{uuid}`, effect: read
|
|
20
|
+
|
|
21
|
+
| Flag | Required | What |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| `--user-id <value>` | yes | user\_id |
|
|
24
|
+
| `--uuid <value>` | yes | uuid |
|
|
25
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
26
|
+
|
|
27
|
+
## `wordpress api users-application-passwords-introspect-list [options]`
|
|
28
|
+
|
|
29
|
+
- What: getWpV2UsersByUserIdApplicationPasswordsIntrospect — read (GET…
|
|
30
|
+
- Call: `GET /wp/v2/users/{user_id}/application-passwords/introspect`, effect: read
|
|
31
|
+
|
|
32
|
+
| Flag | Required | What |
|
|
33
|
+
|---|---|---|
|
|
34
|
+
| `--user-id <value>` | yes | user\_id |
|
|
35
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
36
|
+
|
|
37
|
+
## `wordpress api users-application-passwords-update [options]`
|
|
38
|
+
|
|
39
|
+
- What: postWpV2UsersByUserIdApplicationPasswordsByUuid — write (POST…
|
|
40
|
+
- Call: `POST /wp/v2/users/{user_id}/application-passwords/{uuid}`, effect: write
|
|
41
|
+
- Body: `PostWpV2UsersByUserIdApplicationPasswordsByUuidRequest`
|
|
42
|
+
|
|
43
|
+
| Flag | Required | What |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| `--user-id <value>` | yes | user\_id |
|
|
46
|
+
| `--uuid <value>` | yes | uuid |
|
|
47
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
48
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
49
|
+
|
|
50
|
+
## `wordpress api users-create [options]`
|
|
51
|
+
|
|
52
|
+
- What: postWpV2Users — write (POST /wp/v2/users)
|
|
53
|
+
- Call: `POST /wp/v2/users`, effect: write
|
|
54
|
+
- Body: `PostWpV2UsersRequest`, required
|
|
55
|
+
|
|
56
|
+
| Flag | Required | What |
|
|
57
|
+
|---|---|---|
|
|
58
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
59
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
60
|
+
|
|
61
|
+
## `wordpress api users-delete [options]`
|
|
62
|
+
|
|
63
|
+
- What: deleteWpV2UsersById — destructive (DELETE /wp/v2/users/{id})
|
|
64
|
+
- Call: `DELETE /wp/v2/users/{id}`, effect: destructive
|
|
65
|
+
- Permission keys: `users.delete`, `users.delete.force`
|
|
66
|
+
|
|
67
|
+
| Flag | Required | What |
|
|
68
|
+
|---|---|---|
|
|
69
|
+
| `--id <value>` | yes | id |
|
|
70
|
+
| `--force <value>` | no | Required to be true, as users do not support trashing. |
|
|
71
|
+
| `--reassign <value>` | yes | Reassign the deleted user's posts and links to this user ID. |
|
|
72
|
+
|
|
73
|
+
## `wordpress api users-get [options]`
|
|
74
|
+
|
|
75
|
+
- What: getWpV2UsersById — read (GET /wp/v2/users/{id})
|
|
76
|
+
- Call: `GET /wp/v2/users/{id}`, effect: read
|
|
77
|
+
|
|
78
|
+
| Flag | Required | What |
|
|
79
|
+
|---|---|---|
|
|
80
|
+
| `--id <value>` | yes | id |
|
|
81
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
82
|
+
|
|
83
|
+
## `wordpress api users-list [options]`
|
|
84
|
+
|
|
85
|
+
- What: getWpV2Users — read (GET /wp/v2/users)
|
|
86
|
+
- Call: `GET /wp/v2/users`, effect: read
|
|
87
|
+
- Pages: page number: send `page` (query), one more for each page; page size in `per_page` (query)
|
|
88
|
+
|
|
89
|
+
| Flag | Required | What |
|
|
90
|
+
|---|---|---|
|
|
91
|
+
| `--capabilities <value>` | no | Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability. |
|
|
92
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
93
|
+
| `--exclude <value>` | no | Ensure result set excludes specific IDs. |
|
|
94
|
+
| `--has-published-posts <value>` | no | Limit result set to users who have published posts. |
|
|
95
|
+
| `--include <value>` | no | Limit result set to specific IDs. |
|
|
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 user 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
|
+
| `--roles <value>` | no | Limit result set to users matching at least one specific role provided. Accepts csv list or single role. |
|
|
102
|
+
| `--search <value>` | no | Limit results to those matching a string. |
|
|
103
|
+
| `--search-columns <value>` | no | Array of column names to be searched. |
|
|
104
|
+
| `--slug <value>` | no | Limit result set to users with one or more specific slugs. |
|
|
105
|
+
| `--who <value>` | no | Limit result set to users who are considered authors. |
|
|
106
|
+
| `--all` | no | read every page, as the API pages it |
|
|
107
|
+
|
|
108
|
+
## `wordpress api users-me-create [options]`
|
|
109
|
+
|
|
110
|
+
- What: postWpV2UsersMe — write (POST /wp/v2/users/me)
|
|
111
|
+
- Call: `POST /wp/v2/users/me`, effect: write
|
|
112
|
+
- Body: `PostWpV2UsersMeRequest`
|
|
113
|
+
|
|
114
|
+
| Flag | Required | What |
|
|
115
|
+
|---|---|---|
|
|
116
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
117
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
118
|
+
|
|
119
|
+
## `wordpress api users-me-delete [options]`
|
|
120
|
+
|
|
121
|
+
- What: deleteWpV2UsersMe — destructive (DELETE /wp/v2/users/me)
|
|
122
|
+
- Call: `DELETE /wp/v2/users/me`, effect: destructive
|
|
123
|
+
- Permission keys: `users.delete`, `users.delete.force`
|
|
124
|
+
|
|
125
|
+
| Flag | Required | What |
|
|
126
|
+
|---|---|---|
|
|
127
|
+
| `--force <value>` | no | Required to be true, as users do not support trashing. |
|
|
128
|
+
| `--reassign <value>` | yes | Reassign the deleted user's posts and links to this user ID. |
|
|
129
|
+
|
|
130
|
+
## `wordpress api users-me-get [options]`
|
|
131
|
+
|
|
132
|
+
- What: getWpV2UsersMe — read (GET /wp/v2/users/me)
|
|
133
|
+
- Call: `GET /wp/v2/users/me`, effect: read
|
|
134
|
+
|
|
135
|
+
| Flag | Required | What |
|
|
136
|
+
|---|---|---|
|
|
137
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
138
|
+
|
|
139
|
+
## `wordpress api users-update [options]`
|
|
140
|
+
|
|
141
|
+
- What: postWpV2UsersById — write (POST /wp/v2/users/{id})
|
|
142
|
+
- Call: `POST /wp/v2/users/{id}`, effect: write
|
|
143
|
+
- Body: `PostWpV2UsersByIdRequest`
|
|
144
|
+
|
|
145
|
+
| Flag | Required | What |
|
|
146
|
+
|---|---|---|
|
|
147
|
+
| `--id <value>` | yes | id |
|
|
148
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
149
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: widget-types
|
|
4
|
+
|
|
5
|
+
## `wordpress api widget-types-encode [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2WidgetTypesByIdEncode — write (POST /wp/v2/widget-types/{id}/encode)
|
|
8
|
+
- Call: `POST /wp/v2/widget-types/{id}/encode`, effect: write
|
|
9
|
+
- Body: `PostWpV2WidgetTypesByIdEncodeRequest`
|
|
10
|
+
|
|
11
|
+
| Flag | Required | What |
|
|
12
|
+
|---|---|---|
|
|
13
|
+
| `--id <value>` | yes | id |
|
|
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 widget-types-get [options]`
|
|
18
|
+
|
|
19
|
+
- What: getWpV2WidgetTypesById — read (GET /wp/v2/widget-types/{id})
|
|
20
|
+
- Call: `GET /wp/v2/widget-types/{id}`, effect: read
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--id <value>` | yes | id |
|
|
25
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
26
|
+
|
|
27
|
+
## `wordpress api widget-types-list [options]`
|
|
28
|
+
|
|
29
|
+
- What: getWpV2WidgetTypes — read (GET /wp/v2/widget-types)
|
|
30
|
+
- Call: `GET /wp/v2/widget-types`, effect: read
|
|
31
|
+
|
|
32
|
+
| Flag | Required | What |
|
|
33
|
+
|---|---|---|
|
|
34
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
35
|
+
|
|
36
|
+
## `wordpress api widget-types-render [options]`
|
|
37
|
+
|
|
38
|
+
- What: postWpV2WidgetTypesByIdRender — write (POST /wp/v2/widget-types/{id}/render)
|
|
39
|
+
- Call: `POST /wp/v2/widget-types/{id}/render`, effect: write
|
|
40
|
+
- Body: `PostWpV2WidgetTypesByIdRenderRequest`
|
|
41
|
+
|
|
42
|
+
| Flag | Required | What |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| `--id <value>` | yes | id |
|
|
45
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
46
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: widgets
|
|
4
|
+
|
|
5
|
+
## `wordpress api widgets-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2Widgets — write (POST /wp/v2/widgets)
|
|
8
|
+
- Call: `POST /wp/v2/widgets`, effect: write
|
|
9
|
+
- Body: `PostWpV2WidgetsRequest`, 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 widgets-delete [options]`
|
|
17
|
+
|
|
18
|
+
- What: deleteWpV2WidgetsById — destructive (DELETE /wp/v2/widgets/{id})
|
|
19
|
+
- Call: `DELETE /wp/v2/widgets/{id}`, effect: destructive
|
|
20
|
+
- Permission keys: `widgets.delete`, `widgets.delete.force`
|
|
21
|
+
|
|
22
|
+
| Flag | Required | What |
|
|
23
|
+
|---|---|---|
|
|
24
|
+
| `--id <value>` | yes | id |
|
|
25
|
+
| `--force <value>` | no | Whether to force removal of the widget, or move it to the inactive sidebar. |
|
|
26
|
+
|
|
27
|
+
## `wordpress api widgets-get [options]`
|
|
28
|
+
|
|
29
|
+
- What: getWpV2WidgetsById — read (GET /wp/v2/widgets/{id})
|
|
30
|
+
- Call: `GET /wp/v2/widgets/{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 widgets-list [options]`
|
|
38
|
+
|
|
39
|
+
- What: getWpV2Widgets — read (GET /wp/v2/widgets)
|
|
40
|
+
- Call: `GET /wp/v2/widgets`, effect: read
|
|
41
|
+
|
|
42
|
+
| Flag | Required | What |
|
|
43
|
+
|---|---|---|
|
|
44
|
+
| `--context <value>` | no | Scope under which the request is made; determines fields present in response. |
|
|
45
|
+
| `--sidebar <value>` | no | The sidebar to return widgets for. |
|
|
46
|
+
|
|
47
|
+
## `wordpress api widgets-update [options]`
|
|
48
|
+
|
|
49
|
+
- What: postWpV2WidgetsById — write (POST /wp/v2/widgets/{id})
|
|
50
|
+
- Call: `POST /wp/v2/widgets/{id}`, effect: write
|
|
51
|
+
- Body: `PostWpV2WidgetsByIdRequest`
|
|
52
|
+
|
|
53
|
+
| Flag | Required | What |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| `--id <value>` | yes | id |
|
|
56
|
+
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
|
|
57
|
+
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API: wp\_pattern\_category
|
|
4
|
+
|
|
5
|
+
## `wordpress api wp-pattern-category-create [options]`
|
|
6
|
+
|
|
7
|
+
- What: postWpV2WpPatternCategory — write (POST /wp/v2/wp\_pattern\_category)
|
|
8
|
+
- Call: `POST /wp/v2/wp_pattern_category`, effect: write
|
|
9
|
+
- Body: `PostWpV2WpPatternCategoryRequest`, 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 wp-pattern-category-delete [options]`
|
|
17
|
+
|
|
18
|
+
- What: deleteWpV2WpPatternCategoryById — destructive (DELETE…
|
|
19
|
+
- Call: `DELETE /wp/v2/wp_pattern_category/{id}`, effect: destructive
|
|
20
|
+
- Permission keys: `wp-pattern-category.delete`, `wp-pattern-category.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 wp-pattern-category-get [options]`
|
|
28
|
+
|
|
29
|
+
- What: getWpV2WpPatternCategoryById — read (GET /wp/v2/wp\_pattern\_category/{id})
|
|
30
|
+
- Call: `GET /wp/v2/wp_pattern_category/{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 wp-pattern-category-list [options]`
|
|
38
|
+
|
|
39
|
+
- What: getWpV2WpPatternCategory — read (GET /wp/v2/wp\_pattern\_category)
|
|
40
|
+
- Call: `GET /wp/v2/wp_pattern_category`, 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 wp-pattern-category-update [options]`
|
|
60
|
+
|
|
61
|
+
- What: postWpV2WpPatternCategoryById — write (POST /wp/v2/wp\_pattern\_category/{id})
|
|
62
|
+
- Call: `POST /wp/v2/wp_pattern_category/{id}`, effect: write
|
|
63
|
+
- Body: `PostWpV2WpPatternCategoryByIdRequest`
|
|
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 |
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
|
|
2
|
+
|
|
3
|
+
# WordPress API
|
|
4
|
+
|
|
5
|
+
Every operation of the WordPress API this CLI offers is a command of its own. Read only the group
|
|
6
|
+
you need: `wordpress skill show api-<group>` prints it, as does the file `api/api-<group>.md` beside
|
|
7
|
+
this one. Each command lists its usage and flags as `--help` prints them.
|
|
8
|
+
|
|
9
|
+
Effects: `read` changes nothing; `write` changes the service; `destructive` deletes or overwrites there.
|
|
10
|
+
|
|
11
|
+
| Group | Read with | Commands | read | write | destructive |
|
|
12
|
+
|---|---|---|---|---|---|
|
|
13
|
+
| block-directory | `wordpress skill show api-block-directory` | 1 | 1 | 0 | 0 |
|
|
14
|
+
| block-patterns | `wordpress skill show api-block-patterns` | 2 | 2 | 0 | 0 |
|
|
15
|
+
| block-types | `wordpress skill show api-block-types` | 3 | 3 | 0 | 0 |
|
|
16
|
+
| blocks | `wordpress skill show api-blocks` | 11 | 6 | 3 | 2 |
|
|
17
|
+
| categories | `wordpress skill show api-categories` | 5 | 2 | 2 | 1 |
|
|
18
|
+
| comments | `wordpress skill show api-comments` | 5 | 2 | 2 | 1 |
|
|
19
|
+
| font-collections | `wordpress skill show api-font-collections` | 1 | 1 | 0 | 0 |
|
|
20
|
+
| font-families | `wordpress skill show api-font-families` | 9 | 4 | 3 | 2 |
|
|
21
|
+
| global-styles | `wordpress skill show api-global-styles` | 2 | 2 | 0 | 0 |
|
|
22
|
+
| media | `wordpress skill show api-media` | 7 | 2 | 4 | 1 |
|
|
23
|
+
| menu-items | `wordpress skill show api-menu-items` | 8 | 4 | 3 | 1 |
|
|
24
|
+
| menu-locations | `wordpress skill show api-menu-locations` | 2 | 2 | 0 | 0 |
|
|
25
|
+
| menus | `wordpress skill show api-menus` | 5 | 2 | 2 | 1 |
|
|
26
|
+
| navigation | `wordpress skill show api-navigation` | 11 | 6 | 3 | 2 |
|
|
27
|
+
| pages | `wordpress skill show api-pages` | 11 | 6 | 3 | 2 |
|
|
28
|
+
| pattern-directory | `wordpress skill show api-pattern-directory` | 1 | 1 | 0 | 0 |
|
|
29
|
+
| plugins | `wordpress skill show api-plugins` | 2 | 1 | 1 | 0 |
|
|
30
|
+
| posts | `wordpress skill show api-posts` | 11 | 6 | 3 | 2 |
|
|
31
|
+
| search | `wordpress skill show api-search` | 1 | 1 | 0 | 0 |
|
|
32
|
+
| settings | `wordpress skill show api-settings` | 2 | 1 | 1 | 0 |
|
|
33
|
+
| sidebars | `wordpress skill show api-sidebars` | 3 | 2 | 1 | 0 |
|
|
34
|
+
| statuses | `wordpress skill show api-statuses` | 2 | 2 | 0 | 0 |
|
|
35
|
+
| tags | `wordpress skill show api-tags` | 5 | 2 | 2 | 1 |
|
|
36
|
+
| taxonomies | `wordpress skill show api-taxonomies` | 2 | 2 | 0 | 0 |
|
|
37
|
+
| template-parts | `wordpress skill show api-template-parts` | 3 | 2 | 1 | 0 |
|
|
38
|
+
| templates | `wordpress skill show api-templates` | 3 | 2 | 1 | 0 |
|
|
39
|
+
| themes | `wordpress skill show api-themes` | 1 | 1 | 0 | 0 |
|
|
40
|
+
| types | `wordpress skill show api-types` | 2 | 2 | 0 | 0 |
|
|
41
|
+
| users | `wordpress skill show api-users` | 12 | 5 | 4 | 3 |
|
|
42
|
+
| widget-types | `wordpress skill show api-widget-types` | 4 | 2 | 2 | 0 |
|
|
43
|
+
| widgets | `wordpress skill show api-widgets` | 5 | 2 | 2 | 1 |
|
|
44
|
+
| wp\_pattern\_category | `wordpress skill show api-wp-pattern-category` | 5 | 2 | 2 | 1 |
|