| @@ -293,19 +293,8 @@ | ||
| 293 | 293 | return get_rest_url_by_path( sprintf( 'actors/%d/following', $this->get__id() ) ); |
| 294 | 294 | } |
| 295 | 295 | |
| 296 | 296 | /** |
| 297 | - * Returns the Liked API endpoint. | |
| 298 | - * | |
| 299 | - * @since 8.1.0 | |
| 300 | - * | |
| 301 | - * @return string The Liked endpoint. | |
| 302 | - */ | |
| 303 | - public function get_liked() { | |
| 304 | - return get_rest_url_by_path( sprintf( 'actors/%d/liked', $this->get__id() ) ); | |
| 305 | - } | |
| 306 | - | |
| 307 | - /** | |
| 308 | 297 | * Returns the Featured-API-Endpoint. |
| 309 | 298 | * |
| 310 | 299 | * @return string The Featured-Endpoint. |
| 311 | 300 | */ |
| @@ -328,14 +317,9 @@ | ||
| 328 | 317 | * @return string[]|null The endpoints. |
| 329 | 318 | */ |
| 330 | 319 | public function get_endpoints() { |
| 331 | 320 | return array( |
| 332 | - 'sharedInbox' => get_rest_url_by_path( 'inbox' ), | |
| 333 | - 'oauthAuthorizationEndpoint' => get_rest_url_by_path( 'oauth/authorize' ), | |
| 334 | - 'oauthTokenEndpoint' => get_rest_url_by_path( 'oauth/token' ), | |
| 335 | - 'oauthRegistrationEndpoint' => get_rest_url_by_path( 'oauth/clients' ), | |
| 336 | - 'proxyUrl' => get_rest_url_by_path( 'proxy' ), | |
| 337 | - 'proxyEventStream' => get_rest_url_by_path( 'proxy/stream' ), | |
| 321 | + 'sharedInbox' => get_rest_url_by_path( 'inbox' ), | |
| 338 | 322 | ); |
| 339 | 323 | } |
| 340 | 324 | |
| 341 | 325 | /** |