File: bp-friends/classes/class-bp-rest-friends-endpoint.php
Description
BP_REST_Friends_Endpoint::create_item()

Create a new friendship.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:339

BP_REST_Friends_Endpoint::prepare_item_for_response()

Prepares friendship data to return as an object.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:765

bp_rest_friends_create_item

Fires after a friendship is created via the REST API.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:427

bp_rest_friends_prepare_value

Filter a friendship value returned from the API.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:788

BP_REST_Friends_Endpoint::create_item_permissions_check()

Check if a given request has access to create a friendship.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:440

BP_REST_Friends_Endpoint::get_friendship_object()

Get friendship object.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:799

bp_rest_friends_create_item_permissions_check

Filter the friends `create_item` permissions check.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:451

BP_REST_Friends_Endpoint::get_endpoint_args_for_item_schema()

Edit some arguments for the endpoint’s CREATABLE and EDITABLE methods.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:811

BP_REST_Friends_Endpoint

Friendship endpoints.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:19

BP_REST_Friends_Endpoint::update_item()

Update friendship.

Source: bp-friends/classes/class-bp-rest-friends-endpoint.php:470