Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.49 KB

TeamsApi.md

File metadata and controls

63 lines (41 loc) · 1.49 KB

URLR\TeamsApi

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()

getTeams(): \URLR\Model\GetTeams200Response

Get teams of user

Example

<?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;
}

Parameters

This endpoint does not need any parameter.

Return type

\URLR\Model\GetTeams200Response

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/problem+json

[Back to top] [Back to API list] [Back to Model list] [Back to README]