WWW::TypePad::Domains - Domains API methods
my $res = $tp->domains->get($id);
Get basic information about the selected domain.
Returns Domain which contains following properties.
(string) The domain that this object describes.
(User) The user that owns this domain in TypePad.
my $res = $tp->domains->resolve_path($id);
Given a URI path, find the blog and asset, if any, that the path matches.
Returns hash reference which contains following properties.
(Blog) The blog that the given URL belongs to, if any.
(Asset) The asset that the given URL is for, if any.
(boolean) C<true> if the given path matched a blog or asset directly, or C<false> if this is only a prefix match. If using this endpoint to implement an alternative blog renderer, a client should return 404 if this flag is not set.