common/components/clients/service/Client.php
/**
     * Creaes new stored content
     *
     * Creates new sored content using given data.
     * [[data]] array example:
     * ```php
     * [
     *    'name' => 'stored content 1',
     *    'size' => 1234567,
     *    'ext_url' => 'http://some.host/some.content',
     *    'complete' => 1
     * ]
     * ```
     *
     * @param array $data stored content attributes
     * @return common\components\clients\service\Response
     */
Creaes new stored content
Creates new sored content using given data.

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