src/Showpad/Client.php
public function assetsTagsAddById($id, $tag)
    {
        $resource = '/assets/' . $id . '/tags/' . $tag . '.json';

        $parameters = array(
            'query' => array('method' => 'link'),
        );

        // Create request
        $data = $this->auth->request(
            'GET',
            $resource,
            $parameters
        );

        return $data;
    }
public function assetsTagsAddById($id, $tag)
    {
        $resource = '/assets/' . $id . '/tags/' . $tag . '.json';

        $parameters = array(
            'query' => array('method' => 'link'),
        );

        // Create request
        $data = $this->auth->request(
            'GET',
            $resource,
            $parameters
        );

        return $data;
    }
public function assetsTagsAddById ( $ id , $ tag ) { $ resource = '/assets/' . $ id . '/tags/' . $ tag . '.json' ; $ parameters = array ( 'query' => array ( 'method' => 'link' ) , ) ; // Create request $ data = $ this -> auth -> request ( 'GET' , $ resource , $ parameters ) ; return $ data ; }
Add a tag to an asset by tag id

POST /assets/{id}/tags.json

@param string $id  The asset id
@param string $tag The tag id

@return array
Add a tag to an asset by tag id