Kenteken Assistant
Kenteken Assistant · GPT アクション
Vehicle Information
GET /vehicleinfo/{kenteken}Info for a specific vehicleGET /vehicleinfo/{make}/{model}Vehicle summary info
元の API スキーマ
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "Vehicle Information",
"license": {
"name": "MIT"
}
},
"servers": [
{
"url": "https://www.becommitted.nl/api"
}
],
"paths": {
"/vehicleinfo/{kenteken}": {
"get": {
"summary": "Info for a specific vehicle",
"operationId": "getVehicleInfoByLicensePlate",
"tags": [
"vehicle"
],
"parameters": [
{
"name": "kenteken",
"in": "path",
"required": true,
"description": "The licenseplate of the vehicle",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Expected response to a valid request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VehicleDetail"
}
}
}
},
"default": {
"description": "unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
},
"/vehicleinfo/{make}/{model}": {
"get": {
"summary": "Vehicle summary info",
"operationId": "getVehicleInfoByMakeModel",
"tags": [
"vehicle"
],
"parameters": [
{
"name": "make",
"in": "path",
"required": true,
"description": "The make of the vehicle",
"schema": {
"type": "string"
}
},
{
"name": "model",
"in": "path",
"required": true,
"description": "The model of the vehicle",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Expected response to a valid request",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VehicleSummary"
}
}
}
},
"default": {
"description": "unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"VehicleDetail": {
"type": "object",
"required": [
"kenteken",
"merk"
],
"properties": {
"kenteken": {
"type": "string"
},
"merk": {
"type": "string"
}
}
},
"VehicleSummary": {
"type": "object",
"required": [
"merk",
"model"
],
"properties": {
"kenteken": {
"merk": "string"
},
"merk": {
"model": "string"
}
}
},
"Error": {
"type": "string"
}
}
}
}