menu-items.json•87.6 kB
{
"/wp/v2/menu-items": {
"namespace": "wp/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Current page of the collection.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Maximum number of items to be returned in result set.",
"type": "integer",
"default": 100,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Limit results to those matching a string.",
"type": "string",
"required": false
},
"after": {
"description": "Limit response to posts published after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Limit response to posts modified after a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Limit response to posts published before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Limit response to posts modified before a given ISO8601 compliant date.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Ensure result set excludes specific IDs.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Limit result set to specific IDs.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "How to interpret the search input.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Offset the result set by a specific number of items.",
"type": "integer",
"required": false
},
"order": {
"description": "Order sort attribute ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Sort collection by object attribute.",
"type": "string",
"default": "menu_order",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title",
"menu_order"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Array of column names to be searched.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Limit result set to posts with one or more specific slugs.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Limit result set to posts assigned one or more statuses.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Limit result set based on relationship between multiple taxonomies.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"menus": {
"description": "Limit result set to items with specific terms assigned in the menus taxonomy.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Term ID List",
"description": "Match terms with the listed IDs.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Term ID Taxonomy Query",
"description": "Perform an advanced term query.",
"type": "object",
"properties": {
"terms": {
"description": "Term IDs.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Whether items must be assigned all or any of the specified terms.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"menus_exclude": {
"description": "Limit result set to items except those with specific terms assigned in the menus taxonomy.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Term ID List",
"description": "Match terms with the listed IDs.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Term ID Taxonomy Query",
"description": "Perform an advanced term query.",
"type": "object",
"properties": {
"terms": {
"description": "Term IDs.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
},
"menu_order": {
"description": "Limit result set to posts with a specific menu_order value.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"title": {
"description": "The title for the object.",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "Title for the object, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML title for the object, transformed for display.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"default": "custom",
"description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"default": "publish",
"description": "A named status for the object.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"required": false
},
"parent": {
"default": 0,
"description": "The ID for the parent of the object.",
"type": "integer",
"minimum": 0,
"required": false
},
"attr_title": {
"description": "Text for the title attribute of the link element for this menu item.",
"type": "string",
"required": false
},
"classes": {
"description": "Class names for the link element of this menu item.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "The description of this menu item.",
"type": "string",
"required": false
},
"menu_order": {
"default": 1,
"description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"default": 0,
"description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "The target attribute of the link element for this menu item.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "The URL to which this menu item points.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "The XFN relationship expressed in the link of this menu item.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "The terms assigned to the object in the nav_menu taxonomy.",
"type": "integer",
"required": false
},
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": {
"_uag_custom_page_level_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-sidebar-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-sidebar-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-global-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-banner-title-visibility": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-main-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-above-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-below-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-mobile-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-post-title": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-breadcrumbs-content": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-featured-img": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"footer-sml-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"theme-transparent-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"adv-header-id-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"stick-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-above-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-main-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-below-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"astra-migrate-meta-layouts": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-enabled": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-4)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"ast-content-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https://therift.se/wp-json/wp/v2/menu-items"
}
]
}
},
"/wp/v2/menu-items/(?P<id>[\\d]+)": {
"namespace": "wp/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Unique identifier for the post.",
"type": "integer",
"required": false
},
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Unique identifier for the post.",
"type": "integer",
"required": false
},
"title": {
"description": "The title for the object.",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "Title for the object, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML title for the object, transformed for display.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"description": "A named status for the object.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"required": false
},
"parent": {
"description": "The ID for the parent of the object.",
"type": "integer",
"minimum": 0,
"required": false
},
"attr_title": {
"description": "Text for the title attribute of the link element for this menu item.",
"type": "string",
"required": false
},
"classes": {
"description": "Class names for the link element of this menu item.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "The description of this menu item.",
"type": "string",
"required": false
},
"menu_order": {
"description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "The target attribute of the link element for this menu item.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "The URL to which this menu item points.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "The XFN relationship expressed in the link of this menu item.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "The terms assigned to the object in the nav_menu taxonomy.",
"type": "integer",
"required": false
},
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": {
"_uag_custom_page_level_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-sidebar-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-sidebar-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-global-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-banner-title-visibility": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-main-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-above-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-below-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-mobile-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-post-title": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-breadcrumbs-content": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-featured-img": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"footer-sml-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"theme-transparent-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"adv-header-id-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"stick-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-above-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-main-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-below-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"astra-migrate-meta-layouts": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-enabled": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-4)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"ast-content-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Unique identifier for the post.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Whether to bypass Trash and force deletion.",
"required": false
}
}
}
]
},
"/wp/v2/menu-items/(?P<id>[\\d]+)/autosaves": {
"namespace": "wp/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"required": false
},
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "The ID for the parent of the object.",
"type": "integer",
"minimum": 0,
"required": false
},
"title": {
"description": "The title for the object.",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "Title for the object, as it exists in the database.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "HTML title for the object, transformed for display.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"description": "A named status for the object.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"required": false
},
"attr_title": {
"description": "Text for the title attribute of the link element for this menu item.",
"type": "string",
"required": false
},
"classes": {
"description": "Class names for the link element of this menu item.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "The description of this menu item.",
"type": "string",
"required": false
},
"menu_order": {
"description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "The target attribute of the link element for this menu item.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "The URL to which this menu item points.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "The XFN relationship expressed in the link of this menu item.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "The terms assigned to the object in the nav_menu taxonomy.",
"type": "integer",
"required": false
},
"meta": {
"description": "Meta fields.",
"type": "object",
"properties": {
"_uag_custom_page_level_css": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-sidebar-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-site-content-layout": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-content-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"site-sidebar-style": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-global-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-banner-title-visibility": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-main-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-above-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-below-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-hfb-mobile-header-display": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"site-post-title": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-breadcrumbs-content": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"ast-featured-img": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"footer-sml-layout": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"theme-transparent-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"adv-header-id-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"stick-header-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-above-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-main-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"header-below-stick-meta": {
"type": "string",
"title": "",
"description": "",
"default": ""
},
"astra-migrate-meta-layouts": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-enabled": {
"type": "string",
"title": "",
"description": "",
"default": "default"
},
"ast-page-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-4)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"ast-content-background-meta": {
"type": "object",
"title": "",
"description": "",
"default": {
"desktop": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"tablet": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
},
"mobile": {
"background-color": "var(--ast-global-color-5)",
"background-image": "",
"background-repeat": "repeat",
"background-position": "center center",
"background-size": "auto",
"background-attachment": "scroll",
"background-type": "",
"background-media": "",
"overlay-type": "",
"overlay-color": "",
"overlay-opacity": "",
"overlay-gradient": ""
}
},
"properties": {
"desktop": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"tablet": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
},
"mobile": {
"type": "object",
"properties": {
"background-color": {
"type": "string"
},
"background-image": {
"type": "string"
},
"background-repeat": {
"type": "string"
},
"background-position": {
"type": "string"
},
"background-size": {
"type": "string"
},
"background-attachment": {
"type": "string"
},
"background-type": {
"type": "string"
},
"background-media": {
"type": "string"
},
"overlay-type": {
"type": "string"
},
"overlay-color": {
"type": "string"
},
"overlay-opacity": {
"type": "string"
},
"overlay-gradient": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": false
}
}
}
]
},
"/wp/v2/menu-items/(?P<parent>[\\d]+)/autosaves/(?P<id>[\\d]+)": {
"namespace": "wp/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "The ID for the parent of the autosave.",
"type": "integer",
"required": false
},
"id": {
"description": "The ID for the autosave.",
"type": "integer",
"required": false
},
"context": {
"description": "Scope under which the request is made; determines fields present in response.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
}
}