EXP-004 — REST isolation Generated: 2026-08-17T08:59:10Z Environment: https://www.lab.quantumdev.fr [ANONYMOUS GET COLLECTION] HTTP_STATUS=401 FINAL_URL=https://lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities {"code":"rest_forbidden","message":"D\u00e9sol\u00e9, vous n\u2019avez pas l\u2019autorisation de faire cela.","data":{"status":401}} [AUTHENTICATED INTERNAL REST GET AS SUBSCRIBER] status=200 contains_quantumdev=false [ { "name": "core/get-site-info", "label": "Obtenir des informations sur le site", "description": "Renvoie les informations du site configurées dans WordPress. Par défaut, il renvoie tous les champs, ou éventuellement un sous-ensemble filtré.", "category": "site", "input_schema": { "type": "object", "properties": { "fields": { "type": "array", "items": { "type": "string", "enum": [ "name", "description", "url", "wpurl", "admin_email", "charset", "language", "version" ] }, "description": "Facultatif : Limiter la réponse à des champs spécifiques. En cas d’omission, tous les champs sont renvoyés." } }, "additionalProperties": false, "default": {} }, "output_schema": { "type": "object", "properties": { "name": { "type": "string", "description": "Le titre du site." }, "description": { "type": "string", "description": "La description du site." }, "url": { "type": "string", "description": "L’URL de l’accueil du site." }, "wpurl": { "type": "string", "description": "L’URL de l’installation WordPress." }, "admin_email": { "type": "string", "description": "L’adresse e-mail de l’admin du site." }, "charset": { "type": "string", "description": "L’encodage de caractères du site." }, "language": { "type": "string", "description": "Le code de locale de la langue du site." }, "version": { "type": "string", "description": "La version de WordPress." } }, "additionalProperties": false }, "meta": { "annotations": { "readonly": true, "destructive": false, "idempotent": true }, "show_in_rest": true }, "_links": { "self": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/get-site-info", "targetHints": { "allow": [ "GET" ] } } ], "collection": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities" } ], "wp:action-run": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/get-site-info/run" } ] } }, { "name": "core/get-environment-info", "label": "Obtenir des informations sur l’environnement", "description": "Renvoie les détails principaux sur le contexte d’exécution du site pour les diagnostics et la compatibilité (environnement, exécution PHP, serveur de base de données, version WordPress).", "category": "site", "input_schema": [], "output_schema": { "type": "object", "required": [ "environment", "php_version", "db_server_info", "wp_version" ], "properties": { "environment": { "type": "string", "description": "La classification de l’environnement d’exécution du site (dans les valeurs suivantes : production, staging, development, local).", "enum": [ "production", "staging", "development", "local" ] }, "php_version": { "type": "string", "description": "La version de PHP exécutant WordPress." }, "db_server_info": { "type": "string", "description": "Le fournisseur du serveur de base de données et la chaine de version retournés par le pilote." }, "wp_version": { "type": "string", "description": "La version du cœur de WordPress utilisée sur ce site." } }, "additionalProperties": false }, "meta": { "annotations": { "readonly": true, "destructive": false, "idempotent": true }, "show_in_rest": true }, "_links": { "self": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/get-environment-info", "targetHints": { "allow": [ "GET" ] } } ], "collection": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities" } ], "wp:action-run": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/get-environment-info/run" } ] } }, { "name": "ai/get-post-details", "label": "Get post details", "description": "Get the details of a post based on the post ID. Optionally, limit the details to specific fields.", "category": "ai-experiments", "input_schema": { "type": "object", "properties": { "post_id": { "type": "integer", "description": "The ID of the post to get the details of." }, "fields": { "type": "array", "description": "The fields to get the details of. Will default to all fields if not provided.", "items": { "type": "string", "enum": [ "content", "title", "slug", "author", "type", "excerpt" ] } } }, "required": [ "post_id" ] }, "output_schema": { "type": "object", "description": "The details of the post.", "properties": { "content": { "type": "string", "description": "The content of the post." }, "title": { "type": "string", "description": "The title of the post." }, "slug": { "type": "string", "description": "The slug of the post." }, "author": { "type": "string", "description": "The author of the post." }, "type": { "type": "string", "description": "The type of the post." }, "excerpt": { "type": "string", "description": "The excerpt of the post." } } }, "meta": { "annotations": { "readonly": null, "destructive": null, "idempotent": null }, "show_in_rest": true, "mcp": { "public": true, "type": "tool" } }, "_links": { "self": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/ai/get-post-details", "targetHints": { "allow": [ "GET" ] } } ], "collection": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities" } ], "wp:action-run": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/ai/get-post-details/run" } ] } }, { "name": "core/read-settings", "label": "Read Settings", "description": "Returns WordPress settings as a flat map of setting name to value. By default returns all settings exposed to abilities, or optionally a subset filtered by settings group, by setting name, or both.", "category": "site", "input_schema": { "type": "object", "default": {}, "properties": { "group": { "type": "string", "enum": [ "general", "writing", "reading", "discussion" ], "description": "Return only settings that belong to this settings group." }, "fields": { "type": "array", "items": { "type": "string", "enum": [ "blogname", "blogdescription", "siteurl", "admin_email", "timezone_string", "date_format", "time_format", "start_of_week", "WPLANG", "use_smilies", "default_category", "default_post_format", "posts_per_page", "show_on_front", "page_on_front", "page_for_posts", "default_ping_status", "default_comment_status" ] }, "description": "Return only the settings with these names." } }, "additionalProperties": false }, "output_schema": { "type": "object", "description": "A map of setting name to its current value.", "properties": { "blogname": { "type": "string", "title": "Titre", "description": "Titre du site." }, "blogdescription": { "type": "string", "title": "Slogan", "description": "Slogan du site." }, "siteurl": { "type": "string", "description": "URL du site." }, "admin_email": { "type": "string", "description": "Cette adresse est utilisée à des fins d’administration, comme les notifications de nouveaux comptes.", "format": "email" }, "timezone_string": { "type": "string", "description": "Une ville dans le même fuseau horaire que le vôtre." }, "date_format": { "type": "string", "description": "Un format de date commun pour tous les réglages de dates." }, "time_format": { "type": "string", "description": "Un format d’heure commun pour tous les réglages d’heures." }, "start_of_week": { "type": "integer", "description": "Le numéro du jour de la semaine à laquelle la semaine devrait commencer." }, "WPLANG": { "type": "string", "description": "Code local de l’installation WordPress." }, "use_smilies": { "type": "boolean", "description": "Convertir les émoticônes, comme :-) et :-P, en images lors de l’affichage." }, "default_category": { "type": "integer", "description": "Catégorie d’article par défaut." }, "default_post_format": { "type": "string", "description": "Format d’article par défaut." }, "posts_per_page": { "type": "integer", "title": "Nombre maximum de publications par page", "description": "Les pages de blog affichent au maximum." }, "show_on_front": { "type": "string", "title": "Affichage en page d’accueil", "description": "Afficher quoi sur la page d’accueil" }, "page_on_front": { "type": "integer", "title": "Page d’accueil", "description": "L’ID de la page qui doit être affiché sur la page d’accueil" }, "page_for_posts": { "type": "integer", "description": "L’ID de la page qui affichera les derniers articles" }, "default_ping_status": { "type": "string", "description": "Autoriser les liens de notification d’autres blogs (pings et rétroliens) sur les nouveaux articles.", "enum": [ "open", "closed" ] }, "default_comment_status": { "type": "string", "title": "Autoriser les commentaires sur les nouvelles publications", "description": "Autoriser les gens à envoyer des commentaires sur les nouvelles publications.", "enum": [ "open", "closed" ] } }, "additionalProperties": false }, "meta": { "annotations": { "readonly": true, "destructive": false, "idempotent": true }, "show_in_rest": true }, "_links": { "self": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/read-settings", "targetHints": { "allow": [ "GET" ] } } ], "collection": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities" } ], "wp:action-run": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/read-settings/run" } ] } }, { "name": "core/read-users", "label": "Read Users", "description": "Retrieves one or more readable WordPress users. Fetch a single readable user by ID, email, username, or slug, or query a paginated collection optionally filtered by roles, published-post authorship, or included IDs.", "category": "user", "input_schema": { "type": "object", "default": {}, "oneOf": [ { "title": "Get a single readable user by ID", "required": [ "id" ], "additionalProperties": false, "properties": { "id": { "type": "integer", "minimum": 1, "description": "Retrieve a single readable user by ID." }, "fields": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "id", "name", "description", "url", "link", "slug", "avatar_urls", "username", "email", "first_name", "last_name", "nickname", "locale", "registered_date", "roles" ] }, "description": "Limit each returned user to these fields. If omitted, a lean set of common read fields is returned." } } }, { "title": "Get a single readable user by email address", "required": [ "email" ], "additionalProperties": false, "properties": { "email": { "type": "string", "format": "email", "description": "Retrieve a single readable user by email address. Resolving another user by email requires permission to list or edit users." }, "fields": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "id", "name", "description", "url", "link", "slug", "avatar_urls", "username", "email", "first_name", "last_name", "nickname", "locale", "registered_date", "roles" ] }, "description": "Limit each returned user to these fields. If omitted, a lean set of common read fields is returned." } } }, { "title": "Get a single readable user by username", "required": [ "username" ], "additionalProperties": false, "properties": { "username": { "type": "string", "description": "Retrieve a single readable user by username. Resolving another user by username requires permission to list or edit users." }, "fields": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "id", "name", "description", "url", "link", "slug", "avatar_urls", "username", "email", "first_name", "last_name", "nickname", "locale", "registered_date", "roles" ] }, "description": "Limit each returned user to these fields. If omitted, a lean set of common read fields is returned." } } }, { "title": "Get a single readable user by slug", "required": [ "slug" ], "additionalProperties": false, "properties": { "slug": { "type": "string", "description": "Retrieve a single readable user by slug." }, "fields": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "id", "name", "description", "url", "link", "slug", "avatar_urls", "username", "email", "first_name", "last_name", "nickname", "locale", "registered_date", "roles" ] }, "description": "Limit each returned user to these fields. If omitted, a lean set of common read fields is returned." } } }, { "title": "Query readable users", "additionalProperties": false, "properties": { "roles": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "administrator", "editor", "author", "contributor", "subscriber" ] }, "description": "Filter users by one or more roles. Requires permission to list users." }, "has_published_posts": { "oneOf": [ { "type": "boolean", "enum": [ true ] }, { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "post", "page", "attachment" ] } } ], "description": "Limit results to users with published posts. Use true for all publicly viewable post types, or provide post type names." }, "include": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "integer", "minimum": 1 }, "description": "Limit the query to these user IDs. Collection results are limited to users the caller can read, which for callers without permission to list users means only public authors. To read your own account, use a single-user lookup by ID." }, "fields": { "type": "array", "uniqueItems": true, "minItems": 1, "items": { "type": "string", "enum": [ "id", "name", "description", "url", "link", "slug", "avatar_urls", "username", "email", "first_name", "last_name", "nickname", "locale", "registered_date", "roles" ] }, "description": "Limit each returned user to these fields. If omitted, a lean set of common read fields is returned." }, "page": { "type": "integer", "minimum": 1, "description": "Page of results to return." }, "per_page": { "type": "integer", "minimum": 1, "maximum": 100, "description": "Maximum number of users to return per page." } } } ] }, "output_schema": { "oneOf": [ { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "integer", "description": "The user ID." }, "name": { "type": "string", "description": "The display name for the user." }, "description": { "type": "string", "description": "Description of the user." }, "url": { "type": "string", "description": "URL of the user." }, "link": { "type": "string", "description": "Author archive URL for the user." }, "slug": { "type": "string", "description": "An alphanumeric identifier for the user." }, "avatar_urls": { "type": "object", "description": "Avatar URLs for the user, keyed by image size in pixels. A size is null when no avatar URL can be resolved for it. Present when the show_avatars option is enabled.", "additionalProperties": { "type": [ "string", "null" ] } }, "username": { "type": "string", "description": "Login name for the user. Present when the current user can view it." }, "email": { "type": [ "string", "null" ], "format": "email", "description": "The email address for the user. Null when the user has no stored address, or when the stored address is not a valid email. Present when the current user can view it." }, "first_name": { "type": "string", "description": "First name for the user. Present when the current user can view it." }, "last_name": { "type": "string", "description": "Last name for the user. Present when the current user can view it." }, "nickname": { "type": "string", "description": "The nickname for the user. Present when the current user can view it." }, "locale": { "type": "string", "description": "Locale for the user. Present when the current user can view it." }, "registered_date": { "type": "string", "format": "date-time", "description": "Registration date for the user. Present when the current user can view it." }, "roles": { "type": "array", "description": "Roles assigned to the user. Present when the current user can view them.", "items": { "type": "string" } } } }, { "type": "object", "additionalProperties": false, "required": [ "users", "total", "total_pages" ], "properties": { "users": { "type": "array", "description": "The readable users matching the collection request.", "items": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "integer", "description": "The user ID." }, "name": { "type": "string", "description": "The display name for the user." }, "description": { "type": "string", "description": "Description of the user." }, "url": { "type": "string", "description": "URL of the user." }, "link": { "type": "string", "description": "Author archive URL for the user." }, "slug": { "type": "string", "description": "An alphanumeric identifier for the user." }, "avatar_urls": { "type": "object", "description": "Avatar URLs for the user, keyed by image size in pixels. A size is null when no avatar URL can be resolved for it. Present when the show_avatars option is enabled.", "additionalProperties": { "type": [ "string", "null" ] } }, "username": { "type": "string", "description": "Login name for the user. Present when the current user can view it." }, "email": { "type": [ "string", "null" ], "format": "email", "description": "The email address for the user. Null when the user has no stored address, or when the stored address is not a valid email. Present when the current user can view it." }, "first_name": { "type": "string", "description": "First name for the user. Present when the current user can view it." }, "last_name": { "type": "string", "description": "Last name for the user. Present when the current user can view it." }, "nickname": { "type": "string", "description": "The nickname for the user. Present when the current user can view it." }, "locale": { "type": "string", "description": "Locale for the user. Present when the current user can view it." }, "registered_date": { "type": "string", "format": "date-time", "description": "Registration date for the user. Present when the current user can view it." }, "roles": { "type": "array", "description": "Roles assigned to the user. Present when the current user can view them.", "items": { "type": "string" } } } } }, "total": { "type": "integer", "description": "Total number of users matching the query, across all pages." }, "total_pages": { "type": "integer", "description": "Total number of result pages available for the query." } } } ] }, "meta": { "annotations": { "readonly": true, "destructive": false, "idempotent": true }, "show_in_rest": true }, "_links": { "self": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/read-users", "targetHints": { "allow": [ "GET" ] } } ], "collection": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities" } ], "wp:action-run": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/read-users/run" } ] } }, { "name": "core/read-content", "label": "Read Content", "description": "Reads content from post types exposed to abilities. Single-post lookups by ID or by post type and slug return the post object directly. Query mode returns readable posts filtered by post type, status, author, parent, or included IDs. Requires an authenticated user. Lookups and filters are exact-match only; the ability does not perform full-text search.", "category": "content", "input_schema": { "type": "object", "oneOf": [ { "title": "Get a single readable post by ID", "required": [ "id" ], "additionalProperties": false, "properties": { "id": { "type": "integer", "minimum": 1, "description": "Retrieve a single readable post by ID." }, "post_type": { "type": "string", "enum": [ "post", "page" ], "description": "Optional. Restrict the lookup to this post type; the post is returned only if it matches and the current user can read it." }, "fields": { "type": "array", "uniqueItems": true, "items": { "type": "string", "enum": [ "id", "post_type", "status", "date", "date_gmt", "modified", "modified_gmt", "slug", "link", "title_raw", "title_rendered", "excerpt_raw", "excerpt_rendered", "excerpt_protected", "content_raw", "content_rendered", "content_protected", "author", "parent" ] }, "description": "Limit each returned post to these fields. If omitted, a lean set of common read fields is returned. Explicit raw field requests require edit access." } } }, { "title": "Get a single readable post by slug", "required": [ "post_type", "slug" ], "additionalProperties": false, "properties": { "post_type": { "type": "string", "enum": [ "post", "page" ], "description": "Post type containing the slug. Slugs are not unique across post types." }, "slug": { "type": "string", "minLength": 1, "description": "Retrieve a single readable post by slug. Resolves to the newest readable match, preferring published posts." }, "fields": { "type": "array", "uniqueItems": true, "items": { "type": "string", "enum": [ "id", "post_type", "status", "date", "date_gmt", "modified", "modified_gmt", "slug", "link", "title_raw", "title_rendered", "excerpt_raw", "excerpt_rendered", "excerpt_protected", "content_raw", "content_rendered", "content_protected", "author", "parent" ] }, "description": "Limit each returned post to these fields. If omitted, a lean set of common read fields is returned. Explicit raw field requests require edit access." } } }, { "title": "Query readable posts by post type and filters", "required": [ "post_type" ], "additionalProperties": false, "properties": { "post_type": { "type": "string", "enum": [ "post", "page" ], "description": "Post type to query for readable posts." }, "status": { "type": "array", "uniqueItems": true, "items": { "type": "string", "enum": [ "publish", "future", "draft", "pending", "private" ] }, "description": "Filter readable posts by one or more post statuses. Defaults to publish. Non-published statuses require the appropriate capabilities." }, "author": { "type": "integer", "minimum": 1, "description": "Filter by author user ID. Only supported for post types that support authors." }, "parent": { "type": "integer", "minimum": 0, "description": "Filter by parent post ID. Only supported for hierarchical post types. Use 0 for top-level posts." }, "include": { "type": "array", "minItems": 1, "maxItems": 100, "uniqueItems": true, "items": { "type": "integer", "minimum": 1 }, "description": "Limit the query to these post IDs. The order of the IDs does not affect the order of the results. If `per_page` is omitted, the page size defaults to the number of included IDs, capped at the maximum." }, "fields": { "type": "array", "uniqueItems": true, "items": { "type": "string", "enum": [ "id", "post_type", "status", "date", "date_gmt", "modified", "modified_gmt", "slug", "link", "title_raw", "title_rendered", "excerpt_raw", "excerpt_rendered", "excerpt_protected", "content_raw", "content_rendered", "content_protected", "author", "parent" ] }, "description": "Limit each returned post to these fields. If omitted, a lean set of common read fields is returned. Explicit raw field requests require edit access." }, "page": { "type": "integer", "minimum": 1, "description": "Page of results to return. Requesting a page beyond the last one is an error. Check `total_pages` before requesting later pages." }, "per_page": { "type": "integer", "minimum": 1, "maximum": 100, "description": "Maximum number of posts to return per page." } } } ] }, "output_schema": { "type": "object", "oneOf": [ { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "integer", "description": "The post ID." }, "post_type": { "type": "string", "description": "The post type." }, "status": { "type": "string", "description": "The post status." }, "date": { "type": "string", "description": "The publication date, in ISO 8601 format using the site's timezone. Empty string when the date cannot be resolved." }, "date_gmt": { "type": "string", "description": "The publication date, in ISO 8601 format as GMT. Empty string when the date cannot be resolved." }, "modified": { "type": "string", "description": "The last modified date, in ISO 8601 format using the site's timezone. Empty string when the date cannot be resolved." }, "modified_gmt": { "type": "string", "description": "The last modified date, in ISO 8601 format as GMT. Empty string when the date cannot be resolved." }, "slug": { "type": "string", "description": "The post slug." }, "link": { "type": "string", "description": "The permalink URL." }, "title_raw": { "type": "string", "description": "The raw post title. Present when the post type supports titles and the current user can edit the post." }, "title_rendered": { "type": "string", "description": "The rendered post title. Present when the post type supports titles." }, "excerpt_raw": { "type": "string", "description": "The raw post excerpt. Present when the post type supports excerpts and the current user can edit the post." }, "excerpt_rendered": { "type": "string", "description": "The rendered post excerpt (HTML). Present when the post type supports excerpts. Empty when withheld for a password-protected post." }, "excerpt_protected": { "type": "boolean", "description": "Whether the excerpt is protected with a password. Present when the post type supports excerpts." }, "content_raw": { "type": "string", "description": "The raw, unfiltered post content (block markup). Present when the post type supports the editor and the current user can edit the post." }, "content_rendered": { "type": "string", "description": "The rendered post content. Present when the post type supports the editor. Empty when withheld for a password-protected post." }, "content_protected": { "type": "boolean", "description": "Whether the content is protected with a password. Present when the post type supports the editor." }, "author": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "integer", "description": "The author user ID." }, "name": { "type": "string", "description": "The author display name." } }, "description": "The post author. Present when the post type supports authors." }, "parent": { "type": "integer", "description": "The parent post ID. Present for hierarchical post types." } } }, { "type": "object", "additionalProperties": false, "required": [ "posts", "total", "total_pages" ], "properties": { "posts": { "type": "array", "description": "The readable posts matching the query, ordered by post date, newest first.", "items": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "integer", "description": "The post ID." }, "post_type": { "type": "string", "description": "The post type." }, "status": { "type": "string", "description": "The post status." }, "date": { "type": "string", "description": "The publication date, in ISO 8601 format using the site's timezone. Empty string when the date cannot be resolved." }, "date_gmt": { "type": "string", "description": "The publication date, in ISO 8601 format as GMT. Empty string when the date cannot be resolved." }, "modified": { "type": "string", "description": "The last modified date, in ISO 8601 format using the site's timezone. Empty string when the date cannot be resolved." }, "modified_gmt": { "type": "string", "description": "The last modified date, in ISO 8601 format as GMT. Empty string when the date cannot be resolved." }, "slug": { "type": "string", "description": "The post slug." }, "link": { "type": "string", "description": "The permalink URL." }, "title_raw": { "type": "string", "description": "The raw post title. Present when the post type supports titles and the current user can edit the post." }, "title_rendered": { "type": "string", "description": "The rendered post title. Present when the post type supports titles." }, "excerpt_raw": { "type": "string", "description": "The raw post excerpt. Present when the post type supports excerpts and the current user can edit the post." }, "excerpt_rendered": { "type": "string", "description": "The rendered post excerpt (HTML). Present when the post type supports excerpts. Empty when withheld for a password-protected post." }, "excerpt_protected": { "type": "boolean", "description": "Whether the excerpt is protected with a password. Present when the post type supports excerpts." }, "content_raw": { "type": "string", "description": "The raw, unfiltered post content (block markup). Present when the post type supports the editor and the current user can edit the post." }, "content_rendered": { "type": "string", "description": "The rendered post content. Present when the post type supports the editor. Empty when withheld for a password-protected post." }, "content_protected": { "type": "boolean", "description": "Whether the content is protected with a password. Present when the post type supports the editor." }, "author": { "type": "object", "additionalProperties": false, "properties": { "id": { "type": "integer", "description": "The author user ID." }, "name": { "type": "string", "description": "The author display name." } }, "description": "The post author. Present when the post type supports authors." }, "parent": { "type": "integer", "description": "The parent post ID. Present for hierarchical post types." } } } }, "total": { "type": "integer", "description": "Total number of posts matching the underlying query, across all pages. May exceed the number of returned posts when row-level permission checks withhold some of them." }, "total_pages": { "type": "integer", "description": "Total number of query result pages available for the underlying query. May include pages whose rows are withheld by row-level permission checks." } } } ] }, "meta": { "annotations": { "readonly": true, "destructive": false, "idempotent": true, "open_world": false }, "show_in_rest": true }, "_links": { "self": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/read-content", "targetHints": { "allow": [ "GET" ] } } ], "collection": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities" } ], "wp:action-run": [ { "href": "https://www.lab.quantumdev.fr/wp-json/wp-abilities/v1/abilities/core/read-content/run" } ] } } ] [AUTHENTICATED INTERNAL REST GET DIRECT URL] status=404 { "code": "rest_ability_not_found", "message": "« Ability » introuvable.", "data": { "status": 404 } }