Description

Get information about directory objects. Directories are identified by sha1 checksums, compatible with Git directory identifiers. See swh.model.git_objects.directory_git_object in our data model module for details about how they are computed.

When given only a directory identifier, this endpoint returns information about the directory itself, returning its content (usually a list of directory entries). When given a directory identifier and a path, this endpoint returns information about the directory entry pointed by the relative path, starting path resolution from the given directory.

Request

GET https://archive.softwareheritage.org/api/1/directory/8f0f7237dc78c4344badeb84c7a65e5b106faf26/

Response

Body
[
    {
        "checksums": {
            "sha1": "67f72835f35271167623ed780d4ef07f4d4176a8",
            "sha1_git": "2759b2fe9c4b33fa2470e6391f695257984edf24",
            "sha256": "ce1d520490cdea15c0927649920fd8651ee44cde17b2cba4d03c032f8d2f1475"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 271954,
        "name": "Python-ast.c",
        "perms": 33188,
        "status": "visible",
        "target": "2759b2fe9c4b33fa2470e6391f695257984edf24",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:2759b2fe9c4b33fa2470e6391f695257984edf24/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "421525ef09fc3ece26a61d1a953ccbd591df04b0",
            "sha1_git": "153b628bd5b42d6c85be1bde85c35cdf53c4b6fb",
            "sha256": "1f0e4e12040c9d0cd8fae894660460b9f3c21120179a3d12c620dbda162ab61a"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 62,
        "name": "README",
        "perms": 33188,
        "status": "visible",
        "target": "153b628bd5b42d6c85be1bde85c35cdf53c4b6fb",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:153b628bd5b42d6c85be1bde85c35cdf53c4b6fb/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "3d7dc1092f9efe8357a9bcfe99a0b9a562dbc3c6",
            "sha1_git": "add72e4ebb38af8055ddbb019153b4a405459d52",
            "sha256": "98c454c485e05ace7096848b7d86c58ce7dd97bea35c73d33134c5d0631848af"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 35360,
        "name": "_warnings.c",
        "perms": 33188,
        "status": "visible",
        "target": "add72e4ebb38af8055ddbb019153b4a405459d52",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:add72e4ebb38af8055ddbb019153b4a405459d52/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "9da9e8143b43b29cfa94e9ab50cabbf1623cc0fd",
            "sha1_git": "c21107811813af96ca21a15ae508b0ae39bf9a6e",
            "sha256": "f70120f3cf278f8943114c47922551b030c9e14942868e05863a5a9b9b17ba0b"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1422,
        "name": "asdl.c",
        "perms": 33188,
        "status": "visible",
        "target": "c21107811813af96ca21a15ae508b0ae39bf9a6e",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:c21107811813af96ca21a15ae508b0ae39bf9a6e/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "257dbd9df38036c69916507e946aea7175a32ee0",
            "sha1_git": "d8941f039e57e97afe023dc6539bcd4c7bcb032d",
            "sha256": "fb736b4fdb5c899e3a46d20778b835af9f98294f3a772288661914b2ade084bc"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 163517,
        "name": "ast.c",
        "perms": 33188,
        "status": "visible",
        "target": "d8941f039e57e97afe023dc6539bcd4c7bcb032d",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:d8941f039e57e97afe023dc6539bcd4c7bcb032d/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "da9a04f721f731761723a3a7891f77ea7476f52e",
            "sha1_git": "1d780456525d834430777b0c55892d1e0541085b",
            "sha256": "c2d5433ef3f6530279c17a521d0f301411a4672f3b812e7c8d21d37184cf28f7"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 82188,
        "name": "bltinmodule.c",
        "perms": 33188,
        "status": "visible",
        "target": "1d780456525d834430777b0c55892d1e0541085b",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:1d780456525d834430777b0c55892d1e0541085b/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "1a84370c327d214c59af7dbb6228ca931906417b",
            "sha1_git": "afd305cf9af44ed0c6e7d4b54f05f25d820e26a4",
            "sha256": "bb149df6c3dd9e72f2405f5d7a176df227e2185f499ff2c19812bf360aaba0db"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 169311,
        "name": "ceval.c",
        "perms": 33188,
        "status": "visible",
        "target": "afd305cf9af44ed0c6e7d4b54f05f25d820e26a4",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:afd305cf9af44ed0c6e7d4b54f05f25d820e26a4/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "64a7ffcace2cbf0b72fb997764ac5290208f9dae",
            "sha1_git": "a3b450bd5c4018c4af46c8f7b6914ce49875da09",
            "sha256": "6c88942fc4fe45919c2a869b7c3ce226fe21273696c9dcb10789509a008e9a85"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 9139,
        "name": "ceval_gil.h",
        "perms": 33188,
        "status": "visible",
        "target": "a3b450bd5c4018c4af46c8f7b6914ce49875da09",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:a3b450bd5c4018c4af46c8f7b6914ce49875da09/",
        "type": "file"
    },
    {
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": null,
        "name": "clinic",
        "perms": 16384,
        "target": "1596cc6645b8c8d3860c31b0ba2225251af02638",
        "target_url": "https://archive.softwareheritage.org/api/1/directory/1596cc6645b8c8d3860c31b0ba2225251af02638/",
        "type": "dir"
    },
    {
        "checksums": {
            "sha1": "c7f48d699f206ad66feafc99fd245b55c4eb12a6",
            "sha1_git": "688a40bd6ff418b6ec1010bd15a99805a16b5022",
            "sha256": "f1fe17720dc7e769ea85ccbfc777c6e96dff1784c72661e4e5ba06aed611ce8b"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 45946,
        "name": "codecs.c",
        "perms": 33188,
        "status": "visible",
        "target": "688a40bd6ff418b6ec1010bd15a99805a16b5022",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:688a40bd6ff418b6ec1010bd15a99805a16b5022/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "e823df804104a3db0ab90d613524e7b7349c3c8f",
            "sha1_git": "b630863afc508410dc4435ba13c3875dc65bad58",
            "sha256": "2382064323c5c54b2c199f6b1008e0dfc4a3c28570f8f62b9a396fffa79737f8"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 155151,
        "name": "compile.c",
        "perms": 33188,
        "status": "visible",
        "target": "b630863afc508410dc4435ba13c3875dc65bad58",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b630863afc508410dc4435ba13c3875dc65bad58/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "b9050495dc94861ca78b7db9798f1172f68f1f96",
            "sha1_git": "9a71b17738fd73674f63b974ea2446d178948721",
            "sha256": "545f414e98f365577f77819f04f014ae77084affe51686404369e525b449b64a"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 11221,
        "name": "condvar.h",
        "perms": 33188,
        "status": "visible",
        "target": "9a71b17738fd73674f63b974ea2446d178948721",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:9a71b17738fd73674f63b974ea2446d178948721/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "a40247b976566e34a4f4a6a11e581e6875a41fc7",
            "sha1_git": "efcadc31e9c5b1ccb2b7778fa8b3d6b29e447103",
            "sha256": "f771a4011e7b36a8bf58464ea06bd9662f88c9936a3b945c78875dddda05448c"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 80416,
        "name": "dtoa.c",
        "perms": 33188,
        "status": "visible",
        "target": "efcadc31e9c5b1ccb2b7778fa8b3d6b29e447103",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:efcadc31e9c5b1ccb2b7778fa8b3d6b29e447103/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "87590e2be4b2c86d99fea1ea51c647314b666c76",
            "sha1_git": "2579afd443dca8453bcff75619772ed514fb3278",
            "sha256": "3ec91f08728a9d46bd1cf9839554b7cedceeaa3e65796176fd45bed77a19a9a1"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 705,
        "name": "dup2.c",
        "perms": 33188,
        "status": "visible",
        "target": "2579afd443dca8453bcff75619772ed514fb3278",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:2579afd443dca8453bcff75619772ed514fb3278/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "1a559c81c3e5161a2eb3f969b5a488b861b7ef60",
            "sha1_git": "10511da4661779a0984b95298053bddc3d3c4744",
            "sha256": "31efc35b50b7a707f6a070ad54324392aa96ed099732a876c25fb5393697c161"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 6745,
        "name": "dynamic_annotations.c",
        "perms": 33188,
        "status": "visible",
        "target": "10511da4661779a0984b95298053bddc3d3c4744",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:10511da4661779a0984b95298053bddc3d3c4744/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "a8a2a3cb0b413f5f5ba852c39931f1ffef535277",
            "sha1_git": "b3ff8e288c1a6ae53cc6cd392f79b884ae2b1e9c",
            "sha256": "5d752a2e78258fda588eca9657f9bbd3bc11f2c583db93f465a729dcb944e3f9"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 5839,
        "name": "dynload_aix.c",
        "perms": 33188,
        "status": "visible",
        "target": "b3ff8e288c1a6ae53cc6cd392f79b884ae2b1e9c",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b3ff8e288c1a6ae53cc6cd392f79b884ae2b1e9c/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "7eab881902cb24787588bd63d56e8d1ec97aac15",
            "sha1_git": "2bec645fbd7aff02d08363cc2c40c057055b86fb",
            "sha256": "c3756c054c987be36287561d1ebcc60859cdb1b8cfb9e4e2f63f2cd4976a8b77"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 581,
        "name": "dynload_dl.c",
        "perms": 33188,
        "status": "visible",
        "target": "2bec645fbd7aff02d08363cc2c40c057055b86fb",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:2bec645fbd7aff02d08363cc2c40c057055b86fb/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "8e55139bb9e4907ae8d9244d65c13d8c6e1939f1",
            "sha1_git": "4967afc39c12e1f1c29d2630cc496aed6abd60b0",
            "sha256": "57fd7c3fd2458980dd0851b36825765219928f37abf3c6c4e6cd9e5b3740de3a"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1921,
        "name": "dynload_hpux.c",
        "perms": 33188,
        "status": "visible",
        "target": "4967afc39c12e1f1c29d2630cc496aed6abd60b0",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:4967afc39c12e1f1c29d2630cc496aed6abd60b0/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "3d116de1bbd93406551374941dfd2741baa25567",
            "sha1_git": "83a8b2bb3198185cff3843a21c36bb5de2e1b7ae",
            "sha256": "2234ab939d462f5cb13043b224d9830933c3add83e73be43a744df817112f520"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 3976,
        "name": "dynload_next.c",
        "perms": 33188,
        "status": "visible",
        "target": "83a8b2bb3198185cff3843a21c36bb5de2e1b7ae",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:83a8b2bb3198185cff3843a21c36bb5de2e1b7ae/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "4668d684c2a3eb57fe1ba606089eb54db8650577",
            "sha1_git": "7f8f134d60b34549ad2d3463b7bbfc698f2c8d2d",
            "sha256": "5400c345bb2d4355c1dcdd8b88228ff156d069d11aa5556cb644889ed25478f8"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 3360,
        "name": "dynload_shlib.c",
        "perms": 33188,
        "status": "visible",
        "target": "7f8f134d60b34549ad2d3463b7bbfc698f2c8d2d",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:7f8f134d60b34549ad2d3463b7bbfc698f2c8d2d/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "cead23d05c321fdeb6f299fee0c8b35aae794bfe",
            "sha1_git": "59160483caa448bc9f2cba9d59b86ba8a8500ad1",
            "sha256": "7097cb7203814b7167595408cada79c53a4344005e2c02be30ee37ddf3e53a35"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 186,
        "name": "dynload_stub.c",
        "perms": 33188,
        "status": "visible",
        "target": "59160483caa448bc9f2cba9d59b86ba8a8500ad1",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:59160483caa448bc9f2cba9d59b86ba8a8500ad1/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "6cae161a49896f5e9ddc903bdabd817fc93bcf0d",
            "sha1_git": "05050cf41d2110a84936bef448543f6f9a9329fa",
            "sha256": "03b25526d4495920160fc0035e8acfd0b2afb913cc0c2cb31bfcc0ee107cca01"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 10231,
        "name": "dynload_win.c",
        "perms": 33188,
        "status": "visible",
        "target": "05050cf41d2110a84936bef448543f6f9a9329fa",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:05050cf41d2110a84936bef448543f6f9a9329fa/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "09865160072812f7bebefd4a8168ce59c425d650",
            "sha1_git": "3785e6981c6498db88aa6402fca2cb3315f399c3",
            "sha256": "228a3b174bebffa6af94a6b0715de0b9608c5fcc954e471e649fb280f664596a"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 32233,
        "name": "errors.c",
        "perms": 33188,
        "status": "visible",
        "target": "3785e6981c6498db88aa6402fca2cb3315f399c3",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:3785e6981c6498db88aa6402fca2cb3315f399c3/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "4d80dc83a6dfcb866bbcbec152784709aad855d2",
            "sha1_git": "f3764e4b3c5a2d09b8d277c30d4ef75d7670a605",
            "sha256": "678054867aaccb0c3c8e8348ee2c343a548ba3d35b64de2a1bd72e7f108191fc"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 43096,
        "name": "fileutils.c",
        "perms": 33188,
        "status": "visible",
        "target": "f3764e4b3c5a2d09b8d277c30d4ef75d7670a605",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:f3764e4b3c5a2d09b8d277c30d4ef75d7670a605/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "8b417350b5213076ca6e112765f5a6f71974fbc3",
            "sha1_git": "a2c2b3627c9ec74cebdf698962e73f170919c4d6",
            "sha256": "345505438572ef23305a8c2804c619243212ba4fe49219142b755e196c2e210b"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 51261,
        "name": "formatter_unicode.c",
        "perms": 33188,
        "status": "visible",
        "target": "a2c2b3627c9ec74cebdf698962e73f170919c4d6",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:a2c2b3627c9ec74cebdf698962e73f170919c4d6/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "aa1da26eb0770835e41c54b109dd784f2fa152f3",
            "sha1_git": "7e04f3ca02504b734167a8ade8d46921b3a8998b",
            "sha256": "7ad30df41d09529526ae5630050b1a1c8bce31d875aa08f76147d3d5fac82c6b"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1712,
        "name": "frozen.c",
        "perms": 33188,
        "status": "visible",
        "target": "7e04f3ca02504b734167a8ade8d46921b3a8998b",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:7e04f3ca02504b734167a8ade8d46921b3a8998b/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "4edf6c050c661c4bc3755672639f91879239e74a",
            "sha1_git": "769b33d0ee2f799c2dfc27ff38bc36daa6618cfc",
            "sha256": "63fad8845ba3bcb4f94f866d14e02790fc65e7689e4449f344173e231cb4791d"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 2768,
        "name": "frozenmain.c",
        "perms": 33188,
        "status": "visible",
        "target": "769b33d0ee2f799c2dfc27ff38bc36daa6618cfc",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:769b33d0ee2f799c2dfc27ff38bc36daa6618cfc/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "9a8fd31aee0474bc254d3e61dd9515dc7494883a",
            "sha1_git": "5cb21ac61c2a2311789fea8f93124d1eccd06653",
            "sha256": "85fd0448bf1c6c27491c517f2497762d55a71b653ae921751ce20e7fdf7e384e"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 4679,
        "name": "future.c",
        "perms": 33188,
        "status": "visible",
        "target": "5cb21ac61c2a2311789fea8f93124d1eccd06653",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:5cb21ac61c2a2311789fea8f93124d1eccd06653/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "02678f5a0c61ad89b2a8dfd2f60e5361d020992a",
            "sha1_git": "58c9a998ff8dffe8718a2bfd546fd7ba18ab717e",
            "sha256": "35ec7a818d2fb3bd35c8058bb24be1128459608a82b8d90f04308d229ca8a69f"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 76465,
        "name": "getargs.c",
        "perms": 33188,
        "status": "visible",
        "target": "58c9a998ff8dffe8718a2bfd546fd7ba18ab717e",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:58c9a998ff8dffe8718a2bfd546fd7ba18ab717e/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "fdc5316b2a0409d3e2e392fe6a8213a3487009b9",
            "sha1_git": "0f441deb84d0b22af5a48dbf60c97cad6e9ff292",
            "sha256": "34debcee50fe54a33e0fa4a72f270164f8a5eaa56ce72c9dd1686b6d751021b5"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 366,
        "name": "getcompiler.c",
        "perms": 33188,
        "status": "visible",
        "target": "0f441deb84d0b22af5a48dbf60c97cad6e9ff292",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:0f441deb84d0b22af5a48dbf60c97cad6e9ff292/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "faac6f407390d61164ac2f60555e28b5e082448c",
            "sha1_git": "cac647c3ce40b0d36267de19bcc81827032742e9",
            "sha256": "4b6b7413a9976d9a0c884712b03b51278f68014d5f0d25b699d7ad95c586029a"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 511,
        "name": "getcopyright.c",
        "perms": 33188,
        "status": "visible",
        "target": "cac647c3ce40b0d36267de19bcc81827032742e9",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:cac647c3ce40b0d36267de19bcc81827032742e9/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "b688cac182d9ccf6abf655ba4f58a14de44791b1",
            "sha1_git": "5cf4cbd7bb35e8ee3e3558aaf022d23cd0c93d8a",
            "sha256": "3e4394389126a501e7a22008a8d6b1675a7d511ea59b9ba5e9804e75fb999508"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 3532,
        "name": "getopt.c",
        "perms": 33188,
        "status": "visible",
        "target": "5cf4cbd7bb35e8ee3e3558aaf022d23cd0c93d8a",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:5cf4cbd7bb35e8ee3e3558aaf022d23cd0c93d8a/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "2bf8cdde717f46ef0006c9373bccc51009d326ec",
            "sha1_git": "68991402b5b0001cfbf52a9394baa3340f52fe88",
            "sha256": "b000c78d717f9c184924ac5c1aca8053ba7bdb18087e4895eb3c2e69b8385e55"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 130,
        "name": "getplatform.c",
        "perms": 33188,
        "status": "visible",
        "target": "68991402b5b0001cfbf52a9394baa3340f52fe88",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:68991402b5b0001cfbf52a9394baa3340f52fe88/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "ec5b441e0f334a127d7f319fcfebe6563cd0d14e",
            "sha1_git": "7bd6efd0a0154700113ba39a6c0fd820e82bfbd3",
            "sha256": "864912886f73358a6f1c3370c631b5d74125d0bb79c27f755fc6740f82504b59"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 289,
        "name": "getversion.c",
        "perms": 33188,
        "status": "visible",
        "target": "7bd6efd0a0154700113ba39a6c0fd820e82bfbd3",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:7bd6efd0a0154700113ba39a6c0fd820e82bfbd3/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "32ef08457fb62f323d074fdb27ce6730bc36abdc",
            "sha1_git": "f2584e0a2adfa478b63bd7b7a6b5d747351b205f",
            "sha256": "6dce2a03fbee9216d271e1ba248a8262fac07ef23c5447b1e6f9180053ad0e6f"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 44341,
        "name": "graminit.c",
        "perms": 33188,
        "status": "visible",
        "target": "f2584e0a2adfa478b63bd7b7a6b5d747351b205f",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:f2584e0a2adfa478b63bd7b7a6b5d747351b205f/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "96932165a2c7c24acb636c3f89183b43c09ed380",
            "sha1_git": "17a320b122a5668331d7d6e28fb1202f7155b3d8",
            "sha256": "907157595f9d10417e8eed7a0e5794dbbbc6e0b676c909b3a098f488558964a7"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 59759,
        "name": "import.c",
        "perms": 33188,
        "status": "visible",
        "target": "17a320b122a5668331d7d6e28fb1202f7155b3d8",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:17a320b122a5668331d7d6e28fb1202f7155b3d8/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "06448c406b469930cb2945fd1374cdc84660907d",
            "sha1_git": "d8656b943336ec17907f501337f39b124fd4c847",
            "sha256": "ee505dda056e442993bb70b737e7d8c76ac4a5c0c4ed0dbc2e53e012db5fd83e"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 7102,
        "name": "importdl.c",
        "perms": 33188,
        "status": "visible",
        "target": "d8656b943336ec17907f501337f39b124fd4c847",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:d8656b943336ec17907f501337f39b124fd4c847/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "dbba8141b2a9a83e8558f3470fb6fc1125fe5385",
            "sha1_git": "9847652b1f1b31ceec1e9390fbbbce1702348a6e",
            "sha256": "154058b0750465e23391d12908f192155d2fac18d420b10dfcc430383871836b"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 487,
        "name": "importdl.h",
        "perms": 33188,
        "status": "visible",
        "target": "9847652b1f1b31ceec1e9390fbbbce1702348a6e",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:9847652b1f1b31ceec1e9390fbbbce1702348a6e/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "419982ff1489e1df41daad12e063c12f98e9142f",
            "sha1_git": "c462afc1d259d744c980bfe653f0939b034d763c",
            "sha256": "6249880bf28bf0dae0f00d4d0ae3f7928c99b70003d4b72d490468abf59d06d4"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 98616,
        "name": "importlib.h",
        "perms": 33188,
        "status": "visible",
        "target": "c462afc1d259d744c980bfe653f0939b034d763c",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:c462afc1d259d744c980bfe653f0939b034d763c/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "922f1cf6a33b4cb1bc87bf73e9293cd4eeb5fa4d",
            "sha1_git": "6b6b473460e332eebfeb87f87442e73da7306908",
            "sha256": "058a67a46b8de921954d28d1c77fcdfd717ebd3463b6eed7a28103090c2e0552"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 132754,
        "name": "importlib_external.h",
        "perms": 33188,
        "status": "visible",
        "target": "6b6b473460e332eebfeb87f87442e73da7306908",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:6b6b473460e332eebfeb87f87442e73da7306908/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "eb44944e2d4dfbe2e68944e064b0852c0f47fadf",
            "sha1_git": "023c9e6c9f1adc1ce9d1e4223f77f90cfde6729b",
            "sha256": "517f1a0bd5b07467bad374b875fa0291a3760f456c20b2db13e17abe417fe6c6"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1588,
        "name": "makeopcodetargets.py",
        "perms": 33261,
        "status": "visible",
        "target": "023c9e6c9f1adc1ce9d1e4223f77f90cfde6729b",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:023c9e6c9f1adc1ce9d1e4223f77f90cfde6729b/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "fa22a580ec3b038d972cf15f8186a36531e1137b",
            "sha1_git": "b2c00a0b6c5a20f555c040824b7f1686d082a60b",
            "sha256": "6fb796b99df933ba911393ca3a3102c309791f33a639b9754fc859626f4e984c"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 51078,
        "name": "marshal.c",
        "perms": 33188,
        "status": "visible",
        "target": "b2c00a0b6c5a20f555c040824b7f1686d082a60b",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b2c00a0b6c5a20f555c040824b7f1686d082a60b/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "034917dcff0e8721788d01fb6560483e610a9795",
            "sha1_git": "8a77a7b06dc59b1cab3833e867d97686f37b6c42",
            "sha256": "d5e68f8e655d3252e04b7161d6a5f55864e284594028897cfa8df60516e3a021"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 17323,
        "name": "modsupport.c",
        "perms": 33188,
        "status": "visible",
        "target": "8a77a7b06dc59b1cab3833e867d97686f37b6c42",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:8a77a7b06dc59b1cab3833e867d97686f37b6c42/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "8d9b0df6f70ed734537c363c47e252250a126e4e",
            "sha1_git": "a08e249b42b1ef25a268c6f6c500d7aacc6227ce",
            "sha256": "cb08781d334476e5efc96358d8262df2b451be5ba0607145356628adb874b56f"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 3341,
        "name": "mysnprintf.c",
        "perms": 33188,
        "status": "visible",
        "target": "a08e249b42b1ef25a268c6f6c500d7aacc6227ce",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:a08e249b42b1ef25a268c6f6c500d7aacc6227ce/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "8cb0110ec17c5bfaf0572a8be0fd43985abf7b77",
            "sha1_git": "a85790e1bfe7ec5885ab8b3bc599ae56fc9bd6e0",
            "sha256": "1a1d83716d7414e351c9c8d9745a17a3fe82b808ee3955db36eb8da956a414e2"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 8344,
        "name": "mystrtoul.c",
        "perms": 33188,
        "status": "visible",
        "target": "a85790e1bfe7ec5885ab8b3bc599ae56fc9bd6e0",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:a85790e1bfe7ec5885ab8b3bc599ae56fc9bd6e0/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "5477c5f759c2ea175f9de448c8eb794c41eedceb",
            "sha1_git": "567f8723a678087bd9c8cf617e2e4e0758e8b7ae",
            "sha256": "a97b781626afdc20923e983ece996c4d123f7415ea71c4a8726ccd6c703a8730"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 6499,
        "name": "opcode_targets.h",
        "perms": 33188,
        "status": "visible",
        "target": "567f8723a678087bd9c8cf617e2e4e0758e8b7ae",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:567f8723a678087bd9c8cf617e2e4e0758e8b7ae/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "dab3d40fb3477f212fab9f82368311b6499c6ce8",
            "sha1_git": "dd8f3e4807fce58d9d91b98600e4fbdd85f4c56a",
            "sha256": "0264a16af84067f5d79a7707b8a16bb942a1479878c9f53825e3b76266967902"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 27771,
        "name": "peephole.c",
        "perms": 33188,
        "status": "visible",
        "target": "dd8f3e4807fce58d9d91b98600e4fbdd85f4c56a",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:dd8f3e4807fce58d9d91b98600e4fbdd85f4c56a/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "6c09720c8d7db566f0b2804ce8c74b3d84c73c62",
            "sha1_git": "103603fcdff32e18597bb5d455dff722d663b520",
            "sha256": "9d8521d656ebaf25be0e27ceaeaffbd92097974a3593e6b06f8c7c51b75456b4"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 5595,
        "name": "pyarena.c",
        "perms": 33188,
        "status": "visible",
        "target": "103603fcdff32e18597bb5d455dff722d663b520",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:103603fcdff32e18597bb5d455dff722d663b520/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "726b266bdbfa14dfbbf2d04d8a33f03bab6efe79",
            "sha1_git": "da117d58fd0684cd971b298406b67923933a06f1",
            "sha256": "260df65acc66ddede754bb4d159de5acdf1bb91924ce4475d4d8129f16cbb753"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 7916,
        "name": "pyctype.c",
        "perms": 33188,
        "status": "visible",
        "target": "da117d58fd0684cd971b298406b67923933a06f1",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:da117d58fd0684cd971b298406b67923933a06f1/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "cdb983a882bb9db3470c6df35b8e4c92308b78e3",
            "sha1_git": "ab0ef83ead094acf287ca54cff1c33ed1630b895",
            "sha256": "4d98e68a90ab3efe035cc33dac20c33614bb7f3846760f1d19a19e84a151f62f"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 621,
        "name": "pyfpe.c",
        "perms": 33188,
        "status": "visible",
        "target": "ab0ef83ead094acf287ca54cff1c33ed1630b895",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:ab0ef83ead094acf287ca54cff1c33ed1630b895/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "8de41fc536997500a2593cb8420636e883c88929",
            "sha1_git": "57a2da715e17f09875c7416d66ddbdde54244ebc",
            "sha256": "15efe23f18a50327929821f8e113f8359260bd2121307841cb148edd20976c8c"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 13171,
        "name": "pyhash.c",
        "perms": 33188,
        "status": "visible",
        "target": "57a2da715e17f09875c7416d66ddbdde54244ebc",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:57a2da715e17f09875c7416d66ddbdde54244ebc/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "262b7b2fa21f5878cada17dfba249b2d9f254bc1",
            "sha1_git": "c0f41b3ca73463e5049f8bcef692501893aeefa2",
            "sha256": "5f28d3aa5cf5b1b50f6b4fd79b131b8282a572f6ed3670074a4a34b13be7d5e9"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 47511,
        "name": "pylifecycle.c",
        "perms": 33188,
        "status": "visible",
        "target": "c0f41b3ca73463e5049f8bcef692501893aeefa2",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:c0f41b3ca73463e5049f8bcef692501893aeefa2/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "53c33f4d6ae77c8847c788d3b79910a2363e858d",
            "sha1_git": "6799d200caf60fc94945b6e13a4b9ddd001cc203",
            "sha256": "e1e8f3b6a07343fde3044f8e3a159fa086e764c46b527ca878ce000bc79a4cf1"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1572,
        "name": "pymath.c",
        "perms": 33188,
        "status": "visible",
        "target": "6799d200caf60fc94945b6e13a4b9ddd001cc203",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:6799d200caf60fc94945b6e13a4b9ddd001cc203/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "c82dd8a8d54e7d0c681dd642c1925c7ca5c32731",
            "sha1_git": "8e81707c7cc559d7604df549069963dacfdd4e06",
            "sha256": "8b58dcfb6f91472d5a8537194d0693537924ee72a903a4cb3cb4260b89cba062"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 26748,
        "name": "pystate.c",
        "perms": 33188,
        "status": "visible",
        "target": "8e81707c7cc559d7604df549069963dacfdd4e06",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:8e81707c7cc559d7604df549069963dacfdd4e06/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "4224d223c97a8a2ea6a7fc6a80aa975c59af67b7",
            "sha1_git": "f9c2277cb56dc7096c4d8ac460879d6b0d0909c3",
            "sha256": "1cc549a1f49eb237da87d9d41956e8845057d59df91f304c66ab88aabff12491"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 613,
        "name": "pystrcmp.c",
        "perms": 33188,
        "status": "visible",
        "target": "f9c2277cb56dc7096c4d8ac460879d6b0d0909c3",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:f9c2277cb56dc7096c4d8ac460879d6b0d0909c3/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "45efbd15e11924f246be03fa92ea67c2c07d6365",
            "sha1_git": "1259ed12dffe5c9bb690698f5398a7f8c32ba06b",
            "sha256": "15069d51ba4eee0414f5b49db5103f2eb71eb1539b997697fb0b310c9c9b1f01"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1665,
        "name": "pystrhex.c",
        "perms": 33188,
        "status": "visible",
        "target": "1259ed12dffe5c9bb690698f5398a7f8c32ba06b",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:1259ed12dffe5c9bb690698f5398a7f8c32ba06b/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "9da7ac2149bf70dde7db62bfc9999dfc11ec26c3",
            "sha1_git": "64d0c52e4879583c2aec5cb806c4723eb04184cc",
            "sha256": "9920c3cd0d20df220665d34f27b6714c2b8582429ca15d84126cd45446d3aefb"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 41019,
        "name": "pystrtod.c",
        "perms": 33188,
        "status": "visible",
        "target": "64d0c52e4879583c2aec5cb806c4723eb04184cc",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:64d0c52e4879583c2aec5cb806c4723eb04184cc/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "3cd9815f2bb2a0f53fdac8db2c060ac5e565cd5a",
            "sha1_git": "b7016d1b006c51b5e58e7021496b219b96621c45",
            "sha256": "ede6f2772982592a7066d66d22b6658adc48d1a77a24b2dbdc812cdfb729070a"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 42497,
        "name": "pythonrun.c",
        "perms": 33188,
        "status": "visible",
        "target": "b7016d1b006c51b5e58e7021496b219b96621c45",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b7016d1b006c51b5e58e7021496b219b96621c45/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "c3772d8c44b210890713e320d5d17b4b26ac8ca3",
            "sha1_git": "3015a6be0b83c1c173b32d85b5ac8bd9961cd278",
            "sha256": "d123aa3e45d6a93deb707295e329dd35bc91188124e7f0626db22b683cdc5530"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 19347,
        "name": "pytime.c",
        "perms": 33188,
        "status": "visible",
        "target": "3015a6be0b83c1c173b32d85b5ac8bd9961cd278",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:3015a6be0b83c1c173b32d85b5ac8bd9961cd278/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "a1bb799c2fcf531ddc13b97b6c4b1b6e41f9e62e",
            "sha1_git": "c97d5e71002a240d3a0c88cd2ff377fd3c8de1f0",
            "sha256": "9c86fafc4908cdddfe1c12cc43bffa26cf1935789715f4c5cfc69722c1ed3f83"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 17816,
        "name": "random.c",
        "perms": 33188,
        "status": "visible",
        "target": "c97d5e71002a240d3a0c88cd2ff377fd3c8de1f0",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:c97d5e71002a240d3a0c88cd2ff377fd3c8de1f0/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "4931063dad85afa6642ed9880594d301474a8363",
            "sha1_git": "022d0e8ac39016512901e5bb2adbfde259612efe",
            "sha256": "9c3fbe40379e608f8bb78345337f80953eb2057d8bbeb127f38510851c1314e3"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 529,
        "name": "sigcheck.c",
        "perms": 33188,
        "status": "visible",
        "target": "022d0e8ac39016512901e5bb2adbfde259612efe",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:022d0e8ac39016512901e5bb2adbfde259612efe/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "27e893de05318ebb0707e363d03a727293160119",
            "sha1_git": "769d3db130988c6c6bc898ffecaeaa9fa11ac038",
            "sha256": "6534d8738dc2539d3ddea8947bb9d0b80a151b06f99801cd48aa5fe475c24dfd"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 247,
        "name": "strdup.c",
        "perms": 33188,
        "status": "visible",
        "target": "769d3db130988c6c6bc898ffecaeaa9fa11ac038",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:769d3db130988c6c6bc898ffecaeaa9fa11ac038/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "bebb5be82b46201dcc3cadbe4b5dc0afa386076f",
            "sha1_git": "e653d0277c1a106398546b832677bb865faea9ee",
            "sha256": "bfb746ccf64443ccbac507f80f1ff900014ccccf68efcc3e759f063ec62f6245"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 8787,
        "name": "structmember.c",
        "perms": 33188,
        "status": "visible",
        "target": "e653d0277c1a106398546b832677bb865faea9ee",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:e653d0277c1a106398546b832677bb865faea9ee/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "74ed1de651f07af3760597b76c97596fbbf0198c",
            "sha1_git": "6165cfe162eac0690ad68795f70babf05c0a2397",
            "sha256": "f5ad074994522c7adc46ca8bd029ee08ff4fe6a594195f51b36460ce1debc004"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 58171,
        "name": "symtable.c",
        "perms": 33188,
        "status": "visible",
        "target": "6165cfe162eac0690ad68795f70babf05c0a2397",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:6165cfe162eac0690ad68795f70babf05c0a2397/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "121c7b9f9adceda855c1f9dbc7f7eaaa79e1e25d",
            "sha1_git": "2da77025b01497590166653fcaa66d63d2e45598",
            "sha256": "16ba9ebab73f29b77ccf2f261392dc6b3967d129a991fc14bbbf9d4073f570da"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 72147,
        "name": "sysmodule.c",
        "perms": 33188,
        "status": "visible",
        "target": "2da77025b01497590166653fcaa66d63d2e45598",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:2da77025b01497590166653fcaa66d63d2e45598/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "272bc6982a49c9e863b6d9a13ffd092ce8b08598",
            "sha1_git": "3a52e1e89237d7fc61b2f55d2fdc4a2960300e36",
            "sha256": "c1f514d87a4939a91bf706a55b7803df415b59d231e4d609cf4e683af861c80e"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 12723,
        "name": "thread.c",
        "perms": 33188,
        "status": "visible",
        "target": "3a52e1e89237d7fc61b2f55d2fdc4a2960300e36",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:3a52e1e89237d7fc61b2f55d2fdc4a2960300e36/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "68966ff7dac6fc9fe269622ca0b1d15fd8e504b4",
            "sha1_git": "45cfd1bb6fd79e16a18dea43923363f27bb74a82",
            "sha256": "8cf9e899add4ab75b80ccb6211226a73518fd7adf0d31c9859f1397ed007889c"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 2293,
        "name": "thread_foobar.h",
        "perms": 33188,
        "status": "visible",
        "target": "45cfd1bb6fd79e16a18dea43923363f27bb74a82",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:45cfd1bb6fd79e16a18dea43923363f27bb74a82/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "e1eb18b3e1448205e1b0657e4a0491e070b9e678",
            "sha1_git": "8158ff82487a28762f27dadcd610ec39b97142b8",
            "sha256": "5cf330e6759ff92b1307e9e489615d3350567140edb498c95c33fc25eb3631da"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 9916,
        "name": "thread_nt.h",
        "perms": 33188,
        "status": "visible",
        "target": "8158ff82487a28762f27dadcd610ec39b97142b8",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:8158ff82487a28762f27dadcd610ec39b97142b8/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "1c368cab3f3b61ae4baf614c61d40f01c6b45f98",
            "sha1_git": "b95840ce2d76ac2a19d42e4ac6ecf4692d49c4be",
            "sha256": "dc682d534bc8ada53234d332979c8518defb12f0b58d724fb589c3d83f0d9b84"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 18126,
        "name": "thread_pthread.h",
        "perms": 33188,
        "status": "visible",
        "target": "b95840ce2d76ac2a19d42e4ac6ecf4692d49c4be",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b95840ce2d76ac2a19d42e4ac6ecf4692d49c4be/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "2df3402e48bcf6d6e8ee5c0cd2141a981d1816af",
            "sha1_git": "b52385ef12f3c902ffff6a5e714be78ed7505c3f",
            "sha256": "cbe8592e75853e65fdba636e3b56612f0fadcc25e8564d521caf12fc4ad2a8ec"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 22801,
        "name": "traceback.c",
        "perms": 33188,
        "status": "visible",
        "target": "b52385ef12f3c902ffff6a5e714be78ed7505c3f",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b52385ef12f3c902ffff6a5e714be78ed7505c3f/",
        "type": "file"
    },
    {
        "checksums": {
            "sha1": "a987dd24496ca3aaf53c525ab84499ad480788be",
            "sha1_git": "b0e3a917767f1b3043e881161e7d87fe30195f4d",
            "sha256": "0fc84252abba12e4503f459dc7da0c958bac04456e8476dabd48fb2fadeb4730"
        },
        "dir_id": "8f0f7237dc78c4344badeb84c7a65e5b106faf26",
        "length": 1177,
        "name": "wordcode_helpers.h",
        "perms": 33188,
        "status": "visible",
        "target": "b0e3a917767f1b3043e881161e7d87fe30195f4d",
        "target_url": "https://archive.softwareheritage.org/api/1/content/sha1_git:b0e3a917767f1b3043e881161e7d87fe30195f4d/",
        "type": "file"
    }
]

URL Allowed Methods

https://archive.softwareheritage.org/api/1/directory/ (sha1_git) /[ (path) /]

GET, HEAD, OPTIONS

Arguments

sha1_git (string)

hexadecimal representation of the directory sha1_git identifier

path (string)

optional parameter to get information about the directory entry pointed by that relative path


Request headers

Accept

the requested response content type, either application/json (default) or application/yaml


Response headers

Content-Type

this depends on Accept header of request


Returns

array

an array of objects containing the following keys:

  • checksums (object): object holding the computed checksum values for a directory entry (only for file entries)

  • dir_id (string): sha1_git identifier of the requested directory

  • length (number): length of a directory entry in bytes (only for file entries) for getting information about the content MIME type

  • name (string): the directory entry name

  • perms (number): permissions for the directory entry

  • target (string): sha1_git identifier of the directory entry

  • target_url (string): link to /api/1/content/ or /api/1/directory/ depending on the directory entry type

  • type (string): the type of the directory entry, can be either dir, file or rev


HTTP status codes

200

no error

400

an invalid hash_type or hash has been provided

404

requested directory cannot be found in the archive


Examples

/api/1/directory/977fc4b98c0e85816348cebd3b12026407c368b6/
back to top