Check EOL
POST/eol/check
This endpoint return whether an entity has reached End-of-Life (EOL) status.
Request
Responses
- 200
- 400
- 401
Successful response
Bad request
Unauthorized
- 200
- 400
- 401
{
"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"
}
}