All URIs are relative to https://urlr.me/api/v1, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getTeams() | GET /teams | Get teams of user |
getTeams(): \URLR\Model\GetTeams200Response
Get teams of user
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure Bearer (JWT) authorization: bearerAuth
$config = URLR\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new URLR\Api\TeamsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
try {
$result = $apiInstance->getTeams();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TeamsApi->getTeams: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\URLR\Model\GetTeams200Response
- Content-Type: Not defined
- Accept:
application/json
,application/problem+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]