BP_REST_Attachments_Blog_Avatar_Endpoint
Blog avatar endpoints.
Description Description
Source Source
File: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |
Methods Methods
- __construct — Constructor.
- get_item — Fetch an existing blog avatar.
- get_item_collection_params — Get the query params for the `get_item`.
- get_item_permissions_check — Checks if a given request has access to get a blog avatar.
- get_item_schema — Get the blog avatar schema, conforming to JSON Schema.
- prepare_item_for_response — Prepares avatar data to return as an object.
- register_routes — Register the component routes.