Each request to an API Resource except for the /resources and /auth resources will also return a list of supported verbs. This information is returned in the supported_verbs array. This is helpful if you want to make a quick check on what kind of actions you can do with a resource.
<?php $response = $api->get('/levels'); $response = unserialize($response); print_r($response['supported_verbs']); ?>
TIP: You can also just call /resources and get a full list of available resources and their supported verbs.