Get a given board's deltas
@link https://trello.com/docs/api/board/index.html#get-1-boards-board-id-deltas

@param string $id     the board's id
@param array  $params optional parameters

@return array
336344
public function getDeltas($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/deltas', $params);
    }
259945
public function getOrganization($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/organization', $params);
    }
1327084
public function getShare(string $id, array $params = [])
    {
        if (isset($this->_objects[$id]) && !empty($this->_objects[$id])) {
            return $this->_objects[$id];
        } elseif (!isset($this->_definitions[$id])) {
            throw new \Exception('You have requested a non-existent id: ' . $id);
        } else {
            if ($this->has($id)) {
                $definition = $this->_definitions[$id];
            } else {
                throw new \Exception('获取的' . $id . '不存在');
            }

            $object = null;
            if (!empty($params)) {
                $definition['params'] = (array)$params;
            }
            if(is_string($definition)) {
                $class = $definition;
                $type = self::TYPE_DEFINITION_STRING;
            }else{
                $class = $definition['class'];
                $params = empty($definition['params']) ? [] : $definition['params'];
                $type = $definition['type'];
            }

            if ($type == self::TYPE_DEFINITION_CALLBACK) {
                $object = call_user_func($class, $params);

            } elseif ($type == self::TYPE_DEFINITION_OBJ) {
                $object = $class;

            } elseif ($type == self::TYPE_DEFINITION_STRING) {
                if (!class_exists($class)) {
                    throw new \Exception('类：' . $class . '不存在!');
                }

                $object = $this->build($class, $params);

            } else {
                throw new \Exception('Unexpected object definition type: ' . gettype($class));
            }
            $this->_objects[$id] = $object;
            return $object;
            //            return $this->get($id, $params);
        }
    }
133008
public function getItemByIdForDisplay(int $id = 0, array $params = [])
    {
        $item = $this->getItemById($id, $params);

        if ($item->id && ! $item->is_read) {
            $item->update([
                'is_read' => true,
            ]);
        }

        return $item;
    }
194517
protected function getLookupParams($id, $value, array $params)
    {
        // Make the id default
        if (!$value) {
            $value = $id;
            $id = 'id';
        }

        return array_merge(array($id => $value), $params);
    }
1166156
public function getGaData(Models\Params $params)
    {
        $resource = 'ga';

        $response = $this->sendGetRequest($resource, $params->toArray());
        $responseObj = new Models\Ga($response);
        return $responseObj;
    }
1159592
public function update(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::PUT,
            ResourceMethodEnum::UPDATE,
            $params,
            $id
        );
    }
37864
public function getCard($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/card', $params);
    }
553008
public function getDrillDown(Models\TableParams $params, array $parentId = [])
    {
        $resource = 'drilldown';
        $params = $params->toArray();

        if (!empty($parentId)) {
            $params['parent_id'] = json_encode($parentId);
        }

        $response = $this->sendGetRequest($resource, $params);
        $dataResponse = new Models\DrillDown($response);
        return $dataResponse;
    }
1115513
public function getTranslations($id, array $parameters = [], array $headers = [])
    {
        $data  = $this->getApi()->getTranslations($id, $this->parseQueryParameters($parameters), $headers);
        $movie = $this->getFactory()->create(['translations' => $data]);

        return $movie->getTranslations();
    }
119457
public function getStars($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/boardStars', $params);
    }
1322430
public static function id($id, $options = []) {
		if (is_array($id)) {
			$result = [];
			foreach ($id as $v) {
				$result[] = self::numberToFromNativeLanguage($v . '', $options);
			}
			return implode(self::$symbol_comma . ' ', $result);
		} else {
			return self::numberToFromNativeLanguage($id . '', $options);
		}
	}
1098884
public function getAllForContact(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::GET,
            ResourceMethodEnum::GET_ALL_FOR_CONTACT,
            $params,
            $id
        );
    }
1204762
public function getValues(string $id): array
    {
        $data = Internal\Data::getValue('bearcms/themes/theme/' . md5($id) . '.json');
        if ($data !== null) {
            $data = json_decode($data, true);
            if (isset($data['options'])) {
                return $data['options'];
            }
        }
        return [];
    }
546279
public function update($id, array $params)
    {
        $defaults = [
            'id' => $id,
            'name' => null,
            'identifier' => null,
            'description' => null,
        ];
        $params = $this->sanitizeParams($defaults, $params);

        $xml = $this->prepareParamsXml($params);

        return $this->put('/projects/'.$id.'.xml', $xml->asXML());
    }
1278887
public function downloadPreview(string $id, array $params = [])
    {
        return $this->executeRequest(
            RequestMethodEnum::GET,
            ResourceMethodEnum::DOWNLOAD_PREVIEW,
            $params,
            $id
        );
    }
436477
public function getBoard($id, array $params = array())
    {
        return $this->get($this->getPath().'/'.rawurlencode($id).'/board', $params);
    }