public function getDocument($id)
    {
        $body = $this->request([
            'url' => '/data/doc/' . $this->clientConfig['dataset'] . '/' . $id,
            'cdnAllowed' => true
        ]);
        return $body['documents'][0];
    }
public function getDocument($id)
    {
        $body = $this->request([
            'url' => '/data/doc/' . $this->clientConfig['dataset'] . '/' . $id,
            'cdnAllowed' => true
        ]);
        return $body['documents'][0];
    }
public function getDocument ( $ id ) { $ body = $ this -> request ( [ 'url' => '/data/doc/' . $ this -> clientConfig [ 'dataset' ] . '/' . $ id , 'cdnAllowed' => true ] ) ; return $ body [ 'documents' ] [ 0 ] ; }
Fetch a single document by ID

@param string $id ID of the document to retrieve
@return array Returns an associative array
Fetch a single document by ID