Skip to content

Peridot Apollo 0.1.0

Apollo Errata Management

Endpoint: https://apollo.build.resf.org


advisories


GET /api/v3/advisories/

List Advisories

Input parameters

Parameter In Type Default Nullable Description
after_raw query string No
before_raw query string No
cve query string No
keyword query string No
kind query string No
page query integer 1 No
product query string No
severity query string No
size query integer 50 No
synopsis query string No

Response 200 OK

{
    "advisories": [
        {
            "id": 0,
            "created_at": "2022-04-13T15:42:05.901Z",
            "updated_at": "2022-04-13T15:42:05.901Z",
            "published_at": "2022-04-13T15:42:05.901Z",
            "name": "string",
            "synopsis": "string",
            "description": "string",
            "kind": "string",
            "severity": "string",
            "topic": "string",
            "red_hat_advisory_id": 0,
            "affected_products": [
                {
                    "id": 0,
                    "variant": "string",
                    "name": "string",
                    "major_version": 0,
                    "minor_version": 0,
                    "arch": "string"
                }
            ],
            "cves": [
                {
                    "id": 0,
                    "cve": "string",
                    "cvss3_scoring_vector": "string",
                    "cvss3_base_score": "string",
                    "cwe": "string"
                }
            ],
            "fixes": [
                {
                    "id": 0,
                    "ticket_id": "string",
                    "source": "string",
                    "description": "string"
                }
            ],
            "packages": [
                {
                    "id": 0,
                    "nevra": "string",
                    "checksum": "string",
                    "checksum_type": "string",
                    "module_context": "string",
                    "module_name": "string",
                    "module_stream": "string",
                    "module_version": "string",
                    "repo_name": "string",
                    "package_name": "string",
                    "product_name": "string"
                }
            ]
        }
    ],
    "total": 0,
    "page": 0,
    "size": 0,
    "links": {
        "first": "/api/v1/users?limit=1&offset1",
        "last": "/api/v1/users?limit=1&offset1",
        "self": "/api/v1/users?limit=1&offset1",
        "next": "/api/v1/users?limit=1&offset1",
        "prev": "/api/v1/users?limit=1&offset1"
    }
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "Pagination[Advisory]",
    "required": [
        "advisories",
        "total",
        "page",
        "size",
        "links"
    ],
    "type": "object",
    "properties": {
        "advisories": {
            "title": "Advisories",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/Advisory"
            }
        },
        "total": {
            "title": "Total",
            "minimum": 0.0,
            "type": "integer"
        },
        "page": {
            "title": "Page",
            "minimum": 1.0,
            "type": "integer"
        },
        "size": {
            "title": "Size",
            "minimum": 1.0,
            "type": "integer"
        },
        "links": {
            "$ref": "#/components/schemas/Links"
        }
    }
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

GET /api/v3/advisories/{advisory_name}

Get Advisory

Input parameters

Parameter In Type Default Nullable Description
advisory_name path string No

Response 200 OK

