Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cazfanel/vip2apitest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwaggerClient-php

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 2017-03-27T11:07:47Z
  • Build package: io.swagger.codegen.languages.PhpClientCodegen

Requirements

PHP 5.4.0 and later

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/cazfanel/vip2apitest.git"
    }
  ],
  "require": {
    "cazfanel/vip2apitest": "*@dev"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/SwaggerClient-php/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DefaultApi();
$acl_request = new \Swagger\Client\Model\ACLRequest(); // \Swagger\Client\Model\ACLRequest | 
$authorization = "authorization_example"; // string | 

try {
    $result = $api_instance->aclDelete($acl_request, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->aclDelete: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api.vip2phone.net/v0

Class Method HTTP request Description
DefaultApi aclDelete DELETE /acl
DefaultApi aclGet GET /acl
DefaultApi aclOptions OPTIONS /acl
DefaultApi aclPatch PATCH /acl
DefaultApi blacklistIdDelete DELETE /blacklist/{id}
DefaultApi blacklistIdOptions OPTIONS /blacklist/{id}
DefaultApi blacklistIdPut PUT /blacklist/{id}
DefaultApi cdrGet GET /cdr
DefaultApi cdrOptions OPTIONS /cdr
DefaultApi didsGet GET /dids
DefaultApi didsIdOptions OPTIONS /dids/{id}
DefaultApi didsIdPatch PATCH /dids/{id}
DefaultApi didsOptions OPTIONS /dids
DefaultApi extensionsGet GET /extensions
DefaultApi extensionsIdOptions OPTIONS /extensions/{id}
DefaultApi extensionsIdPatch PATCH /extensions/{id}
DefaultApi extensionsOptions OPTIONS /extensions
DefaultApi loginOptions OPTIONS /login
DefaultApi loginPost POST /login
DefaultApi meGet GET /me
DefaultApi meOptions OPTIONS /me
DefaultApi queuesGet GET /queues
DefaultApi queuesIdOptions OPTIONS /queues/{id}
DefaultApi queuesIdPatch PATCH /queues/{id}
DefaultApi queuesOptions OPTIONS /queues
DefaultApi queuesPost POST /queues
DefaultApi versionGet GET /version
DefaultApi versionOptions OPTIONS /version

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published