No-auth discovery endpoints.
All URIs are relative to https://up.go-adserver.com, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| apiPublicOpenapiJsonGet() | GET /api/public/openapi.json | OpenAPI spec as JSON. |
| apiPublicOpenapiYamlGet() | GET /api/public/openapi.yaml | Raw OpenAPI spec (this document). |
| apiPublicRoutesTxtGet() | GET /api/public/routes.txt | Flat list of public routes — agent-friendly. |
apiPublicOpenapiJsonGet()OpenAPI spec as JSON.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new GoAdServerApi\Api\PublicApi(
// 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()
);
try {
$apiInstance->apiPublicOpenapiJsonGet();
} catch (Exception $e) {
echo 'Exception when calling PublicApi->apiPublicOpenapiJsonGet: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiPublicOpenapiYamlGet()Raw OpenAPI spec (this document).
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new GoAdServerApi\Api\PublicApi(
// 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()
);
try {
$apiInstance->apiPublicOpenapiYamlGet();
} catch (Exception $e) {
echo 'Exception when calling PublicApi->apiPublicOpenapiYamlGet: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiPublicRoutesTxtGet()Flat list of public routes — agent-friendly.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new GoAdServerApi\Api\PublicApi(
// 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()
);
try {
$apiInstance->apiPublicRoutesTxtGet();
} catch (Exception $e) {
echo 'Exception when calling PublicApi->apiPublicRoutesTxtGet: ', $e->getMessage(), PHP_EOL;
}This endpoint does not need any parameter.
void (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]