{
    "id": 0,
    "created_at": "2022-04-13T15:42:05.901Z",
    "updated_at": "2022-04-13T15:42:05.901Z",
    "published_at": "2022-04-13T15:42:05.901Z",
    "name": "string",
    "synopsis": "string",
    "description": "string",
    "kind": "string",
    "severity": "string",
    "topic": "string",
    "red_hat_advisory_id": 0,
    "affected_products": [
        {
            "id": 0,
            "variant": "string",
            "name": "string",
            "major_version": 0,
            "minor_version": 0,
            "arch": "string"
        }
    ],
    "cves": [
        {
            "id": 0,
            "cve": "string",
            "cvss3_scoring_vector": "string",
            "cvss3_base_score": "string",
            "cwe": "string"
        }
    ],
    "fixes": [
        {
            "id": 0,
            "ticket_id": "string",
            "source": "string",
            "description": "string"
        }
    ],
    "packages": [
        {
            "id": 0,
            "nevra": "string",
            "checksum": "string",
            "checksum_type": "string",
            "module_context": "string",
            "module_name": "string",
            "module_stream": "string",
            "module_version": "string",
            "repo_name": "string",
            "package_name": "string",
            "product_name": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "Advisory",
    "required": [
        "id",
        "created_at",
        "published_at",
        "name",
        "synopsis",
        "description",
        "kind",
        "severity",
        "topic",
        "red_hat_advisory_id",
        "affected_products",
        "cves",
        "fixes",
        "packages"
    ],
    "type": "object",
    "properties": {
        "id": {
            "title": "Id",
            "maximum": 9.223372036854776e+18,
            "minimum": 1.0,
            "type": "integer"
        },
        "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time",
            "readOnly": true
        },
        "updated_at": {
            "title": "Updated At",
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
        },
        "published_at": {
            "title": "Published At",
            "type": "string",
            "format": "date-time"
        },
        "name": {
            "title": "Name",
            "maxLength": 255,
            "type": "string"
        },
        "synopsis": {
            "title": "Synopsis",
            "type": "string"
        },
        "description": {
            "title": "Description",
            "type": "string"
        },
        "kind": {
            "title": "Kind",
            "maxLength": 255,
            "type": "string"
        },
        "severity": {
            "title": "Severity",
            "maxLength": 255,
            "type": "string"
        },
        "topic": {
            "title": "Topic",
            "type": "string"
        },
        "red_hat_advisory_id": {
            "title": "Red Hat Advisory Id",
            "maximum": 9.223372036854776e+18,
            "minimum": 1.0,
            "type": "integer"
        },
        "affected_products": {
            "title": "Affected Products",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.AdvisoryAffectedProduct.leaf"
            }
        },
        "cves": {
            "title": "Cves",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.AdvisoryCVE.leaf"
            }
        },
        "fixes": {
            "title": "Fixes",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.AdvisoryFix.leaf"
            }
        },
        "packages": {
            "title": "Packages",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.AdvisoryPackage.leaf"
            }
        }
    },
    "additionalProperties": false
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

updateinfo


GET /api/v3/updateinfo/{product_name}/{repo}/updateinfo.xml

Get Updateinfo

Input parameters

Parameter In Type Default Nullable Description
product_name path string No
repo path string No
req_arch query string No

Response 200 OK

Schema of the response body

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

red_hat


GET /api/v3/red_hat/advisories

List Red Hat Advisories

Input parameters

Parameter In Type Default Nullable Description
page query integer 1 No
size query integer 50 No

Response 200 OK

{
    "advisories": [
        {
            "id": 0,
            "created_at": "2022-04-13T15:42:05.901Z",
            "updated_at": "2022-04-13T15:42:05.901Z",
            "red_hat_issued_at": "2022-04-13T15:42:05.901Z",
            "name": "string",
            "synopsis": "string",
            "description": "string",
            "kind": "string",
            "severity": "string",
            "topic": "string",
            "affected_products": [
                {
                    "id": 0,
                    "variant": "string",
                    "name": "string",
                    "major_version": 0,
                    "minor_version": 0,
                    "arch": "string"
                }
            ],
            "bugzilla_tickets": [
                {
                    "id": 0,
                    "bugzilla_bug_id": "string",
                    "description": "string"
                }
            ],
            "cves": [
                {
                    "id": 0,
                    "cve": "string",
                    "cvss3_scoring_vector": "string",
                    "cvss3_base_score": "string",
                    "cwe": "string"
                }
            ],
            "packages": [
                {
                    "id": 0,
                    "nevra": "string"
                }
            ]
        }
    ],
    "total": 0,
    "page": 0,
    "size": 0,
    "links": {
        "first": "/api/v1/users?limit=1&offset1",
        "last": "/api/v1/users?limit=1&offset1",
        "self": "/api/v1/users?limit=1&offset1",
        "next": "/api/v1/users?limit=1&offset1",
        "prev": "/api/v1/users?limit=1&offset1"
    }
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "Pagination[RedHatAdvisory]",
    "required": [
        "advisories",
        "total",
        "page",
        "size",
        "links"
    ],
    "type": "object",
    "properties": {
        "advisories": {
            "title": "Advisories",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/RedHatAdvisory"
            }
        },
        "total": {
            "title": "Total",
            "minimum": 0.0,
            "type": "integer"
        },
        "page": {
            "title": "Page",
            "minimum": 1.0,
            "type": "integer"
        },
        "size": {
            "title": "Size",
            "minimum": 1.0,
            "type": "integer"
        },
        "links": {
            "$ref": "#/components/schemas/Links"
        }
    }
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

GET /api/v3/red_hat/advisories/{advisory_name}

Get Red Hat Advisory

Input parameters

Parameter In Type Default Nullable Description
advisory_name path string No

Response 200 OK

{
    "id": 0,
    "created_at": "2022-04-13T15:42:05.901Z",
    "updated_at": "2022-04-13T15:42:05.901Z",
    "red_hat_issued_at": "2022-04-13T15:42:05.901Z",
    "name": "string",
    "synopsis": "string",
    "description": "string",
    "kind": "string",
    "severity": "string",
    "topic": "string",
    "affected_products": [
        {
            "id": 0,
            "variant": "string",
            "name": "string",
            "major_version": 0,
            "minor_version": 0,
            "arch": "string"
        }
    ],
    "bugzilla_tickets": [
        {
            "id": 0,
            "bugzilla_bug_id": "string",
            "description": "string"
        }
    ],
    "cves": [
        {
            "id": 0,
            "cve": "string",
            "cvss3_scoring_vector": "string",
            "cvss3_base_score": "string",
            "cwe": "string"
        }
    ],
    "packages": [
        {
            "id": 0,
            "nevra": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "RedHatAdvisory",
    "required": [
        "id",
        "created_at",
        "red_hat_issued_at",
        "name",
        "synopsis",
        "description",
        "kind",
        "severity",
        "topic",
        "affected_products",
        "bugzilla_tickets",
        "cves",
        "packages"
    ],
    "type": "object",
    "properties": {
        "id": {
            "title": "Id",
            "maximum": 9.223372036854776e+18,
            "minimum": 1.0,
            "type": "integer"
        },
        "created_at": {
            "title": "Created At",
            "type": "string",
            "format": "date-time",
            "readOnly": true
        },
        "updated_at": {
            "title": "Updated At",
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
        },
        "red_hat_issued_at": {
            "title": "Red Hat Issued At",
            "type": "string",
            "format": "date-time"
        },
        "name": {
            "title": "Name",
            "maxLength": 255,
            "type": "string"
        },
        "synopsis": {
            "title": "Synopsis",
            "type": "string"
        },
        "description": {
            "title": "Description",
            "type": "string"
        },
        "kind": {
            "title": "Kind",
            "maxLength": 255,
            "type": "string"
        },
        "severity": {
            "title": "Severity",
            "maxLength": 255,
            "type": "string"
        },
        "topic": {
            "title": "Topic",
            "type": "string"
        },
        "affected_products": {
            "title": "Affected Products",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.RedHatAdvisoryAffectedProduct.leaf"
            }
        },
        "bugzilla_tickets": {
            "title": "Bugzilla Tickets",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.RedHatAdvisoryBugzillaBug.leaf"
            }
        },
        "cves": {
            "title": "Cves",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.RedHatAdvisoryCVE.leaf"
            }
        },
        "packages": {
            "title": "Packages",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/apollo.db.RedHatAdvisoryPackage.leaf"
            }
        }
    },
    "additionalProperties": false
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

v2_compat


GET /v2/advisories

List Advisories Compat V2

Input parameters

Parameter In Type Default Nullable Description
filters.after query string No
filters.before query string No
filters.cve query string No
filters.fetchRelated query boolean True No
filters.keyword query string No
filters.product query string No
filters.severity query string No
filters.synopsis query string No
filters.type query string No
limit query integer 20 No
page query integer 0 No

Response 200 OK

{
    "advisories": [
        {
            "type": "string",
            "shortCode": "string",
            "name": "string",
            "synopsis": "string",
            "severity": "string",
            "topic": "string",
            "description": "string",
            "solution": "string",
            "affectedProducts": [
                "string"
            ],
            "fixes": [
                {
                    "ticket": "string",
                    "sourceBy": "string",
                    "sourceLink": "string",
                    "description": "string"
                }
            ],
            "cves": [
                {
                    "name": "string",
                    "sourceBy": "string",
                    "sourceLink": "string",
                    "cvss3ScoringVector": "string",
                    "cvss3BaseScore": "string",
                    "cwe": "string"
                }
            ],
            "references": [
                "string"
            ],
            "publishedAt": "string",
            "rpms": {},
            "rebootSuggested": true,
            "buildReferences": [
                "string"
            ]
        }
    ],
    "total": 0,
    "lastUpdated": "string",
    "page": 0,
    "size": 0
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "Pagination[Advisory_Pydantic_V2]",
    "required": [
        "advisories",
        "total",
        "page",
        "size"
    ],
    "type": "object",
    "properties": {
        "advisories": {
            "title": "Advisories",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/Advisory_Pydantic_V2"
            }
        },
        "total": {
            "title": "Total",
            "minimum": 0.0,
            "type": "integer"
        },
        "lastUpdated": {
            "title": "Lastupdated",
            "type": "string"
        },
        "page": {
            "title": "Page",
            "minimum": 0.0,
            "type": "integer"
        },
        "size": {
            "title": "Size",
            "minimum": 1.0,
            "type": "integer"
        }
    }
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

GET /v2/advisories:rss

List Advisories Compat V2 Rss

Input parameters

Parameter In Type Default Nullable Description
filters.after query string No
filters.before query string No
filters.cve query string No
filters.keyword query string No
filters.product query string No
filters.severity query string No
filters.synopsis query string No
filters.type query string No
limit query integer 20 No
page query integer 0 No

Response 200 OK

Schema of the response body

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

GET /v2/advisories/{advisory_name}

Get Advisory Compat V2

Input parameters

Parameter In Type Default Nullable Description
advisory_name path string No

Response 200 OK

{
    "advisory": {
        "type": "string",
        "shortCode": "string",
        "name": "string",
        "synopsis": "string",
        "severity": "string",
        "topic": "string",
        "description": "string",
        "solution": "string",
        "affectedProducts": [
            "string"
        ],
        "fixes": [
            {
                "ticket": "string",
                "sourceBy": "string",
                "sourceLink": "string",
                "description": "string"
            }
        ],
        "cves": [
            {
                "name": "string",
                "sourceBy": "string",
                "sourceLink": "string",
                "cvss3ScoringVector": "string",
                "cvss3BaseScore": "string",
                "cwe": "string"
            }
        ],
        "references": [
            "string"
        ],
        "publishedAt": "string",
        "rpms": {},
        "rebootSuggested": true,
        "buildReferences": [
            "string"
        ]
    }
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "AdvisoryResponse",
    "required": [
        "advisory"
    ],
    "type": "object",
    "properties": {
        "advisory": {
            "$ref": "#/components/schemas/Advisory_Pydantic_V2"
        }
    }
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

osv


GET /api/v3/osv/

Get Advisories Osv

Input parameters

Parameter In Type Default Nullable Description
after query string No
before query string No
cve query string No
keyword query string No
kind query string No
page query integer 1 No
product query string No
severity query string No
size query integer 50 No
synopsis query string No

Response 200 OK

{
    "advisories": [
        {
            "schema_version": "string",
            "id": "string",
            "modified": "string",
            "published": "string",
            "withdrawn": "string",
            "aliases": [
                "string"
            ],
            "related": [
                "string"
            ],
            "summary": "string",
            "details": "string",
            "severity": [
                {
                    "type": "string",
                    "score": "string"
                }
            ],
            "affected": [
                {
                    "package": {
                        "ecosystem": "string",
                        "name": "string",
                        "purl": "string"
                    },
                    "ranges": [
                        {
                            "type": "string",
                            "repo": "string",
                            "events": [
                                {
                                    "introduced": "string",
                                    "fixed": "string",
                                    "last_affected": "string",
                                    "limit": "string"
                                }
                            ],
                            "database_specific": {}
                        }
                    ],
                    "versions": [
                        "string"
                    ],
                    "ecosystem_specific": {},
                    "database_specific": {}
                }
            ],
            "references": [
                {
                    "type": "string",
                    "url": "string"
                }
            ],
            "credits": [
                {
                    "name": "string",
                    "contact": [
                        "string"
                    ]
                }
            ],
            "database_specific": {}
        }
    ],
    "total": 0,
    "page": 0,
    "size": 0,
    "links": {
        "first": "/api/v1/users?limit=1&offset1",
        "last": "/api/v1/users?limit=1&offset1",
        "self": "/api/v1/users?limit=1&offset1",
        "next": "/api/v1/users?limit=1&offset1",
        "prev": "/api/v1/users?limit=1&offset1"
    }
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "Pagination[OSVAdvisory]",
    "required": [
        "advisories",
        "total",
        "page",
        "size",
        "links"
    ],
    "type": "object",
    "properties": {
        "advisories": {
            "title": "Advisories",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/OSVAdvisory"
            }
        },
        "total": {
            "title": "Total",
            "minimum": 0.0,
            "type": "integer"
        },
        "page": {
            "title": "Page",
            "minimum": 1.0,
            "type": "integer"
        },
        "size": {
            "title": "Size",
            "minimum": 1.0,
            "type": "integer"
        },
        "links": {
            "$ref": "#/components/schemas/Links"
        }
    }
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}

