georgicon / swagger-iauditor
为iAuditor实现生成的代码
v1.0.1
2018-11-07 20:20 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.12
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-09-08 09:03:21 UTC
README
SafetyCulture API 允许您直接访问SafetyCulture平台中的数据。
此PHP包由Swagger Codegen项目自动生成
- API版本:1.0.0
- 构建包:io.swagger.codegen.languages.PhpClientCodegen
要求
PHP 5.5及更高版本
安装与使用
Composer
要通过Composer安装绑定,请将以下内容添加到composer.json
{
"repositories": [
{
"type": "git",
"url": "https://github.com/georgicon/swagger-iauditor.git"
}
],
"require": {
"georgicon/swagger-iauditor": "*@dev"
}
}
然后运行composer install
手动安装
下载文件并包含autoload.php
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
测试
要运行单元测试
composer install
./vendor/bin/phpunit
入门
请遵循安装过程,然后运行以下命令
<?php require_once(__DIR__ . '/vendor/autoload.php'); $apiInstance = new Swagger\Client\Api\ActionsApi( // 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() ); $action_id = "action_id_example"; // string | The action identifier try { $apiInstance->actionsActionIdDelete($action_id); } catch (Exception $e) { echo 'Exception when calling ActionsApi->actionsActionIdDelete: ', $e->getMessage(), PHP_EOL; } ?>
API端点文档
所有URI均相对于https://
模型文档
- AuditIdItemIdCreatedByStatusPriorityAssigneesDueAtCreatedAtModifiedAtMatchTextOffsetLimitModel
- AuditIdItemIdDescriptionStatusPriorityAssigneesDueAtModel
- DescriptionStatusPriorityAssigneesDueAtCompletedAtModel
- EmailModel
- FirstnameLastnameEmailPasswordResetPasswordRequiredModel
- FromToModel
- HeaderItemsItemsArchivedModel
- IdPermissionModel
- ItemIdLabelTypeResponsesModel
- LabelShortLabelModel
- MethodPathQueryPayloadModel
- NameModel
- NameResponsesModel
- NameResponsesResponsesetIdModel
- NewEmailFirstnameLastnameStatusModel
- RequestsModel
- SharesModel
- TextModel
- TriggerEventsStepsEnabledModel
- TriggerEventsStepsModel
- TypeIdModel
- UrlTypeModel
- UserIdModel
授权文档
所有端点均不需要授权。