BP_REST_Blogs_Endpoint
Blogs endpoints.
Description Description
Use /blogs/ Use /blogs/{id}
Source Source
File: bp-blogs/classes/class-bp-rest-blogs-endpoint.php
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- create_item — Create a new blog.
- create_item_permissions_check — Check if a given request has access to create a blog.
- get_blog_domain — Get blog permalink.
- get_blog_object — Get a blog object from a blog_id.
- get_collection_params — Get the query params for blogs collections.
- get_endpoint_args_for_item_schema — Edit the type of the some properties for the CREATABLE method.
- get_item — Retrieve a blog.
- get_item_permissions_check — Check if a given request has access to get information about a specific blog.
- get_item_schema — Get the blogs schema, conforming to JSON Schema.
- get_items — Retrieve Blogs.
- get_items_permissions_check — Check if a given request has access to blog items.
- prepare_item_for_response — Prepares blogs data for return as an object.
- prepare_links — Prepare links for the request.
- register_routes — Register the component routes.