API Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:


API Design or API Modeling.
API Design or API Modeling.
API Contract.


<FONT color=darkgray>TO PROCESS:
<FONT color=darkgray>TO PROCESS:

Revision as of 22:34, 22 February 2019

Internal

Overview

A REST API is made up of resources and methods.

REST and Hypermedia Concepts

Resource, Method, Request, Response

API

REST API

Websocket API

API Design

API Design or API Modeling.

API Contract.

TO PROCESS:

Top-Down Approach vs. Bottom-Up Approach

The top-down API design and development approach is also known as "schema-first" or "definition-driven" approach.

TO PROCESS:

API Development

One of the artifacts of API development could be a client SDK. Tools like Swagger Codegen provide the means to generate SDK right from the API definition.

TO PROCESS:

API Documentation

Documentation can be auto-generated from an API definition, or can be generated from an existing API at runtime (see Swagger Inflector, Swagger Inspector).

TO PROCESS:

API Testing

TO PROCESS:

API Mocking and Virtualization

API development can become cumbersome as the number of dependencies on internal and external services grows. A technique to deal with that is to mock API dependencies, and interact with them before the actual service is built.

TO PROCESS:

API Governance

TO PROCESS:

API Monitoring

TO PROCESS:

OpenAPI

OpenAPI