{"id":20027093,"url":"https://github.com/unic/discoverswiss.infocenter_update","last_synced_at":"2026-04-20T14:31:13.022Z","repository":{"id":150611670,"uuid":"314165284","full_name":"unic/discoverswiss.infocenter_update","owner":"unic","description":"Client for the discover.swiss infocenterUpdate api","archived":false,"fork":false,"pushed_at":"2025-04-25T06:56:09.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-15T17:11:21.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-19T07:10:30.000Z","updated_at":"2025-03-27T08:32:49.000Z","dependencies_parsed_at":"2023-06-12T01:45:46.168Z","dependency_job_id":null,"html_url":"https://github.com/unic/discoverswiss.infocenter_update","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unic/discoverswiss.infocenter_update","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.infocenter_update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.infocenter_update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.infocenter_update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.infocenter_update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unic","download_url":"https://codeload.github.com/unic/discoverswiss.infocenter_update/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unic%2Fdiscoverswiss.infocenter_update/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32050873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:09:02.161Z","updated_at":"2026-04-20T14:31:13.006Z","avatar_url":"https://github.com/unic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwaggerClient-php\nInfocenter Update test-v2\n\nThis PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:\n\n- API version: v2\n- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen\n\n## Requirements\n\nPHP 5.5 and later\n\n## Installation \u0026 Usage\n### Composer\n\nTo install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`:\n\n```\n{\n  \"repositories\": [\n    {\n      \"type\": \"git\",\n      \"url\": \"https://github.com/unic/discoverswiss.infocenter_update.git\"\n    }\n  ],\n  \"require\": {\n    \"unic/discoverswiss.infocenter_update\": \"*@dev\"\n  }\n}\n```\n\nThen run `composer install`\n\n### Manual Installation\n\nDownload the files and include `autoload.php`:\n\n```php\n    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');\n```\n\n## Tests\n\nTo run the unit tests:\n\n```\ncomposer install\n./vendor/bin/phpunit\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```php\n\u003c?php\nrequire_once(__DIR__ . '/vendor/autoload.php');\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$source_id = \"source_id_example\"; // string | Use source id to delete creative works\n$project = \"project_example\"; // string | Use this property to specify project\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003edeleteCreativeWork($source_id, $project, $ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteCreativeWork: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$source_id = \"source_id_example\"; // string | Use source id to delete tours\n$project = \"project_example\"; // string | Use this property to specify project\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003edeleteTour($source_id, $project, $ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003edeleteTour: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003egetStatus($ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetStatus: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003egetStatusAbout($ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003egetStatusAbout: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$project = \"project_example\"; // string | Use this property to specify project\n$body = new \\InfocenterUpdate\\Client\\Model\\DsCreativeWorkRequest(); // \\InfocenterUpdate\\Client\\Model\\DsCreativeWorkRequest | \n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003epostUpsertCreativeWork($project, $body, $ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003epostUpsertCreativeWork: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$project = \"project_example\"; // string | Use this property to specify project\n$body = new \\InfocenterUpdate\\Client\\Model\\DsTourRequest(); // \\InfocenterUpdate\\Client\\Model\\DsTourRequest | \n\ntry {\n    $result = $apiInstance-\u003epostUpsertTour($ocp_apim_subscription_key, $project, $body);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003epostUpsertTour: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$project = \"project_example\"; // string | Use this property to specify project\n$body = new \\InfocenterUpdate\\Client\\Model\\DsCreativeWorkRequest(); // \\InfocenterUpdate\\Client\\Model\\DsCreativeWorkRequest | \n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n\ntry {\n    $result = $apiInstance-\u003eputUpsertCreativeWork($project, $body, $ocp_apim_subscription_key);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003eputUpsertCreativeWork: ', $e-\u003egetMessage(), PHP_EOL;\n}\n\n// Configure API key authorization: apiKeyHeader\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('Ocp-Apim-Subscription-Key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('Ocp-Apim-Subscription-Key', 'Bearer');\n// Configure API key authorization: apiKeyQuery\n$config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKey('subscription-key', 'YOUR_API_KEY');\n// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n// $config = InfocenterUpdate\\Client\\Configuration::getDefaultConfiguration()-\u003esetApiKeyPrefix('subscription-key', 'Bearer');\n\n$apiInstance = new InfocenterUpdate\\Client\\Api\\DefaultApi(\n    // If you want use custom http client, pass your client which implements `GuzzleHttp\\ClientInterface`.\n    // This is optional, `GuzzleHttp\\Client` will be used as default.\n    new GuzzleHttp\\Client(),\n    $config\n);\n$ocp_apim_subscription_key = \"ocp_apim_subscription_key_example\"; // string | Subscription key to access the api. Get it on developer.discover.swiss.\n$project = \"project_example\"; // string | Use this property to specify project\n$body = new \\InfocenterUpdate\\Client\\Model\\DsTourRequest(); // \\InfocenterUpdate\\Client\\Model\\DsTourRequest | \n\ntry {\n    $result = $apiInstance-\u003eputUpsertTour($ocp_apim_subscription_key, $project, $body);\n    print_r($result);\n} catch (Exception $e) {\n    echo 'Exception when calling DefaultApi-\u003eputUpsertTour: ', $e-\u003egetMessage(), PHP_EOL;\n}\n?\u003e\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://api.discover.swiss/test/info-update/v2*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*DefaultApi* | [**deleteCreativeWork**](docs/Api/DefaultApi.md#deletecreativework) | **DELETE** /creativeWorks/{project}/{sourceId} | DeleteCreativeWork\n*DefaultApi* | [**deleteTour**](docs/Api/DefaultApi.md#deletetour) | **DELETE** /tours/{project}/{sourceId} | DeleteTour\n*DefaultApi* | [**getStatus**](docs/Api/DefaultApi.md#getstatus) | **GET** /status | GetStatus\n*DefaultApi* | [**getStatusAbout**](docs/Api/DefaultApi.md#getstatusabout) | **GET** /status/about | GetStatusAbout\n*DefaultApi* | [**postUpsertCreativeWork**](docs/Api/DefaultApi.md#postupsertcreativework) | **POST** /creativeWorks/{project} | PostUpsertCreativeWork\n*DefaultApi* | [**postUpsertTour**](docs/Api/DefaultApi.md#postupserttour) | **POST** /tours/{project} | PostUpsertTour\n*DefaultApi* | [**putUpsertCreativeWork**](docs/Api/DefaultApi.md#putupsertcreativework) | **PUT** /creativeWorks/{project} | PutUpsertCreativeWork\n*DefaultApi* | [**putUpsertTour**](docs/Api/DefaultApi.md#putupserttour) | **PUT** /tours/{project} | PutUpsertTour\n\n## Documentation For Models\n\n - [DsCreativeWorkRequest](docs/Model/DsCreativeWorkRequest.md)\n - [DsDataGovernanceRequest](docs/Model/DsDataGovernanceRequest.md)\n - [DsGeoCoordinatesRequest](docs/Model/DsGeoCoordinatesRequest.md)\n - [DsGeoShapeRequest](docs/Model/DsGeoShapeRequest.md)\n - [DsImageObjectRequest](docs/Model/DsImageObjectRequest.md)\n - [DsLinkRequest](docs/Model/DsLinkRequest.md)\n - [DsOpeningHoursSpecificationRequest](docs/Model/DsOpeningHoursSpecificationRequest.md)\n - [DsPartnerRequest](docs/Model/DsPartnerRequest.md)\n - [DsPersonRequest](docs/Model/DsPersonRequest.md)\n - [DsPostalAddressRequest](docs/Model/DsPostalAddressRequest.md)\n - [DsStatusGet200TextPlainResponse](docs/Model/DsStatusGet200TextPlainResponse.md)\n - [DsStatusResponse](docs/Model/DsStatusResponse.md)\n - [DsTourElevationRequest](docs/Model/DsTourElevationRequest.md)\n - [DsTourRatingRequest](docs/Model/DsTourRatingRequest.md)\n - [DsTourRequest](docs/Model/DsTourRequest.md)\n - [DsTourSeasonRequest](docs/Model/DsTourSeasonRequest.md)\n - [DsUpdateResponse](docs/Model/DsUpdateResponse.md)\n\n## Documentation For Authorization\n\n\n## apiKeyHeader\n\n- **Type**: API key\n- **API key parameter name**: Ocp-Apim-Subscription-Key\n- **Location**: HTTP header\n\n## apiKeyQuery\n\n- **Type**: API key\n- **API key parameter name**: subscription-key\n- **Location**: URL query string\n\n\n## Author\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fdiscoverswiss.infocenter_update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funic%2Fdiscoverswiss.infocenter_update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funic%2Fdiscoverswiss.infocenter_update/lists"}