Sync issue events with prefrontal-cortex for state tracking.
$this->getClient()->post('/api/issues', [
'headers' => ['Authorization' => "Bearer {$token}"],
'json' => [
'repo' => $repo,
'number' => $issueNumber,
'action' => 'created|closed|assigned|labeled',
'data' => [...],
],
]);
Overview
Sync issue events with prefrontal-cortex for state tracking.
API Endpoint
https://prefrontal-cortex-master-iw3xyv.laravel.cloud/api/issuesPREFRONTAL_API_TOKENEvents to sync
Integration pattern
Follow knowledge sync pattern:
Reference