File: //var/www/viitorx.stgviitor.com/openapi.json
{
"openapi": "3.1.0",
"info": {
"title": "ViitorX Public API",
"version": "1.0.0",
"description": "Public read-only endpoints for the ViitorX agency website. No payment required for any endpoint.",
"contact": {
"name": "ViitorX",
"email": "[email protected]",
"url": "https://viitorx.com"
},
"license": {
"name": "Proprietary"
}
},
"servers": [
{
"url": "https://viitorx.com",
"description": "Production"
}
],
"x-payment-info": {
"payment_required": false,
"_note": "All endpoints are free. No MPP payment required."
},
"paths": {
"/wp-json/wp/v2/posts": {
"get": {
"summary": "List blog posts (Insights)",
"operationId": "listPosts",
"x-payment-info": {
"payment_required": false
},
"parameters": [
{ "name": "per_page", "in": "query", "schema": { "type": "integer", "default": 10 } },
{ "name": "page", "in": "query", "schema": { "type": "integer", "default": 1 } },
{ "name": "search", "in": "query", "schema": { "type": "string" } }
],
"responses": {
"200": {
"description": "Array of post objects",
"content": { "application/json": { "schema": { "type": "array", "items": { "type": "object" } } } }
}
}
}
},
"/wp-json/wp/v2/case_study": {
"get": {
"summary": "List case studies",
"operationId": "listCaseStudies",
"x-payment-info": {
"payment_required": false
},
"parameters": [
{ "name": "per_page", "in": "query", "schema": { "type": "integer", "default": 10 } },
{ "name": "page", "in": "query", "schema": { "type": "integer", "default": 1 } }
],
"responses": {
"200": {
"description": "Array of case study objects",
"content": { "application/json": { "schema": { "type": "array", "items": { "type": "object" } } } }
}
}
}
},
"/wp-json/wp/v2/pages": {
"get": {
"summary": "List pages",
"operationId": "listPages",
"x-payment-info": {
"payment_required": false
},
"responses": {
"200": {
"description": "Array of page objects",
"content": { "application/json": { "schema": { "type": "array", "items": { "type": "object" } } } }
}
}
}
}
}
}