klauke-enterprises / netbox-php-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is not auto-updated.
Last update: 2024-10-04 11:05:20 UTC
README
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Installation & Usage
Requirements
PHP 7.4 and later. Should also work with PHP 8.0.
Composer
To install the bindings via Composer, add the following to composer.json
:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git" } ], "require": { "GIT_USER_ID/GIT_REPO_ID": "*@dev" } }
Then run composer install
Manual Installation
Download the files and include autoload.php
:
<?php require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: cookieAuth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('sessionid', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('sessionid', 'Bearer'); // Configure API key authorization: tokenAuth $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer'); $apiInstance = new OpenAPI\Client\Api\CircuitsApi( // 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 ); $circuit_termination_request = array(new \OpenAPI\Client\Model\CircuitTerminationRequest()); // \OpenAPI\Client\Model\CircuitTerminationRequest[] try { $apiInstance->circuitsCircuitTerminationsBulkDestroy($circuit_termination_request); } catch (Exception $e) { echo 'Exception when calling CircuitsApi->circuitsCircuitTerminationsBulkDestroy: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://netbox.demodash.at/api/schema
Models
- ASN
- ASNRange
- ASNRangeRequest
- ASNRequest
- Aggregate
- AggregateFamily
- AggregateRequest
- AvailableASN
- AvailableIP
- AvailablePrefix
- AvailableVLAN
- Bookmark
- BookmarkRequest
- Cable
- CableRequest
- CableTermination
- CableTerminationRequest
- Circuit
- CircuitRequest
- CircuitTermination
- CircuitTerminationRequest
- CircuitType
- CircuitTypeRequest
- Cluster
- ClusterGroup
- ClusterGroupRequest
- ClusterRequest
- ClusterType
- ClusterTypeRequest
- ConfigContext
- ConfigContextRequest
- ConfigTemplate
- ConfigTemplateRequest
- ConsolePort
- ConsolePortRequest
- ConsolePortSpeed
- ConsolePortTemplate
- ConsolePortTemplateRequest
- ConsolePortType
- ConsoleServerPort
- ConsoleServerPortRequest
- ConsoleServerPortTemplate
- ConsoleServerPortTemplateRequest
- Contact
- ContactAssignment
- ContactAssignmentPriority
- ContactAssignmentRequest
- ContactGroup
- ContactGroupRequest
- ContactRequest
- ContactRole
- ContactRoleRequest
- CustomField
- CustomFieldChoiceSet
- CustomFieldChoiceSetBaseChoices
- CustomFieldChoiceSetRequest
- CustomFieldFilterLogic
- CustomFieldRequest
- CustomFieldType
- CustomFieldUiEditable
- CustomFieldUiVisible
- CustomLink
- CustomLinkRequest
- Dashboard
- DashboardRequest
- DataFile
- DataSource
- DataSourceRequest
- Device
- DeviceAirflow
- DeviceBay
- DeviceBayRequest
- DeviceBayTemplate
- DeviceBayTemplateRequest
- DeviceFace
- DeviceRequest
- DeviceRole
- DeviceRoleRequest
- DeviceStatus
- DeviceType
- DeviceTypeRequest
- DeviceWithConfigContext
- DeviceWithConfigContextRequest
- EventRule
- EventRuleActionType
- EventRuleRequest
- ExportTemplate
- ExportTemplateRequest
- FHRPGroup
- FHRPGroupAssignment
- FHRPGroupAssignmentRequest
- FHRPGroupRequest
- FrontPort
- FrontPortRearPort
- FrontPortRearPortRequest
- FrontPortRequest
- FrontPortTemplate
- FrontPortTemplateRequest
- FrontPortType
- GenericObjectRequest
- Group
- GroupRequest
- IKEPolicy
- IKEPolicyMode
- IKEPolicyRequest
- IKEPolicyVersion
- IKEProposal
- IKEProposalAuthenticationAlgorithm
- IKEProposalAuthenticationMethod
- IKEProposalEncryptionAlgorithm
- IKEProposalGroup
- IKEProposalRequest
- IPAddress
- IPAddressRequest
- IPRange
- IPRangeRequest
- IPRangeStatus
- IPSecPolicy
- IPSecPolicyRequest
- IPSecProfile
- IPSecProfileMode
- IPSecProfileRequest
- IPSecProposal
- IPSecProposalRequest
- ImageAttachment
- ImageAttachmentRequest
- InterfaceDuplex
- InterfaceMode
- InterfacePoeMode
- InterfacePoeType
- InterfaceRequest
- InterfaceRfChannel
- InterfaceRfRole
- InterfaceTemplate
- InterfaceTemplatePoeMode
- InterfaceTemplatePoeType
- InterfaceTemplateRequest
- InterfaceTemplateRfRole
- InterfaceType
- InventoryItem
- InventoryItemRequest
- InventoryItemRole
- InventoryItemRoleRequest
- InventoryItemTemplate
- InventoryItemTemplateRequest
- Job
- JobRequest
- JobStatus
- JournalEntry
- JournalEntryKind
- JournalEntryRequest
- L2VPN
- L2VPNRequest
- L2VPNTermination
- L2VPNTerminationRequest
- L2VPNType
- Location
- LocationRequest
- Manufacturer
- ManufacturerRequest
- ModelInterface
- Module
- ModuleBay
- ModuleBayNestedModule
- ModuleBayNestedModuleRequest
- ModuleBayRequest
- ModuleBayTemplate
- ModuleBayTemplateRequest
- ModuleRequest
- ModuleType
- ModuleTypeRequest
- NestedContactGroup
- NestedContactGroupRequest
- NestedDevice
- NestedDeviceRequest
- NestedGroup
- NestedInterface
- NestedInterfaceRequest
- NestedInterfaceTemplate
- NestedInterfaceTemplateRequest
- NestedModuleBay
- NestedModuleBayRequest
- NestedRegion
- NestedRegionRequest
- NestedSiteGroup
- NestedSiteGroupRequest
- NestedTag
- NestedTagRequest
- NestedTenantGroup
- NestedTenantGroupRequest
- NestedUser
- NestedVMInterface
- NestedVMInterfaceRequest
- NestedVirtualMachine
- NestedVirtualMachineRequest
- NestedWirelessLANGroupRequest
- NestedWirelessLink
- NestedWirelessLinkRequest
- ObjectChange
- ObjectChangeAction
- ObjectPermission
- ObjectPermissionRequest
- ObjectType
- PaginatedASNList
- PaginatedASNRangeList
- PaginatedAggregateList
- PaginatedBookmarkList
- PaginatedCableList
- PaginatedCableTerminationList
- PaginatedCircuitList
- PaginatedCircuitTerminationList
- PaginatedCircuitTypeList
- PaginatedClusterGroupList
- PaginatedClusterList
- PaginatedClusterTypeList
- PaginatedConfigContextList
- PaginatedConfigTemplateList
- PaginatedConsolePortList
- PaginatedConsolePortTemplateList
- PaginatedConsoleServerPortList
- PaginatedConsoleServerPortTemplateList
- PaginatedContactAssignmentList
- PaginatedContactGroupList
- PaginatedContactList
- PaginatedContactRoleList
- PaginatedCustomFieldChoiceSetList
- PaginatedCustomFieldList
- PaginatedCustomLinkList
- PaginatedDataFileList
- PaginatedDataSourceList
- PaginatedDeviceBayList
- PaginatedDeviceBayTemplateList
- PaginatedDeviceRoleList
- PaginatedDeviceTypeList
- PaginatedDeviceWithConfigContextList
- PaginatedEventRuleList
- PaginatedExportTemplateList
- PaginatedFHRPGroupAssignmentList
- PaginatedFHRPGroupList
- PaginatedFrontPortList
- PaginatedFrontPortTemplateList
- PaginatedGroupList
- PaginatedIKEPolicyList
- PaginatedIKEProposalList
- PaginatedIPAddressList
- PaginatedIPRangeList
- PaginatedIPSecPolicyList
- PaginatedIPSecProfileList
- PaginatedIPSecProposalList
- PaginatedImageAttachmentList
- PaginatedInterfaceList
- PaginatedInterfaceTemplateList
- PaginatedInventoryItemList
- PaginatedInventoryItemRoleList
- PaginatedInventoryItemTemplateList
- PaginatedJobList
- PaginatedJournalEntryList
- PaginatedL2VPNList
- PaginatedL2VPNTerminationList
- PaginatedLocationList
- PaginatedManufacturerList
- PaginatedModuleBayList
- PaginatedModuleBayTemplateList
- PaginatedModuleList
- PaginatedModuleTypeList
- PaginatedObjectChangeList
- PaginatedObjectPermissionList
- PaginatedObjectTypeList
- PaginatedPlatformList
- PaginatedPowerFeedList
- PaginatedPowerOutletList
- PaginatedPowerOutletTemplateList
- PaginatedPowerPanelList
- PaginatedPowerPortList
- PaginatedPowerPortTemplateList
- PaginatedPrefixList
- PaginatedProviderAccountList
- PaginatedProviderList
- PaginatedProviderNetworkList
- PaginatedRIRList
- PaginatedRackList
- PaginatedRackReservationList
- PaginatedRackRoleList
- PaginatedRackUnitList
- PaginatedRearPortList
- PaginatedRearPortTemplateList
- PaginatedRegionList
- PaginatedRoleList
- PaginatedRouteTargetList
- PaginatedSavedFilterList
- PaginatedScriptList
- PaginatedServiceList
- PaginatedServiceTemplateList
- PaginatedSiteGroupList
- PaginatedSiteList
- PaginatedTagList
- PaginatedTenantGroupList
- PaginatedTenantList
- PaginatedTokenList
- PaginatedTunnelGroupList
- PaginatedTunnelList
- PaginatedTunnelTerminationList
- PaginatedUserList
- PaginatedVLANGroupList
- PaginatedVLANList
- PaginatedVMInterfaceList
- PaginatedVRFList
- PaginatedVirtualChassisList
- PaginatedVirtualDeviceContextList
- PaginatedVirtualDiskList
- PaginatedVirtualMachineWithConfigContextList
- PaginatedWebhookList
- PaginatedWirelessLANGroupList
- PaginatedWirelessLANList
- PaginatedWirelessLinkList
- PatchedASNRangeRequest
- PatchedASNRequest
- PatchedBookmarkRequest
- PatchedCableTerminationRequest
- PatchedCircuitTerminationRequest
- PatchedCircuitTypeRequest
- PatchedClusterGroupRequest
- PatchedClusterTypeRequest
- PatchedConfigContextRequest
- PatchedConfigTemplateRequest
- PatchedContactRequest
- PatchedContactRoleRequest
- PatchedCustomLinkRequest
- PatchedDashboardRequest
- PatchedDeviceBayRequest
- PatchedDeviceBayTemplateRequest
- PatchedDeviceRoleRequest
- PatchedExportTemplateRequest
- PatchedFHRPGroupAssignmentRequest
- PatchedFHRPGroupRequest
- PatchedGroupRequest
- PatchedImageAttachmentRequest
- PatchedInventoryItemRequest
- PatchedInventoryItemRoleRequest
- PatchedInventoryItemTemplateRequest
- PatchedL2VPNTerminationRequest
- PatchedManufacturerRequest
- PatchedModuleBayRequest
- PatchedModuleBayTemplateRequest
- PatchedObjectPermissionRequest
- PatchedPlatformRequest
- PatchedPowerPanelRequest
- PatchedProviderAccountRequest
- PatchedProviderNetworkRequest
- PatchedProviderRequest
- PatchedRIRRequest
- PatchedRackReservationRequest
- PatchedRackRoleRequest
- PatchedRoleRequest
- PatchedRouteTargetRequest
- PatchedSavedFilterRequest
- PatchedTagRequest
- PatchedTenantRequest
- PatchedTokenRequest
- PatchedTunnelGroupRequest
- PatchedUserRequest
- PatchedVLANGroupRequest
- PatchedVRFRequest
- PatchedVirtualDiskRequest
- PatchedWebhookRequest
- PatchedWritableAggregateRequest
- PatchedWritableCableRequest
- PatchedWritableCircuitRequest
- PatchedWritableClusterRequest
- PatchedWritableConsolePortRequest
- PatchedWritableConsolePortTemplateRequest
- PatchedWritableConsoleServerPortRequest
- PatchedWritableConsoleServerPortTemplateRequest
- PatchedWritableContactAssignmentRequest
- PatchedWritableContactGroupRequest
- PatchedWritableCustomFieldChoiceSetRequest
- PatchedWritableCustomFieldRequest
- PatchedWritableDataSourceRequest
- PatchedWritableDeviceTypeRequest
- PatchedWritableDeviceWithConfigContextRequest
- PatchedWritableEventRuleRequest
- PatchedWritableFrontPortRequest
- PatchedWritableFrontPortTemplateRequest
- PatchedWritableIKEPolicyRequest
- PatchedWritableIKEProposalRequest
- PatchedWritableIPAddressRequest
- PatchedWritableIPRangeRequest
- PatchedWritableIPSecPolicyRequest
- PatchedWritableIPSecProfileRequest
- PatchedWritableIPSecProposalRequest
- PatchedWritableInterfaceRequest
- PatchedWritableInterfaceTemplateRequest
- PatchedWritableJournalEntryRequest
- PatchedWritableL2VPNRequest
- PatchedWritableLocationRequest
- PatchedWritableModuleRequest
- PatchedWritableModuleTypeRequest
- PatchedWritablePowerFeedRequest
- PatchedWritablePowerOutletRequest
- PatchedWritablePowerOutletTemplateRequest
- PatchedWritablePowerPortRequest
- PatchedWritablePowerPortTemplateRequest
- PatchedWritablePrefixRequest
- PatchedWritableRackRequest
- PatchedWritableRearPortRequest
- PatchedWritableRearPortTemplateRequest
- PatchedWritableRegionRequest
- PatchedWritableServiceRequest
- PatchedWritableServiceTemplateRequest
- PatchedWritableSiteGroupRequest
- PatchedWritableSiteRequest
- PatchedWritableTenantGroupRequest
- PatchedWritableTunnelRequest
- PatchedWritableTunnelTerminationRequest
- PatchedWritableVLANRequest
- PatchedWritableVMInterfaceRequest
- PatchedWritableVirtualChassisRequest
- PatchedWritableVirtualDeviceContextRequest
- PatchedWritableVirtualMachineWithConfigContextRequest
- PatchedWritableWirelessLANGroupRequest
- PatchedWritableWirelessLANRequest
- PatchedWritableWirelessLinkRequest
- Platform
- PlatformRequest
- PowerFeed
- PowerFeedPhase
- PowerFeedRequest
- PowerFeedStatus
- PowerFeedSupply
- PowerFeedType
- PowerOutlet
- PowerOutletFeedLeg
- PowerOutletRequest
- PowerOutletTemplate
- PowerOutletTemplateRequest
- PowerOutletType
- PowerPanel
- PowerPanelRequest
- PowerPort
- PowerPortRequest
- PowerPortTemplate
- PowerPortTemplateRequest
- Prefix
- PrefixRequest
- PrefixStatus
- PrometheusDevice
- PrometheusIPAddress
- PrometheusService
- PrometheusVirtualMachine
- Provider
- ProviderAccount
- ProviderAccountRequest
- ProviderNetwork
- ProviderNetworkRequest
- ProviderRequest
- RIR
- RIRRequest
- Rack
- RackRequest
- RackReservation
- RackReservationRequest
- RackRole
- RackRoleRequest
- RackUnit
- RackUnitFace
- RearPort
- RearPortRequest
- RearPortTemplate
- RearPortTemplateRequest
- Region
- RegionRequest
- Role
- RoleRequest
- RouteTarget
- RouteTargetRequest
- SavedFilter
- SavedFilterRequest
- Script
- Service
- ServiceProtocol
- ServiceRequest
- ServiceTemplate
- ServiceTemplateRequest
- Site
- SiteGroup
- SiteGroupRequest
- SiteRequest
- Tag
- TagRequest
- Tenant
- TenantGroup
- TenantGroupRequest
- TenantRequest
- Token
- TokenProvision
- TokenProvisionRequest
- TokenRequest
- Tunnel
- TunnelGroup
- TunnelGroupRequest
- TunnelRequest
- TunnelTermination
- TunnelTerminationRequest
- TunnelTerminationRole
- User
- UserRequest
- VLAN
- VLANGroup
- VLANGroupRequest
- VLANRequest
- VMInterface
- VMInterfaceRequest
- VRF
- VRFRequest
- VirtualChassis
- VirtualChassisRequest
- VirtualDeviceContext
- VirtualDeviceContextRequest
- VirtualDeviceContextStatus
- VirtualDisk
- VirtualDiskRequest
- VirtualMachine
- VirtualMachineRequest
- VirtualMachineWithConfigContext
- VirtualMachineWithConfigContextRequest
- VirtualMachineWithConfigContextStatus
- Webhook
- WebhookRequest
- WirelessLAN
- WirelessLANAuthCipher
- WirelessLANAuthType
- WirelessLANGroup
- WirelessLANGroupRequest
- WirelessLANRequest
- WirelessLANStatus
- WirelessLink
- WirelessLinkRequest
- WirelessLinkStatus
- WritableAggregateRequest
- WritableCableRequest
- WritableCircuitRequest
- WritableClusterRequest
- WritableConsolePortRequest
- WritableConsolePortTemplateRequest
- WritableConsoleServerPortRequest
- WritableConsoleServerPortTemplateRequest
- WritableContactAssignmentRequest
- WritableContactGroupRequest
- WritableCustomFieldChoiceSetRequest
- WritableCustomFieldRequest
- WritableDataSourceRequest
- WritableDeviceTypeRequest
- WritableDeviceWithConfigContextRequest
- WritableEventRuleRequest
- WritableFrontPortRequest
- WritableFrontPortTemplateRequest
- WritableIKEPolicyRequest
- WritableIKEProposalRequest
- WritableIPAddressRequest
- WritableIPRangeRequest
- WritableIPSecPolicyRequest
- WritableIPSecProfileRequest
- WritableIPSecProposalRequest
- WritableInterfaceRequest
- WritableInterfaceTemplateRequest
- WritableJournalEntryRequest
- WritableL2VPNRequest
- WritableLocationRequest
- WritableModuleRequest
- WritableModuleTypeRequest
- WritablePowerFeedRequest
- WritablePowerOutletRequest
- WritablePowerOutletTemplateRequest
- WritablePowerPortRequest
- WritablePowerPortTemplateRequest
- WritablePrefixRequest
- WritableRackRequest
- WritableRearPortRequest
- WritableRearPortTemplateRequest
- WritableRegionRequest
- WritableServiceRequest
- WritableServiceTemplateRequest
- WritableSiteGroupRequest
- WritableSiteRequest
- WritableTenantGroupRequest
- WritableTunnelRequest
- WritableTunnelTerminationRequest
- WritableVLANRequest
- WritableVMInterfaceRequest
- WritableVirtualChassisRequest
- WritableVirtualDeviceContextRequest
- WritableVirtualMachineWithConfigContextRequest
- WritableWirelessLANGroupRequest
- WritableWirelessLANRequest
- WritableWirelessLinkRequest
Authorization
Authentication schemes defined for the API:
cookieAuth
- Type: API key
- API key parameter name: sessionid
- Location:
tokenAuth
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
4.0.8 (4.0)
- Generator version:
7.8.0
- Generator version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen