API Documentation

Documentation for developers who call an API: what each endpoint takes and returns, how to get a first response, and what each error means, checked against the API itself.

Where this work comes from. Projects: the KC1 prediction API from my MSc project, documented from requests and responses recorded against the trained model. The developer documentation set in DITA describes an invented product, as a demonstration.

Read These First

  1. KC1 defect prediction: Reference

    KC1 Prediction API Reference

    A complete reference for a working API: base URL, version, authentication, every field, every error and code examples, with each response recorded from the API.

  2. KC1 defect prediction: How-to

    Get Your First Prediction from the KC1 API

    From a fresh copy of the project to a first prediction in six steps, with the answer to expect after each one.

  3. KC1 defect prediction: Troubleshooting

    Troubleshoot the KC1 API

    Each error the API returns and how to fix the request, including a fault that the recording found.

Project Documentation

Every document for api documentation in the library

Working Demonstrations

Conventions Followed

ConventionHow it shows here
OpenAPI 3.1The API’s own machine-readable description, as it serves it at /openapi.json.
Recorded examplesEvery request and response in the reference comes from the API, kept in one file a reader can check.

Files to Download

Every file for api documentation

Other Fields

Software and SaaSEnterprise ITCybersecurityAI and data scienceBanking and FinTechAerospaceIndustrial engineering