curl --location --request POST 'https://edb-prod.xeol.io/eol/check' \
--data-raw '{
"component": {
"name": "Go",
"ecosystem": "generic",
"version": "1.15"
}
}'
{
"error": null,
"result": {
"componentName": "Go",
"ecosystem": "generic",
"version": {
"id": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"version": "1.15",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"releasedAt": "2020-08-11T00:00:00.000Z",
"createdAt": "2024-03-15T17:00:19.685Z",
"updatedAt": "2024-03-15T17:00:19.685Z"
},
"eol": {
"now": {
"primary": {
"reason": "vendor_announced",
"date": "2021-08-16T00:00:00.000Z",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true
},
"other": []
},
"future": null
},
"lifecycles": [{
"id": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ",
"eolAt": "2021-08-16T00:00:00.000Z",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"range": "~1.15",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true,
"uri": null,
"eolField": "eolAt",
"isEol": null,
"componentVersionId": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"lifecycleId": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ"
}],
"registry": null
}
}
{
"result": null,
"error": {
"message": "Json body validation failed: component.ecosystem: invalid enum value. expected 'generic' | 'npm' | 'nuget' | 'pypi' | 'maven' | 'golang', received ''"
}
}
{
"result": null,
"error": {
"message": "Unauthorized"
}
}
API
Check EOL
This endpoint return whether an entity has reached End-of-Life (EOL) status.
POST
/
eol
/
check
curl --location --request POST 'https://edb-prod.xeol.io/eol/check' \
--data-raw '{
"component": {
"name": "Go",
"ecosystem": "generic",
"version": "1.15"
}
}'
{
"error": null,
"result": {
"componentName": "Go",
"ecosystem": "generic",
"version": {
"id": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"version": "1.15",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"releasedAt": "2020-08-11T00:00:00.000Z",
"createdAt": "2024-03-15T17:00:19.685Z",
"updatedAt": "2024-03-15T17:00:19.685Z"
},
"eol": {
"now": {
"primary": {
"reason": "vendor_announced",
"date": "2021-08-16T00:00:00.000Z",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true
},
"other": []
},
"future": null
},
"lifecycles": [{
"id": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ",
"eolAt": "2021-08-16T00:00:00.000Z",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"range": "~1.15",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true,
"uri": null,
"eolField": "eolAt",
"isEol": null,
"componentVersionId": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"lifecycleId": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ"
}],
"registry": null
}
}
{
"result": null,
"error": {
"message": "Json body validation failed: component.ecosystem: invalid enum value. expected 'generic' | 'npm' | 'nuget' | 'pypi' | 'maven' | 'golang', received ''"
}
}
{
"result": null,
"error": {
"message": "Unauthorized"
}
}
Body
object
required
string
The field takes a support ID to match against. If not provided, it will default to
STANDARD_SUPPORT which is the base level
of support for any entity.STANDARD_SUPPORT is defined as the base support level in which security updates are provided for the entity.Response
boolean
Whether the matched entity is end-of-life.
string
The reason the entity was marked as deprecated. Can be one of VENDOR_ANNOUNCED, REGISTRY_DEPRECATED, or SOURCE_ARCHIVED.
string
The end-of-life date for the matched entity.
object
boolean
Whether the entity support was found.
object
object
Evidence supporting the eol status.
Show evidence
Show evidence
string
Schema version
string
Unique identifier
datetime
Last modified date
datetime
Published date
object
Matched entity info.
Show entity
Show entity
object[]
object[]
curl --location --request POST 'https://edb-prod.xeol.io/eol/check' \
--data-raw '{
"component": {
"name": "Go",
"ecosystem": "generic",
"version": "1.15"
}
}'
{
"error": null,
"result": {
"componentName": "Go",
"ecosystem": "generic",
"version": {
"id": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"version": "1.15",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"releasedAt": "2020-08-11T00:00:00.000Z",
"createdAt": "2024-03-15T17:00:19.685Z",
"updatedAt": "2024-03-15T17:00:19.685Z"
},
"eol": {
"now": {
"primary": {
"reason": "vendor_announced",
"date": "2021-08-16T00:00:00.000Z",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true
},
"other": []
},
"future": null
},
"lifecycles": [{
"id": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ",
"eolAt": "2021-08-16T00:00:00.000Z",
"componentId": "c_3qrajMUJoCZLzbYxCA6wxfo1W1nDPTLvr5PMJKuYiFks",
"range": "~1.15",
"supportLevel": "STANDARD_SUPPORT",
"isDefault": true,
"uri": null,
"eolField": "eolAt",
"isEol": null,
"componentVersionId": "cv_92UqG6FZu2uoxebKZs5bcEN8CFoqPGC6bx62kn4fzEwr",
"lifecycleId": "life_Hukr1PH1ir9XMmDomzZ4j1hAurbWnJfTr4Hs6i4XZtkJ"
}],
"registry": null
}
}
{
"result": null,
"error": {
"message": "Json body validation failed: component.ecosystem: invalid enum value. expected 'generic' | 'npm' | 'nuget' | 'pypi' | 'maven' | 'golang', received ''"
}
}
{
"result": null,
"error": {
"message": "Unauthorized"
}
}
⌘I