common/components/clients/service/Client.php
/**
     * Create new content provider
     *
     * Creates new content provider using given data.
     * [[data]] array example:
     * ```php
     * [
     *     'name' => 'Content provider',
     *     'class' => 'service\components\ContentProvider',
     *     'url_tpl' => 'http://.*\..*',
     *     'auth_url' => 'http://some.host/login',
     *     'downloadable' => 1,
     *     'streamable' => 1,
     *     'storable' => 0,
     *     'status' => 'ACTIVE'
     * ]
     * ```
     *
     * @param  array $data content provider attributes
     * @return common\components\clients\service\Response
     */
Create new content provider
Creates new content provider using given data.

@param  array $data content provider attributes
@return common\components\clients\service\Response
Create new content provider Creates new content provider using given data . @param array $data content provider attributes @return common \ components \ clients \ service \ Response
public function createContentProvider($data)
    {
        $request = new Request('POST',
            $this->baseUrl.'/content-provider/create/',
            $data,
            $this->options
        );
        return $request->send();
    }
public function createContentProvider ( $ data ) { $ request = new Request ( 'POST' , $ this -> baseUrl . '/content-provider/create/' , $ data , $ this -> options ) ; return $ request -> send ( ) ; }
Create new content provider
 Creates new content provider using given data.
Create new content provider Creates new content provider using given data .