Make WordPress Core

Changeset 58216


Ignore:
Timestamp:
05/27/2024 07:03:49 PM (8 months ago)
Author:
swissspidy
Message:

Build/Test Tools: Update REST API fixtures after [58211].

See #41172.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/qunit/fixtures/wp-api-generated.js

    r58184 r58216  
    27122712                            ],
    27132713                            "default": "view",
    2714                             "required": false
    2715                         }
    2716                     }
    2717                 }
    2718             ]
    2719         },
    2720         "/wp/v2/menu-items": {
    2721             "namespace": "wp/v2",
    2722             "methods": [
    2723                 "GET",
    2724                 "POST"
    2725             ],
    2726             "endpoints": [
    2727                 {
    2728                     "methods": [
    2729                         "GET"
    2730                     ],
    2731                     "allow_batch": {
    2732                         "v1": true
    2733                     },
    2734                     "args": {
    2735                         "context": {
    2736                             "description": "Scope under which the request is made; determines fields present in response.",
    2737                             "type": "string",
    2738                             "enum": [
    2739                                 "view",
    2740                                 "embed",
    2741                                 "edit"
    2742                             ],
    2743                             "default": "view",
    2744                             "required": false
    2745                         },
    2746                         "page": {
    2747                             "description": "Current page of the collection.",
    2748                             "type": "integer",
    2749                             "default": 1,
    2750                             "minimum": 1,
    2751                             "required": false
    2752                         },
    2753                         "per_page": {
    2754                             "description": "Maximum number of items to be returned in result set.",
    2755                             "type": "integer",
    2756                             "default": 100,
    2757                             "minimum": 1,
    2758                             "maximum": 100,
    2759                             "required": false
    2760                         },
    2761                         "search": {
    2762                             "description": "Limit results to those matching a string.",
    2763                             "type": "string",
    2764                             "required": false
    2765                         },
    2766                         "after": {
    2767                             "description": "Limit response to posts published after a given ISO8601 compliant date.",
    2768                             "type": "string",
    2769                             "format": "date-time",
    2770                             "required": false
    2771                         },
    2772                         "modified_after": {
    2773                             "description": "Limit response to posts modified after a given ISO8601 compliant date.",
    2774                             "type": "string",
    2775                             "format": "date-time",
    2776                             "required": false
    2777                         },
    2778                         "before": {
    2779                             "description": "Limit response to posts published before a given ISO8601 compliant date.",
    2780                             "type": "string",
    2781                             "format": "date-time",
    2782                             "required": false
    2783                         },
    2784                         "modified_before": {
    2785                             "description": "Limit response to posts modified before a given ISO8601 compliant date.",
    2786                             "type": "string",
    2787                             "format": "date-time",
    2788                             "required": false
    2789                         },
    2790                         "exclude": {
    2791                             "description": "Ensure result set excludes specific IDs.",
    2792                             "type": "array",
    2793                             "items": {
    2794                                 "type": "integer"
    2795                             },
    2796                             "default": [],
    2797                             "required": false
    2798                         },
    2799                         "include": {
    2800                             "description": "Limit result set to specific IDs.",
    2801                             "type": "array",
    2802                             "items": {
    2803                                 "type": "integer"
    2804                             },
    2805                             "default": [],
    2806                             "required": false
    2807                         },
    2808                         "offset": {
    2809                             "description": "Offset the result set by a specific number of items.",
    2810                             "type": "integer",
    2811                             "required": false
    2812                         },
    2813                         "order": {
    2814                             "description": "Order sort attribute ascending or descending.",
    2815                             "type": "string",
    2816                             "default": "asc",
    2817                             "enum": [
    2818                                 "asc",
    2819                                 "desc"
    2820                             ],
    2821                             "required": false
    2822                         },
    2823                         "orderby": {
    2824                             "description": "Sort collection by object attribute.",
    2825                             "type": "string",
    2826                             "default": "menu_order",
    2827                             "enum": [
    2828                                 "author",
    2829                                 "date",
    2830                                 "id",
    2831                                 "include",
    2832                                 "modified",
    2833                                 "parent",
    2834                                 "relevance",
    2835                                 "slug",
    2836                                 "include_slugs",
    2837                                 "title",
    2838                                 "menu_order"
    2839                             ],
    2840                             "required": false
    2841                         },
    2842                         "search_columns": {
    2843                             "default": [],
    2844                             "description": "Array of column names to be searched.",
    2845                             "type": "array",
    2846                             "items": {
    2847                                 "enum": [
    2848                                     "post_title",
    2849                                     "post_content",
    2850                                     "post_excerpt"
    2851                                 ],
    2852                                 "type": "string"
    2853                             },
    2854                             "required": false
    2855                         },
    2856                         "slug": {
    2857                             "description": "Limit result set to posts with one or more specific slugs.",
    2858                             "type": "array",
    2859                             "items": {
    2860                                 "type": "string"
    2861                             },
    2862                             "required": false
    2863                         },
    2864                         "status": {
    2865                             "default": "publish",
    2866                             "description": "Limit result set to posts assigned one or more statuses.",
    2867                             "type": "array",
    2868                             "items": {
    2869                                 "enum": [
    2870                                     "publish",
    2871                                     "future",
    2872                                     "draft",
    2873                                     "pending",
    2874                                     "private",
    2875                                     "trash",
    2876                                     "auto-draft",
    2877                                     "inherit",
    2878                                     "request-pending",
    2879                                     "request-confirmed",
    2880                                     "request-failed",
    2881                                     "request-completed",
    2882                                     "any"
    2883                                 ],
    2884                                 "type": "string"
    2885                             },
    2886                             "required": false
    2887                         },
    2888                         "tax_relation": {
    2889                             "description": "Limit result set based on relationship between multiple taxonomies.",
    2890                             "type": "string",
    2891                             "enum": [
    2892                                 "AND",
    2893                                 "OR"
    2894                             ],
    2895                             "required": false
    2896                         },
    2897                         "menus": {
    2898                             "description": "Limit result set to items with specific terms assigned in the menus taxonomy.",
    2899                             "type": [
    2900                                 "object",
    2901                                 "array"
    2902                             ],
    2903                             "oneOf": [
    2904                                 {
    2905                                     "title": "Term ID List",
    2906                                     "description": "Match terms with the listed IDs.",
    2907                                     "type": "array",
    2908                                     "items": {
    2909                                         "type": "integer"
    2910                                     }
    2911                                 },
    2912                                 {
    2913                                     "title": "Term ID Taxonomy Query",
    2914                                     "description": "Perform an advanced term query.",
    2915                                     "type": "object",
    2916                                     "properties": {
    2917                                         "terms": {
    2918                                             "description": "Term IDs.",
    2919                                             "type": "array",
    2920                                             "items": {
    2921                                                 "type": "integer"
    2922                                             },
    2923                                             "default": []
    2924                                         },
    2925                                         "operator": {
    2926                                             "description": "Whether items must be assigned all or any of the specified terms.",
    2927                                             "type": "string",
    2928                                             "enum": [
    2929                                                 "AND",
    2930                                                 "OR"
    2931                                             ],
    2932                                             "default": "OR"
    2933                                         }
    2934                                     },
    2935                                     "additionalProperties": false
    2936                                 }
    2937                             ],
    2938                             "required": false
    2939                         },
    2940                         "menus_exclude": {
    2941                             "description": "Limit result set to items except those with specific terms assigned in the menus taxonomy.",
    2942                             "type": [
    2943                                 "object",
    2944                                 "array"
    2945                             ],
    2946                             "oneOf": [
    2947                                 {
    2948                                     "title": "Term ID List",
    2949                                     "description": "Match terms with the listed IDs.",
    2950                                     "type": "array",
    2951                                     "items": {
    2952                                         "type": "integer"
    2953                                     }
    2954                                 },
    2955                                 {
    2956                                     "title": "Term ID Taxonomy Query",
    2957                                     "description": "Perform an advanced term query.",
    2958                                     "type": "object",
    2959                                     "properties": {
    2960                                         "terms": {
    2961                                             "description": "Term IDs.",
    2962                                             "type": "array",
    2963                                             "items": {
    2964                                                 "type": "integer"
    2965                                             },
    2966                                             "default": []
    2967                                         }
    2968                                     },
    2969                                     "additionalProperties": false
    2970                                 }
    2971                             ],
    2972                             "required": false
    2973                         },
    2974                         "menu_order": {
    2975                             "description": "Limit result set to posts with a specific menu_order value.",
    2976                             "type": "integer",
    2977                             "required": false
    2978                         }
    2979                     }
    2980                 },
    2981                 {
    2982                     "methods": [
    2983                         "POST"
    2984                     ],
    2985                     "allow_batch": {
    2986                         "v1": true
    2987                     },
    2988                     "args": {
    2989                         "title": {
    2990                             "description": "The title for the object.",
    2991                             "type": [
    2992                                 "string",
    2993                                 "object"
    2994                             ],
    2995                             "properties": {
    2996                                 "raw": {
    2997                                     "description": "Title for the object, as it exists in the database.",
    2998                                     "type": "string",
    2999                                     "context": [
    3000                                         "edit"
    3001                                     ]
    3002                                 },
    3003                                 "rendered": {
    3004                                     "description": "HTML title for the object, transformed for display.",
    3005                                     "type": "string",
    3006                                     "context": [
    3007                                         "view",
    3008                                         "edit",
    3009                                         "embed"
    3010                                     ],
    3011                                     "readonly": true
    3012                                 }
    3013                             },
    3014                             "required": false
    3015                         },
    3016                         "type": {
    3017                             "default": "custom",
    3018                             "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
    3019                             "type": "string",
    3020                             "enum": [
    3021                                 "taxonomy",
    3022                                 "post_type",
    3023                                 "post_type_archive",
    3024                                 "custom"
    3025                             ],
    3026                             "required": false
    3027                         },
    3028                         "status": {
    3029                             "default": "publish",
    3030                             "description": "A named status for the object.",
    3031                             "type": "string",
    3032                             "enum": [
    3033                                 "publish",
    3034                                 "future",
    3035                                 "draft",
    3036                                 "pending",
    3037                                 "private"
    3038                             ],
    3039                             "required": false
    3040                         },
    3041                         "parent": {
    3042                             "default": 0,
    3043                             "description": "The ID for the parent of the object.",
    3044                             "type": "integer",
    3045                             "minimum": 0,
    3046                             "required": false
    3047                         },
    3048                         "attr_title": {
    3049                             "description": "Text for the title attribute of the link element for this menu item.",
    3050                             "type": "string",
    3051                             "required": false
    3052                         },
    3053                         "classes": {
    3054                             "description": "Class names for the link element of this menu item.",
    3055                             "type": "array",
    3056                             "items": {
    3057                                 "type": "string"
    3058                             },
    3059                             "required": false
    3060                         },
    3061                         "description": {
    3062                             "description": "The description of this menu item.",
    3063                             "type": "string",
    3064                             "required": false
    3065                         },
    3066                         "menu_order": {
    3067                             "default": 1,
    3068                             "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
    3069                             "type": "integer",
    3070                             "minimum": 1,
    3071                             "required": false
    3072                         },
    3073                         "object": {
    3074                             "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
    3075                             "type": "string",
    3076                             "required": false
    3077                         },
    3078                         "object_id": {
    3079                             "default": 0,
    3080                             "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
    3081                             "type": "integer",
    3082                             "minimum": 0,
    3083                             "required": false
    3084                         },
    3085                         "target": {
    3086                             "description": "The target attribute of the link element for this menu item.",
    3087                             "type": "string",
    3088                             "enum": [
    3089                                 "_blank",
    3090                                 ""
    3091                             ],
    3092                             "required": false
    3093                         },
    3094                         "url": {
    3095                             "description": "The URL to which this menu item points.",
    3096                             "type": "string",
    3097                             "format": "uri",
    3098                             "required": false
    3099                         },
    3100                         "xfn": {
    3101                             "description": "The XFN relationship expressed in the link of this menu item.",
    3102                             "type": "array",
    3103                             "items": {
    3104                                 "type": "string"
    3105                             },
    3106                             "required": false
    3107                         },
    3108                         "menus": {
    3109                             "description": "The terms assigned to the object in the nav_menu taxonomy.",
    3110                             "type": "integer",
    3111                             "required": false
    3112                         },
    3113                         "meta": {
    3114                             "description": "Meta fields.",
    3115                             "type": "object",
    3116                             "properties": [],
    3117                             "required": false
    3118                         }
    3119                     }
    3120                 }
    3121             ],
    3122             "_links": {
    3123                 "self": [
    3124                     {
    3125                         "href": "http://example.org/index.php?rest_route=/wp/v2/menu-items"
    3126                     }
    3127                 ]
    3128             }
    3129         },
    3130         "/wp/v2/menu-items/(?P<id>[\\d]+)": {
    3131             "namespace": "wp/v2",
    3132             "methods": [
    3133                 "GET",
    3134                 "POST",
    3135                 "PUT",
    3136                 "PATCH",
    3137                 "DELETE"
    3138             ],
    3139             "endpoints": [
    3140                 {
    3141                     "methods": [
    3142                         "GET"
    3143                     ],
    3144                     "allow_batch": {
    3145                         "v1": true
    3146                     },
    3147                     "args": {
    3148                         "id": {
    3149                             "description": "Unique identifier for the post.",
    3150                             "type": "integer",
    3151                             "required": false
    3152                         },
    3153                         "context": {
    3154                             "description": "Scope under which the request is made; determines fields present in response.",
    3155                             "type": "string",
    3156                             "enum": [
    3157                                 "view",
    3158                                 "embed",
    3159                                 "edit"
    3160                             ],
    3161                             "default": "view",
    3162                             "required": false
    3163                         }
    3164                     }
    3165                 },
    3166                 {
    3167                     "methods": [
    3168                         "POST",
    3169                         "PUT",
    3170                         "PATCH"
    3171                     ],
    3172                     "allow_batch": {
    3173                         "v1": true
    3174                     },
    3175                     "args": {
    3176                         "id": {
    3177                             "description": "Unique identifier for the post.",
    3178                             "type": "integer",
    3179                             "required": false
    3180                         },
    3181                         "title": {
    3182                             "description": "The title for the object.",
    3183                             "type": [
    3184                                 "string",
    3185                                 "object"
    3186                             ],
    3187                             "properties": {
    3188                                 "raw": {
    3189                                     "description": "Title for the object, as it exists in the database.",
    3190                                     "type": "string",
    3191                                     "context": [
    3192                                         "edit"
    3193                                     ]
    3194                                 },
    3195                                 "rendered": {
    3196                                     "description": "HTML title for the object, transformed for display.",
    3197                                     "type": "string",
    3198                                     "context": [
    3199                                         "view",
    3200                                         "edit",
    3201                                         "embed"
    3202                                     ],
    3203                                     "readonly": true
    3204                                 }
    3205                             },
    3206                             "required": false
    3207                         },
    3208                         "type": {
    3209                             "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
    3210                             "type": "string",
    3211                             "enum": [
    3212                                 "taxonomy",
    3213                                 "post_type",
    3214                                 "post_type_archive",
    3215                                 "custom"
    3216                             ],
    3217                             "required": false
    3218                         },
    3219                         "status": {
    3220                             "description": "A named status for the object.",
    3221                             "type": "string",
    3222                             "enum": [
    3223                                 "publish",
    3224                                 "future",
    3225                                 "draft",
    3226                                 "pending",
    3227                                 "private"
    3228                             ],
    3229                             "required": false
    3230                         },
    3231                         "parent": {
    3232                             "description": "The ID for the parent of the object.",
    3233                             "type": "integer",
    3234                             "minimum": 0,
    3235                             "required": false
    3236                         },
    3237                         "attr_title": {
    3238                             "description": "Text for the title attribute of the link element for this menu item.",
    3239                             "type": "string",
    3240                             "required": false
    3241                         },
    3242                         "classes": {
    3243                             "description": "Class names for the link element of this menu item.",
    3244                             "type": "array",
    3245                             "items": {
    3246                                 "type": "string"
    3247                             },
    3248                             "required": false
    3249                         },
    3250                         "description": {
    3251                             "description": "The description of this menu item.",
    3252                             "type": "string",
    3253                             "required": false
    3254                         },
    3255                         "menu_order": {
    3256                             "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
    3257                             "type": "integer",
    3258                             "minimum": 1,
    3259                             "required": false
    3260                         },
    3261                         "object": {
    3262                             "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
    3263                             "type": "string",
    3264                             "required": false
    3265                         },
    3266                         "object_id": {
    3267                             "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
    3268                             "type": "integer",
    3269                             "minimum": 0,
    3270                             "required": false
    3271                         },
    3272                         "target": {
    3273                             "description": "The target attribute of the link element for this menu item.",
    3274                             "type": "string",
    3275                             "enum": [
    3276                                 "_blank",
    3277                                 ""
    3278                             ],
    3279                             "required": false
    3280                         },
    3281                         "url": {
    3282                             "description": "The URL to which this menu item points.",
    3283                             "type": "string",
    3284                             "format": "uri",
    3285                             "required": false
    3286                         },
    3287                         "xfn": {
    3288                             "description": "The XFN relationship expressed in the link of this menu item.",
    3289                             "type": "array",
    3290                             "items": {
    3291                                 "type": "string"
    3292                             },
    3293                             "required": false
    3294                         },
    3295                         "menus": {
    3296                             "description": "The terms assigned to the object in the nav_menu taxonomy.",
    3297                             "type": "integer",
    3298                             "required": false
    3299                         },
    3300                         "meta": {
    3301                             "description": "Meta fields.",
    3302                             "type": "object",
    3303                             "properties": [],
    3304                             "required": false
    3305                         }
    3306                     }
    3307                 },
    3308                 {
    3309                     "methods": [
    3310                         "DELETE"
    3311                     ],
    3312                     "allow_batch": {
    3313                         "v1": true
    3314                     },
    3315                     "args": {
    3316                         "id": {
    3317                             "description": "Unique identifier for the post.",
    3318                             "type": "integer",
    3319                             "required": false
    3320                         },
    3321                         "force": {
    3322                             "type": "boolean",
    3323                             "default": false,
    3324                             "description": "Whether to bypass Trash and force deletion.",
    3325                             "required": false
    3326                         }
    3327                     }
    3328                 }
    3329             ]
    3330         },
    3331         "/wp/v2/menu-items/(?P<id>[\\d]+)/autosaves": {
    3332             "namespace": "wp/v2",
    3333             "methods": [
    3334                 "GET",
    3335                 "POST"
    3336             ],
    3337             "endpoints": [
    3338                 {
    3339                     "methods": [
    3340                         "GET"
    3341                     ],
    3342                     "args": {
    3343                         "parent": {
    3344                             "description": "The ID for the parent of the autosave.",
    3345                             "type": "integer",
    3346                             "required": false
    3347                         },
    3348                         "context": {
    3349                             "description": "Scope under which the request is made; determines fields present in response.",
    3350                             "type": "string",
    3351                             "enum": [
    3352                                 "view",
    3353                                 "embed",
    3354                                 "edit"
    3355                             ],
    3356                             "default": "view",
    3357                             "required": false
    3358                         }
    3359                     }
    3360                 },
    3361                 {
    3362                     "methods": [
    3363                         "POST"
    3364                     ],
    3365                     "args": {
    3366                         "parent": {
    3367                             "description": "The ID for the parent of the object.",
    3368                             "type": "integer",
    3369                             "minimum": 0,
    3370                             "required": false
    3371                         },
    3372                         "title": {
    3373                             "description": "The title for the object.",
    3374                             "type": [
    3375                                 "string",
    3376                                 "object"
    3377                             ],
    3378                             "properties": {
    3379                                 "raw": {
    3380                                     "description": "Title for the object, as it exists in the database.",
    3381                                     "type": "string",
    3382                                     "context": [
    3383                                         "edit"
    3384                                     ]
    3385                                 },
    3386                                 "rendered": {
    3387                                     "description": "HTML title for the object, transformed for display.",
    3388                                     "type": "string",
    3389                                     "context": [
    3390                                         "view",
    3391                                         "edit",
    3392                                         "embed"
    3393                                     ],
    3394                                     "readonly": true
    3395                                 }
    3396                             },
    3397                             "required": false
    3398                         },
    3399                         "type": {
    3400                             "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
    3401                             "type": "string",
    3402                             "enum": [
    3403                                 "taxonomy",
    3404                                 "post_type",
    3405                                 "post_type_archive",
    3406                                 "custom"
    3407                             ],
    3408                             "required": false
    3409                         },
    3410                         "status": {
    3411                             "description": "A named status for the object.",
    3412                             "type": "string",
    3413                             "enum": [
    3414                                 "publish",
    3415                                 "future",
    3416                                 "draft",
    3417                                 "pending",
    3418                                 "private"
    3419                             ],
    3420                             "required": false
    3421                         },
    3422                         "attr_title": {
    3423                             "description": "Text for the title attribute of the link element for this menu item.",
    3424                             "type": "string",
    3425                             "required": false
    3426                         },
    3427                         "classes": {
    3428                             "description": "Class names for the link element of this menu item.",
    3429                             "type": "array",
    3430                             "items": {
    3431                                 "type": "string"
    3432                             },
    3433                             "required": false
    3434                         },
    3435                         "description": {
    3436                             "description": "The description of this menu item.",
    3437                             "type": "string",
    3438                             "required": false
    3439                         },
    3440                         "menu_order": {
    3441                             "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
    3442                             "type": "integer",
    3443                             "minimum": 1,
    3444                             "required": false
    3445                         },
    3446                         "object": {
    3447                             "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
    3448                             "type": "string",
    3449                             "required": false
    3450                         },
    3451                         "object_id": {
    3452                             "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
    3453                             "type": "integer",
    3454                             "minimum": 0,
    3455                             "required": false
    3456                         },
    3457                         "target": {
    3458                             "description": "The target attribute of the link element for this menu item.",
    3459                             "type": "string",
    3460                             "enum": [
    3461                                 "_blank",
    3462                                 ""
    3463                             ],
    3464                             "required": false
    3465                         },
    3466                         "url": {
    3467                             "description": "The URL to which this menu item points.",
    3468                             "type": "string",
    3469                             "format": "uri",
    3470                             "required": false
    3471                         },
    3472                         "xfn": {
    3473                             "description": "The XFN relationship expressed in the link of this menu item.",
    3474                             "type": "array",
    3475                             "items": {
    3476                                 "type": "string"
    3477                             },
    3478                             "required": false
    3479                         },
    3480                         "menus": {
    3481                             "description": "The terms assigned to the object in the nav_menu taxonomy.",
    3482                             "type": "integer",
    3483                             "required": false
    3484                         },
    3485                         "meta": {
    3486                             "description": "Meta fields.",
    3487                             "type": "object",
    3488                             "properties": [],
    3489                             "required": false
    3490                         }
    3491                     }
    3492                 }
    3493             ]
    3494         },
    3495         "/wp/v2/menu-items/(?P<parent>[\\d]+)/autosaves/(?P<id>[\\d]+)": {
    3496             "namespace": "wp/v2",
    3497             "methods": [
    3498                 "GET"
    3499             ],
    3500             "endpoints": [
    3501                 {
    3502                     "methods": [
    3503                         "GET"
    3504                     ],
    3505                     "args": {
    3506                         "parent": {
    3507                             "description": "The ID for the parent of the autosave.",
    3508                             "type": "integer",
    3509                             "required": false
    3510                         },
    3511                         "id": {
    3512                             "description": "The ID for the autosave.",
    3513                             "type": "integer",
    3514                             "required": false
    3515                         },
    3516                         "context": {
    3517                             "description": "Scope under which the request is made; determines fields present in response.",
    3518                             "type": "string",
    3519                             "enum": [
    3520                                 "view",
    3521                                 "embed",
    3522                                 "edit"
    3523                             ],
    3524                             "default": "view",
    3525                             "required": false
    3526                         }
    3527                     }
    3528                 }
    3529             ]
    3530         },
    3531         "/wp/v2/blocks": {
    3532             "namespace": "wp/v2",
    3533             "methods": [
    3534                 "GET",
    3535                 "POST"
    3536             ],
    3537             "endpoints": [
    3538                 {
    3539                     "methods": [
    3540                         "GET"
    3541                     ],
    3542                     "allow_batch": {
    3543                         "v1": true
    3544                     },
    3545                     "args": {
    3546                         "context": {
    3547                             "description": "Scope under which the request is made; determines fields present in response.",
    3548                             "type": "string",
    3549                             "enum": [
    3550                                 "view",
    3551                                 "embed",
    3552                                 "edit"
    3553                             ],
    3554                             "default": "view",
    3555                             "required": false
    3556                         },
    3557                         "page": {
    3558                             "description": "Current page of the collection.",
    3559                             "type": "integer",
    3560                             "default": 1,
    3561                             "minimum": 1,
    3562                             "required": false
    3563                         },
    3564                         "per_page": {
    3565                             "description": "Maximum number of items to be returned in result set.",
    3566                             "type": "integer",
    3567                             "default": 10,
    3568                             "minimum": 1,
    3569                             "maximum": 100,
    3570                             "required": false
    3571                         },
    3572                         "search": {
    3573                             "description": "Limit results to those matching a string.",
    3574                             "type": "string",
    3575                             "required": false
    3576                         },
    3577                         "after": {
    3578                             "description": "Limit response to posts published after a given ISO8601 compliant date.",
    3579                             "type": "string",
    3580                             "format": "date-time",
    3581                             "required": false
    3582                         },
    3583                         "modified_after": {
    3584                             "description": "Limit response to posts modified after a given ISO8601 compliant date.",
    3585                             "type": "string",
    3586                             "format": "date-time",
    3587                             "required": false
    3588                         },
    3589                         "before": {
    3590                             "description": "Limit response to posts published before a given ISO8601 compliant date.",
    3591                             "type": "string",
    3592                             "format": "date-time",
    3593                             "required": false
    3594                         },
    3595                         "modified_before": {
    3596                             "description": "Limit response to posts modified before a given ISO8601 compliant date.",
    3597                             "type": "string",
    3598                             "format": "date-time",
    3599                             "required": false
    3600                         },
    3601                         "exclude": {
    3602                             "description": "Ensure result set excludes specific IDs.",
    3603                             "type": "array",
    3604                             "items": {
    3605                                 "type": "integer"
    3606                             },
    3607                             "default": [],
    3608                             "required": false
    3609                         },
    3610                         "include": {
    3611                             "description": "Limit result set to specific IDs.",
    3612                             "type": "array",
    3613                             "items": {
    3614                                 "type": "integer"
    3615                             },
    3616                             "default": [],
    3617                             "required": false
    3618                         },
    3619                         "offset": {
    3620                             "description": "Offset the result set by a specific number of items.",
    3621                             "type": "integer",
    3622                             "required": false
    3623                         },
    3624                         "order": {
    3625                             "description": "Order sort attribute ascending or descending.",
    3626                             "type": "string",
    3627                             "default": "desc",
    3628                             "enum": [
    3629                                 "asc",
    3630                                 "desc"
    3631                             ],
    3632                             "required": false
    3633                         },
    3634                         "orderby": {
    3635                             "description": "Sort collection by post attribute.",
    3636                             "type": "string",
    3637                             "default": "date",
    3638                             "enum": [
    3639                                 "author",
    3640                                 "date",
    3641                                 "id",
    3642                                 "include",
    3643                                 "modified",
    3644                                 "parent",
    3645                                 "relevance",
    3646                                 "slug",
    3647                                 "include_slugs",
    3648                                 "title"
    3649                             ],
    3650                             "required": false
    3651                         },
    3652                         "search_columns": {
    3653                             "default": [],
    3654                             "description": "Array of column names to be searched.",
    3655                             "type": "array",
    3656                             "items": {
    3657                                 "enum": [
    3658                                     "post_title",
    3659                                     "post_content",
    3660                                     "post_excerpt"
    3661                                 ],
    3662                                 "type": "string"
    3663                             },
    3664                             "required": false
    3665                         },
    3666                         "slug": {
    3667                             "description": "Limit result set to posts with one or more specific slugs.",
    3668                             "type": "array",
    3669                             "items": {
    3670                                 "type": "string"
    3671                             },
    3672                             "required": false
    3673                         },
    3674                         "status": {
    3675                             "default": "publish",
    3676                             "description": "Limit result set to posts assigned one or more statuses.",
    3677                             "type": "array",
    3678                             "items": {
    3679                                 "enum": [
    3680                                     "publish",
    3681                                     "future",
    3682                                     "draft",
    3683                                     "pending",
    3684                                     "private",
    3685                                     "trash",
    3686                                     "auto-draft",
    3687                                     "inherit",
    3688                                     "request-pending",
    3689                                     "request-confirmed",
    3690                                     "request-failed",
    3691                                     "request-completed",
    3692                                     "any"
    3693                                 ],
    3694                                 "type": "string"
    3695                             },
    3696                             "required": false
    3697                         },
    3698                         "tax_relation": {
    3699                             "description": "Limit result set based on relationship between multiple taxonomies.",
    3700                             "type": "string",
    3701                             "enum": [
    3702                                 "AND",
    3703                                 "OR"
    3704                             ],
    3705                             "required": false
    3706                         },
    3707                         "wp_pattern_category": {
    3708                             "description": "Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy.",
    3709                             "type": [
    3710                                 "object",
    3711                                 "array"
    3712                             ],
    3713                             "oneOf": [
    3714                                 {
    3715                                     "title": "Term ID List",
    3716                                     "description": "Match terms with the listed IDs.",
    3717                                     "type": "array",
    3718                                     "items": {
    3719                                         "type": "integer"
    3720                                     }
    3721                                 },
    3722                                 {
    3723                                     "title": "Term ID Taxonomy Query",
    3724                                     "description": "Perform an advanced term query.",
    3725                                     "type": "object",
    3726                                     "properties": {
    3727                                         "terms": {
    3728                                             "description": "Term IDs.",
    3729                                             "type": "array",
    3730                                             "items": {
    3731                                                 "type": "integer"
    3732                                             },
    3733                                             "default": []
    3734                                         },
    3735                                         "operator": {
    3736                                             "description": "Whether items must be assigned all or any of the specified terms.",
    3737                                             "type": "string",
    3738                                             "enum": [
    3739                                                 "AND",
    3740                                                 "OR"
    3741                                             ],
    3742                                             "default": "OR"
    3743                                         }
    3744                                     },
    3745                                     "additionalProperties": false
    3746                                 }
    3747                             ],
    3748                             "required": false
    3749                         },
    3750                         "wp_pattern_category_exclude": {
    3751                             "description": "Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy.",
    3752                             "type": [
    3753                                 "object",
    3754                                 "array"
    3755                             ],
    3756                             "oneOf": [
    3757                                 {
    3758                                     "title": "Term ID List",
    3759                                     "description": "Match terms with the listed IDs.",
    3760                                     "type": "array",
    3761                                     "items": {
    3762                                         "type": "integer"
    3763                                     }
    3764                                 },
    3765                                 {
    3766                                     "title": "Term ID Taxonomy Query",
    3767                                     "description": "Perform an advanced term query.",
    3768                                     "type": "object",
    3769                                     "properties": {
    3770                                         "terms": {
    3771                                             "description": "Term IDs.",
    3772                                             "type": "array",
    3773                                             "items": {
    3774                                                 "type": "integer"
    3775                                             },
    3776                                             "default": []
    3777                                         }
    3778                                     },
    3779                                     "additionalProperties": false
    3780                                 }
    3781                             ],
    3782                             "required": false
    3783                         }
    3784                     }
    3785                 },
    3786                 {
    3787                     "methods": [
    3788                         "POST"
    3789                     ],
    3790                     "allow_batch": {
    3791                         "v1": true
    3792                     },
    3793                     "args": {
    3794                         "date": {
    3795                             "description": "The date the post was published, in the site's timezone.",
    3796                             "type": [
    3797                                 "string",
    3798                                 "null"
    3799                             ],
    3800                             "format": "date-time",
    3801                             "required": false
    3802                         },
    3803                         "date_gmt": {
    3804                             "description": "The date the post was published, as GMT.",
    3805                             "type": [
    3806                                 "string",
    3807                                 "null"
    3808                             ],
    3809                             "format": "date-time",
    3810                             "required": false
    3811                         },
    3812                         "slug": {
    3813                             "description": "An alphanumeric identifier for the post unique to its type.",
    3814                             "type": "string",
    3815                             "required": false
    3816                         },
    3817                         "status": {
    3818                             "description": "A named status for the post.",
    3819                             "type": "string",
    3820                             "enum": [
    3821                                 "publish",
    3822                                 "future",
    3823                                 "draft",
    3824                                 "pending",
    3825                                 "private"
    3826                             ],
    3827                             "required": false
    3828                         },
    3829                         "password": {
    3830                             "description": "A password to protect access to the content and excerpt.",
    3831                             "type": "string",
    3832                             "required": false
    3833                         },
    3834                         "title": {
    3835                             "description": "The title for the post.",
    3836                             "type": "object",
    3837                             "properties": {
    3838                                 "raw": {
    3839                                     "description": "Title for the post, as it exists in the database.",
    3840                                     "type": "string",
    3841                                     "context": [
    3842                                         "view",
    3843                                         "edit"
    3844                                     ]
    3845                                 }
    3846                             },
    3847                             "required": false
    3848                         },
    3849                         "content": {
    3850                             "description": "The content for the post.",
    3851                             "type": "object",
    3852                             "properties": {
    3853                                 "raw": {
    3854                                     "description": "Content for the post, as it exists in the database.",
    3855                                     "type": "string",
    3856                                     "context": [
    3857                                         "view",
    3858                                         "edit"
    3859                                     ]
    3860                                 },
    3861                                 "block_version": {
    3862                                     "description": "Version of the content block format used by the post.",
    3863                                     "type": "integer",
    3864                                     "context": [
    3865                                         "edit"
    3866                                     ],
    3867                                     "readonly": true
    3868                                 },
    3869                                 "protected": {
    3870                                     "description": "Whether the content is protected with a password.",
    3871                                     "type": "boolean",
    3872                                     "context": [
    3873                                         "view",
    3874                                         "edit",
    3875                                         "embed"
    3876                                     ],
    3877                                     "readonly": true
    3878                                 }
    3879                             },
    3880                             "required": false
    3881                         },
    3882                         "excerpt": {
    3883                             "description": "The excerpt for the post.",
    3884                             "type": "object",
    3885                             "properties": {
    3886                                 "raw": {
    3887                                     "description": "Excerpt for the post, as it exists in the database.",
    3888                                     "type": "string",
    3889                                     "context": [
    3890                                         "edit"
    3891                                     ]
    3892                                 },
    3893                                 "rendered": {
    3894                                     "description": "HTML excerpt for the post, transformed for display.",
    3895                                     "type": "string",
    3896                                     "context": [
    3897                                         "view",
    3898                                         "edit",
    3899                                         "embed"
    3900                                     ],
    3901                                     "readonly": true
    3902                                 },
    3903                                 "protected": {
    3904                                     "description": "Whether the excerpt is protected with a password.",
    3905                                     "type": "boolean",
    3906                                     "context": [
    3907                                         "view",
    3908                                         "edit",
    3909                                         "embed"
    3910                                     ],
    3911                                     "readonly": true
    3912                                 }
    3913                             },
    3914                             "required": false
    3915                         },
    3916                         "meta": {
    3917                             "description": "Meta fields.",
    3918                             "type": "object",
    3919                             "properties": [],
    3920                             "required": false
    3921                         },
    3922                         "template": {
    3923                             "description": "The theme file to use to display the post.",
    3924                             "type": "string",
    3925                             "required": false
    3926                         },
    3927                         "wp_pattern_category": {
    3928                             "description": "The terms assigned to the post in the wp_pattern_category taxonomy.",
    3929                             "type": "array",
    3930                             "items": {
    3931                                 "type": "integer"
    3932                             },
    3933                             "required": false
    3934                         }
    3935                     }
    3936                 }
    3937             ],
    3938             "_links": {
    3939                 "self": "http://example.org/index.php?rest_route=/wp/v2/blocks"
    3940             }
    3941         },
    3942         "/wp/v2/blocks/(?P<id>[\\d]+)": {
    3943             "namespace": "wp/v2",
    3944             "methods": [
    3945                 "GET",
    3946                 "POST",
    3947                 "PUT",
    3948                 "PATCH",
    3949                 "DELETE"
    3950             ],
    3951             "endpoints": [
    3952                 {
    3953                     "methods": [
    3954                         "GET"
    3955                     ],
    3956                     "allow_batch": {
    3957                         "v1": true
    3958                     },
    3959                     "args": {
    3960                         "id": {
    3961                             "description": "Unique identifier for the post.",
    3962                             "type": "integer",
    3963                             "required": false
    3964                         },
    3965                         "context": {
    3966                             "description": "Scope under which the request is made; determines fields present in response.",
    3967                             "type": "string",
    3968                             "enum": [
    3969                                 "view",
    3970                                 "embed",
    3971                                 "edit"
    3972                             ],
    3973                             "default": "view",
    3974                             "required": false
    3975                         },
    3976                         "excerpt_length": {
    3977                             "description": "Override the default excerpt length.",
    3978                             "type": "integer",
    3979                             "required": false
    3980                         },
    3981                         "password": {
    3982                             "description": "The password for the post if it is password protected.",
    3983                             "type": "string",
    3984                             "required": false
    3985                         }
    3986                     }
    3987                 },
    3988                 {
    3989                     "methods": [
    3990                         "POST",
    3991                         "PUT",
    3992                         "PATCH"
    3993                     ],
    3994                     "allow_batch": {
    3995                         "v1": true
    3996                     },
    3997                     "args": {
    3998                         "id": {
    3999                             "description": "Unique identifier for the post.",
    4000                             "type": "integer",
    4001                             "required": false
    4002                         },
    4003                         "date": {
    4004                             "description": "The date the post was published, in the site's timezone.",
    4005                             "type": [
    4006                                 "string",
    4007                                 "null"
    4008                             ],
    4009                             "format": "date-time",
    4010                             "required": false
    4011                         },
    4012                         "date_gmt": {
    4013                             "description": "The date the post was published, as GMT.",
    4014                             "type": [
    4015                                 "string",
    4016                                 "null"
    4017                             ],
    4018                             "format": "date-time",
    4019                             "required": false
    4020                         },
    4021                         "slug": {
    4022                             "description": "An alphanumeric identifier for the post unique to its type.",
    4023                             "type": "string",
    4024                             "required": false
    4025                         },
    4026                         "status": {
    4027                             "description": "A named status for the post.",
    4028                             "type": "string",
    4029                             "enum": [
    4030                                 "publish",
    4031                                 "future",
    4032                                 "draft",
    4033                                 "pending",
    4034                                 "private"
    4035                             ],
    4036                             "required": false
    4037                         },
    4038                         "password": {
    4039                             "description": "A password to protect access to the content and excerpt.",
    4040                             "type": "string",
    4041                             "required": false
    4042                         },
    4043                         "title": {
    4044                             "description": "The title for the post.",
    4045                             "type": "object",
    4046                             "properties": {
    4047                                 "raw": {
    4048                                     "description": "Title for the post, as it exists in the database.",
    4049                                     "type": "string",
    4050                                     "context": [
    4051                                         "view",
    4052                                         "edit"
    4053                                     ]
    4054                                 }
    4055                             },
    4056                             "required": false
    4057                         },
    4058                         "content": {
    4059                             "description": "The content for the post.",
    4060                             "type": "object",
    4061                             "properties": {
    4062                                 "raw": {
    4063                                     "description": "Content for the post, as it exists in the database.",
    4064                                     "type": "string",
    4065                                     "context": [
    4066                                         "view",
    4067                                         "edit"
    4068                                     ]
    4069                                 },
    4070                                 "block_version": {
    4071                                     "description": "Version of the content block format used by the post.",
    4072                                     "type": "integer",
    4073                                     "context": [
    4074                                         "edit"
    4075                                     ],
    4076                                     "readonly": true
    4077                                 },
    4078                                 "protected": {
    4079                                     "description": "Whether the content is protected with a password.",
    4080                                     "type": "boolean",
    4081                                     "context": [
    4082                                         "view",
    4083                                         "edit",
    4084                                         "embed"
    4085                                     ],
    4086                                     "readonly": true
    4087                                 }
    4088                             },
    4089                             "required": false
    4090                         },
    4091                         "excerpt": {
    4092                             "description": "The excerpt for the post.",
    4093                             "type": "object",
    4094                             "properties": {
    4095                                 "raw": {
    4096                                     "description": "Excerpt for the post, as it exists in the database.",
    4097                                     "type": "string",
    4098                                     "context": [
    4099                                         "edit"
    4100                                     ]
    4101                                 },
    4102                                 "rendered": {
    4103                                     "description": "HTML excerpt for the post, transformed for display.",
    4104                                     "type": "string",
    4105                                     "context": [
    4106                                         "view",
    4107                                         "edit",
    4108                                         "embed"
    4109                                     ],
    4110                                     "readonly": true
    4111                                 },
    4112                                 "protected": {
    4113                                     "description": "Whether the excerpt is protected with a password.",
    4114                                     "type": "boolean",
    4115                                     "context": [
    4116                                         "view",
    4117                                         "edit",
    4118                                         "embed"
    4119                                     ],
    4120                                     "readonly": true
    4121                                 }
    4122                             },
    4123                             "required": false
    4124                         },
    4125                         "meta": {
    4126                             "description": "Meta fields.",
    4127                             "type": "object",
    4128                             "properties": [],
    4129                             "required": false
    4130                         },
    4131                         "template": {
    4132                             "description": "The theme file to use to display the post.",
    4133                             "type": "string",
    4134                             "required": false
    4135                         },
    4136                         "wp_pattern_category": {
    4137                             "description": "The terms assigned to the post in the wp_pattern_category taxonomy.",
    4138                             "type": "array",
    4139                             "items": {
    4140                                 "type": "integer"
    4141                             },
    4142                             "required": false
    4143                         }
    4144                     }
    4145                 },
    4146                 {
    4147                     "methods": [
    4148                         "DELETE"
    4149                     ],
    4150                     "allow_batch": {
    4151                         "v1": true
    4152                     },
    4153                     "args": {
    4154                         "id": {
    4155                             "description": "Unique identifier for the post.",
    4156                             "type": "integer",
    4157                             "required": false
    4158                         },
    4159                         "force": {
    4160                             "type": "boolean",
    4161                             "default": false,
    4162                             "description": "Whether to bypass Trash and force deletion.",
    4163                             "required": false
    4164                         }
    4165                     }
    4166                 }
    4167             ]
    4168         },
    4169         "/wp/v2/blocks/(?P<parent>[\\d]+)/revisions": {
    4170             "namespace": "wp/v2",
    4171             "methods": [
    4172                 "GET"
    4173             ],
    4174             "endpoints": [
    4175                 {
    4176                     "methods": [
    4177                         "GET"
    4178                     ],
    4179                     "args": {
    4180                         "parent": {
    4181                             "description": "The ID for the parent of the revision.",
    4182                             "type": "integer",
    4183                             "required": false
    4184                         },
    4185                         "context": {
    4186                             "description": "Scope under which the request is made; determines fields present in response.",
    4187                             "type": "string",
    4188                             "enum": [
    4189                                 "view",
    4190                                 "embed",
    4191                                 "edit"
    4192                             ],
    4193                             "default": "view",
    4194                             "required": false
    4195                         },
    4196                         "page": {
    4197                             "description": "Current page of the collection.",
    4198                             "type": "integer",
    4199                             "default": 1,
    4200                             "minimum": 1,
    4201                             "required": false
    4202                         },
    4203                         "per_page": {
    4204                             "description": "Maximum number of items to be returned in result set.",
    4205                             "type": "integer",
    4206                             "minimum": 1,
    4207                             "maximum": 100,
    4208                             "required": false
    4209                         },
    4210                         "search": {
    4211                             "description": "Limit results to those matching a string.",
    4212                             "type": "string",
    4213                             "required": false
    4214                         },
    4215                         "exclude": {
    4216                             "description": "Ensure result set excludes specific IDs.",
    4217                             "type": "array",
    4218                             "items": {
    4219                                 "type": "integer"
    4220                             },
    4221                             "default": [],
    4222                             "required": false
    4223                         },
    4224                         "include": {
    4225                             "description": "Limit result set to specific IDs.",
    4226                             "type": "array",
    4227                             "items": {
    4228                                 "type": "integer"
    4229                             },
    4230                             "default": [],
    4231                             "required": false
    4232                         },
    4233                         "offset": {
    4234                             "description": "Offset the result set by a specific number of items.",
    4235                             "type": "integer",
    4236                             "required": false
    4237                         },
    4238                         "order": {
    4239                             "description": "Order sort attribute ascending or descending.",
    4240                             "type": "string",
    4241                             "default": "desc",
    4242                             "enum": [
    4243                                 "asc",
    4244                                 "desc"
    4245                             ],
    4246                             "required": false
    4247                         },
    4248                         "orderby": {
    4249                             "description": "Sort collection by object attribute.",
    4250                             "type": "string",
    4251                             "default": "date",
    4252                             "enum": [
    4253                                 "date",
    4254                                 "id",
    4255                                 "include",
    4256                                 "relevance",
    4257                                 "slug",
    4258                                 "include_slugs",
    4259                                 "title"
    4260                             ],
    4261                             "required": false
    4262                         }
    4263                     }
    4264                 }
    4265             ]
    4266         },
    4267         "/wp/v2/blocks/(?P<parent>[\\d]+)/revisions/(?P<id>[\\d]+)": {
    4268             "namespace": "wp/v2",
    4269             "methods": [
    4270                 "GET",
    4271                 "DELETE"
    4272             ],
    4273             "endpoints": [
    4274                 {
    4275                     "methods": [
    4276                         "GET"
    4277                     ],
    4278                     "args": {
    4279                         "parent": {
    4280                             "description": "The ID for the parent of the revision.",
    4281                             "type": "integer",
    4282                             "required": false
    4283                         },
    4284                         "id": {
    4285                             "description": "Unique identifier for the revision.",
    4286                             "type": "integer",
    4287                             "required": false
    4288                         },
    4289                         "context": {
    4290                             "description": "Scope under which the request is made; determines fields present in response.",
    4291                             "type": "string",
    4292                             "enum": [
    4293                                 "view",
    4294                                 "embed",
    4295                                 "edit"
    4296                             ],
    4297                             "default": "view",
    4298                             "required": false
    4299                         }
    4300                     }
    4301                 },
    4302                 {
    4303                     "methods": [
    4304                         "DELETE"
    4305                     ],
    4306                     "args": {
    4307                         "parent": {
    4308                             "description": "The ID for the parent of the revision.",
    4309                             "type": "integer",
    4310                             "required": false
    4311                         },
    4312                         "id": {
    4313                             "description": "Unique identifier for the revision.",
    4314                             "type": "integer",
    4315                             "required": false
    4316                         },
    4317                         "force": {
    4318                             "type": "boolean",
    4319                             "default": false,
    4320                             "description": "Required to be true, as revisions do not support trashing.",
    4321                             "required": false
    4322                         }
    4323                     }
    4324                 }
    4325             ]
    4326         },
    4327         "/wp/v2/blocks/(?P<id>[\\d]+)/autosaves": {
    4328             "namespace": "wp/v2",
    4329             "methods": [
    4330                 "GET",
    4331                 "POST"
    4332             ],
    4333             "endpoints": [
    4334                 {
    4335                     "methods": [
    4336                         "GET"
    4337                     ],
    4338                     "args": {
    4339                         "parent": {
    4340                             "description": "The ID for the parent of the autosave.",
    4341                             "type": "integer",
    4342                             "required": false
    4343                         },
    4344                         "context": {
    4345                             "description": "Scope under which the request is made; determines fields present in response.",
    4346                             "type": "string",
    4347                             "enum": [
    4348                                 "view",
    4349                                 "embed",
    4350                                 "edit"
    4351                             ],
    4352                             "default": "view",
    4353                             "required": false
    4354                         }
    4355                     }
    4356                 },
    4357                 {
    4358                     "methods": [
    4359                         "POST"
    4360                     ],
    4361                     "args": {
    4362                         "parent": {
    4363                             "description": "The ID for the parent of the autosave.",
    4364                             "type": "integer",
    4365                             "required": false
    4366                         },
    4367                         "date": {
    4368                             "description": "The date the post was published, in the site's timezone.",
    4369                             "type": [
    4370                                 "string",
    4371                                 "null"
    4372                             ],
    4373                             "format": "date-time",
    4374                             "required": false
    4375                         },
    4376                         "date_gmt": {
    4377                             "description": "The date the post was published, as GMT.",
    4378                             "type": [
    4379                                 "string",
    4380                                 "null"
    4381                             ],
    4382                             "format": "date-time",
    4383                             "required": false
    4384                         },
    4385                         "slug": {
    4386                             "description": "An alphanumeric identifier for the post unique to its type.",
    4387                             "type": "string",
    4388                             "required": false
    4389                         },
    4390                         "status": {
    4391                             "description": "A named status for the post.",
    4392                             "type": "string",
    4393                             "enum": [
    4394                                 "publish",
    4395                                 "future",
    4396                                 "draft",
    4397                                 "pending",
    4398                                 "private"
    4399                             ],
    4400                             "required": false
    4401                         },
    4402                         "password": {
    4403                             "description": "A password to protect access to the content and excerpt.",
    4404                             "type": "string",
    4405                             "required": false
    4406                         },
    4407                         "title": {
    4408                             "description": "The title for the post.",
    4409                             "type": "object",
    4410                             "properties": {
    4411                                 "raw": {
    4412                                     "description": "Title for the post, as it exists in the database.",
    4413                                     "type": "string",
    4414                                     "context": [
    4415                                         "view",
    4416                                         "edit"
    4417                                     ]
    4418                                 }
    4419                             },
    4420                             "required": false
    4421                         },
    4422                         "content": {
    4423                             "description": "The content for the post.",
    4424                             "type": "object",
    4425                             "properties": {
    4426                                 "raw": {
    4427                                     "description": "Content for the post, as it exists in the database.",
    4428                                     "type": "string",
    4429                                     "context": [
    4430                                         "view",
    4431                                         "edit"
    4432                                     ]
    4433                                 },
    4434                                 "block_version": {
    4435                                     "description": "Version of the content block format used by the post.",
    4436                                     "type": "integer",
    4437                                     "context": [
    4438                                         "edit"
    4439                                     ],
    4440                                     "readonly": true
    4441                                 },
    4442                                 "protected": {
    4443                                     "description": "Whether the content is protected with a password.",
    4444                                     "type": "boolean",
    4445                                     "context": [
    4446                                         "view",
    4447                                         "edit",
    4448                                         "embed"
    4449                                     ],
    4450                                     "readonly": true
    4451                                 }
    4452                             },
    4453                             "required": false
    4454                         },
    4455                         "excerpt": {
    4456                             "description": "The excerpt for the post.",
    4457                             "type": "object",
    4458                             "properties": {
    4459                                 "raw": {
    4460                                     "description": "Excerpt for the post, as it exists in the database.",
    4461                                     "type": "string",
    4462                                     "context": [
    4463                                         "edit"
    4464                                     ]
    4465                                 },
    4466                                 "rendered": {
    4467                                     "description": "HTML excerpt for the post, transformed for display.",
    4468                                     "type": "string",
    4469                                     "context": [
    4470                                         "view",
    4471                                         "edit",
    4472                                         "embed"
    4473                                     ],
    4474                                     "readonly": true
    4475                                 },
    4476                                 "protected": {
    4477                                     "description": "Whether the excerpt is protected with a password.",
    4478                                     "type": "boolean",
    4479                                     "context": [
    4480                                         "view",
    4481                                         "edit",
    4482                                         "embed"
    4483                                     ],
    4484                                     "readonly": true
    4485                                 }
    4486                             },
    4487                             "required": false
    4488                         },
    4489                         "meta": {
    4490                             "description": "Meta fields.",
    4491                             "type": "object",
    4492                             "properties": [],
    4493                             "required": false
    4494                         },
    4495                         "template": {
    4496                             "description": "The theme file to use to display the post.",
    4497                             "type": "string",
    4498                             "required": false
    4499                         },
    4500                         "wp_pattern_category": {
    4501                             "description": "The terms assigned to the post in the wp_pattern_category taxonomy.",
    4502                             "type": "array",
    4503                             "items": {
    4504                                 "type": "integer"
    4505                             },
    4506                             "required": false
    4507                         }
    4508                     }
    4509                 }
    4510             ]
    4511         },
    4512         "/wp/v2/blocks/(?P<parent>[\\d]+)/autosaves/(?P<id>[\\d]+)": {
    4513             "namespace": "wp/v2",
    4514             "methods": [
    4515                 "GET"
    4516             ],
    4517             "endpoints": [
    4518                 {
    4519                     "methods": [
    4520                         "GET"
    4521                     ],
    4522                     "args": {
    4523                         "parent": {
    4524                             "description": "The ID for the parent of the autosave.",
    4525                             "type": "integer",
    4526                             "required": false
    4527                         },
    4528                         "id": {
    4529                             "description": "The ID for the autosave.",
    4530                             "type": "integer",
    4531                             "required": false
    4532                         },
    4533                         "context": {
    4534                             "description": "Scope under which the request is made; determines fields present in response.",
    4535                             "type": "string",
    4536                             "enum": [
    4537                                 "view",
    4538                                 "embed",
    4539                                 "edit"
    4540                             ],
    4541                             "default": "view",
    4542                             "required": false
    4543                         }
    4544                     }
    4545                 }
    4546             ]
    4547         },
    4548         "/wp/v2/templates/(?P<parent>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/revisions": {
    4549             "namespace": "wp/v2",
    4550             "methods": [
    4551                 "GET"
    4552             ],
    4553             "endpoints": [
    4554                 {
    4555                     "methods": [
    4556                         "GET"
    4557                     ],
    4558                     "args": {
    4559                         "parent": {
    4560                             "description": "The id of a template",
    4561                             "type": "string",
    4562                             "required": false
    4563                         },
    4564                         "context": {
    4565                             "description": "Scope under which the request is made; determines fields present in response.",
    4566                             "type": "string",
    4567                             "enum": [
    4568                                 "view",
    4569                                 "embed",
    4570                                 "edit"
    4571                             ],
    4572                             "default": "view",
    4573                             "required": false
    4574                         },
    4575                         "page": {
    4576                             "description": "Current page of the collection.",
    4577                             "type": "integer",
    4578                             "default": 1,
    4579                             "minimum": 1,
    4580                             "required": false
    4581                         },
    4582                         "per_page": {
    4583                             "description": "Maximum number of items to be returned in result set.",
    4584                             "type": "integer",
    4585                             "minimum": 1,
    4586                             "maximum": 100,
    4587                             "required": false
    4588                         },
    4589                         "search": {
    4590                             "description": "Limit results to those matching a string.",
    4591                             "type": "string",
    4592                             "required": false
    4593                         },
    4594                         "exclude": {
    4595                             "description": "Ensure result set excludes specific IDs.",
    4596                             "type": "array",
    4597                             "items": {
    4598                                 "type": "integer"
    4599                             },
    4600                             "default": [],
    4601                             "required": false
    4602                         },
    4603                         "include": {
    4604                             "description": "Limit result set to specific IDs.",
    4605                             "type": "array",
    4606                             "items": {
    4607                                 "type": "integer"
    4608                             },
    4609                             "default": [],
    4610                             "required": false
    4611                         },
    4612                         "offset": {
    4613                             "description": "Offset the result set by a specific number of items.",
    4614                             "type": "integer",
    4615                             "required": false
    4616                         },
    4617                         "order": {
    4618                             "description": "Order sort attribute ascending or descending.",
    4619                             "type": "string",
    4620                             "default": "desc",
    4621                             "enum": [
    4622                                 "asc",
    4623                                 "desc"
    4624                             ],
    4625                             "required": false
    4626                         },
    4627                         "orderby": {
    4628                             "description": "Sort collection by object attribute.",
    4629                             "type": "string",
    4630                             "default": "date",
    4631                             "enum": [
    4632                                 "date",
    4633                                 "id",
    4634                                 "include",
    4635                                 "relevance",
    4636                                 "slug",
    4637                                 "include_slugs",
    4638                                 "title"
    4639                             ],
    4640                             "required": false
    4641                         }
    4642                     }
    4643                 }
    4644             ]
    4645         },
    4646         "/wp/v2/templates/(?P<parent>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/revisions/(?P<id>[\\d]+)": {
    4647             "namespace": "wp/v2",
    4648             "methods": [
    4649                 "GET",
    4650                 "DELETE"
    4651             ],
    4652             "endpoints": [
    4653                 {
    4654                     "methods": [
    4655                         "GET"
    4656                     ],
    4657                     "args": {
    4658                         "parent": {
    4659                             "description": "The id of a template",
    4660                             "type": "string",
    4661                             "required": false
    4662                         },
    4663                         "id": {
    4664                             "description": "Unique identifier for the revision.",
    4665                             "type": "integer",
    4666                             "required": false
    4667                         },
    4668                         "context": {
    4669                             "description": "Scope under which the request is made; determines fields present in response.",
    4670                             "type": "string",
    4671                             "enum": [
    4672                                 "view",
    4673                                 "embed",
    4674                                 "edit"
    4675                             ],
    4676                             "default": "view",
    4677                             "required": false
    4678                         }
    4679                     }
    4680                 },
    4681                 {
    4682                     "methods": [
    4683                         "DELETE"
    4684                     ],
    4685                     "args": {
    4686                         "parent": {
    4687                             "description": "The id of a template",
    4688                             "type": "string",
    4689                             "required": false
    4690                         },
    4691                         "id": {
    4692                             "description": "Unique identifier for the revision.",
    4693                             "type": "integer",
    4694                             "required": false
    4695                         },
    4696                         "force": {
    4697                             "type": "boolean",
    4698                             "default": false,
    4699                             "description": "Required to be true, as revisions do not support trashing.",
    4700                             "required": false
    4701                         }
    4702                     }
    4703                 }
    4704             ]
    4705         },
    4706         "/wp/v2/templates/(?P<id>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/autosaves": {
    4707             "namespace": "wp/v2",
    4708             "methods": [
    4709                 "GET",
    4710                 "POST"
    4711             ],
    4712             "endpoints": [
    4713                 {
    4714                     "methods": [
    4715                         "GET"
    4716                     ],
    4717                     "args": {
    4718                         "id": {
    4719                             "description": "The id of a template",
    4720                             "type": "string",
    4721                             "required": false
    4722                         },
    4723                         "context": {
    4724                             "description": "Scope under which the request is made; determines fields present in response.",
    4725                             "type": "string",
    4726                             "enum": [
    4727                                 "view",
    4728                                 "embed",
    4729                                 "edit"
    4730                             ],
    4731                             "default": "view",
    4732                             "required": false
    4733                         }
    4734                     }
    4735                 },
    4736                 {
    4737                     "methods": [
    4738                         "POST"
    4739                     ],
    4740                     "args": {
    4741                         "id": {
    4742                             "description": "The id of a template",
    4743                             "type": "string",
    4744                             "required": false
    4745                         },
    4746                         "slug": {
    4747                             "description": "Unique slug identifying the template.",
    4748                             "type": "string",
    4749                             "minLength": 1,
    4750                             "pattern": "[a-zA-Z0-9_\\%-]+",
    4751                             "required": false
    4752                         },
    4753                         "theme": {
    4754                             "description": "Theme identifier for the template.",
    4755                             "type": "string",
    4756                             "required": false
    4757                         },
    4758                         "type": {
    4759                             "description": "Type of template.",
    4760                             "type": "string",
    4761                             "required": false
    4762                         },
    4763                         "content": {
    4764                             "description": "Content of template.",
    4765                             "type": [
    4766                                 "object",
    4767                                 "string"
    4768                             ],
    4769                             "properties": {
    4770                                 "raw": {
    4771                                     "description": "Content for the template, as it exists in the database.",
    4772                                     "type": "string",
    4773                                     "context": [
    4774                                         "view",
    4775                                         "edit"
    4776                                     ]
    4777                                 },
    4778                                 "block_version": {
    4779                                     "description": "Version of the content block format used by the template.",
    4780                                     "type": "integer",
    4781                                     "context": [
    4782                                         "edit"
    4783                                     ],
    4784                                     "readonly": true
    4785                                 }
    4786                             },
    4787                             "required": false
    4788                         },
    4789                         "title": {
    4790                             "description": "Title of template.",
    4791                             "type": [
    4792                                 "object",
    4793                                 "string"
    4794                             ],
    4795                             "properties": {
    4796                                 "raw": {
    4797                                     "description": "Title for the template, as it exists in the database.",
    4798                                     "type": "string",
    4799                                     "context": [
    4800                                         "view",
    4801                                         "edit",
    4802                                         "embed"
    4803                                     ]
    4804                                 },
    4805                                 "rendered": {
    4806                                     "description": "HTML title for the template, transformed for display.",
    4807                                     "type": "string",
    4808                                     "context": [
    4809                                         "view",
    4810                                         "edit",
    4811                                         "embed"
    4812                                     ],
    4813                                     "readonly": true
    4814                                 }
    4815                             },
    4816                             "required": false
    4817                         },
    4818                         "description": {
    4819                             "description": "Description of template.",
    4820                             "type": "string",
    4821                             "required": false
    4822                         },
    4823                         "status": {
    4824                             "description": "Status of template.",
    4825                             "type": "string",
    4826                             "enum": [
    4827                                 "publish",
    4828                                 "future",
    4829                                 "draft",
    4830                                 "pending",
    4831                                 "private"
    4832                             ],
    4833                             "required": false
    4834                         },
    4835                         "author": {
    4836                             "description": "The ID for the author of the template.",
    4837                             "type": "integer",
    4838                             "required": false
    4839                         }
    4840                     }
    4841                 }
    4842             ]
    4843         },
    4844         "/wp/v2/templates/(?P<parent>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/autosaves/(?P<id>[\\d]+)": {
    4845             "namespace": "wp/v2",
    4846             "methods": [
    4847                 "GET"
    4848             ],
    4849             "endpoints": [
    4850                 {
    4851                     "methods": [
    4852                         "GET"
    4853                     ],
    4854                     "args": {
    4855                         "parent": {
    4856                             "description": "The id of a template",
    4857                             "type": "string",
    4858                             "required": false
    4859                         },
    4860                         "id": {
    4861                             "description": "The ID for the autosave.",
    4862                             "type": "integer",
    4863                             "required": false
    4864                         },
    4865                         "context": {
    4866                             "description": "Scope under which the request is made; determines fields present in response.",
    4867                             "type": "string",
    4868                             "enum": [
    4869                                 "view",
    4870                                 "embed",
    4871                                 "edit"
    4872                             ],
    4873                             "default": "view",
    4874                             "required": false
    4875                         }
    4876                     }
    4877                 }
    4878             ]
    4879         },
    4880         "/wp/v2/templates": {
    4881             "namespace": "wp/v2",
    4882             "methods": [
    4883                 "GET",
    4884                 "POST"
    4885             ],
    4886             "endpoints": [
    4887                 {
    4888                     "methods": [
    4889                         "GET"
    4890                     ],
    4891                     "args": {
    4892                         "context": {
    4893                             "description": "Scope under which the request is made; determines fields present in response.",
    4894                             "type": "string",
    4895                             "enum": [
    4896                                 "view",
    4897                                 "embed",
    4898                                 "edit"
    4899                             ],
    4900                             "default": "view",
    4901                             "required": false
    4902                         },
    4903                         "wp_id": {
    4904                             "description": "Limit to the specified post id.",
    4905                             "type": "integer",
    4906                             "required": false
    4907                         },
    4908                         "area": {
    4909                             "description": "Limit to the specified template part area.",
    4910                             "type": "string",
    4911                             "required": false
    4912                         },
    4913                         "post_type": {
    4914                             "description": "Post type to get the templates for.",
    4915                             "type": "string",
    4916                             "required": false
    4917                         }
    4918                     }
    4919                 },
    4920                 {
    4921                     "methods": [
    4922                         "POST"
    4923                     ],
    4924                     "args": {
    4925                         "slug": {
    4926                             "description": "Unique slug identifying the template.",
    4927                             "type": "string",
    4928                             "minLength": 1,
    4929                             "pattern": "[a-zA-Z0-9_\\%-]+",
    4930                             "required": true
    4931                         },
    4932                         "theme": {
    4933                             "description": "Theme identifier for the template.",
    4934                             "type": "string",
    4935                             "required": false
    4936                         },
    4937                         "type": {
    4938                             "description": "Type of template.",
    4939                             "type": "string",
    4940                             "required": false
    4941                         },
    4942                         "content": {
    4943                             "default": "",
    4944                             "description": "Content of template.",
    4945                             "type": [
    4946                                 "object",
    4947                                 "string"
    4948                             ],
    4949                             "properties": {
    4950                                 "raw": {
    4951                                     "description": "Content for the template, as it exists in the database.",
    4952                                     "type": "string",
    4953                                     "context": [
    4954                                         "view",
    4955                                         "edit"
    4956                                     ]
    4957                                 },
    4958                                 "block_version": {
    4959                                     "description": "Version of the content block format used by the template.",
    4960                                     "type": "integer",
    4961                                     "context": [
    4962                                         "edit"
    4963                                     ],
    4964                                     "readonly": true
    4965                                 }
    4966                             },
    4967                             "required": false
    4968                         },
    4969                         "title": {
    4970                             "default": "",
    4971                             "description": "Title of template.",
    4972                             "type": [
    4973                                 "object",
    4974                                 "string"
    4975                             ],
    4976                             "properties": {
    4977                                 "raw": {
    4978                                     "description": "Title for the template, as it exists in the database.",
    4979                                     "type": "string",
    4980                                     "context": [
    4981                                         "view",
    4982                                         "edit",
    4983                                         "embed"
    4984                                     ]
    4985                                 },
    4986                                 "rendered": {
    4987                                     "description": "HTML title for the template, transformed for display.",
    4988                                     "type": "string",
    4989                                     "context": [
    4990                                         "view",
    4991                                         "edit",
    4992                                         "embed"
    4993                                     ],
    4994                                     "readonly": true
    4995                                 }
    4996                             },
    4997                             "required": false
    4998                         },
    4999                         "description": {
    5000                             "default": "",
    5001                             "description": "Description of template.",
    5002                             "type": "string",
    5003                             "required": false
    5004                         },
    5005                         "status": {
    5006                             "default": "publish",
    5007                             "description": "Status of template.",
    5008                             "type": "string",
    5009                             "enum": [
    5010                                 "publish",
    5011                                 "future",
    5012                                 "draft",
    5013                                 "pending",
    5014                                 "private"
    5015                             ],
    5016                             "required": false
    5017                         },
    5018                         "author": {
    5019                             "description": "The ID for the author of the template.",
    5020                             "type": "integer",
    5021                             "required": false
    5022                         }
    5023                     }
    5024                 }
    5025             ],
    5026             "_links": {
    5027                 "self": [
    5028                     {
    5029                         "href": "http://example.org/index.php?rest_route=/wp/v2/templates"
    5030                     }
    5031                 ]
    5032             }
    5033         },
    5034         "/wp/v2/templates/lookup": {
    5035             "namespace": "wp/v2",
    5036             "methods": [
    5037                 "GET"
    5038             ],
    5039             "endpoints": [
    5040                 {
    5041                     "methods": [
    5042                         "GET"
    5043                     ],
    5044                     "args": {
    5045                         "slug": {
    5046                             "description": "The slug of the template to get the fallback for",
    5047                             "type": "string",
    5048                             "required": true
    5049                         },
    5050                         "is_custom": {
    5051                             "description": "Indicates if a template is custom or part of the template hierarchy",
    5052                             "type": "boolean",
    5053                             "required": false
    5054                         },
    5055                         "template_prefix": {
    5056                             "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`",
    5057                             "type": "string",
    5058                             "required": false
    5059                         }
    5060                     }
    5061                 }
    5062             ],
    5063             "_links": {
    5064                 "self": [
    5065                     {
    5066                         "href": "http://example.org/index.php?rest_route=/wp/v2/templates/lookup"
    5067                     }
    5068                 ]
    5069             }
    5070         },
    5071         "/wp/v2/templates/(?P<id>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)": {
    5072             "namespace": "wp/v2",
    5073             "methods": [
    5074                 "GET",
    5075                 "POST",
    5076                 "PUT",
    5077                 "PATCH",
    5078                 "DELETE"
    5079             ],
    5080             "endpoints": [
    5081                 {
    5082                     "methods": [
    5083                         "GET"
    5084                     ],
    5085                     "args": {
    5086                         "id": {
    5087                             "description": "The id of a template",
    5088                             "type": "string",
    5089                             "required": false
    5090                         },
    5091                         "context": {
    5092                             "description": "Scope under which the request is made; determines fields present in response.",
    5093                             "type": "string",
    5094                             "enum": [
    5095                                 "view",
    5096                                 "embed",
    5097                                 "edit"
    5098                             ],
    5099                             "default": "view",
    5100                             "required": false
    5101                         }
    5102                     }
    5103                 },
    5104                 {
    5105                     "methods": [
    5106                         "POST",
    5107                         "PUT",
    5108                         "PATCH"
    5109                     ],
    5110                     "args": {
    5111                         "id": {
    5112                             "description": "The id of a template",
    5113                             "type": "string",
    5114                             "required": false
    5115                         },
    5116                         "slug": {
    5117                             "description": "Unique slug identifying the template.",
    5118                             "type": "string",
    5119                             "minLength": 1,
    5120                             "pattern": "[a-zA-Z0-9_\\%-]+",
    5121                             "required": false
    5122                         },
    5123                         "theme": {
    5124                             "description": "Theme identifier for the template.",
    5125                             "type": "string",
    5126                             "required": false
    5127                         },
    5128                         "type": {
    5129                             "description": "Type of template.",
    5130                             "type": "string",
    5131                             "required": false
    5132                         },
    5133                         "content": {
    5134                             "description": "Content of template.",
    5135                             "type": [
    5136                                 "object",
    5137                                 "string"
    5138                             ],
    5139                             "properties": {
    5140                                 "raw": {
    5141                                     "description": "Content for the template, as it exists in the database.",
    5142                                     "type": "string",
    5143                                     "context": [
    5144                                         "view",
    5145                                         "edit"
    5146                                     ]
    5147                                 },
    5148                                 "block_version": {
    5149                                     "description": "Version of the content block format used by the template.",
    5150                                     "type": "integer",
    5151                                     "context": [
    5152                                         "edit"
    5153                                     ],
    5154                                     "readonly": true
    5155                                 }
    5156                             },
    5157                             "required": false
    5158                         },
    5159                         "title": {
    5160                             "description": "Title of template.",
    5161                             "type": [
    5162                                 "object",
    5163                                 "string"
    5164                             ],
    5165                             "properties": {
    5166                                 "raw": {
    5167                                     "description": "Title for the template, as it exists in the database.",
    5168                                     "type": "string",
    5169                                     "context": [
    5170                                         "view",
    5171                                         "edit",
    5172                                         "embed"
    5173                                     ]
    5174                                 },
    5175                                 "rendered": {
    5176                                     "description": "HTML title for the template, transformed for display.",
    5177                                     "type": "string",
    5178                                     "context": [
    5179                                         "view",
    5180                                         "edit",
    5181                                         "embed"
    5182                                     ],
    5183                                     "readonly": true
    5184                                 }
    5185                             },
    5186                             "required": false
    5187                         },
    5188                         "description": {
    5189                             "description": "Description of template.",
    5190                             "type": "string",
    5191                             "required": false
    5192                         },
    5193                         "status": {
    5194                             "description": "Status of template.",
    5195                             "type": "string",
    5196                             "enum": [
    5197                                 "publish",
    5198                                 "future",
    5199                                 "draft",
    5200                                 "pending",
    5201                                 "private"
    5202                             ],
    5203                             "required": false
    5204                         },
    5205                         "author": {
    5206                             "description": "The ID for the author of the template.",
    5207                             "type": "integer",
    5208                             "required": false
    5209                         }
    5210                     }
    5211                 },
    5212                 {
    5213                     "methods": [
    5214                         "DELETE"
    5215                     ],
    5216                     "args": {
    5217                         "id": {
    5218                             "description": "The id of a template",
    5219                             "type": "string",
    5220                             "required": false
    5221                         },
    5222                         "force": {
    5223                             "type": "boolean",
    5224                             "default": false,
    5225                             "description": "Whether to bypass Trash and force deletion.",
    5226                             "required": false
    5227                         }
    5228                     }
    5229                 }
    5230             ]
    5231         },
    5232         "/wp/v2/template-parts/(?P<parent>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/revisions": {
    5233             "namespace": "wp/v2",
    5234             "methods": [
    5235                 "GET"
    5236             ],
    5237             "endpoints": [
    5238                 {
    5239                     "methods": [
    5240                         "GET"
    5241                     ],
    5242                     "args": {
    5243                         "parent": {
    5244                             "description": "The id of a template",
    5245                             "type": "string",
    5246                             "required": false
    5247                         },
    5248                         "context": {
    5249                             "description": "Scope under which the request is made; determines fields present in response.",
    5250                             "type": "string",
    5251                             "enum": [
    5252                                 "view",
    5253                                 "embed",
    5254                                 "edit"
    5255                             ],
    5256                             "default": "view",
    5257                             "required": false
    5258                         },
    5259                         "page": {
    5260                             "description": "Current page of the collection.",
    5261                             "type": "integer",
    5262                             "default": 1,
    5263                             "minimum": 1,
    5264                             "required": false
    5265                         },
    5266                         "per_page": {
    5267                             "description": "Maximum number of items to be returned in result set.",
    5268                             "type": "integer",
    5269                             "minimum": 1,
    5270                             "maximum": 100,
    5271                             "required": false
    5272                         },
    5273                         "search": {
    5274                             "description": "Limit results to those matching a string.",
    5275                             "type": "string",
    5276                             "required": false
    5277                         },
    5278                         "exclude": {
    5279                             "description": "Ensure result set excludes specific IDs.",
    5280                             "type": "array",
    5281                             "items": {
    5282                                 "type": "integer"
    5283                             },
    5284                             "default": [],
    5285                             "required": false
    5286                         },
    5287                         "include": {
    5288                             "description": "Limit result set to specific IDs.",
    5289                             "type": "array",
    5290                             "items": {
    5291                                 "type": "integer"
    5292                             },
    5293                             "default": [],
    5294                             "required": false
    5295                         },
    5296                         "offset": {
    5297                             "description": "Offset the result set by a specific number of items.",
    5298                             "type": "integer",
    5299                             "required": false
    5300                         },
    5301                         "order": {
    5302                             "description": "Order sort attribute ascending or descending.",
    5303                             "type": "string",
    5304                             "default": "desc",
    5305                             "enum": [
    5306                                 "asc",
    5307                                 "desc"
    5308                             ],
    5309                             "required": false
    5310                         },
    5311                         "orderby": {
    5312                             "description": "Sort collection by object attribute.",
    5313                             "type": "string",
    5314                             "default": "date",
    5315                             "enum": [
    5316                                 "date",
    5317                                 "id",
    5318                                 "include",
    5319                                 "relevance",
    5320                                 "slug",
    5321                                 "include_slugs",
    5322                                 "title"
    5323                             ],
    5324                             "required": false
    5325                         }
    5326                     }
    5327                 }
    5328             ]
    5329         },
    5330         "/wp/v2/template-parts/(?P<parent>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/revisions/(?P<id>[\\d]+)": {
    5331             "namespace": "wp/v2",
    5332             "methods": [
    5333                 "GET",
    5334                 "DELETE"
    5335             ],
    5336             "endpoints": [
    5337                 {
    5338                     "methods": [
    5339                         "GET"
    5340                     ],
    5341                     "args": {
    5342                         "parent": {
    5343                             "description": "The id of a template",
    5344                             "type": "string",
    5345                             "required": false
    5346                         },
    5347                         "id": {
    5348                             "description": "Unique identifier for the revision.",
    5349                             "type": "integer",
    5350                             "required": false
    5351                         },
    5352                         "context": {
    5353                             "description": "Scope under which the request is made; determines fields present in response.",
    5354                             "type": "string",
    5355                             "enum": [
    5356                                 "view",
    5357                                 "embed",
    5358                                 "edit"
    5359                             ],
    5360                             "default": "view",
    5361                             "required": false
    5362                         }
    5363                     }
    5364                 },
    5365                 {
    5366                     "methods": [
    5367                         "DELETE"
    5368                     ],
    5369                     "args": {
    5370                         "parent": {
    5371                             "description": "The id of a template",
    5372                             "type": "string",
    5373                             "required": false
    5374                         },
    5375                         "id": {
    5376                             "description": "Unique identifier for the revision.",
    5377                             "type": "integer",
    5378                             "required": false
    5379                         },
    5380                         "force": {
    5381                             "type": "boolean",
    5382                             "default": false,
    5383                             "description": "Required to be true, as revisions do not support trashing.",
    5384                             "required": false
    5385                         }
    5386                     }
    5387                 }
    5388             ]
    5389         },
    5390         "/wp/v2/template-parts/(?P<id>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/autosaves": {
    5391             "namespace": "wp/v2",
    5392             "methods": [
    5393                 "GET",
    5394                 "POST"
    5395             ],
    5396             "endpoints": [
    5397                 {
    5398                     "methods": [
    5399                         "GET"
    5400                     ],
    5401                     "args": {
    5402                         "id": {
    5403                             "description": "The id of a template",
    5404                             "type": "string",
    5405                             "required": false
    5406                         },
    5407                         "context": {
    5408                             "description": "Scope under which the request is made; determines fields present in response.",
    5409                             "type": "string",
    5410                             "enum": [
    5411                                 "view",
    5412                                 "embed",
    5413                                 "edit"
    5414                             ],
    5415                             "default": "view",
    5416                             "required": false
    5417                         }
    5418                     }
    5419                 },
    5420                 {
    5421                     "methods": [
    5422                         "POST"
    5423                     ],
    5424                     "args": {
    5425                         "id": {
    5426                             "description": "The id of a template",
    5427                             "type": "string",
    5428                             "required": false
    5429                         },
    5430                         "slug": {
    5431                             "description": "Unique slug identifying the template.",
    5432                             "type": "string",
    5433                             "minLength": 1,
    5434                             "pattern": "[a-zA-Z0-9_\\%-]+",
    5435                             "required": false
    5436                         },
    5437                         "theme": {
    5438                             "description": "Theme identifier for the template.",
    5439                             "type": "string",
    5440                             "required": false
    5441                         },
    5442                         "type": {
    5443                             "description": "Type of template.",
    5444                             "type": "string",
    5445                             "required": false
    5446                         },
    5447                         "content": {
    5448                             "description": "Content of template.",
    5449                             "type": [
    5450                                 "object",
    5451                                 "string"
    5452                             ],
    5453                             "properties": {
    5454                                 "raw": {
    5455                                     "description": "Content for the template, as it exists in the database.",
    5456                                     "type": "string",
    5457                                     "context": [
    5458                                         "view",
    5459                                         "edit"
    5460                                     ]
    5461                                 },
    5462                                 "block_version": {
    5463                                     "description": "Version of the content block format used by the template.",
    5464                                     "type": "integer",
    5465                                     "context": [
    5466                                         "edit"
    5467                                     ],
    5468                                     "readonly": true
    5469                                 }
    5470                             },
    5471                             "required": false
    5472                         },
    5473                         "title": {
    5474                             "description": "Title of template.",
    5475                             "type": [
    5476                                 "object",
    5477                                 "string"
    5478                             ],
    5479                             "properties": {
    5480                                 "raw": {
    5481                                     "description": "Title for the template, as it exists in the database.",
    5482                                     "type": "string",
    5483                                     "context": [
    5484                                         "view",
    5485                                         "edit",
    5486                                         "embed"
    5487                                     ]
    5488                                 },
    5489                                 "rendered": {
    5490                                     "description": "HTML title for the template, transformed for display.",
    5491                                     "type": "string",
    5492                                     "context": [
    5493                                         "view",
    5494                                         "edit",
    5495                                         "embed"
    5496                                     ],
    5497                                     "readonly": true
    5498                                 }
    5499                             },
    5500                             "required": false
    5501                         },
    5502                         "description": {
    5503                             "description": "Description of template.",
    5504                             "type": "string",
    5505                             "required": false
    5506                         },
    5507                         "status": {
    5508                             "description": "Status of template.",
    5509                             "type": "string",
    5510                             "enum": [
    5511                                 "publish",
    5512                                 "future",
    5513                                 "draft",
    5514                                 "pending",
    5515                                 "private"
    5516                             ],
    5517                             "required": false
    5518                         },
    5519                         "author": {
    5520                             "description": "The ID for the author of the template.",
    5521                             "type": "integer",
    5522                             "required": false
    5523                         },
    5524                         "area": {
    5525                             "description": "Where the template part is intended for use (header, footer, etc.)",
    5526                             "type": "string",
    5527                             "required": false
    5528                         }
    5529                     }
    5530                 }
    5531             ]
    5532         },
    5533         "/wp/v2/template-parts/(?P<parent>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)/autosaves/(?P<id>[\\d]+)": {
    5534             "namespace": "wp/v2",
    5535             "methods": [
    5536                 "GET"
    5537             ],
    5538             "endpoints": [
    5539                 {
    5540                     "methods": [
    5541                         "GET"
    5542                     ],
    5543                     "args": {
    5544                         "parent": {
    5545                             "description": "The id of a template",
    5546                             "type": "string",
    5547                             "required": false
    5548                         },
    5549                         "id": {
    5550                             "description": "The ID for the autosave.",
    5551                             "type": "integer",
    5552                             "required": false
    5553                         },
    5554                         "context": {
    5555                             "description": "Scope under which the request is made; determines fields present in response.",
    5556                             "type": "string",
    5557                             "enum": [
    5558                                 "view",
    5559                                 "embed",
    5560                                 "edit"
    5561                             ],
    5562                             "default": "view",
    5563                             "required": false
    5564                         }
    5565                     }
    5566                 }
    5567             ]
    5568         },
    5569         "/wp/v2/template-parts": {
    5570             "namespace": "wp/v2",
    5571             "methods": [
    5572                 "GET",
    5573                 "POST"
    5574             ],
    5575             "endpoints": [
    5576                 {
    5577                     "methods": [
    5578                         "GET"
    5579                     ],
    5580                     "args": {
    5581                         "context": {
    5582                             "description": "Scope under which the request is made; determines fields present in response.",
    5583                             "type": "string",
    5584                             "enum": [
    5585                                 "view",
    5586                                 "embed",
    5587                                 "edit"
    5588                             ],
    5589                             "default": "view",
    5590                             "required": false
    5591                         },
    5592                         "wp_id": {
    5593                             "description": "Limit to the specified post id.",
    5594                             "type": "integer",
    5595                             "required": false
    5596                         },
    5597                         "area": {
    5598                             "description": "Limit to the specified template part area.",
    5599                             "type": "string",
    5600                             "required": false
    5601                         },
    5602                         "post_type": {
    5603                             "description": "Post type to get the templates for.",
    5604                             "type": "string",
    5605                             "required": false
    5606                         }
    5607                     }
    5608                 },
    5609                 {
    5610                     "methods": [
    5611                         "POST"
    5612                     ],
    5613                     "args": {
    5614                         "slug": {
    5615                             "description": "Unique slug identifying the template.",
    5616                             "type": "string",
    5617                             "minLength": 1,
    5618                             "pattern": "[a-zA-Z0-9_\\%-]+",
    5619                             "required": true
    5620                         },
    5621                         "theme": {
    5622                             "description": "Theme identifier for the template.",
    5623                             "type": "string",
    5624                             "required": false
    5625                         },
    5626                         "type": {
    5627                             "description": "Type of template.",
    5628                             "type": "string",
    5629                             "required": false
    5630                         },
    5631                         "content": {
    5632                             "default": "",
    5633                             "description": "Content of template.",
    5634                             "type": [
    5635                                 "object",
    5636                                 "string"
    5637                             ],
    5638                             "properties": {
    5639                                 "raw": {
    5640                                     "description": "Content for the template, as it exists in the database.",
    5641                                     "type": "string",
    5642                                     "context": [
    5643                                         "view",
    5644                                         "edit"
    5645                                     ]
    5646                                 },
    5647                                 "block_version": {
    5648                                     "description": "Version of the content block format used by the template.",
    5649                                     "type": "integer",
    5650                                     "context": [
    5651                                         "edit"
    5652                                     ],
    5653                                     "readonly": true
    5654                                 }
    5655                             },
    5656                             "required": false
    5657                         },
    5658                         "title": {
    5659                             "default": "",
    5660                             "description": "Title of template.",
    5661                             "type": [
    5662                                 "object",
    5663                                 "string"
    5664                             ],
    5665                             "properties": {
    5666                                 "raw": {
    5667                                     "description": "Title for the template, as it exists in the database.",
    5668                                     "type": "string",
    5669                                     "context": [
    5670                                         "view",
    5671                                         "edit",
    5672                                         "embed"
    5673                                     ]
    5674                                 },
    5675                                 "rendered": {
    5676                                     "description": "HTML title for the template, transformed for display.",
    5677                                     "type": "string",
    5678                                     "context": [
    5679                                         "view",
    5680                                         "edit",
    5681                                         "embed"
    5682                                     ],
    5683                                     "readonly": true
    5684                                 }
    5685                             },
    5686                             "required": false
    5687                         },
    5688                         "description": {
    5689                             "default": "",
    5690                             "description": "Description of template.",
    5691                             "type": "string",
    5692                             "required": false
    5693                         },
    5694                         "status": {
    5695                             "default": "publish",
    5696                             "description": "Status of template.",
    5697                             "type": "string",
    5698                             "enum": [
    5699                                 "publish",
    5700                                 "future",
    5701                                 "draft",
    5702                                 "pending",
    5703                                 "private"
    5704                             ],
    5705                             "required": false
    5706                         },
    5707                         "author": {
    5708                             "description": "The ID for the author of the template.",
    5709                             "type": "integer",
    5710                             "required": false
    5711                         },
    5712                         "area": {
    5713                             "description": "Where the template part is intended for use (header, footer, etc.)",
    5714                             "type": "string",
    5715                             "required": false
    5716                         }
    5717                     }
    5718                 }
    5719             ],
    5720             "_links": {
    5721                 "self": [
    5722                     {
    5723                         "href": "http://example.org/index.php?rest_route=/wp/v2/template-parts"
    5724                     }
    5725                 ]
    5726             }
    5727         },
    5728         "/wp/v2/template-parts/lookup": {
    5729             "namespace": "wp/v2",
    5730             "methods": [
    5731                 "GET"
    5732             ],
    5733             "endpoints": [
    5734                 {
    5735                     "methods": [
    5736                         "GET"
    5737                     ],
    5738                     "args": {
    5739                         "slug": {
    5740                             "description": "The slug of the template to get the fallback for",
    5741                             "type": "string",
    5742                             "required": true
    5743                         },
    5744                         "is_custom": {
    5745                             "description": "Indicates if a template is custom or part of the template hierarchy",
    5746                             "type": "boolean",
    5747                             "required": false
    5748                         },
    5749                         "template_prefix": {
    5750                             "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`",
    5751                             "type": "string",
    5752                             "required": false
    5753                         }
    5754                     }
    5755                 }
    5756             ],
    5757             "_links": {
    5758                 "self": [
    5759                     {
    5760                         "href": "http://example.org/index.php?rest_route=/wp/v2/template-parts/lookup"
    5761                     }
    5762                 ]
    5763             }
    5764         },
    5765         "/wp/v2/template-parts/(?P<id>([^\\/:<>\\*\\?\"\\|]+(?:\\/[^\\/:<>\\*\\?\"\\|]+)?)[\\/\\w%-]+)": {
    5766             "namespace": "wp/v2",
    5767             "methods": [
    5768                 "GET",
    5769                 "POST",
    5770                 "PUT",
    5771                 "PATCH",
    5772                 "DELETE"
    5773             ],
    5774             "endpoints": [
    5775                 {
    5776                     "methods": [
    5777                         "GET"
    5778                     ],
    5779                     "args": {
    5780                         "id": {
    5781                             "description": "The id of a template",
    5782                             "type": "string",
    5783                             "required": false
    5784                         },
    5785                         "context": {
    5786                             "description": "Scope under which the request is made; determines fields present in response.",
    5787                             "type": "string",
    5788                             "enum": [
    5789                                 "view",
    5790                                 "embed",
    5791                                 "edit"
    5792                             ],
    5793                             "default": "view",
    5794                             "required": false
    5795                         }
    5796                     }
    5797                 },
    5798                 {
    5799                     "methods": [
    5800                         "POST",
    5801                         "PUT",
    5802                         "PATCH"
    5803                     ],
    5804                     "args": {
    5805                         "id": {
    5806                             "description": "The id of a template",
    5807                             "type": "string",
    5808                             "required": false
    5809                         },
    5810                         "slug": {
    5811                             "description": "Unique slug identifying the template.",
    5812                             "type": "string",
    5813                             "minLength": 1,
    5814                             "pattern": "[a-zA-Z0-9_\\%-]+",
    5815                             "required": false
    5816                         },
    5817                         "theme": {
    5818                             "description": "Theme identifier for the template.",
    5819                             "type": "string",
    5820                             "required": false
    5821                         },
    5822                         "type": {
    5823                             "description": "Type of template.",
    5824                             "type": "string",
    5825                             "required": false
    5826                         },
    5827                         "content": {
    5828                             "description": "Content of template.",
    5829                             "type": [
    5830                                 "object",
    5831                                 "string"
    5832                             ],
    5833                             "properties": {
    5834                                 "raw": {
    5835                                     "description": "Content for the template, as it exists in the database.",
    5836                                     "type": "string",
    5837                                     "context": [
    5838                                         "view",
    5839                                         "edit"
    5840                                     ]
    5841                                 },
    5842                                 "block_version": {
    5843                                     "description": "Version of the content block format used by the template.",
    5844                                     "type": "integer",
    5845                                     "context": [
    5846                                         "edit"
    5847                                     ],
    5848                                     "readonly": true
    5849                                 }
    5850                             },
    5851                             "required": false
    5852                         },
    5853                         "title": {
    5854                             "description": "Title of template.",
    5855                             "type": [
    5856                                 "object",
    5857                                 "string"
    5858                             ],
    5859                             "properties": {
    5860                                 "raw": {
    5861                                     "description": "Title for the template, as it exists in the database.",
    5862                                     "type": "string",
    5863                                     "context": [
    5864                                         "view",
    5865                                         "edit",
    5866                                         "embed"
    5867                                     ]
    5868                                 },
    5869                                 "rendered": {
    5870                                     "description": "HTML title for the template, transformed for display.",
    5871                                     "type": "string",
    5872                                     "context": [
    5873                                         "view",
    5874                                         "edit",
    5875                                         "embed"
    5876                                     ],
    5877                                     "readonly": true
    5878                                 }
    5879                             },
    5880                             "required": false
    5881                         },
    5882                         "description": {
    5883                             "description": "Description of template.",
    5884                             "type": "string",
    5885                             "required": false
    5886                         },
    5887                         "status": {
    5888                             "description": "Status of template.",
    5889                             "type": "string",
    5890                             "enum": [
    5891                                 "publish",
    5892                                 "future",
    5893                                 "draft",
    5894                                 "pending",
    5895                                 "private"
    5896                             ],
    5897                             "required": false
    5898                         },
    5899                         "author": {
    5900                             "description": "The ID for the author of the template.",
    5901                             "type": "integer",
    5902                             "required": false
    5903                         },
    5904                         "area": {
    5905                             "description": "Where the template part is intended for use (header, footer, etc.)",
    5906                             "type": "string",
    5907                             "required": false
    5908                         }
    5909                     }
    5910                 },
    5911                 {
    5912                     "methods": [
    5913                         "DELETE"
    5914                     ],
    5915                     "args": {
    5916                         "id": {
    5917                             "description": "The id of a template",
    5918                             "type": "string",
    5919                             "required": false
    5920                         },
    5921                         "force": {
    5922                             "type": "boolean",
    5923                             "default": false,
    5924                             "description": "Whether to bypass Trash and force deletion.",
    5925                             "required": false
    5926                         }
    5927                     }
    5928                 }
    5929             ]
    5930         },
    5931         "/wp/v2/navigation": {
    5932             "namespace": "wp/v2",
    5933             "methods": [
    5934                 "GET",
    5935                 "POST"
    5936             ],
    5937             "endpoints": [
    5938                 {
    5939                     "methods": [
    5940                         "GET"
    5941                     ],
    5942                     "allow_batch": {
    5943                         "v1": true
    5944                     },
    5945                     "args": {
    5946                         "context": {
    5947                             "description": "Scope under which the request is made; determines fields present in response.",
    5948                             "type": "string",
    5949                             "enum": [
    5950                                 "view",
    5951                                 "embed",
    5952                                 "edit"
    5953                             ],
    5954                             "default": "view",
    5955                             "required": false
    5956                         },
    5957                         "page": {
    5958                             "description": "Current page of the collection.",
    5959                             "type": "integer",
    5960                             "default": 1,
    5961                             "minimum": 1,
    5962                             "required": false
    5963                         },
    5964                         "per_page": {
    5965                             "description": "Maximum number of items to be returned in result set.",
    5966                             "type": "integer",
    5967                             "default": 10,
    5968                             "minimum": 1,
    5969                             "maximum": 100,
    5970                             "required": false
    5971                         },
    5972                         "search": {
    5973                             "description": "Limit results to those matching a string.",
    5974                             "type": "string",
    5975                             "required": false
    5976                         },
    5977                         "after": {
    5978                             "description": "Limit response to posts published after a given ISO8601 compliant date.",
    5979                             "type": "string",
    5980                             "format": "date-time",
    5981                             "required": false
    5982                         },
    5983                         "modified_after": {
    5984                             "description": "Limit response to posts modified after a given ISO8601 compliant date.",
    5985                             "type": "string",
    5986                             "format": "date-time",
    5987                             "required": false
    5988                         },
    5989                         "before": {
    5990                             "description": "Limit response to posts published before a given ISO8601 compliant date.",
    5991                             "type": "string",
    5992                             "format": "date-time",
    5993                             "required": false
    5994                         },
    5995                         "modified_before": {
    5996                             "description": "Limit response to posts modified before a given ISO8601 compliant date.",
    5997                             "type": "string",
    5998                             "format": "date-time",
    5999                             "required": false
    6000                         },
    6001                         "exclude": {
    6002                             "description": "Ensure result set excludes specific IDs.",
    6003                             "type": "array",
    6004                             "items": {
    6005                                 "type": "integer"
    6006                             },
    6007                             "default": [],
    6008                             "required": false
    6009                         },
    6010                         "include": {
    6011                             "description": "Limit result set to specific IDs.",
    6012                             "type": "array",
    6013                             "items": {
    6014                                 "type": "integer"
    6015                             },
    6016                             "default": [],
    6017                             "required": false
    6018                         },
    6019                         "offset": {
    6020                             "description": "Offset the result set by a specific number of items.",
    6021                             "type": "integer",
    6022                             "required": false
    6023                         },
    6024                         "order": {
    6025                             "description": "Order sort attribute ascending or descending.",
    6026                             "type": "string",
    6027                             "default": "desc",
    6028                             "enum": [
    6029                                 "asc",
    6030                                 "desc"
    6031                             ],
    6032                             "required": false
    6033                         },
    6034                         "orderby": {
    6035                             "description": "Sort collection by post attribute.",
    6036                             "type": "string",
    6037                             "default": "date",
    6038                             "enum": [
    6039                                 "author",
    6040                                 "date",
    6041                                 "id",
    6042                                 "include",
    6043                                 "modified",
    6044                                 "parent",
    6045                                 "relevance",
    6046                                 "slug",
    6047                                 "include_slugs",
    6048                                 "title"
    6049                             ],
    6050                             "required": false
    6051                         },
    6052                         "search_columns": {
    6053                             "default": [],
    6054                             "description": "Array of column names to be searched.",
    6055                             "type": "array",
    6056                             "items": {
    6057                                 "enum": [
    6058                                     "post_title",
    6059                                     "post_content",
    6060                                     "post_excerpt"
    6061                                 ],
    6062                                 "type": "string"
    6063                             },
    6064                             "required": false
    6065                         },
    6066                         "slug": {
    6067                             "description": "Limit result set to posts with one or more specific slugs.",
    6068                             "type": "array",
    6069                             "items": {
    6070                                 "type": "string"
    6071                             },
    6072                             "required": false
    6073                         },
    6074                         "status": {
    6075                             "default": "publish",
    6076                             "description": "Limit result set to posts assigned one or more statuses.",
    6077                             "type": "array",
    6078                             "items": {
    6079                                 "enum": [
    6080                                     "publish",
    6081                                     "future",
    6082                                     "draft",
    6083                                     "pending",
    6084                                     "private",
    6085                                     "trash",
    6086                                     "auto-draft",
    6087                                     "inherit",
    6088                                     "request-pending",
    6089                                     "request-confirmed",
    6090                                     "request-failed",
    6091                                     "request-completed",
    6092                                     "any"
    6093                                 ],
    6094                                 "type": "string"
    6095                             },
    6096                             "required": false
    6097                         }
    6098                     }
    6099                 },
    6100                 {
    6101                     "methods": [
    6102                         "POST"
    6103                     ],
    6104                     "allow_batch": {
    6105                         "v1": true
    6106                     },
    6107                     "args": {
    6108                         "date": {
    6109                             "description": "The date the post was published, in the site's timezone.",
    6110                             "type": [
    6111                                 "string",
    6112                                 "null"
    6113                             ],
    6114                             "format": "date-time",
    6115                             "required": false
    6116                         },
    6117                         "date_gmt": {
    6118                             "description": "The date the post was published, as GMT.",
    6119                             "type": [
    6120                                 "string",
    6121                                 "null"
    6122                             ],
    6123                             "format": "date-time",
    6124                             "required": false
    6125                         },
    6126                         "slug": {
    6127                             "description": "An alphanumeric identifier for the post unique to its type.",
    6128                             "type": "string",
    6129                             "required": false
    6130                         },
    6131                         "status": {
    6132                             "description": "A named status for the post.",
    6133                             "type": "string",
    6134                             "enum": [
    6135                                 "publish",
    6136                                 "future",
    6137                                 "draft",
    6138                                 "pending",
    6139                                 "private"
    6140                             ],
    6141                             "required": false
    6142                         },
    6143                         "password": {
    6144                             "description": "A password to protect access to the content and excerpt.",
    6145                             "type": "string",
    6146                             "required": false
    6147                         },
    6148                         "title": {
    6149                             "description": "The title for the post.",
    6150                             "type": "object",
    6151                             "properties": {
    6152                                 "raw": {
    6153                                     "description": "Title for the post, as it exists in the database.",
    6154                                     "type": "string",
    6155                                     "context": [
    6156                                         "edit",
    6157                                         "embed"
    6158                                     ]
    6159                                 },
    6160                                 "rendered": {
    6161                                     "description": "HTML title for the post, transformed for display.",
    6162                                     "type": "string",
    6163                                     "context": [
    6164                                         "view",
    6165                                         "edit",
    6166                                         "embed"
    6167                                     ],
    6168                                     "readonly": true
    6169                                 }
    6170                             },
    6171                             "required": false
    6172                         },
    6173                         "content": {
    6174                             "description": "The content for the post.",
    6175                             "type": "object",
    6176                             "properties": {
    6177                                 "raw": {
    6178                                     "description": "Content for the post, as it exists in the database.",
    6179                                     "type": "string",
    6180                                     "context": [
    6181                                         "edit",
    6182                                         "embed"
    6183                                     ]
    6184                                 },
    6185                                 "rendered": {
    6186                                     "description": "HTML content for the post, transformed for display.",
    6187                                     "type": "string",
    6188                                     "context": [
    6189                                         "view",
    6190                                         "edit",
    6191                                         "embed"
    6192                                     ],
    6193                                     "readonly": true
    6194                                 },
    6195                                 "block_version": {
    6196                                     "description": "Version of the content block format used by the post.",
    6197                                     "type": "integer",
    6198                                     "context": [
    6199                                         "edit",
    6200                                         "embed"
    6201                                     ],
    6202                                     "readonly": true
    6203                                 },
    6204                                 "protected": {
    6205                                     "description": "Whether the content is protected with a password.",
    6206                                     "type": "boolean",
    6207                                     "context": [
    6208                                         "view",
    6209                                         "edit",
    6210                                         "embed"
    6211                                     ],
    6212                                     "readonly": true
    6213                                 }
    6214                             },
    6215                             "required": false
    6216                         },
    6217                         "template": {
    6218                             "description": "The theme file to use to display the post.",
    6219                             "type": "string",
    6220                             "required": false
    6221                         }
    6222                     }
    6223                 }
    6224             ],
    6225             "_links": {
    6226                 "self": [
    6227                     {
    6228                         "href": "http://example.org/index.php?rest_route=/wp/v2/navigation"
    6229                     }
    6230                 ]
    6231             }
    6232         },
    6233         "/wp/v2/navigation/(?P<id>[\\d]+)": {
    6234             "namespace": "wp/v2",
    6235             "methods": [
    6236                 "GET",
    6237                 "POST",
    6238                 "PUT",
    6239                 "PATCH",
    6240                 "DELETE"
    6241             ],
    6242             "endpoints": [
    6243                 {
    6244                     "methods": [
    6245                         "GET"
    6246                     ],
    6247                     "allow_batch": {
    6248                         "v1": true
    6249                     },
    6250                     "args": {
    6251                         "id": {
    6252                             "description": "Unique identifier for the post.",
    6253                             "type": "integer",
    6254                             "required": false
    6255                         },
    6256                         "context": {
    6257                             "description": "Scope under which the request is made; determines fields present in response.",
    6258                             "type": "string",
    6259                             "enum": [
    6260                                 "view",
    6261                                 "embed",
    6262                                 "edit"
    6263                             ],
    6264                             "default": "view",
    6265                             "required": false
    6266                         },
    6267                         "password": {
    6268                             "description": "The password for the post if it is password protected.",
    6269                             "type": "string",
    6270                             "required": false
    6271                         }
    6272                     }
    6273                 },
    6274                 {
    6275                     "methods": [
    6276                         "POST",
    6277                         "PUT",
    6278                         "PATCH"
    6279                     ],
    6280                     "allow_batch": {
    6281                         "v1": true
    6282                     },
    6283                     "args": {
    6284                         "id": {
    6285                             "description": "Unique identifier for the post.",
    6286                             "type": "integer",
    6287                             "required": false
    6288                         },
    6289                         "date": {
    6290                             "description": "The date the post was published, in the site's timezone.",
    6291                             "type": [
    6292                                 "string",
    6293                                 "null"
    6294                             ],
    6295                             "format": "date-time",
    6296                             "required": false
    6297                         },
    6298                         "date_gmt": {
    6299                             "description": "The date the post was published, as GMT.",
    6300                             "type": [
    6301                                 "string",
    6302                                 "null"
    6303                             ],
    6304                             "format": "date-time",
    6305                             "required": false
    6306                         },
    6307                         "slug": {
    6308                             "description": "An alphanumeric identifier for the post unique to its type.",
    6309                             "type": "string",
    6310                             "required": false
    6311                         },
    6312                         "status": {
    6313                             "description": "A named status for the post.",
    6314                             "type": "string",
    6315                             "enum": [
    6316                                 "publish",
    6317                                 "future",
    6318                                 "draft",
    6319                                 "pending",
    6320                                 "private"
    6321                             ],
    6322                             "required": false
    6323                         },
    6324                         "password": {
    6325                             "description": "A password to protect access to the content and excerpt.",
    6326                             "type": "string",
    6327                             "required": false
    6328                         },
    6329                         "title": {
    6330                             "description": "The title for the post.",
    6331                             "type": "object",
    6332                             "properties": {
    6333                                 "raw": {
    6334                                     "description": "Title for the post, as it exists in the database.",
    6335                                     "type": "string",
    6336                                     "context": [
    6337                                         "edit",
    6338                                         "embed"
    6339                                     ]
    6340                                 },
    6341                                 "rendered": {
    6342                                     "description": "HTML title for the post, transformed for display.",
    6343                                     "type": "string",
    6344                                     "context": [
    6345                                         "view",
    6346                                         "edit",
    6347                                         "embed"
    6348                                     ],
    6349                                     "readonly": true
    6350                                 }
    6351                             },
    6352                             "required": false
    6353                         },
    6354                         "content": {
    6355                             "description": "The content for the post.",
    6356                             "type": "object",
    6357                             "properties": {
    6358                                 "raw": {
    6359                                     "description": "Content for the post, as it exists in the database.",
    6360                                     "type": "string",
    6361                                     "context": [
    6362                                         "edit",
    6363                                         "embed"
    6364                                     ]
    6365                                 },
    6366                                 "rendered": {
    6367                                     "description": "HTML content for the post, transformed for display.",
    6368                                     "type": "string",
    6369                                     "context": [
    6370                                         "view",
    6371                                         "edit",
    6372                                         "embed"
    6373                                     ],
    6374                                     "readonly": true
    6375                                 },
    6376                                 "block_version": {
    6377                                     "description": "Version of the content block format used by the post.",
    6378                                     "type": "integer",
    6379                                     "context": [
    6380                                         "edit",
    6381                                         "embed"
    6382                                     ],
    6383                                     "readonly": true
    6384                                 },
    6385                                 "protected": {
    6386                                     "description": "Whether the content is protected with a password.",
    6387                                     "type": "boolean",
    6388                                     "context": [
    6389                                         "view",
    6390                                         "edit",
    6391                                         "embed"
    6392                                     ],
    6393                                     "readonly": true
    6394                                 }
    6395                             },
    6396                             "required": false
    6397                         },
    6398                         "template": {
    6399                             "description": "The theme file to use to display the post.",
    6400                             "type": "string",
    6401                             "required": false
    6402                         }
    6403                     }
    6404                 },
    6405                 {
    6406                     "methods": [
    6407                         "DELETE"
    6408                     ],
    6409                     "allow_batch": {
    6410                         "v1": true
    6411                     },
    6412                     "args": {
    6413                         "id": {
    6414                             "description": "Unique identifier for the post.",
    6415                             "type": "integer",
    6416                             "required": false
    6417                         },
    6418                         "force": {
    6419                             "type": "boolean",
    6420                             "default": false,
    6421                             "description": "Whether to bypass Trash and force deletion.",
    6422                             "required": false
    6423                         }
    6424                     }
    6425                 }
    6426             ]
    6427         },
    6428         "/wp/v2/navigation/(?P<parent>[\\d]+)/revisions": {
    6429             "namespace": "wp/v2",
    6430             "methods": [
    6431                 "GET"
    6432             ],
    6433             "endpoints": [
    6434                 {
    6435                     "methods": [
    6436                         "GET"
    6437                     ],
    6438                     "args": {
    6439                         "parent": {
    6440                             "description": "The ID for the parent of the revision.",
    6441                             "type": "integer",
    6442                             "required": false
    6443                         },
    6444                         "context": {
    6445                             "description": "Scope under which the request is made; determines fields present in response.",
    6446                             "type": "string",
    6447                             "enum": [
    6448                                 "view",
    6449                                 "embed",
    6450                                 "edit"
    6451                             ],
    6452                             "default": "view",
    6453                             "required": false
    6454                         },
    6455                         "page": {
    6456                             "description": "Current page of the collection.",
    6457                             "type": "integer",
    6458                             "default": 1,
    6459                             "minimum": 1,
    6460                             "required": false
    6461                         },
    6462                         "per_page": {
    6463                             "description": "Maximum number of items to be returned in result set.",
    6464                             "type": "integer",
    6465                             "minimum": 1,
    6466                             "maximum": 100,
    6467                             "required": false
    6468                         },
    6469                         "search": {
    6470                             "description": "Limit results to those matching a string.",
    6471                             "type": "string",
    6472                             "required": false
    6473                         },
    6474                         "exclude": {
    6475                             "description": "Ensure result set excludes specific IDs.",
    6476                             "type": "array",
    6477                             "items": {
    6478                                 "type": "integer"
    6479                             },
    6480                             "default": [],
    6481                             "required": false
    6482                         },
    6483                         "include": {
    6484                             "description": "Limit result set to specific IDs.",
    6485                             "type": "array",
    6486                             "items": {
    6487                                 "type": "integer"
    6488                             },
    6489                             "default": [],
    6490                             "required": false
    6491                         },
    6492                         "offset": {
    6493                             "description": "Offset the result set by a specific number of items.",
    6494                             "type": "integer",
    6495                             "required": false
    6496                         },
    6497                         "order": {
    6498                             "description": "Order sort attribute ascending or descending.",
    6499                             "type": "string",
    6500                             "default": "desc",
    6501                             "enum": [
    6502                                 "asc",
    6503                                 "desc"
    6504                             ],
    6505                             "required": false
    6506                         },
    6507                         "orderby": {
    6508                             "description": "Sort collection by object attribute.",
    6509                             "type": "string",
    6510                             "default": "date",
    6511                             "enum": [
    6512                                 "date",
    6513                                 "id",
    6514                                 "include",
    6515                                 "relevance",
    6516                                 "slug",
    6517                                 "include_slugs",
    6518                                 "title"
    6519                             ],
    6520                             "required": false
    6521                         }
    6522                     }
    6523                 }
    6524             ]
    6525         },
    6526         "/wp/v2/navigation/(?P<parent>[\\d]+)/revisions/(?P<id>[\\d]+)": {
    6527             "namespace": "wp/v2",
    6528             "methods": [
    6529                 "GET",
    6530                 "DELETE"
    6531             ],
    6532             "endpoints": [
    6533                 {
    6534                     "methods": [
    6535                         "GET"
    6536                     ],
    6537                     "args": {
    6538                         "parent": {
    6539                             "description": "The ID for the parent of the revision.",
    6540                             "type": "integer",
    6541                             "required": false
    6542                         },
    6543                         "id": {
    6544                             "description": "Unique identifier for the revision.",
    6545                             "type": "integer",
    6546                             "required": false
    6547                         },
    6548                         "context": {
    6549                             "description": "Scope under which the request is made; determines fields present in response.",
    6550                             "type": "string",
    6551                             "enum": [
    6552                                 "view",
    6553                                 "embed",
    6554                                 "edit"
    6555                             ],
    6556                             "default": "view",
    6557                             "required": false
    6558                         }
    6559                     }
    6560                 },
    6561                 {
    6562                     "methods": [
    6563                         "DELETE"
    6564                     ],
    6565                     "args": {
    6566                         "parent": {
    6567                             "description": "The ID for the parent of the revision.",
    6568                             "type": "integer",
    6569                             "required": false
    6570                         },
    6571                         "id": {
    6572                             "description": "Unique identifier for the revision.",
    6573                             "type": "integer",
    6574                             "required": false
    6575                         },
    6576                         "force": {
    6577                             "type": "boolean",
    6578                             "default": false,
    6579                             "description": "Required to be true, as revisions do not support trashing.",
    6580                             "required": false
    6581                         }
    6582                     }
    6583                 }
    6584             ]
    6585         },
    6586         "/wp/v2/navigation/(?P<id>[\\d]+)/autosaves": {
    6587             "namespace": "wp/v2",
    6588             "methods": [
    6589                 "GET",
    6590                 "POST"
    6591             ],
    6592             "endpoints": [
    6593                 {
    6594                     "methods": [
    6595                         "GET"
    6596                     ],
    6597                     "args": {
    6598                         "parent": {
    6599                             "description": "The ID for the parent of the autosave.",
    6600                             "type": "integer",
    6601                             "required": false
    6602                         },
    6603                         "context": {
    6604                             "description": "Scope under which the request is made; determines fields present in response.",
    6605                             "type": "string",
    6606                             "enum": [
    6607                                 "view",
    6608                                 "embed",
    6609                                 "edit"
    6610                             ],
    6611                             "default": "view",
    6612                             "required": false
    6613                         }
    6614                     }
    6615                 },
    6616                 {
    6617                     "methods": [
    6618                         "POST"
    6619                     ],
    6620                     "args": {
    6621                         "parent": {
    6622                             "description": "The ID for the parent of the autosave.",
    6623                             "type": "integer",
    6624                             "required": false
    6625                         },
    6626                         "date": {
    6627                             "description": "The date the post was published, in the site's timezone.",
    6628                             "type": [
    6629                                 "string",
    6630                                 "null"
    6631                             ],
    6632                             "format": "date-time",
    6633                             "required": false
    6634                         },
    6635                         "date_gmt": {
    6636                             "description": "The date the post was published, as GMT.",
    6637                             "type": [
    6638                                 "string",
    6639                                 "null"
    6640                             ],
    6641                             "format": "date-time",
    6642                             "required": false
    6643                         },
    6644                         "slug": {
    6645                             "description": "An alphanumeric identifier for the post unique to its type.",
    6646                             "type": "string",
    6647                             "required": false
    6648                         },
    6649                         "status": {
    6650                             "description": "A named status for the post.",
    6651                             "type": "string",
    6652                             "enum": [
    6653                                 "publish",
    6654                                 "future",
    6655                                 "draft",
    6656                                 "pending",
    6657                                 "private"
    6658                             ],
    6659                             "required": false
    6660                         },
    6661                         "password": {
    6662                             "description": "A password to protect access to the content and excerpt.",
    6663                             "type": "string",
    6664                             "required": false
    6665                         },
    6666                         "title": {
    6667                             "description": "The title for the post.",
    6668                             "type": "object",
    6669                             "properties": {
    6670                                 "raw": {
    6671                                     "description": "Title for the post, as it exists in the database.",
    6672                                     "type": "string",
    6673                                     "context": [
    6674                                         "edit",
    6675                                         "embed"
    6676                                     ]
    6677                                 },
    6678                                 "rendered": {
    6679                                     "description": "HTML title for the post, transformed for display.",
    6680                                     "type": "string",
    6681                                     "context": [
    6682                                         "view",
    6683                                         "edit",
    6684                                         "embed"
    6685                                     ],
    6686                                     "readonly": true
    6687                                 }
    6688                             },
    6689                             "required": false
    6690                         },
    6691                         "content": {
    6692                             "description": "The content for the post.",
    6693                             "type": "object",
    6694                             "properties": {
    6695                                 "raw": {
    6696                                     "description": "Content for the post, as it exists in the database.",
    6697                                     "type": "string",
    6698                                     "context": [
    6699                                         "edit",
    6700                                         "embed"
    6701                                     ]
    6702                                 },
    6703                                 "rendered": {
    6704                                     "description": "HTML content for the post, transformed for display.",
    6705                                     "type": "string",
    6706                                     "context": [
    6707                                         "view",
    6708                                         "edit",
    6709                                         "embed"
    6710                                     ],
    6711                                     "readonly": true
    6712                                 },
    6713                                 "block_version": {
    6714                                     "description": "Version of the content block format used by the post.",
    6715                                     "type": "integer",
    6716                                     "context": [
    6717                                         "edit",
    6718                                         "embed"
    6719                                     ],
    6720                                     "readonly": true
    6721                                 },
    6722                                 "protected": {
    6723                                     "description": "Whether the content is protected with a password.",
    6724                                     "type": "boolean",
    6725                                     "context": [
    6726                                         "view",
    6727                                         "edit",
    6728                                         "embed"
    6729                                     ],
    6730                                     "readonly": true
    6731                                 }
    6732                             },
    6733                             "required": false
    6734                         },
    6735                         "template": {
    6736                             "description": "The theme file to use to display the post.",
    6737                             "type": "string",
    6738                             "required": false
    6739                         }
    6740                     }
    6741                 }
    6742             ]
    6743         },
    6744         "/wp/v2/navigation/(?P<parent>[\\d]+)/autosaves/(?P<id>[\\d]+)": {
    6745             "namespace": "wp/v2",
    6746             "methods": [
    6747                 "GET"
    6748             ],
    6749             "endpoints": [
    6750                 {
    6751                     "methods": [
    6752                         "GET"
    6753                     ],
    6754                     "args": {
    6755                         "parent": {
    6756                             "description": "The ID for the parent of the autosave.",
    6757                             "type": "integer",
    6758                             "required": false
    6759                         },
    6760                         "id": {
    6761                             "description": "The ID for the autosave.",
    6762                             "type": "integer",
    6763                             "required": false
    6764                         },
    6765                         "context": {
    6766                             "description": "Scope under which the request is made; determines fields present in response.",
    6767                             "type": "string",
    6768                             "enum": [
    6769                                 "view",
    6770                                 "embed",
    6771                                 "edit"
    6772                             ],
    6773                             "default": "view",
    6774                             "required": false
    6775                         }
    6776                     }
    6777                 }
    6778             ]
    6779         },
    6780         "/wp/v2/font-families": {
    6781             "namespace": "wp/v2",
    6782             "methods": [
    6783                 "GET",
    6784                 "POST"
    6785             ],
    6786             "endpoints": [
    6787                 {
    6788                     "methods": [
    6789                         "GET"
    6790                     ],
    6791                     "args": {
    6792                         "context": {
    6793                             "description": "Scope under which the request is made; determines fields present in response.",
    6794                             "type": "string",
    6795                             "enum": [
    6796                                 "view",
    6797                                 "embed",
    6798                                 "edit"
    6799                             ],
    6800                             "default": "view",
    6801                             "required": false
    6802                         },
    6803                         "page": {
    6804                             "description": "Current page of the collection.",
    6805                             "type": "integer",
    6806                             "default": 1,
    6807                             "minimum": 1,
    6808                             "required": false
    6809                         },
    6810                         "per_page": {
    6811                             "description": "Maximum number of items to be returned in result set.",
    6812                             "type": "integer",
    6813                             "default": 10,
    6814                             "minimum": 1,
    6815                             "maximum": 100,
    6816                             "required": false
    6817                         },
    6818                         "exclude": {
    6819                             "description": "Ensure result set excludes specific IDs.",
    6820                             "type": "array",
    6821                             "items": {
    6822                                 "type": "integer"
    6823                             },
    6824                             "default": [],
    6825                             "required": false
    6826                         },
    6827                         "include": {
    6828                             "description": "Limit result set to specific IDs.",
    6829                             "type": "array",
    6830                             "items": {
    6831                                 "type": "integer"
    6832                             },
    6833                             "default": [],
    6834                             "required": false
    6835                         },
    6836                         "offset": {
    6837                             "description": "Offset the result set by a specific number of items.",
    6838                             "type": "integer",
    6839                             "required": false
    6840                         },
    6841                         "order": {
    6842                             "description": "Order sort attribute ascending or descending.",
    6843                             "type": "string",
    6844                             "default": "desc",
    6845                             "enum": [
    6846                                 "asc",
    6847                                 "desc"
    6848                             ],
    6849                             "required": false
    6850                         },
    6851                         "orderby": {
    6852                             "description": "Sort collection by post attribute.",
    6853                             "type": "string",
    6854                             "default": "id",
    6855                             "enum": [
    6856                                 "id",
    6857                                 "include"
    6858                             ],
    6859                             "required": false
    6860                         },
    6861                         "slug": {
    6862                             "description": "Limit result set to posts with one or more specific slugs.",
    6863                             "type": "array",
    6864                             "items": {
    6865                                 "type": "string"
    6866                             },
    6867                             "required": false
    6868                         }
    6869                     }
    6870                 },
    6871                 {
    6872                     "methods": [
    6873                         "POST"
    6874                     ],
    6875                     "args": {
    6876                         "theme_json_version": {
    6877                             "description": "Version of the theme.json schema used for the typography settings.",
    6878                             "type": "integer",
    6879                             "default": 2,
    6880                             "minimum": 2,
    6881                             "maximum": 2,
    6882                             "required": false
    6883                         },
    6884                         "font_family_settings": {
    6885                             "description": "font-family declaration in theme.json format, encoded as a string.",
    6886                             "type": "string",
    6887                             "required": true
    6888                         }
    6889                     }
    6890                 }
    6891             ],
    6892             "_links": {
    6893                 "self": [
    6894                     {
    6895                         "href": "http://example.org/index.php?rest_route=/wp/v2/font-families"
    6896                     }
    6897                 ]
    6898             }
    6899         },
    6900         "/wp/v2/font-families/(?P<id>[\\d]+)": {
    6901             "namespace": "wp/v2",
    6902             "methods": [
    6903                 "GET",
    6904                 "POST",
    6905                 "PUT",
    6906                 "PATCH",
    6907                 "DELETE"
    6908             ],
    6909             "endpoints": [
    6910                 {
    6911                     "methods": [
    6912                         "GET"
    6913                     ],
    6914                     "args": {
    6915                         "id": {
    6916                             "description": "Unique identifier for the post.",
    6917                             "type": "integer",
    6918                             "required": false
    6919                         },
    6920                         "context": {
    6921                             "description": "Scope under which the request is made; determines fields present in response.",
    6922                             "type": "string",
    6923                             "enum": [
    6924                                 "view",
    6925                                 "embed",
    6926                                 "edit"
    6927                             ],
    6928                             "default": "view",
    6929                             "required": false
    6930                         }
    6931                     }
    6932                 },
    6933                 {
    6934                     "methods": [
    6935                         "POST",
    6936                         "PUT",
    6937                         "PATCH"
    6938                     ],
    6939                     "args": {
    6940                         "id": {
    6941                             "description": "Unique identifier for the post.",
    6942                             "type": "integer",
    6943                             "required": false
    6944                         },
    6945                         "theme_json_version": {
    6946                             "description": "Version of the theme.json schema used for the typography settings.",
    6947                             "type": "integer",
    6948                             "default": 2,
    6949                             "minimum": 2,
    6950                             "maximum": 2,
    6951                             "required": false
    6952                         },
    6953                         "font_family_settings": {
    6954                             "description": "font-family declaration in theme.json format, encoded as a string.",
    6955                             "type": "string",
    6956                             "required": true
    6957                         }
    6958                     }
    6959                 },
    6960                 {
    6961                     "methods": [
    6962                         "DELETE"
    6963                     ],
    6964                     "args": {
    6965                         "id": {
    6966                             "description": "Unique identifier for the post.",
    6967                             "type": "integer",
    6968                             "required": false
    6969                         },
    6970                         "force": {
    6971                             "type": "boolean",
    6972                             "default": false,
    6973                             "description": "Whether to bypass Trash and force deletion.",
    6974                             "required": false
    6975                         }
    6976                     }
    6977                 }
    6978             ]
    6979         },
    6980         "/wp/v2/font-families/(?P<font_family_id>[\\d]+)/font-faces": {
    6981             "namespace": "wp/v2",
    6982             "methods": [
    6983                 "GET",
    6984                 "POST"
    6985             ],
    6986             "endpoints": [
    6987                 {
    6988                     "methods": [
    6989                         "GET"
    6990                     ],
    6991                     "args": {
    6992                         "font_family_id": {
    6993                             "description": "The ID for the parent font family of the font face.",
    6994                             "type": "integer",
    6995                             "required": true
    6996                         },
    6997                         "context": {
    6998                             "description": "Scope under which the request is made; determines fields present in response.",
    6999                             "type": "string",
    7000                             "enum": [
    7001                                 "view",
    7002                                 "embed",
    7003                                 "edit"
    7004                             ],
    7005                             "default": "view",
    7006                             "required": false
    7007                         },
    7008                         "page": {
    7009                             "description": "Current page of the collection.",
    7010                             "type": "integer",
    7011                             "default": 1,
    7012                             "minimum": 1,
    7013                             "required": false
    7014                         },
    7015                         "per_page": {
    7016                             "description": "Maximum number of items to be returned in result set.",
    7017                             "type": "integer",
    7018                             "default": 10,
    7019                             "minimum": 1,
    7020                             "maximum": 100,
    7021                             "required": false
    7022                         },
    7023                         "exclude": {
    7024                             "description": "Ensure result set excludes specific IDs.",
    7025                             "type": "array",
    7026                             "items": {
    7027                                 "type": "integer"
    7028                             },
    7029                             "default": [],
    7030                             "required": false
    7031 &n