GET /api/v3/osv/{advisory_id}

Get Advisory Osv

Input parameters

Parameter In Type Default Nullable Description
advisory_id path string No

Response 200 OK

{
    "schema_version": "string",
    "id": "string",
    "modified": "string",
    "published": "string",
    "withdrawn": "string",
    "aliases": [
        "string"
    ],
    "related": [
        "string"
    ],
    "summary": "string",
    "details": "string",
    "severity": [
        {
            "type": "string",
            "score": "string"
        }
    ],
    "affected": [
        {
            "package": {
                "ecosystem": "string",
                "name": "string",
                "purl": "string"
            },
            "ranges": [
                {
                    "type": "string",
                    "repo": "string",
                    "events": [
                        {
                            "introduced": "string",
                            "fixed": "string",
                            "last_affected": "string",
                            "limit": "string"
                        }
                    ],
                    "database_specific": {}
                }
            ],
            "versions": [
                "string"
            ],
            "ecosystem_specific": {},
            "database_specific": {}
        }
    ],
    "references": [
        {
            "type": "string",
            "url": "string"
        }
    ],
    "credits": [
        {
            "name": "string",
            "contact": [
                "string"
            ]
        }
    ],
    "database_specific": {}
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "OSVAdvisory",
    "required": [
        "id",
        "modified",
        "published",
        "aliases",
        "related",
        "summary",
        "details",
        "severity",
        "affected",
        "references",
        "credits",
        "database_specific"
    ],
    "type": "object",
    "properties": {
        "schema_version": {
            "title": "Schema Version",
            "type": "string",
            "default": "1.3.1"
        },
        "id": {
            "title": "Id",
            "type": "string"
        },
        "modified": {
            "title": "Modified",
            "type": "string"
        },
        "published": {
            "title": "Published",
            "type": "string"
        },
        "withdrawn": {
            "title": "Withdrawn",
            "type": "string"
        },
        "aliases": {
            "title": "Aliases",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "related": {
            "title": "Related",
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "summary": {
            "title": "Summary",
            "type": "string"
        },
        "details": {
            "title": "Details",
            "type": "string"
        },
        "severity": {
            "title": "Severity",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/OSVSeverity"
            }
        },
        "affected": {
            "title": "Affected",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/OSVAffected"
            }
        },
        "references": {
            "title": "References",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/OSVReference"
            }
        },
        "credits": {
            "title": "Credits",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/OSVCredit"
            }
        },
        "database_specific": {
            "$ref": "#/components/schemas/OSVDatabaseSpecific"
        }
    }
}

Response 422 Unprocessable Entity

{
    "detail": [
        {
            "loc": [
                null
            ],
            "msg": "string",
            "type": "string"
        }
    ]
}
⚠️ This example has been generated automatically from the schema and it is not accurate. Refer to the schema for more information.

Schema of the response body
{
    "title": "HTTPValidationError",
    "type": "object",
    "properties": {
        "detail": {
            "title": "Detail",
            "type": "array",
            "items": {
                "$ref": "#/components/schemas/ValidationError"
            }
        }
    }
}


GET /_/healthz

Health

Response 200 OK

Schema of the response body


Schemas

Advisory

Name Type
affected_products Array<apollo.db.AdvisoryAffectedProduct.leaf>
created_at string(date-time)
cves Array<apollo.db.AdvisoryCVE.leaf>
description string
fixes Array<apollo.db.AdvisoryFix.leaf>
id integer
kind string
name string
packages Array<apollo.db.AdvisoryPackage.leaf>
published_at string(date-time)
red_hat_advisory_id integer
severity string
synopsis string
topic string
updated_at string(date-time)| null

Advisory_Pydantic_V2

Name Type
affectedProducts Array<string>
buildReferences Array<string>
cves Array<Advisory_Pydantic_V2_CVE>
description string
fixes Array<Advisory_Pydantic_V2_Fix>
name string
publishedAt string
rebootSuggested boolean
references Array<string>
rpms
severity string
shortCode string
solution string
synopsis string
topic string
type string

