API Documentation
Overview
This knowledge base provides a simple API to access entries programmatically. All API endpoints return JSON data.
Endpoints
Get All Entries
GET /api/entries
Returns an array of all knowledge base entries.
Get Single Entry
GET /api/entries/{id}Returns a single knowledge base entry by ID.
Example Usage
// Fetch all entries
fetch('/api/entries')
.then(response => response.json())
.then(data => console.log(data));
// Fetch a specific entry
fetch('/api/entries/01')
.then(response => response.json())
.then(data => console.log(data));Response Format
Each entry has the following structure:
{
"id": "01",
"question": "What is the process for making changes to the network configuration?",
"answer": "DoubleVerify follows an internal Network Security Standard...",
"comment": "",
"access": "Internal",
"products": "Publisher Suite",
"lastUpdated": "2024-10-29T18:01:20.904Z",
"tags": "InfoSec/Privacy",
"originalId": "8df8b7e7-4800-45ea-b08e-354fc149d588-3fc840b5-2a4c-4336-82b4-3070383b6480-DV Initial Import.xlsx-107"
}