user()->current_workspace_id) ->with(['postPlatforms.socialAccount', 'postPlatforms.media', 'labels']) ->findOrFail(data_get($request->validated(), 'post_id')); return Response::structured($post->toArray()); } public function schema(JsonSchema $schema): array { return [ 'post_id' => $schema->string()->required()->description('The post ID to retrieve.'), ]; } }