swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: cf99702f18fcbebcf15ef4ce73047def84fa142f authored by Valentin Lorentz on 09 April 2019, 14:40:49 UTC
Use the db_transaction decorator on all _add() methods.
Tip revision: cf99702
fetch_history.result.schema.json
{
    "$schema": "http://json-schema.org/schema#",
    "id": "http://softwareheritage.org/schemas/fetch_history.result.schema.json",

    "definitions": {
        "counter": {
            "type": "integer",
            "minimum": 0
        }
    },

    "type": "object",
    "properties": {
        "occurrences": { "$ref": "#/definitions/counter" },
        "directories": { "$ref": "#/definitions/counter" },
        "revisions": { "$ref": "#/definitions/counter" },
        "releases": { "$ref": "#/definitions/counter" },
        "contents": { "$ref": "#/definitions/counter" },
        "fake" : { "type": "boolean" }
    }
}
back to top