Apple_Push_API\API::get_sections PHP Method

get_sections() public method

Gets all sections in the given channel.
Since: 0.2.0
public get_sections ( string $channel_uuid ) : object
$channel_uuid string
return object
    public function get_sections($channel_uuid)
    {
        $url = $this->endpoint . '/channels/' . $channel_uuid . '/sections';
        return $this->send_get_request($url);
    }