public function createPostUnderPublication($publicationId, array $data)
    {
        $requestData = [
            'form_params' => $data,
        ];

        return $this->client->makeRequest('POST', 'publications/' . $publicationId . '/posts', $requestData);
    }
public function createPostUnderPublication($publicationId, array $data)
    {
        $requestData = [
            'form_params' => $data,
        ];

        return $this->client->makeRequest('POST', 'publications/' . $publicationId . '/posts', $requestData);
    }
public function createPostUnderPublication ( $ publicationId , array $ data ) { $ requestData = [ 'form_params' => $ data , ] ; return $ this -> client -> makeRequest ( 'POST' , 'publications/' . $ publicationId . '/posts' , $ requestData ) ; }
Create a post under a publication on the authenticated user's profile.

@param string $publicationId
@param array $data

@return StdClass
Create a post under a publication on the authenticated user s profile .