james.rus52 / teamcity-php-client
2018.1.2
2020-12-26 20:15 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.0
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-11-27 05:00:55 UTC
README
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: 2018.1
- Build package: io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/james.rus52/teamcity-php-client.git"
}
],
"require": {
"james.rus52/teamcity-php-client": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/vendor/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'); $apiInstance = new TeamCityClient\Api\AgentApi( // 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() ); $agent_locator = "agent_locator_example"; // string | try { $apiInstance->deleteAgent($agent_locator); } catch (Exception $e) { echo 'Exception when calling AgentApi->deleteAgent: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://localhost:8111
Documentation For Models
- Agent
- AgentPool
- AgentPools
- AgentRequirement
- AgentRequirements
- Agents
- ArtifactDependencies
- ArtifactDependency
- AuditAction
- AuditEvent
- AuditEvents
- AuthorizedInfo
- BackupProcess
- BackupProcessInfo
- BackupProcessManager
- Branch
- BranchVersion
- Branches
- Build
- BuildCancelRequest
- BuildChange
- BuildChanges
- BuildTriggeringOptions
- BuildType
- BuildTypes
- Builds
- Change
- Changes
- CloudImage
- CloudImages
- CloudInstance
- CloudInstances
- CloudProfile
- CloudProfiles
- Comment
- Compatibilities
- Compatibility
- CompatibilityPolicy
- Datas
- EnabledInfo
- Entries
- Entry
- Environment
- Exception
- Feature
- Features
- FederationServer
- File
- FileChange
- FileChanges
- Files
- Group
- Groups
- HealthCategories
- HealthCategory
- HealthItem
- HealthStatusItems
- Href
- Investigation
- Investigations
- Issue
- IssueUsage
- Issues
- IssuesUsages
- Items
- LicenseKey
- LicenseKeys
- LicensingData
- Link
- Links
- MetaData
- Metric
- MetricTag
- MetricTags
- MetricValue
- MetricValues
- Metrics
- MultipleOperationResult
- Mute
- Mutes
- NewBuildTypeDescription
- NewProjectDescription
- OperationResult
- ParsedTestName
- Permission
- PermissionAssignment
- PermissionAssignments
- PinInfo
- Plugin
- Plugins
- Problem
- ProblemOccurrence
- ProblemOccurrences
- ProblemScope
- ProblemTarget
- Problems
- ProgressInfo
- Project
- ProjectFeature
- ProjectFeatures
- Projects
- Properties
- Property
- Related
- RelatedEntities
- RelatedEntity
- RepositoryState
- Requirements
- Resolution
- Revision
- Revisions
- Role
- Roles
- Server
- Servers
- Session
- Sessions
- SnapshotDependencies
- SnapshotDependency
- StackTraceElement
- StateField
- Step
- Steps
- Tag
- Tags
- Test
- TestOccurrence
- TestOccurrences
- TestRunMetadata
- Tests
- Throwable
- Token
- Tokens
- Trigger
- TriggeredBy
- Triggers
- Type
- TypedValue
- User
- Users
- VcsCheckStatus
- VcsLabeling
- VcsRoot
- VcsRootEntries
- VcsRootEntry
- VcsRootInstance
- VcsRootInstances
- VcsRoots
- VcsStatus
Documentation For Authorization
Basic
- Type: HTTP basic authentication