Advisory_Pydantic_V2_CVE

Name Type
cvss3BaseScore string
cvss3ScoringVector string
cwe string
name string
sourceBy string
sourceLink string

Advisory_Pydantic_V2_Fix

Name Type
description string
sourceBy string
sourceLink string
ticket string

Advisory_Pydantic_V2_RPMs

Name Type
nvras Array<string>

AdvisoryResponse

Name Type
advisory Advisory_Pydantic_V2

apollo.db.AdvisoryAffectedProduct.leaf

Name Type
arch string
id integer
major_version integer
minor_version integer| null
name string
variant string

apollo.db.AdvisoryCVE.leaf

Name Type
cve string
cvss3_base_score string| null
cvss3_scoring_vector string| null
cwe string| null
id integer

apollo.db.AdvisoryFix.leaf

Name Type
description string| null
id integer
source string
ticket_id string

apollo.db.AdvisoryPackage.leaf

Name Type
checksum string
checksum_type string
id integer
module_context string| null
module_name string| null
module_stream string| null
module_version string| null
nevra string
package_name string
product_name string
repo_name string

apollo.db.RedHatAdvisoryAffectedProduct.leaf

Name Type
arch string
id integer
major_version integer
minor_version integer| null
name string
variant string

apollo.db.RedHatAdvisoryBugzillaBug.leaf

Name Type
bugzilla_bug_id string
description string| null
id integer

apollo.db.RedHatAdvisoryCVE.leaf

Name Type
cve string
cvss3_base_score string| null
cvss3_scoring_vector string| null
cwe string| null
id integer

apollo.db.RedHatAdvisoryPackage.leaf

Name Type
id integer
nevra string

Body_do_login_login__post

Name Type
email string
password string

Body_execute_red_hat_advisory_action_red_hat_advisories__advisory_name__post

Name Type
action string
data string

Body_setup_page_login_setup_post

Name Type
confirm_password string
email string
name string
password string

HTTPValidationError

Name Type
detail Array<ValidationError>
Name Type
first string
last string
next string
prev string
self string

OSVAdvisory

Name Type
affected Array<OSVAffected>
aliases Array<string>
credits Array<OSVCredit>
database_specific OSVDatabaseSpecific
details string
id string
modified string
published string
references Array<OSVReference>
related Array<string>
schema_version string
severity Array<OSVSeverity>
summary string
withdrawn string

OSVAffected

Name Type
database_specific OSVAffectedDatabaseSpecific
ecosystem_specific OSVEcosystemSpecific
package OSVPackage
ranges Array<OSVRange>
versions Array<string>

OSVAffectedDatabaseSpecific

OSVCredit

Name Type
contact Array<string>
name string

OSVDatabaseSpecific

OSVEcosystemSpecific

OSVEvent

Name Type
fixed string
introduced string
last_affected string
limit string

OSVPackage

Name Type
ecosystem string
name string
purl string

OSVRange

Name Type
database_specific OSVRangeDatabaseSpecific
events Array<OSVEvent>
repo string
type string

OSVRangeDatabaseSpecific

OSVReference

Name Type
type string
url string

OSVSeverity

Name Type
score string
type string

Pagination_Advisory_

Name Type
advisories Array<Advisory>
links Links
page integer
size integer
total integer

Pagination_Advisory_Pydantic_V2_

Name Type
advisories Array<Advisory_Pydantic_V2>
lastUpdated string
page integer
size integer
total integer

Pagination_OSVAdvisory_

Name Type
advisories Array<OSVAdvisory>
links Links
page integer
size integer
total integer

Pagination_RedHatAdvisory_

Name Type
advisories Array<RedHatAdvisory>
links Links
page integer
size integer
total integer

RedHatAdvisory

Name Type
affected_products Array<apollo.db.RedHatAdvisoryAffectedProduct.leaf>
bugzilla_tickets Array<apollo.db.RedHatAdvisoryBugzillaBug.leaf>
created_at string(date-time)
cves Array<apollo.db.RedHatAdvisoryCVE.leaf>
description string
id integer
kind string
name string
packages Array<apollo.db.RedHatAdvisoryPackage.leaf>
red_hat_issued_at string(date-time)
severity string
synopsis string
topic string
updated_at string(date-time)| null

ValidationError

Name Type
loc Array<>
msg string
type string

Last update: 2023-09-13