Something went wrong. Try again.
Laravel AT Protocol Client (alpha & unstable)
Something went wrong. Try again.
12345678910111213141516171819202122232425262728<?php
namespace SocialDept\AtpClient\Client\Requests\Bsky;
use SocialDept\AtpClient\Attributes\PublicEndpoint;use SocialDept\AtpClient\Client\Requests\Request;use SocialDept\AtpClient\Data\Responses\Bsky\Labeler\GetServicesResponse;use SocialDept\AtpClient\Enums\Nsid\BskyLabeler;
class LabelerRequestClient extends Request{ /** * Get labeler services * * @see https://docs.bsky.app/docs/api/app-bsky-labeler-get-services */ #[PublicEndpoint] public function getServices(array $dids, bool $detailed = false): GetServicesResponse { $response = $this->atp->client->get( endpoint: BskyLabeler::GetServices, params: compact('dids', 'detailed') );
return GetServicesResponse::fromArray($response->json(), $detailed); }}