https://github.com/mondaycom/monday-code-php-sdk
https://github.com/mondaycom/monday-code-php-sdk
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mondaycom/monday-code-php-sdk
- Owner: mondaycom
- License: mit
- Created: 2024-02-29T09:13:03.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-24T08:08:57.000Z (6 months ago)
- Last Synced: 2024-11-24T09:18:43.872Z (6 months ago)
- Language: PHP
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenAPIClient-php
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](https://getcomposer.org/), add the following to `composer.json`:
```json
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mondaycom/monday-code-php-sdk.git"
}
],
"require": {
"mondaycom/monday-code-php-sdk": "*@dev"
}
}
```Then run `composer install`
### Manual Installation
Download the files and include `autoload.php`:
```php
getEnvironmentVariable($name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EnvironmentVariablesApi->getEnvironmentVariable: ', $e->getMessage(), PHP_EOL;
}```
## API Endpoints
All URIs are relative to *http://localhost:59999*
Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*EnvironmentVariablesApi* | [**getEnvironmentVariable**](docs/Api/EnvironmentVariablesApi.md#getenvironmentvariable) | **GET** /environment-variables/{name} |
*EnvironmentVariablesApi* | [**getEnvironmentVariableKeys**](docs/Api/EnvironmentVariablesApi.md#getenvironmentvariablekeys) | **GET** /environment-variables |
*LogsApi* | [**writeLog**](docs/Api/LogsApi.md#writelog) | **POST** /logs |
*QueueApi* | [**publishMessage**](docs/Api/QueueApi.md#publishmessage) | **POST** /queue |
*QueueApi* | [**validateSecret**](docs/Api/QueueApi.md#validatesecret) | **POST** /queue/validate-secret |
*SecretsApi* | [**getSecret**](docs/Api/SecretsApi.md#getsecret) | **GET** /secrets/{name} |
*SecretsApi* | [**getSecretKeys**](docs/Api/SecretsApi.md#getsecretkeys) | **GET** /secrets |
*SecureStorageApi* | [**deleteSecureStorage**](docs/Api/SecureStorageApi.md#deletesecurestorage) | **DELETE** /secure-storage/{key} |
*SecureStorageApi* | [**getSecureStorage**](docs/Api/SecureStorageApi.md#getsecurestorage) | **GET** /secure-storage/{key} |
*SecureStorageApi* | [**putSecureStorage**](docs/Api/SecureStorageApi.md#putsecurestorage) | **PUT** /secure-storage/{key} |
*StorageApi* | [**deleteByKeyFromStorage**](docs/Api/StorageApi.md#deletebykeyfromstorage) | **DELETE** /storage/{key} |
*StorageApi* | [**getByKeyFromStorage**](docs/Api/StorageApi.md#getbykeyfromstorage) | **GET** /storage/{key} |
*StorageApi* | [**incrementCounter**](docs/Api/StorageApi.md#incrementcounter) | **PUT** /storage/counter/increment |
*StorageApi* | [**searchRecord**](docs/Api/StorageApi.md#searchrecord) | **GET** /storage/search/{term} |
*StorageApi* | [**upsertByKeyFromStorage**](docs/Api/StorageApi.md#upsertbykeyfromstorage) | **PUT** /storage/{key} |## Models
- [GetByKeyFromStorage404Response](docs/Model/GetByKeyFromStorage404Response.md)
- [GetByKeyFromStorage500Response](docs/Model/GetByKeyFromStorage500Response.md)
- [IncrementCounter200Response](docs/Model/IncrementCounter200Response.md)
- [IncrementCounter200ResponseAnyOf](docs/Model/IncrementCounter200ResponseAnyOf.md)
- [IncrementCounter200ResponseAnyOf1](docs/Model/IncrementCounter200ResponseAnyOf1.md)
- [IncrementCounterParams](docs/Model/IncrementCounterParams.md)
- [JsonDataContract](docs/Model/JsonDataContract.md)
- [LogMethods](docs/Model/LogMethods.md)
- [Period](docs/Model/Period.md)
- [PublishMessageParams](docs/Model/PublishMessageParams.md)
- [PublishMessageResponse](docs/Model/PublishMessageResponse.md)
- [StorageDataContract](docs/Model/StorageDataContract.md)
- [UpsertByKeyFromStorage200Response](docs/Model/UpsertByKeyFromStorage200Response.md)
- [UpsertByKeyFromStorage200ResponseAnyOf](docs/Model/UpsertByKeyFromStorage200ResponseAnyOf.md)
- [UpsertByKeyFromStorage200ResponseAnyOf1](docs/Model/UpsertByKeyFromStorage200ResponseAnyOf1.md)
- [ValidateSecretParams](docs/Model/ValidateSecretParams.md)
- [ValidateSecretResponse](docs/Model/ValidateSecretResponse.md)
- [WriteLogRequestBody](docs/Model/WriteLogRequestBody.md)
- [WriteLogRequestBodyError](docs/Model/WriteLogRequestBodyError.md)## Authorization
Endpoints do not require authorization.## Tests
To run the tests, use:
```bash
composer install
vendor/bin/phpunit
```## Author
## About this package
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: `0.2.3`
- Generator version: `7.11.0-SNAPSHOT`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`