All URIs are relative to https://up.go-adserver.com
| 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.
import {
Configuration,
PublicApi,
} from 'goadserver-sdk';
import type { ApiPublicOpenapiJsonGetRequest } from 'goadserver-sdk';
async function example() {
console.log("🚀 Testing goadserver-sdk SDK...");
const api = new PublicApi();
try {
const data = await api.apiPublicOpenapiJsonGet();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);This endpoint does not need any parameter.
void (Empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | JSON spec | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiPublicOpenapiYamlGet()
Raw OpenAPI spec (this document).
import {
Configuration,
PublicApi,
} from 'goadserver-sdk';
import type { ApiPublicOpenapiYamlGetRequest } from 'goadserver-sdk';
async function example() {
console.log("🚀 Testing goadserver-sdk SDK...");
const api = new PublicApi();
try {
const data = await api.apiPublicOpenapiYamlGet();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);This endpoint does not need any parameter.
void (Empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | YAML spec | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
apiPublicRoutesTxtGet()
Flat list of public routes — agent-friendly.
import {
Configuration,
PublicApi,
} from 'goadserver-sdk';
import type { ApiPublicRoutesTxtGetRequest } from 'goadserver-sdk';
async function example() {
console.log("🚀 Testing goadserver-sdk SDK...");
const api = new PublicApi();
try {
const data = await api.apiPublicRoutesTxtGet();
console.log(data);
} catch (error) {
console.error(error);
}
}
// Run the test
example().catch(console.error);This endpoint does not need any parameter.
void (Empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
| Status code | Description | Response headers |
|---|---|---|
| 200 | text/plain METHOD path scope description | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]