src/Connector/Resources.php
public function updateResourceContent(
        string $project,
        string $resource,
        string $content,
        string $type = 'string'
    ): ResponseInterface {
        return $this->updateResource($this->createUri("/api/2/project/$project/resource/$resource/content/"), $content, $type);
    }
public function updateResourceContent(
        string $project,
        string $resource,
        string $content,
        string $type = 'string'
    ): ResponseInterface {
        return $this->updateResource($this->createUri("/api/2/project/$project/resource/$resource/content/"), $content, $type);
    }
public function updateResourceContent ( string $ project , string $ resource , string $ content , string $ type = 'string' ) : ResponseInterface { return $ this -> updateResource ( $ this -> createUri ( "/api/2/project/$project/resource/$resource/content/" ) , $ content , $ type ) ; }
Update the content of a resource within a project.

@param string $project  The slug for the project the resource is part of
@param string $resource The resource slug within the project
@param string $content  The content of the resource, this can either be a string of data or a file path
@param string $type     The type of content in the $content variable, this should be either string or file

@return ResponseInterface
Update the content of a resource within a project .