array( 'type' => 'object' ), ); } protected function annotations(): array { return array( 'readonly' => false, 'destructive' => false, 'idempotent' => true, ); } /** * @param array $input Input. * @return array */ protected function run( array $input ) { Crawler_Repository::reset(); return array( 'status' => Crawler_Repository::summary(), 'message' => __( 'Crawl position reset. The next run starts from the beginning.', 'acrossai-abilities-manager' ), ); } }