WebService::Mattermost::API::Response - container for responses from the Mattermost API
A common container for responses from the Mattermost API.
code
The HTTP code returned.
headers
Headers from the Mojo::Message::Response object.
Mojo::Message::Response
message
A message (or undef) from the API (for example if there is a code of 403, the message will be "Forbidden").
prev
The returned Mojo::Message::Response object.
raw_content
JSON-encoded content or undef.
is_error
is_success
content
Decoded content in ArrayRef or HashRef form.
item_view
Whether or not the response should try to create a v4::Object object.
single_item
Whether or not the expected v4::Object should be an ArrayRef.
item
The first v4::Object object.
items
All view objects.
Mike Jones email:mike@netsplit.org.uk
To install WebService::Mattermost, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Mattermost
CPAN shell
perl -MCPAN -e shell install WebService::Mattermost
For more information on module installation, please visit the detailed CPAN module installation guide.