File: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php
Description
BP_REST_Attachments_Blog_Avatar_Endpoint::register_routes()

Register the component routes.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:55

BP_REST_Attachments_Blog_Avatar_Endpoint::get_item()

Fetch an existing blog avatar.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:85

bp_rest_attachments_blog_avatar_get_item

Fires after a blog avatar is fetched via the REST API.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:142

BP_REST_Attachments_Blog_Avatar_Endpoint::get_item_permissions_check()

Checks if a given request has access to get a blog avatar.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:155

bp_rest_attachments_blog_avatar_get_item_permissions_check

Filter the blog avatar `get_item` permissions check.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:187

BP_REST_Attachments_Blog_Avatar_Endpoint::prepare_item_for_response()

Prepares avatar data to return as an object.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:199

bp_rest_attachments_blog_avatar_prepare_value

Filter a blog avatar value returned from the API.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:219

BP_REST_Attachments_Blog_Avatar_Endpoint::get_item_schema()

Get the blog avatar schema, conforming to JSON Schema.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:229

bp_rest_attachments_blog_avatar_schema

Filters the blog avatar schema.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:257

BP_REST_Attachments_Blog_Avatar_Endpoint::get_item_collection_params()

Get the query params for the `get_item`.

Source: bp-blogs/classes/class-bp-rest-attachments-blog-avatar-endpoint.php:267