inwendo / iw_client_webdav_php
API Component for the inwendo WebDav Gateway
1.0.1
2017-03-16 19:05 UTC
Requires
- php: >=5.4
- ext-curl: *
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
This package is not auto-updated.
Last update: 2025-03-25 19:09:34 UTC
README
No descripton 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: 0.0.1
- Package version: 1.0
- Build date: 2017-03-15T15:59:30.749+01:00
- Build package: class 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/inwendo/iw_client_webdav_php.git"
}
],
"require": {
"inwendo/iw_client_webdav_php": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/InwendoWebDavApi/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit lib/Tests
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure OAuth2 access token for authorization: password Inwendo\WebDav\Common\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN'); $api_instance = new Inwendo\WebDav\Common\Api\ContactApi(); $id = 56; // int | try { $api_instance->deleteContactItem($id); } catch (Exception $e) { echo 'Exception when calling ContactApi->deleteContactItem: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://webdavgateway.service.inwendo.cloud
Class | Method | HTTP request | Description |
---|---|---|---|
ContactApi | deleteContactItem | DELETE /contacts/{id} | Removes the Contact resource. |
ContactApi | getContactCollection | GET /contacts | Retrieves the collection of Contact resources. |
ContactApi | getContactItem | GET /contacts/{id} | Retrieves a Contact resource. |
ContactApi | postContactCollection | POST /contacts | Creates a Contact resource. |
ContactApi | putContactItem | PUT /contacts/{id} | Replaces the Contact resource. |
WebDavLoginApi | getWebDavLoginCollection | GET /web_dav_logins | Retrieves the collection of WebDavLogin resources. |
WebDavLoginApi | getWebDavLoginItem | GET /web_dav_logins/{id} | Retrieves a WebDavLogin resource. |
WebDavLoginApi | putWebDavLoginItem | POST /web_dav_logins | Creates a WebDavLogin resource. |
Documentation For Models
Documentation For Authorization
password
- Type: OAuth
- Flow: password
- Authorization URL:
- Scopes:
- write: allows modifying resources
- read: allows reading resources