CarGene Minor Changes API
The minor-changes API from CarGene — 1 operation(s) for minor-changes.
The minor-changes API from CarGene — 1 operation(s) for minor-changes.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/car-gene-com:car-gene-com-minor-changes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Car Gene Com Minor Changes API
version: 1.0.0
description: 'Operations tagged minor-changes across 2 of this provider''s published API definitions: car-gene-com-openapi.json, car-gene-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.car-gene.com
description: CarGene API host (named on https://car-gene.com/mcp/; spec served at https://api.car-gene.com/openapi.json)
tags:
- name: minor-changes
paths:
/api/minor-changes:
get:
tags:
- minor-changes
summary: Get Minor Changes
description: 'マイナーチェンジ一覧を取得
**空配列は「その世代の改良を調べていない」で、「改良が無かった」ではない。**
`lang` を付けると、改良の訳がある改良だけが返る。分類・変更点・グレードも
訳のある行だけになる (**日本語で埋めない**。#576)。諸元は日本語側の行のまま。'
operationId: get_minor_changes_api_minor_changes_get
parameters:
- description: 世代IDでフィルタ
required: false
schema:
type: string
title: Model Id
description: 世代IDでフィルタ
name: model_id
in: query
- description: シリーズIDでフィルタ
required: false
schema:
type: string
title: Series Id
description: シリーズIDでフィルタ
name: series_id
in: query
- description: 訳を返す言語。省略すると日本語
required: false
schema:
allOf:
- $ref: '#/components/schemas/Lang'
description: 訳を返す言語。省略すると日本語
name: lang
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/MinorChangeResponse'
type: array
title: Response Get Minor Changes Api Minor Changes Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ClassificationResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
type:
type: string
title: Type
source_url:
type: string
title: Source Url
type: object
required:
- id
- name
- type
title: ClassificationResponse
description: '改良に付いた分類・呼称1つ (#1714)。前期 / 後期 / 丸目 / 涙目 / 鷹目
`type` は `api/domains/classification_types.py` の2つ (DB の check と同じ)。
**世代に属さない語**で、同じ「前期」が 86 にもロードスターにも付く。
`source_url` はこの改良をその語で括った根拠 (中間表の列) で、出典が
無い紐づけは None。'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
MinorChangeDetailResponse:
properties:
id:
type: string
title: Id
aspect:
type: string
title: Aspect
description:
type: string
title: Description
source_url:
type: string
title: Source Url
part:
type: string
title: Part
provenance:
type: string
title: Provenance
translation_source_url:
type: string
title: Translation Source Url
type: object
required:
- id
- aspect
- description
- source_url
title: MinorChangeDetailResponse
description: '改良1つの中の、観点ごとの変更点 (#1493、#1714 で details に改名)
`aspect` は `api/domains/minor_change_aspects.py` の6つ (DB の check と同じ)。
**1行に出典1本。** 改良の行の `source_url` とは別で、名前の根拠 (ja.wikipedia)
と中身の根拠 (メーカーのリリース) が違う文書にあるのが普通。'
MinorChangeResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
model_id:
type: string
title: Model Id
common_name:
type: string
title: Common Name
start_year:
type: integer
title: Start Year
start_month:
type: integer
title: Start Month
end_year:
type: integer
title: End Year
end_month:
type: integer
title: End Month
chassis_code:
type: string
title: Chassis Code
description:
type: string
title: Description
source_url:
type: string
title: Source Url
provenance:
type: string
title: Provenance
translation_source_url:
type: string
title: Translation Source Url
classifications:
items:
$ref: '#/components/schemas/ClassificationResponse'
type: array
title: Classifications
default: []
details:
items:
$ref: '#/components/schemas/MinorChangeDetailResponse'
type: array
title: Details
default: []
grades:
items:
$ref: '#/components/schemas/GradeResponse'
type: array
title: Grades
default: []
type: object
required:
- id
- name
- model_id
- start_year
- source_url
title: MinorChangeResponse
description: '世代 (ModelResponse) の中のマイナーチェンジ・年次改良 (#1714 の Minor Change)
**ModelResponse には含めない。** トップの系統樹は改良を使わないので、
そこへ入れると全モデルの応答と orval の生成物が改良の分だけ太る。
要る画面が `/api/minor-changes?model_id=` で別に引く。'
GradeResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
chassis_code:
type: string
title: Chassis Code
displacement_cc:
type: integer
title: Displacement Cc
doors:
type: integer
title: Doors
transmission:
type: string
title: Transmission
drivetrain:
type: string
title: Drivetrain
seats:
type: integer
title: Seats
fuel_economy_km_l:
type: number
title: Fuel Economy Km L
weight_kg:
type: integer
title: Weight Kg
length_mm:
type: integer
title: Length Mm
width_mm:
type: integer
title: Width Mm
height_mm:
type: integer
title: Height Mm
price_yen:
type: integer
title: Price Yen
sale_start_year:
type: integer
title: Sale Start Year
sale_start_month:
type: integer
title: Sale Start Month
sale_end_year:
type: integer
title: Sale End Year
sale_end_month:
type: integer
title: Sale End Month
engine_code:
type: string
title: Engine Code
max_power:
type: string
title: Max Power
max_power_ps:
type: integer
title: Max Power Ps
max_torque:
type: string
title: Max Torque
max_torque_nm:
type: number
title: Max Torque Nm
tire_size_front:
type: string
title: Tire Size Front
tire_size_rear:
type: string
title: Tire Size Rear
source_url:
type: string
title: Source Url
edition_id:
type: string
title: Edition Id
type: object
required:
- id
- name
- source_url
title: GradeResponse
description: '改良1つの中のグレード1行 (#1493)。公開ページの表の1行
列は goo-net のカタログの表に合わせてある (DB の `model_grades`)。**数値の無い
列は None** で、出典がその値を持たない (古い車の価格・燃費など)。
販売開始・終了は月単位で、終了の None は「世代の終わりまで」。'
Lang:
type: string
enum:
- en
title: Lang
description: An enumeration.
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
x-refined-from:
- car-gene-com-openapi.json
- car-gene-com-openapi.yml